{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"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":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Workflow._acontinue_execute_stream (cyclomatic 164): Workflow._acontinue_execute_stream has cyclomatic complexity 164 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9588}}}],"partialFingerprints":{"codehealthFindingId/v1":"56edaddec43a950e98a8fb70d16173f5644a28fb4c41a46849afc7d765e14bfa"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._continue_execute_stream (cyclomatic 163): Workflow._continue_execute_stream has cyclomatic complexity 163 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7825}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae51c4cf7fdce2942bf933dbf2666e495e00f9cdcb70e3f00bc0fa78e08e6fb3"}},{"ruleId":"D1","level":"warning","message":{"text":"team.aprint_response_stream (cyclomatic 160): team.aprint_response_stream has cyclomatic complexity 160 (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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e53ba97c926a1604e22d909e99432d6b79d67fa495c127a3b5f1386a4282e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"team.print_response_stream (cyclomatic 154): team.print_response_stream has cyclomatic complexity 154 (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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b05f03400dbeff5625b57d195f6312f72774f904e3a6c22eba3404573813daa"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.to_dict (cyclomatic 144): _storage.to_dict has cyclomatic complexity 144 (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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97aab1a04997f25099386679ddef3045e102c03ccfc1c56fceccc257caecdde"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.to_dict (cyclomatic 141): _storage.to_dict has cyclomatic complexity 141 (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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5626046abab499145f844d77ef5cb228584bec28afaa8c72a8cd65d2f1abb1"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.print_response_stream (cyclomatic 136): workflow.print_response_stream has cyclomatic complexity 136 (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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4973265e198d43098779484180705d69be3280a8c28bfd7b66ad5cc578902153"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.aprint_response_stream (cyclomatic 134): workflow.aprint_response_stream has cyclomatic complexity 134 (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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a1cd40d7e899c2700e2c8b681c14caff17a10060cbb61fca9eef23ccf5153a"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._acontinue_run_stream (cyclomatic 129): _run._acontinue_run_stream has cyclomatic complexity 129 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9908}}}],"partialFingerprints":{"codehealthFindingId/v1":"9650d4d67d0e7987ad444845ff18d7e0a44ef0435d6c5a749d02786e0113a268"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._aexecute_stream (cyclomatic 118): Workflow._aexecute_stream has cyclomatic complexity 118 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4295}}}],"partialFingerprints":{"codehealthFindingId/v1":"99056b250cd1a51898b6840746413eb6c319db8242fad42e3f5f21801bbf7219"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._acontinue_execute (cyclomatic 118): Workflow._acontinue_execute has cyclomatic complexity 118 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9047}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f563d1f0e5e903d6c54271744636f065e7f873250a7bb2b784db5233eb1908"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._continue_execute (cyclomatic 116): Workflow._continue_execute has cyclomatic complexity 116 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6982}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef198d5f7e5ca5ed4ab6c4711941cb9cca5e158a250468f2859cc91c12bef86"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.aexecute_stream (cyclomatic 113): Step.aexecute_stream has cyclomatic complexity 113 (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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4b94b32f7d51f7ae62eae627f5304e68ea66fe31cdec1e1cd2907d9093676"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._execute_stream (cyclomatic 107): Workflow._execute_stream has cyclomatic complexity 107 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3fceae883a82eb29233c50e82307a25f0d9fb8cd9ba10a65fbdc6034589150"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.execute_stream (cyclomatic 101): Step.execute_stream has cyclomatic complexity 101 (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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d7afa8b1d11d55eb6e516c320bbf36634f918c69fa7c727f9c4893762d6915"}},{"ruleId":"D1","level":"warning","message":{"text":"_response._handle_model_response_chunk (cyclomatic 98): _response._handle_model_response_chunk has cyclomatic complexity 98 (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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2380a8d7c2e303388e2aa01267cc17d809e24b4e09189c38a487fa07c300e34"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._acontinue_run_stream (cyclomatic 96): _run._acontinue_run_stream has cyclomatic complexity 96 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6efd43041fc4222289ce493cb5fb1964b751fe137255635f5309ef39877b652"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.continue_run_dispatch (cyclomatic 95): _run.continue_run_dispatch has cyclomatic complexity 95 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":7468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff923a9a2d2f049b39648fbc7d0ef2c5a932099f55f14e7a6d18d3b4ef60b05"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.acontinue_run (cyclomatic 94): Workflow.acontinue_run 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab55a964aaab8e6aae3c642f936a3345eb12296d8833cce16b0a1d57fc3ebd0b"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompanyScheduleExecutor._accept (cyclomatic 93): _CompanyScheduleExecutor._accept has cyclomatic complexity 93 (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":"libs/agno/agno/company/routines.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"650cb4f49c6b1d6b2013d97ef29c97c81e08e667b2601d128a20600b1ce501a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.from_dict (cyclomatic 91): Step.from_dict has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa6c70f565580c5ddebc58bcc41f7554111c7dddf46df49d6077378645aa432"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.continue_run (cyclomatic 89): Workflow.continue_run has cyclomatic complexity 89 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6596}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7da36c72f6f36d61633b4df3f622af58a4fdc7665103119fb53eb2882b8c16"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.arun_function_calls (cyclomatic 88): Model.arun_function_calls has cyclomatic complexity 88 (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":"libs/agno/agno/models/base.py"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"610ed5d2af7a808f98e7ac60fd8e199086d1e1d05391ae86b078b57f4f656a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseExternalAgent._arun_stream (cyclomatic 87): BaseExternalAgent._arun_stream 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc45128a89820122ba620febd7f927359a5abd84f16248ded2f08cb40212e908"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools._determine_tools_for_model (cyclomatic 86): _tools._determine_tools_for_model has cyclomatic complexity 86 (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":"libs/agno/agno/team/_tools.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4518d8fe97d96e3efa3eed25be15b549f6f5c8788d35a6d07c850adcfb10396"}},{"ruleId":"D1","level":"warning","message":{"text":"_response.handle_model_response_chunk (cyclomatic 84): _response.handle_model_response_chunk has cyclomatic complexity 84 (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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6fe4d4c6d383b41a24cff105bb452e26d4c2de8dc4c777de151c4010a13565"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._acontinue_run (cyclomatic 84): _run._acontinue_run has cyclomatic complexity 84 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3456d50732a1b50606eb285701dd634128a0a8d1ffaff7e9ffd64cba7101c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.aexecute (cyclomatic 83): Step.aexecute has cyclomatic complexity 83 (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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"180be920bc36d7406a9aad0ab2f758d26aa2056193c72448cd482f403d312de9"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.aget_system_message (cyclomatic 79): _messages.aget_system_message has cyclomatic complexity 79 (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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f777240a56191e70e07410864b3adab04f9f5d5df186fa6d03582670e879fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiInteractions._parse_provider_response_delta (cyclomatic 78): GeminiInteractions._parse_provider_response_delta has cyclomatic complexity 78 (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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"a978ef781656a963e4b8d5eccee6771cdaa0bc4b842e2d9554c19dd8e854b534"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.get_system_message (cyclomatic 76): _messages.get_system_message has cyclomatic complexity 76 (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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e86b31b3ad03007b229f451d7b3aa5c727a4b69df19926919abebe9b96dac8e"}},{"ruleId":"D1","level":"warning","message":{"text":"_commands._cmd_rg (cyclomatic 76): _commands._cmd_rg has cyclomatic complexity 76 (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":"libs/agno/agno/knowledge/page/_commands.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"655c290e1ab27eca53bde29f5acec43cba7c8f9638544a3cd0edc7a456e02149"}},{"ruleId":"D1","level":"warning","message":{"text":"team.print_response (cyclomatic 76): team.print_response has cyclomatic complexity 76 (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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfe7613894bbe57080295f0e5cdd625fefa4ef3ece4f85118a4dd21fb199870"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS.get_app (cyclomatic 75): AgentOS.get_app has cyclomatic complexity 75 (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":"libs/agno/agno/os/app.py"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dbfaa00b08a71ee63798a5445f1d3a66c893e8a9998305176e04d9c87cf3c4"}},{"ruleId":"D1","level":"warning","message":{"text":"team.aprint_response (cyclomatic 75): team.aprint_response has cyclomatic complexity 75 (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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe25c72467a2bac3edf6d31aaa93481098e45ce885e5443bb0c127512a29b3e"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.from_dict (cyclomatic 74): _storage.from_dict has cyclomatic complexity 74 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf28da33e17b33132916929063ebf0612aa72566ef6926693931e0bc5752374"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicMiddleware.__call__ (cyclomatic 73): PublicMiddleware.__call__ has cyclomatic complexity 73 (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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8299a81861479ba84e14430368e99f9cf4a111c12dbe17725b6e4e1124be3060"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._arun_stream (cyclomatic 72): _run._arun_stream has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbada4a1e8e86dfb5f2b63774b8473ec046c2762b45684f66655d1f08a6334a"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.execute (cyclomatic 72): Step.execute has cyclomatic complexity 72 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2c53ad372d7af44f6a02c82853889aec797613c02f919480096ea37abc0092"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthMiddleware._dispatch (cyclomatic 70): AuthMiddleware._dispatch has cyclomatic complexity 70 (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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dffe1013e11e2b7c093ef10d19946d164931fa887200631848baf61cc014d8f"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._acontinue_run (cyclomatic 69): _run._acontinue_run has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f466ba82fa2338f3985664e5e39de204e9730fba5926ee5b2ea3e45153ee7fa"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseRunOutputEvent.to_dict (cyclomatic 69): BaseRunOutputEvent.to_dict has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/base.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc04ec13d4e325c4dbbacd1ac55551df55dc91972ba71b46561066d1673f81e"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._aexecute (cyclomatic 67): Workflow._aexecute has cyclomatic complexity 67 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5a5953ae4aad73b678e728edc16c5da9594d6f2f957959609d8cdbe16766ea"}},{"ruleId":"D1","level":"warning","message":{"text":"DbInstance._create (cyclomatic 67): DbInstance._create has cyclomatic complexity 67 (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":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd4245c228268fe6f2380c7628d408170e43c071b76b0b632bf6c8cf39977f"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._execute (cyclomatic 65): Workflow._execute 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9061d595f732e5a4250fe5bdb4daee39304e9095f4771ca5965c2d3d23ca46"}},{"ruleId":"D1","level":"warning","message":{"text":"DbInstance._update (cyclomatic 65): DbInstance._update has cyclomatic complexity 65 (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":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f465bc63bc9400d205853da3ffb66a0c29b326828c78292e71d231859001a"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._arun_tasks_stream (cyclomatic 64): _run._arun_tasks_stream 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d39c91633afa13ce00e7b299cabf50a791978613140263fb11190397900ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._parse_provider_response (cyclomatic 63): Gemini._parse_provider_response 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5379a99985fab789e1d76c58c06429f4b6c324f6a3e09ba281e6ab683afe11a4"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._run_stream (cyclomatic 62): _run._run_stream has cyclomatic complexity 62 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"866a8145c4bea2feed0324ab983c06519211a62e41cb313d89b9a045f493d464"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueWorker._execute_claimed_inner (cyclomatic 62): QueueWorker._execute_claimed_inner has cyclomatic complexity 62 (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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f773e98c979afc5ca6c4a0cf36292e7f3c4fd60fdf4190791e8fc14c2e7758f"}},{"ruleId":"D1","level":"warning","message":{"text":"connect._connect (cyclomatic 62): connect._connect has cyclomatic complexity 62 (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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"773dd52280aa6f76b16e619abac07617ce2a2dca405be1821061c837e7168551"}},{"ruleId":"D1","level":"warning","message":{"text":"DbCluster._create (cyclomatic 61): DbCluster._create has cyclomatic complexity 61 (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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fe4086e5c8cac3597f5154b87a14277415ed52b8ed5b84660fb2253eb355f5"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiInteractions._parse_provider_response (cyclomatic 60): GeminiInteractions._parse_provider_response has cyclomatic complexity 60 (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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2da5ee40608410c762ffc1f587b76f205aaf47210bcba6c5e48f3fdb43676e3"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamResponse.from_team (cyclomatic 58): TeamResponse.from_team has cyclomatic complexity 58 (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":"libs/agno/agno/os/routers/teams/schema.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffb8e61f54693cdca1a2013d9b95d7da5e7f5a60cba2a095a8ef768d4e4ae70"}},{"ruleId":"D1","level":"warning","message":{"text":"Condition.execute_stream (cyclomatic 58): Condition.execute_stream has cyclomatic complexity 58 (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. This shape REPEATS in the file: one other method here (Condition.aexecute_stream) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7c00bb237e37a6f11dd4cc4a88f7647b28f1c72cf3f6d593dc6b6ae9779a6c"}},{"ruleId":"D1","level":"warning","message":{"text":"Condition.aexecute_stream (cyclomatic 58): Condition.aexecute_stream has cyclomatic complexity 58 (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. This shape REPEATS in the file: one other method here (Condition.execute_stream) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"760b538818faf68bca70798889837fe53e608979ff60b889ece2bb7d62286f25"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb._get_collection (cyclomatic 57): AsyncMongoDb._get_collection has cyclomatic complexity 57 (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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a198e031e18c63b6ff75651357a5cfaca487eaf00f6856485befd648e8d21d45"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.from_dict (cyclomatic 57): Message.from_dict has cyclomatic complexity 57 (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":"libs/agno/agno/models/message.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea9def1c7a24c9ae401efe8e60e66b69450a43b964e4345439a2cee3889d10d"}},{"ruleId":"D1","level":"warning","message":{"text":"claude.format_messages (cyclomatic 57): claude.format_messages has cyclomatic complexity 57 (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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84f20ba9eb7902e188bfff2c10de97acc1fbc081868ed3cd5a20796b1847a0"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.upsert_config (cyclomatic 55): PostgresDb.upsert_config has cyclomatic complexity 55 (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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6666}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c64ef1ba10f4efcc9b645f0e5ef6e8d5e789bc29047ab1157f81f5aae52df9"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.upsert_config (cyclomatic 55): SqliteDb.upsert_config has cyclomatic complexity 55 (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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":6488}}}],"partialFingerprints":{"codehealthFindingId/v1":"684ab5d6bdcaa73a4daa145ee5469e8e7657db6f48f2d3dbb52f9279ea046d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.log (cyclomatic 55): Message.log has cyclomatic complexity 55 (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":"libs/agno/agno/models/message.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aeaf16aa30065c779742200aa8257fe8a8210a988d43930b94c12174a21610"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS.__init__ (cyclomatic 55): AgentOS.__init__ 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6f83b186cafb1305ba90c2fb639b22b61099f8eb7647954a4af36d116e4757"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.aget_system_message (cyclomatic 55): _messages.aget_system_message has cyclomatic complexity 55 (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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"55befaaee929236136a58010b884616aed666aee3ce3b2b85ba146d1142aa6cc"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.from_dict (cyclomatic 54): _storage.from_dict 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"800904bd58d6a22ef85c6fc9d7fb245908c42c1a0d47153d513dc4f577c17480"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.aresponse_stream (cyclomatic 54): Model.aresponse_stream 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be51441de12bc934a6ac478e0f138642936ffe22724e0bdd0b3d95b5c5dc421"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._arun_stream (cyclomatic 54): _run._arun_stream 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b52b011815576a7d4f10646fa61615310c5e6f3e3d4d8630feabb215306971"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.response_stream (cyclomatic 53): Model.response_stream 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbe187f2aca5340fa77806463632327f2c54fd572f104031ea44f97b0d05c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.get_system_message (cyclomatic 53): _messages.get_system_message 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a89fa2994468c29f77592cca6d9f5325aecb80c7092efefa3b65d79950171f"}},{"ruleId":"D1","level":"warning","message":{"text":"Loop.execute_stream (cyclomatic 53): Loop.execute_stream 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. This shape REPEATS in the file: one other method here (Loop.aexecute_stream) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3927e1b7338a773afcb14da2f6720286c6445497d89d838e33f6a16275a5e132"}},{"ruleId":"D1","level":"warning","message":{"text":"Loop.aexecute_stream (cyclomatic 53): Loop.aexecute_stream 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. This shape REPEATS in the file: one other method here (Loop.execute_stream) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce3da475680a214386ca098d53f858bf9a1e5bebdfd094eb0ecd639fef167fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Claude._parse_provider_response_delta (cyclomatic 52): Claude._parse_provider_response_delta has cyclomatic complexity 52 (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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de72d1776fb3c32ba4adf28c2a6cebcfcfcebd648a700ceb4897d0b36c78aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.response (cyclomatic 52): Model.response has cyclomatic complexity 52 (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. This shape REPEATS in the file: one other method here (Model.aresponse) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"90118a6dddd4ac87428e43c492f2b356b078ec4c327946e9a36adcc3d6a0bb37"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.aresponse (cyclomatic 52): Model.aresponse has cyclomatic complexity 52 (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. This shape REPEATS in the file: one other method here (Model.response) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"298f2a4afbd6b6fb5c8f53129599f2111ea4f6728fa306663f4f2a5e13623409"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._parse_provider_response_delta (cyclomatic 52): Gemini._parse_provider_response_delta has cyclomatic complexity 52 (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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c9b3ea72bef3608a8910a8c50a220d9f37bbf61a27803445163fb8cb19c980"}},{"ruleId":"D1","level":"warning","message":{"text":"streaming.stream_run_events_to_task (cyclomatic 52): streaming.stream_run_events_to_task has cyclomatic complexity 52 (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":"libs/agno/agno/os/interfaces/a2a/streaming.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acda1901e11815d8ebe3352cd78d513053c508517cc38d8f1df7c84cd440da7"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.get_request_kwargs (cyclomatic 52): utils.get_request_kwargs has cyclomatic complexity 52 (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":"libs/agno/agno/os/utils.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7c07d5fa831184f6af5526e2b0f859311490d3d1a1bba376e60c8d755e0e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._run_tasks_stream (cyclomatic 52): _run._run_tasks_stream has cyclomatic complexity 52 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"425c203e3a5ed45254ac2a696d5f6c2b1fed211bf8c070001291dd559e15731a"}},{"ruleId":"D1","level":"warning","message":{"text":"DbCluster._update (cyclomatic 52): DbCluster._update has cyclomatic complexity 52 (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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee4a48d5d3b8b220b1fd6bdb4d1e75fcd8651d540a0dfececf3a305904e7b9e"}},{"ruleId":"D1","level":"warning","message":{"text":"router.handle_workflow_via_websocket (cyclomatic 51): router.handle_workflow_via_websocket 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde31daa507a6bd1940397aba66c060ea4afd045804d47d5e4b9b8c3ff5ff307"}},{"ruleId":"D1","level":"warning","message":{"text":"router.handle_workflow_continue_via_websocket (cyclomatic 51): router.handle_workflow_continue_via_websocket 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1aa535b0e5edaa796954a33290556dcd8e83bf7c64b6fd4bf5b038a4811d92"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._format_messages (cyclomatic 50): Gemini._format_messages has cyclomatic complexity 50 (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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"035384d52363cefb8033193ebdf62e76ba7b3b0cb0436208b2ea885ecceb5b34"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsResources.create_resources (cyclomatic 50): AwsResources.create_resources has cyclomatic complexity 50 (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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf67f63579c1a71e2be2176aef0d67a053896583bf6a7057ab300d5317a84624"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.continue_run_dispatch (cyclomatic 49): _run.continue_run_dispatch 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3307}}}],"partialFingerprints":{"codehealthFindingId/v1":"938f80ac924926565ef5a93d88ed8b8da0bf5698ac0f8ab5f37e20a506bff09a"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleToolkit._resolve_creds (cyclomatic 49): GoogleToolkit._resolve_creds 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":"libs/agno/agno/tools/google/base.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdc219f0cbc4c6830ab885b80cecaefb1b2e194575aced32eda4bc545b376e8"}},{"ruleId":"D1","level":"warning","message":{"text":"DockerResources.create_resources (cyclomatic 49): DockerResources.create_resources 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac59556580f61d16b28f1ac6195a86a4eb589e64aa608854aa93711a694765c"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.parse_tools (cyclomatic 47): _tools.parse_tools has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d43a8f08b1d6855102d887b83b1041b3fa8604d7981c27c66cb0fad48f95d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.upsert_sessions (cyclomatic 47): ValkeyDb.upsert_sessions has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"000ed827e24a9ffce09e8359b4c8d738049fcb3418d8015ce2603fef71b60440"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentResponse.from_agent (cyclomatic 47): AgentResponse.from_agent has cyclomatic complexity 47 (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":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c891f37364611c302e33cb07cdb542aac98e135aa6535bb9f64cc3f9f82147"}},{"ruleId":"D1","level":"warning","message":{"text":"ReasoningManager.stream_native_reasoning (cyclomatic 47): ReasoningManager.stream_native_reasoning has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ReasoningManager.astream_native_reasoning) 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8debdb0054e33bb55abda7b312506063fccddc1262b3da1ee97303fb84d2e1dd"}},{"ruleId":"D1","level":"warning","message":{"text":"ReasoningManager.astream_native_reasoning (cyclomatic 47): ReasoningManager.astream_native_reasoning has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ReasoningManager.stream_native_reasoning) 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54760d1f63ca90244a4e1b19fd10610bb9648f494015bdf50068ade3a0848d3"}},{"ruleId":"D1","level":"warning","message":{"text":"connect._connect_one (cyclomatic 47): connect._connect_one has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"6286618c35b8f283ee4f1d43b8f874ff4400d54b3ce2173273786b11270a2ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_sessions (cyclomatic 46): DynamoDb.get_sessions 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560cdd9b915edf08c57789dd6da0c553a765061176f036de78ebf7907050d5d"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aload_from_url (cyclomatic 46): Knowledge._aload_from_url 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. This shape REPEATS in the file: one other method here (Knowledge._load_from_url) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22abf93946b6881f8e0d156ca3adf5832ebcf1bb91ff6d4709912aa879fa285"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._load_from_url (cyclomatic 46): Knowledge._load_from_url 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. This shape REPEATS in the file: one other method here (Knowledge._aload_from_url) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e5bb01dcb359e2625fe34063c470561c096f03b4aa27b6e437d9a960d88e01"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCoordinator.sync (cyclomatic 46): PageCoordinator.sync 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"147b80093aadbba362e5610f32b634a6a89a911c3ba514475818c9fa3bcc91e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Claude._parse_provider_response (cyclomatic 46): Claude._parse_provider_response 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d0e4244d3a9724be1c8ca45383a4296745e9a5b0cab3713beb118a6c202904"}},{"ruleId":"D1","level":"warning","message":{"text":"gemini.convert_schema (cyclomatic 46): gemini.convert_schema 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":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c858907517a987e6761179408771bc417f9f7076475002cb633954506a963c"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsResources.delete_resources (cyclomatic 46): AwsResources.delete_resources 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d114bdfbe73dfff99bc56a7399d4ed9106d5f272c46ddf4546568a8f31542863"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAgent._translate_notification (cyclomatic 45): CodexAgent._translate_notification has cyclomatic complexity 45 (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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599a1c5061eadc2c811550b352976e32caab6e5752728e6b1e31f9c682d4e05"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnostics._check (cyclomatic 45): diagnostics._check has cyclomatic complexity 45 (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":"libs/agno/agno/os/diagnostics.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7442b98cdfa608142df5cfb6865b6b659e3852e7c0c2d33735df5991dabb3de6"}},{"ruleId":"D1","level":"warning","message":{"text":"_TaskStarter.dispatch (cyclomatic 45): _TaskStarter.dispatch has cyclomatic complexity 45 (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":"libs/agno/agno/os/routers/company/runs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee532f742b2f0dfffd219eacf508fcf57a1c80f309444c92f1260941ad16360c"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamSession.get_messages (cyclomatic 45): TeamSession.get_messages has cyclomatic complexity 45 (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":"libs/agno/agno/session/team.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e726b6abac291ade1220730e3251eed255956e58855fece465603e35f4bc96"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._apply_component_fields (cyclomatic 45): StudioTools._apply_component_fields has cyclomatic complexity 45 (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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb387fd6ced5c6a6a95a2068260b2911225de6fd4a5058c1743d1e4e582ed77"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.print_response_stream (cyclomatic 45): agent.print_response_stream has cyclomatic complexity 45 (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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40bdaaab61aa8a21f8e314b7f78b01fe2545b982906f89c918ed49f8d641fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_to_database.run_trace_demo (cyclomatic 45): trace_to_database.run_trace_demo has cyclomatic complexity 45 (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":"cookbook/observability/trace_to_database.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"909c8bc7fe7e5af76285be94614556531a5a87c29d41d7ead4524f4ab07275fd"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.get_user_message (cyclomatic 44): _messages.get_user_message 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. This shape REPEATS in the file: one other method here (_messages.aget_user_message) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabece11d4771c079cef145ebd2623d68c3c2c3fce75b992c21ce13ecf2fdb17"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.aget_user_message (cyclomatic 44): _messages.aget_user_message 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. This shape REPEATS in the file: one other method here (_messages.get_user_message) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"09177d7e08bd70e6197f169d1958d5ad9fe7b593f94df738562976a7fcfc88bf"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb._create_table (cyclomatic 44): SqliteDb._create_table 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4c2a3e4406f8234f40b39ebf0f9de17ff211ae8ada6a786731f3b7024b6396"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.add_metrics_totals (cyclomatic 44): utils.add_metrics_totals has cyclomatic complexity 44 (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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc0eb3046feeb314984e1b0a4588d1dbd61f37075e5442bfc49a60fca90178"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiInteractions._get_request_kwargs (cyclomatic 44): GeminiInteractions._get_request_kwargs 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ecca0122802b024eb5376f4e415b2f817f2f8f0afabe5f7ffb950383baa49c"}},{"ruleId":"D1","level":"warning","message":{"text":"RunOutput.to_dict (cyclomatic 44): RunOutput.to_dict 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac72d770645bde1dc85c06fe179048d04e804878f4b240b155be4ffd9f5be6"}},{"ruleId":"D1","level":"warning","message":{"text":"RunRequirement.from_dict (cyclomatic 44): RunRequirement.from_dict 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":"libs/agno/agno/run/requirement.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"975394fdac7e1b65a0bfd511b58f926fcc39708a516750e57c56cae24527796a"}},{"ruleId":"D1","level":"warning","message":{"text":"GmailTools.__init__ (cyclomatic 44): GmailTools.__init__ has cyclomatic complexity 44 (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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"71887ddebec676b72cdbb746324a2827c3c1faece68b9fa268cf45538ed42701"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.aprint_response_stream (cyclomatic 44): agent.aprint_response_stream 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5112a952db8555afc39db830d5e536f3ffb78ddbe47c09273a1b22182b0503ac"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsResources.update_resources (cyclomatic 44): AwsResources.update_resources 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1cc12f30405a9a63f3ac4c3bcc711619844197c361e1f36eeabea81666eb03"}},{"ruleId":"D1","level":"warning","message":{"text":"DockerResources.delete_resources (cyclomatic 44): DockerResources.delete_resources 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3337cc5cd9131a8ba82ae8680f39124134425e9c1d2b83ccc847267b8b89727b"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb._get_collection (cyclomatic 43): MongoDb._get_collection 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad5f06fdd21feff3a66b66334649ee02e4a513ab4856e08c4176d8b101d816b"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.upsert_sessions (cyclomatic 43): PostgresDb.upsert_sessions 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0b4812690bdc6dc4cc7bdada134f033760d83120a05222536ce022bc878510"}},{"ruleId":"D1","level":"warning","message":{"text":"ReliabilityEval._evaluate (cyclomatic 43): ReliabilityEval._evaluate 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":"libs/agno/agno/eval/reliability.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a436230de9a06f42a5a9838c382b269b752f887ffcc97df14dbf67a28d67d833"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._run_stream (cyclomatic 43): _run._run_stream 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e8fc315cf039df402ba4d23991f69f51c2f900b4d78472242493f80028d20"}},{"ruleId":"D1","level":"warning","message":{"text":"function._derive_entrypoint_schema (cyclomatic 43): function._derive_entrypoint_schema 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"04721b8af87ed51849c7a6d646936edb6f12231eaa5134e1c33ad80eb8929ac5"}},{"ruleId":"D1","level":"warning","message":{"text":"DockerResources.update_resources (cyclomatic 43): DockerResources.update_resources 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecec33d6ad06ff3b6d88f6cef05a0d31466d31edfa3ddffd56e687769a5322e6"}},{"ruleId":"D1","level":"warning","message":{"text":"connect._report (cyclomatic 43): connect._report 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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad363d6e3536999ac599515c1bf3029511e55913cf591625f8d3484ee0d1c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb._create_table (cyclomatic 42): PostgresDb._create_table 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ced3e3f216b644b005ae3b76f431b6d1b4593f7f9e4bbc54e63415bbf714397"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.upsert_sessions (cyclomatic 42): AsyncSqliteDb.upsert_sessions 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"41643113436ae8a0e9648335de7db2cd6480ca376995a4c41b25239531d695e0"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.upsert_sessions (cyclomatic 42): SqliteDb.upsert_sessions 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd9509ecef8e9fd51f4268971c331d3545164ea2317c62def010377689359e3"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCoordinator.search (cyclomatic 42): PageCoordinator.search 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ffc4019b186adee3e9e94b7eb9c070027703519942218ef528a01146a8df91"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityGroup.add_inbound_rules (cyclomatic 42): SecurityGroup.add_inbound_rules 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5660cb02fe83a348a1079715e394fcee4f6a76efd36c00b4f5b6851282706c4a"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._arun (cyclomatic 41): _run._arun 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674dc6486389d7f6957dcb5af9d57eb5e9ffdec1d67bcfc4d86b12de4050fcc"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseDb.__init__ (cyclomatic 41): BaseDb.__init__ has cyclomatic complexity 41 (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":"libs/agno/agno/db/base.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dac40633dbea8025074d0d6a1359afff87e29b176caaa38f5eac89b37286d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini.get_request_params (cyclomatic 41): Gemini.get_request_params has cyclomatic complexity 41 (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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e91b1478dceccaaf59ca2c50be366265467bd54d41c21381c6ca49870b954d1"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunOutput.to_dict (cyclomatic 41): WorkflowRunOutput.to_dict 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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1c0e669435f9535cea3cabc6e2637a9a1ec94a715d8c02ce0d503c1ba80514"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._get_user_message (cyclomatic 41): _messages._get_user_message 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. This shape REPEATS in the file: one other method here (_messages._aget_user_message) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7312bf7802b5d06504b4ef3512b5d4b6fb4dcdf61b169989a24be342400642f6"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._aget_user_message (cyclomatic 41): _messages._aget_user_message 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. This shape REPEATS in the file: one other method here (_messages._get_user_message) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae202eb6fe4692ba9d3f81e88b3e7c5a6387cc0054ad29751e20ef8a03191f89"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamRunOutput.to_dict (cyclomatic 40): TeamRunOutput.to_dict has cyclomatic complexity 40 (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":"libs/agno/agno/run/team.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c49f35fafbeae8109f74e7e281556def6a967eff621097830ddc3bf692de5c"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._arun_tasks (cyclomatic 40): _run._arun_tasks 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f7e4c5c8839afb7803c44cdff9e8c1c65f574b245d6d3a7ee6b8ce8855ccdd"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.build_panels (cyclomatic 40): agent.build_panels 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4c543fed0933965acbfd198e20609142e2cd26f44e4934af6eec3107efecf3"}},{"ruleId":"D1","level":"warning","message":{"text":"EcsContainer.get_container_definition (cyclomatic 40): EcsContainer.get_container_definition has cyclomatic complexity 40 (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":"libs/agno_infra/agno/aws/resource/ecs/container.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c386e20ff936e5f0c3a670d815d472aae1cd0a76d66c66328adea51a218eec76"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.get_run_messages (cyclomatic 39): _messages.get_run_messages 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. This shape REPEATS in the file: one other method here (_messages.aget_run_messages) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"b364eff53e3b884226f512e147c6d4fe97bc4f7e2ff23b705952aefc015e4d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.aget_run_messages (cyclomatic 39): _messages.aget_run_messages 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. This shape REPEATS in the file: one other method here (_messages.get_run_messages) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68412a0208668b8258089dd2389c0a597cc1e98f9bb51718372be31659b5cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._continue_run_stream (cyclomatic 39): _run._continue_run_stream 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67e640d60363edbdd5343852b3a250976838539dc3b2406842b62322d14979f"}},{"ruleId":"D1","level":"warning","message":{"text":"mdx._render (cyclomatic 39): mdx._render 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":"libs/agno/agno/knowledge/reader/utils/mdx.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ef34e80e19c7d8f9675b0636d40688bda0fdd6a887ef8925599576480b4f70"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses._format_messages (cyclomatic 39): OpenAIResponses._format_messages 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2dcf28017ad38f8983565fcae8d076bcbb8d4513d34918ed493c94300a41d8"}},{"ruleId":"D1","level":"warning","message":{"text":"SuperserveTools.__init__ (cyclomatic 39): SuperserveTools.__init__ has cyclomatic complexity 39 (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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"388726c15a9ae0a5f047f718ed6e654100fcaf0221b1848adbbc51540723e2b7"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityGroup.add_outbound_rules (cyclomatic 39): SecurityGroup.add_outbound_rules 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a945c3f3e3b3c0da1f174223f0afe40e30355ce071534fd4118edb6e1bdd23b"}},{"ruleId":"D1","level":"warning","message":{"text":"CacheCluster._create (cyclomatic 39): CacheCluster._create has cyclomatic complexity 39 (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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1853f86fa5ef2f82ec2f78239de3e0abea2545e79b98114090517fc5d9063887"}},{"ruleId":"D1","level":"warning","message":{"text":"infra_cli.up (cyclomatic 39): infra_cli.up 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. This shape REPEATS in the file: one other method here (infra_cli.down) 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0415cae424aedc5bb6ad0b41db1b94475e7d8df657fb9c6f19de64b3cf71d686"}},{"ruleId":"D1","level":"warning","message":{"text":"infra_cli.down (cyclomatic 39): infra_cli.down 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. This shape REPEATS in the file: one other method here (infra_cli.up) 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48bd200c85cb928f9bfc1ff1e470392897ad88aaac5f222750d5e9d7b2005cf"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.calculate_metrics_dates (cyclomatic 38): GcsJsonDb.calculate_metrics_dates has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d592c8bf802184df8b82a99ceb5df0578b441a8f878e79f257015e7adf42b4"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.calculate_metrics_dates (cyclomatic 38): JsonDb.calculate_metrics_dates has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd3e1cec8177c4ea6f62af74c201554cacec955ccb1b6b6dfc3b4b11a368d0"}},{"ruleId":"D1","level":"warning","message":{"text":"utils._eval_filter_expr (cyclomatic 38): utils._eval_filter_expr has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/utils.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cec8ce3c7372848d7510050048bfe54089feebcfa7deb0c5bdd80135f4f9e5"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._continue_run_stream (cyclomatic 38): _run._continue_run_stream has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":8462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea11e3853f0fa7cbede02f12024be24ddcef6ad84b24ebac8b00351881aae80"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleSlidesTools.__init__ (cyclomatic 38): GoogleSlidesTools.__init__ has cyclomatic complexity 38 (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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9638b2b9deba8852c5e6bd6a568488b3e5936bec8b7364803380c98464ca51e"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackTools.__init__ (cyclomatic 38): SlackTools.__init__ has cyclomatic complexity 38 (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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7324b70a00f0045978f0a7aa24009e5fcb2b35d4963c848304e5d20b04225579"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.__init__ (cyclomatic 38): StudioTools.__init__ has cyclomatic complexity 38 (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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10e616ce522f2a8bc39e7e2fed21493b56a8231221a1b46a6b284ef300a6664"}},{"ruleId":"D1","level":"warning","message":{"text":"Router.execute_stream (cyclomatic 38): Router.execute_stream has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Router.aexecute_stream) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"597d4f37cbda4500a96d2eac2820ad7cef60df8fe68a52997c6b03dab10b25b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Router.aexecute_stream (cyclomatic 38): Router.aexecute_stream has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Router.execute_stream) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e7285c3c42ca6b443e4516c6e80cb40e8f83bed977ec4b128376515f0794f6"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.from_dict (cyclomatic 37): _storage.from_dict 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":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a85e5686d16abe4586ca4d25ce2734adf5b800e0afb34b5da2bedd47bf3702"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseExternalAgent._arun_non_stream (cyclomatic 37): BaseExternalAgent._arun_non_stream 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6042c20fee4b219210c4672abd147940afd507adb36cb242864bdf3577224992"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.upsert_sessions (cyclomatic 37): AsyncMySQLDb.upsert_sessions 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"6822774406504ccac74eb2535c46fec8f1da13e94de8503a9ea9645f7da3cd40"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb.upsert_sessions (cyclomatic 37): MySQLDb.upsert_sessions 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232f2f57478bc0210ff8e3f1f0e8e3a9077c14fb5d985fa82d976c37f513483"}},{"ruleId":"D1","level":"warning","message":{"text":"filters.from_dict (cyclomatic 37): filters.from_dict 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":"libs/agno/agno/filters.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d94fcac6dbac42979c41d10961f906ece153a29fc302c9314734a54fdc0b6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.run_function_call (cyclomatic 37): Model.run_function_call 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"260765815bacfeccb8d1e66447b8c1a1842903d017de8cbea89cf97cab4543cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Parallel.execute_stream (cyclomatic 37): Parallel.execute_stream 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a230526bda05a7c5bf525fa1b6af87966a02fbae4fbdd1078ac14e65a79c49b"}},{"ruleId":"D1","level":"warning","message":{"text":"EcsService._create (cyclomatic 37): EcsService._create 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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a330ff0e56b7500edb7e777936b504056860c22f5e085a2648eda8befb75c04a"}},{"ruleId":"D1","level":"warning","message":{"text":"DockerImage.build_image (cyclomatic 37): DockerImage.build_image 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":"libs/agno_infra/agno/docker/resource/image.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f2e04358eb926dd03c2205b34c329a92735952ef25acdc99cf1e91e8931f09"}},{"ruleId":"D1","level":"warning","message":{"text":"disconnect._disconnect (cyclomatic 37): disconnect._disconnect 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":"libs/agnoctl/agnoctl/commands/disconnect.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"19deea19cee8e4d4c4e48f997847c1475b8514f8bc3cfda3bfd0a71d3481bacb"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._run (cyclomatic 36): _run._run has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a6cd66d2731d306b3b249182a026fea7831fbb2bf1cc1f98bca8e934a8a201"}},{"ruleId":"D1","level":"warning","message":{"text":"bootstrap.arehydrate_product (cyclomatic 36): bootstrap.arehydrate_product has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/bootstrap.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b7a1bf597db0858945306ef6e9d3d46403d68bb06d4250b3f04bad7bb00209"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.upsert_sessions (cyclomatic 36): AsyncMongoDb.upsert_sessions has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"55df96409a120ba50e230fe7073158e505881d0fd80f699b5e62d3b3d4837300"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.upsert_sessions (cyclomatic 36): MongoDb.upsert_sessions has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61c5ab83aebce230256cca1a433eeb18240dbbe01632ade5484f5b2811a1464"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aload_url_page_groups (cyclomatic 36): Knowledge._aload_url_page_groups has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Knowledge._load_url_page_groups) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafbcc04cc58f3d8bac705ba21affdb2ebf681381c0ff812a01d92a57b922fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._load_url_page_groups (cyclomatic 36): Knowledge._load_url_page_groups has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Knowledge._aload_url_page_groups) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3593}}}],"partialFingerprints":{"codehealthFindingId/v1":"628fe03993d1b32ae9ef0c6277c0c8341f3ec9adfdfc5ae8e8e81e82ed7625c1"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS._populate_registry (cyclomatic 36): AgentOS._populate_registry has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd4b24bb6b445b9542ddd1ce0a08d2184e605b0bd2fdbaff662a857ac917213"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteDb.from_config (cyclomatic 36): RemoteDb.from_config has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/remote/base.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6995117447ad297277f3bc310f90300c64643545e1867a32814810ca78e850ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleExecutor.execute (cyclomatic 36): ScheduleExecutor.execute has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be5a21c2e9438092e5b77a654438d691d622379a248bf6fa6092b3089da3b40"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSession.get_messages (cyclomatic 36): AgentSession.get_messages has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/session/agent.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ead6b11db1febfeb3e32ae3f5e90f81720ed87ba8ca14b76382459fa020153"}},{"ruleId":"D1","level":"warning","message":{"text":"json_schema.get_json_schema_for_arg (cyclomatic 36): json_schema.get_json_schema_for_arg has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/json_schema.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a979cef7b9419f1df1290f0319cbd1f3591453d3dbb632c585b8a277e016b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"streamlit.session_selector_widget (cyclomatic 36): streamlit.session_selector_widget has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/streamlit.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8bec4ab081f6995fdb1a0bf19e2beb3c1899355ad9e036831ea86464c9fb15"}},{"ruleId":"D1","level":"warning","message":{"text":"A2AClient._build_message (cyclomatic 35): A2AClient._build_message 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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a10f6d39fd5874bdcf3ae58a5457596abd60aa01b52cd2c33fa72956e3520e"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb._get_table (cyclomatic 35): PostgresDb._get_table has cyclomatic complexity 35 (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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fd54ff8985c1c5376ea2d459c220d308881397adfb354ec1903540ecd24ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb._get_table (cyclomatic 35): SqliteDb._get_table has cyclomatic complexity 35 (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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"302159c66d7789b6229b65ade37bcbf10ce226db05f29ccecf04d0cd3d873812"}},{"ruleId":"D1","level":"warning","message":{"text":"SurrealDb.calculate_metrics_dates (cyclomatic 35): SurrealDb.calculate_metrics_dates 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"6979ab192409154131cbe8d3481ed153d1798cf42c06214bcd4b5f57e908db01"}},{"ruleId":"D1","level":"warning","message":{"text":"Model._populate_stream_data (cyclomatic 35): Model._populate_stream_data 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"731c9ac8811d07c77b8ebaa4f4731e0744d087afbea46db9f2110c74179ac44d"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncBaseDb.__init__ (cyclomatic 34): AsyncBaseDb.__init__ has cyclomatic complexity 34 (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":"libs/agno/agno/db/base.py"},"region":{"startLine":2843}}}],"partialFingerprints":{"codehealthFindingId/v1":"4960f6dbc4729dd495491803fe1195c21aec64e14f53b3690294b23ad21737ce"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.delete_component (cyclomatic 34): PostgresDb.delete_component 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5914}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1a5e6d0d2e05d0aa0fdcff3a5724dfbe05138fc94b291e630cae04daf9ae31"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.delete_component (cyclomatic 34): SqliteDb.delete_component 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5775}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e0b7d1473d250595b80cca3639f8a6f9339277c38b17b0ac2f9bec1fd68763"}},{"ruleId":"D1","level":"warning","message":{"text":"utils._calculate_run_metrics (cyclomatic 34): utils._calculate_run_metrics 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3c29d62aa779635c86f642bc95bcbbad7c90d69a28406d31db0872058df020"}},{"ruleId":"D1","level":"warning","message":{"text":"runner._isolate_attempt (cyclomatic 34): runner._isolate_attempt 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d177d3332059a7c7c31e88d38da576d371293d158a17ce70429c9e3c6c4a73"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS._auto_discover_databases (cyclomatic 34): AgentOS._auto_discover_databases 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":"libs/agno/agno/os/app.py"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f2304d1a33bedc0cfff56227f062d466295a5b5d25c3729c27cd55be445b49"}},{"ruleId":"D1","level":"warning","message":{"text":"hitl.handle_check_status (cyclomatic 34): hitl.handle_check_status has cyclomatic complexity 34 (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":"libs/agno/agno/os/interfaces/slack/hitl.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ca512bc728fa2759f3cad8f05ea7a6a4781184eb863f9d34d9fbff073a43cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Function._build_from_callable (cyclomatic 34): Function._build_from_callable 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b14a65d5faf7f2ac6713af0fb679cb8688140fd7f2b0becc96d2c9637bd9fa"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCall._aexecute (cyclomatic 34): FunctionCall._aexecute has cyclomatic complexity 34 (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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d638a1f83fda13730dffd5de88557622e0788fe832e823dd846cc012c51a1c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAgent._build_continuation (cyclomatic 33): ClaudeAgent._build_continuation 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02d0b8fa2a5ad57df4309024dc0d957fb4ee9ac0c1278496eda4e15a7ebb985"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompanyScheduleExecutor.execute (cyclomatic 33): _CompanyScheduleExecutor.execute 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c44bc5fd4888d84a7269ece68de3789cc8dcab78024f623370b830cd115342"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_sessions (cyclomatic 33): GcsJsonDb.get_sessions 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f4ce474a841f8d5b2c4532edce29b224e1f821705a4b41e019171e87b5708d"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_sessions (cyclomatic 33): JsonDb.get_sessions 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca09fafbd012006c30fb3f56f33509ff5d7e344ab8d180d26a21caabe247dcf8"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.calculate_metrics_dates (cyclomatic 33): AsyncMySQLDb.calculate_metrics_dates 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e2cc3296626e81cfa2cd3fb59b2c88b389f6a4ad3efe1a55fa1311942e4fc8"}},{"ruleId":"D1","level":"warning","message":{"text":"suite._run_case_body (cyclomatic 33): suite._run_case_body 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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced129a2e4902cd0ac684486a6926b1e3141f5d1a137f1f534dc6f5edc986a44"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses._parse_provider_response_delta (cyclomatic 33): OpenAIResponses._parse_provider_response_delta 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a323b02efa367193aa159c1a64223d5f5e526c27a9ec6e6147f2824fafea940"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueWorker._persist_run_error_inner (cyclomatic 33): QueueWorker._persist_run_error_inner 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff71f97340b50130200d88f2cc0d378def25e108e79c8cd3252dc3c07e02e4ac"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._run_tasks (cyclomatic 33): _run._run_tasks 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57ab0e09c43f119711275fb2da76a67d6ce9fd25227e11bff3023961410180"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTools.__init__ (cyclomatic 33): MCPTools.__init__ 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":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d3e1e7109678dc352b7443bd91b4103787ab20bd576242b9619f164fb031e7"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramTools.__init__ (cyclomatic 33): TelegramTools.__init__ has cyclomatic complexity 33 (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":"libs/agno/agno/tools/telegram.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0df21a1c49ccd5193abec713b382c17b9bca488a5cffbdfbe127d3f0b2595e"}},{"ruleId":"D1","level":"warning","message":{"text":"message.reformat_tool_call_ids (cyclomatic 33): message.reformat_tool_call_ids 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":"libs/agno/agno/utils/message.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f15e3b7a7d5c4b244b1347db9f05bd4f5e15d22db28c8a21549fdbd5a667dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromaDb._build_search_results (cyclomatic 33): ChromaDb._build_search_results 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc244e594652b0134a8cf582b8cab7c1c09e7c5aa2c370f8297529df813cba21"}},{"ruleId":"D1","level":"warning","message":{"text":"Steps.execute_stream (cyclomatic 33): Steps.execute_stream 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. This shape REPEATS in the file: one other method here (Steps.aexecute_stream) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8cb88ef948d46926be27dc52191bcebac96ddace67c08fc2bc497911f04c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"Steps.aexecute_stream (cyclomatic 33): Steps.aexecute_stream 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. This shape REPEATS in the file: one other method here (Steps.execute_stream) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a80f62ff23ce8e6958cf530f07d0d9b2c63ebe91d7889f0d543197e2b9577"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsApp.build_resources (cyclomatic 33): AwsApp.build_resources 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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0be7de34fad4ef7b2ad7f13bf3eebbb003ceb35b76868030fd1e4ce9c3327b"}},{"ruleId":"D1","level":"warning","message":{"text":"routines._routine_failure (cyclomatic 32): routines._routine_failure 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4769b9d4c0d9651850164aca6094be2bc19a14d1021903e2f499fce1504560"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.calculate_metrics_dates (cyclomatic 32): DynamoDb.calculate_metrics_dates 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"7305ae0db1ab246c0ecf9a10debafe2a9f2cf2f7d6a897e8f06f9b80fbee6ecd"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.get_sessions (cyclomatic 32): InMemoryDb.get_sessions 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"898d098791645ae0889eafd495c35798e6455dac99c4ffd1017785c5667283e4"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb.calculate_metrics_dates (cyclomatic 32): MySQLDb.calculate_metrics_dates 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2922}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0e0cef57cbce3d5701ed6b2a5c177502a510567136a59d2e89a777899876d5"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.calculate_metrics_dates (cyclomatic 32): AsyncPostgresDb.calculate_metrics_dates 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaa52c9682d87f0c08fa3393a35921f137d1e9a8642b34a8d0d6b29a1e3682e"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb._create_table (cyclomatic 32): SingleStoreDb._create_table 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8059910370ce8fb45e71e9dbe4aaff81004f586c889ebef3552ff412e9af147e"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb.upsert_sessions (cyclomatic 32): SingleStoreDb.upsert_sessions 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"f290b971f5ee0a44f9ecdfc66f4cd9d5d7ad5e72cf8e9c99926d8bf91c1f3372"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.calculate_metrics_dates (cyclomatic 32): AsyncSqliteDb.calculate_metrics_dates 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6793b671a5fd8b02c09e8238d3cc73bdb1c6dde85ae7254e856609844148c5a"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aprocess_lightrag_content (cyclomatic 32): Knowledge._aprocess_lightrag_content 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. This shape REPEATS in the file: one other method here (Knowledge._process_lightrag_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4929}}}],"partialFingerprints":{"codehealthFindingId/v1":"5868773814e53736964d571022c2dcedd0cce476a29bd687f752ffdcc67198a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._process_lightrag_content (cyclomatic 32): Knowledge._process_lightrag_content 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. This shape REPEATS in the file: one other method here (Knowledge._aprocess_lightrag_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":5101}}}],"partialFingerprints":{"codehealthFindingId/v1":"19765f13a828396300c0de86ed6076f49d41e9e3bd6caab47b974abd146b2fae"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIChat._parse_provider_response (cyclomatic 32): OpenAIChat._parse_provider_response 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"9977e0e803b7d8a79e3d5e88ce9767944bf061bc77f1c92c7e4842ca0540ed1d"}},{"ruleId":"D1","level":"warning","message":{"text":"approval._build_approval_dict (cyclomatic 32): approval._build_approval_dict 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"412d356aa91dfac926ae30a3914d4756c5d82a6120db06d73953c127847bdb78"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._arun (cyclomatic 32): _run._arun 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"744619320111e902c381e1a5deadbcaf02f7cd9847c716c6bc5eaa5384e9f217"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._backfill_approval_to_requirements (cyclomatic 32): _run._backfill_approval_to_requirements 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5910}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee978a8895c82384acf426507e681acbc0577e93348c7c6d4e3623405b6c0325"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.scrub_media_from_run_output (cyclomatic 32): agent.scrub_media_from_run_output 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c69fb79b8550cdecd3056f604a0d168bbf0f236669a576ce170e5a8616ce26e"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._deep_copy_single_step (cyclomatic 32): Workflow._deep_copy_single_step 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a670e3153f779a4b5296eb6f50d9f2d2d7277c5499006d50c29c5b7463f86b7"}},{"ruleId":"D1","level":"warning","message":{"text":"InfraApp.add_app_properties_to_resources (cyclomatic 32): InfraApp.add_app_properties_to_resources 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":"libs/agno_infra/agno/base/app.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"467545e92c9d76a96599b60366af89e32c40d1bfc45a4e4ca9fe2de8591fa38c"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.aget_relevant_docs_from_knowledge (cyclomatic 31): _messages.aget_relevant_docs_from_knowledge 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2357a9d6b6401767fa5007cb494731cab6d193c13fa16c61d86bdd0650ae0b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAgent._arun_adapter_stream (cyclomatic 31): ClaudeAgent._arun_adapter_stream 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc53e9e37d28b8c16e395a9dc4d948e486ac26e7b8b89808f24ed47b2ce1bf87"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompanyScheduleExecutor._dispatch (cyclomatic 31): _CompanyScheduleExecutor._dispatch has cyclomatic complexity 31 (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":"libs/agno/agno/company/routines.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a34727c9dea171e0842ae79d492703ccdffb62b0aa1fcc41f663b8c53b6142"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.calculate_metrics_dates (cyclomatic 31): PostgresDb.calculate_metrics_dates 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3742}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e769173b49e36a7f718ac9cc5f51e0e293172597110754b7b0344733fc0961"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.calculate_metrics_dates (cyclomatic 31): SqliteDb.calculate_metrics_dates 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":3678}}}],"partialFingerprints":{"codehealthFindingId/v1":"395f6811a865f4acd78c814e6effe55c3e54ee82d74c7e9976b54d272a0f7894"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.calculate_date_component_metrics (cyclomatic 31): utils.calculate_date_component_metrics 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"c322611610e61a4484f1429cb9f8162ce7f11e4ae7d0babd16cd90bbda5b3f05"}},{"ruleId":"D1","level":"warning","message":{"text":"migrations.rekey_user_entity_learnings (cyclomatic 31): migrations.rekey_user_entity_learnings 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. This shape REPEATS in the file: one other method here (migrations.arekey_user_entity_learnings) 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c392d3be40ad449a46f77d9ef0bf3829cc46c05ec1ec6f0cf1dc2c61c10a4ea"}},{"ruleId":"D1","level":"warning","message":{"text":"migrations.arekey_user_entity_learnings (cyclomatic 31): migrations.arekey_user_entity_learnings 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. This shape REPEATS in the file: one other method here (migrations.rekey_user_entity_learnings) 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a3c70ea4849bebe0b82568976fe8d47e2b0bfe045843dd18e89bf935a38cd"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsBedrock._format_messages (cyclomatic 31): AwsBedrock._format_messages 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c2ae2ca898ce175d8fb9a4d03f40c403196603d0e5712087ec0aecfada3f5"}},{"ruleId":"D1","level":"warning","message":{"text":"LiteLLM._format_messages (cyclomatic 31): LiteLLM._format_messages 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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea063a9e3daa88bf96144e6f2eaa2a6128217446e2cc847aae5e003c85e7f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIChat._parse_provider_response_delta (cyclomatic 31): OpenAIChat._parse_provider_response_delta 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0d7bd445b6cfc38586e61fc130d9ea032b018fa926b8e33af5a4784b562ff4"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisEventStream.tail (cyclomatic 31): RedisEventStream.tail 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":"libs/agno/agno/os/event_streams/redis.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5b28bb095928f219c04a55b59ebc331dbb9dc96e88296a53801396295e5c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseWorkflowRunOutputEvent.to_dict (cyclomatic 31): BaseWorkflowRunOutputEvent.to_dict 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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e63eb49c55231bd979f0b26721cc762219c6d8fffaaca05a822c3146c837a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Parallel.aexecute_stream (cyclomatic 31): Parallel.aexecute_stream has cyclomatic complexity 31 (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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff2fcf86e97d754032f4ffdccf32f9ffebed3c72a8ac3b9e6d279b9bec6f58"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.aget_tools (cyclomatic 30): _tools.aget_tools 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e657ce5c67c256397a90b1bb13495997389544933061943a8175494238c27952"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityAgent._translate_sse_event (cyclomatic 30): AntigravityAgent._translate_sse_event 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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc67d196289d7e3e4ed9ec3d6244cd196ba94610e02de7a1ffab5a3bbf7d5b70"}},{"ruleId":"D1","level":"warning","message":{"text":"filter_converter.filter_expr_to_sqlalchemy (cyclomatic 30): filter_converter.filter_expr_to_sqlalchemy 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":"libs/agno/agno/db/filter_converter.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d71d7f20566356d2b789d7760ad00879ecf43d9cd71e5e0861af02e501bc01"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_trace_stats (cyclomatic 30): GcsJsonDb.get_trace_stats 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca88f81393344ca738bfc010d37a90c9a88b5aaf9b2c86f3e236174d70d3385"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.calculate_metrics_dates (cyclomatic 30): InMemoryDb.calculate_metrics_dates 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27ed984852f5fb7d34027ad2a62fcb8491bd8eba45930d49c249367a594af3e"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb._calculate_date_metrics (cyclomatic 30): AsyncMongoDb._calculate_date_metrics 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e368eebd1575d1dee966d46f4c636781509f7a0a7b4e5c21d9b66ba404c9e686"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb._create_table (cyclomatic 30): AsyncPostgresDb._create_table 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1e2aa05102725a1f570402f9e6a931ce5e986d33e89d30bf56afcdf75bc91c"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb._get_table (cyclomatic 30): AsyncPostgresDb._get_table 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6ccb90c05a09d9a355a58d4d62e8070d5899b31e3110baaeeac4702c17ef48"}},{"ruleId":"D1","level":"warning","message":{"text":"sources.validate_source_fields (cyclomatic 30): sources.validate_source_fields 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":"libs/agno/agno/db/schemas/sources.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5f644d98ce9450b085901645e2c04ecd0902ad89eaa61200f5d78552aa778d"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb.calculate_metrics_dates (cyclomatic 30): SingleStoreDb.calculate_metrics_dates 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3428cc2c68aa9c96f7be4d5042d3919e6ccdd29c22f7563e686ff1fd89285bb"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb._create_table (cyclomatic 30): AsyncSqliteDb._create_table 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c038b7f58e2bf00b831db5f18036d86e102bcb7f8e088131f979d74b0dd6e"}},{"ruleId":"D1","level":"warning","message":{"text":"WebsiteReader.crawl (cyclomatic 30): WebsiteReader.crawl 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":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc78f940aadf227a04090a445673854db7ccc2cb9b6b2c4d0d4162cc9b92c08"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiInteractions._build_input (cyclomatic 30): GeminiInteractions._build_input 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aedc7863782dff1de4a343263e5e200c06dccb47be51dd986ff8dddb02bbb8"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSession.get_messages_from_team_runs (cyclomatic 30): WorkflowSession.get_messages_from_team_runs 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":"libs/agno/agno/session/workflow.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b435bd47da5e2f81343db883f20a43812ae3c9f5d96fdf1de8c20317e92cd3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"_default_tools.aget_relevant_docs_from_knowledge (cyclomatic 30): _default_tools.aget_relevant_docs_from_knowledge 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99f2f0bf6f48e575320f2fb84136bff15f5cb1bd5f6057002bb0f1761cdf844"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelSession._execute_locked (cyclomatic 30): KernelSession._execute_locked 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":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51368589064d402691eb00cec5b86f68f24ae3b848c1c24d8494ccd58ff674d"}},{"ruleId":"D1","level":"warning","message":{"text":"SalesforceTools.__init__ (cyclomatic 30): SalesforceTools.__init__ has cyclomatic complexity 30 (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":"libs/agno/agno/tools/salesforce.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a48f7329ff34f02fc4e7c73f2decc037ac194bd0c3cea247ad6ff1642bf888"}},{"ruleId":"D1","level":"warning","message":{"text":"03_step_user_input_streaming.run_workflow_streaming (cyclomatic 30): 03_step_user_input_streaming.run_workflow_streaming 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":"cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e687fae9821ad5582bf741c3099822e6a22fd13bd9d18ab4a9267f8306d186"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.create_component_with_config (cyclomatic 29): PostgresDb.create_component_with_config 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6306}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c202bdafe1be68b98ee1ab23aa6cb45fada15d2b4fae60fa2340b9e98dd9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.delete_config (cyclomatic 29): PostgresDb.delete_config 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7059}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c173649b861172738b8badd52d3eb42878bca23307420d9212d8bcb080114dd"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.create_component_with_config (cyclomatic 29): SqliteDb.create_component_with_config 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":6165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dede74d999097b260ead1859886ed56425433dafdf162951c63c9ccfc7ebd4a"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.delete_config (cyclomatic 29): SqliteDb.delete_config 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":6867}}}],"partialFingerprints":{"codehealthFindingId/v1":"64815cd0c2e4cdd88909fbd6295a2940bab1e7c752d40d59d5898bcdb2e8f473"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge.aremove_content_by_id (cyclomatic 29): Knowledge.aremove_content_by_id 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a69fb5e084d35c2c7ac5eb476688a6608100738df1c9c9856deb4c819aa9dd"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemoryStore._apply_remember (cyclomatic 29): EntityMemoryStore._apply_remember 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b071c95ad5c58178b593177bdea3f9175f7748c46017eace0980e6f11e05fcf4"}},{"ruleId":"D1","level":"warning","message":{"text":"RunMetrics.__add__ (cyclomatic 29): RunMetrics.__add__ 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":"libs/agno/agno/metrics.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba76b98e1ce9b3e8d4cac0624932b110fb2b898f0cf7d2ba849057756bd8d32"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses._parse_provider_response (cyclomatic 29): OpenAIResponses._parse_provider_response 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad9701993e5ff73dd1243d162278fae32ab269a4805a9de3e57c071ae07bb89"}},{"ruleId":"D1","level":"warning","message":{"text":"input.extract_media (cyclomatic 29): input.extract_media 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":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdc963314fefecb53934e0a5e6c36776ab10f4340ac81700270f1da91f3533a"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox._sandbox_start_gate (cyclomatic 29): sandbox._sandbox_start_gate 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":"libs/agno/agno/os/routers/company/sandbox.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0727b82390fca4d04ca7b1b5c1cc41e57756880e19b5629a2019b02317dd090"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._resolve_member_run_output_for_continue (cyclomatic 29): _run._resolve_member_run_output_for_continue 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6223}}}],"partialFingerprints":{"codehealthFindingId/v1":"913d423ee0dfe365d66edd82f01feab5b196b97061de5509abb70f3e32f90507"}},{"ruleId":"D1","level":"warning","message":{"text":"RedmineTools.__init__ (cyclomatic 29): RedmineTools.__init__ has cyclomatic complexity 29 (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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d0babf2780e55b0bd1a5cd80d378ee7c7dad720461cb208e32975c57fc2257"}},{"ruleId":"D1","level":"warning","message":{"text":"media_offload.iter_run_media (cyclomatic 29): media_offload.iter_run_media has cyclomatic complexity 29 (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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa3fff0e119c3d1e37fd4620afd325bd1e47f0e7a17e258a12422f90a21303f"}},{"ruleId":"D1","level":"warning","message":{"text":"message.get_text_from_message (cyclomatic 29): message.get_text_from_message 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":"libs/agno/agno/utils/message.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be89c63fb0f446704d7faed69dff92df687ea37accde0181a172980b355dbc7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromaDb._hybrid_search (cyclomatic 29): ChromaDb._hybrid_search 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda79702e82aa9210b2c2cd9f03568635b1adec6ffed9e0d1c4797eb6b4c8af6"}},{"ruleId":"D1","level":"warning","message":{"text":"Step._execute_nested_workflow_stream_inner (cyclomatic 29): Step._execute_nested_workflow_stream_inner 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. This shape REPEATS in the file: one other method here (Step._aexecute_nested_workflow_stream_inner) 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"313d6dee234888c24315d6ce1311f71e402775c3551ccf93d84ebee4cf57920b"}},{"ruleId":"D1","level":"warning","message":{"text":"Step._aexecute_nested_workflow_stream_inner (cyclomatic 29): Step._aexecute_nested_workflow_stream_inner 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. This shape REPEATS in the file: one other method here (Step._execute_nested_workflow_stream_inner) 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"842e641ea80cd4a01efe520ec970f88a8d67255170a7cd1cf8eb0404fbad5343"}},{"ruleId":"D1","level":"warning","message":{"text":"EcsService._update (cyclomatic 29): EcsService._update 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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"211ccc03f9337256c37495b1372546fa0e9c5c0236fbf1176ddcf1988c9d8714"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb._calculate_date_metrics (cyclomatic 28): FirestoreDb._calculate_date_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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeaba3e22feac13947542c3ca7d83385ccd64ba28a6684d451862d55789100f"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.calculate_metrics_dates (cyclomatic 28): FirestoreDb.calculate_metrics_dates 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76ab136b08d8b9fab8acb3f26d4b30f48ca578419c4ba3e9e5f8bbdc96e484d"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.get_sessions (cyclomatic 28): AsyncMongoDb.get_sessions 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc62b243c5d3af1239adba754405d13108aaa78ea9a28b27cd2fbe15f029592"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.calculate_metrics_dates (cyclomatic 28): AsyncMongoDb.calculate_metrics_dates 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7c6d164785b9207d5631d04ca4cd5dc3b7f31e02b7c1107b583951da70dd55"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.get_sessions (cyclomatic 28): MongoDb.get_sessions 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee20bcd2fc49c5da75fec68d33855bafe6be00766a536bf7ba302fd1dab80128"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.calculate_metrics_dates (cyclomatic 28): RedisDb.calculate_metrics_dates 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cc7f8678f54b04220090f2b3f3ef3dca2d116b6f1d7a03e1d13ad25eb03070"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.get_traces (cyclomatic 28): ValkeyDb.get_traces 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de9b6172a51aed624dc43d295c269a0ffaa9adb6b0b12d23d4eb3ba79166a70"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge.remove_content_by_id (cyclomatic 28): Knowledge.remove_content_by_id 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d382eb8f2cd9066484e0a9440fbe90c6358747fadefbe70133b0221fd56d6f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aload_dir_as_folder (cyclomatic 28): Knowledge._aload_dir_as_folder 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. This shape REPEATS in the file: one other method here (Knowledge._load_dir_as_folder) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89d3acd951f2d4f5cf3899cc6140406d10599e64c99461b16790a8335bb4bba"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._load_dir_as_folder (cyclomatic 28): Knowledge._load_dir_as_folder 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. This shape REPEATS in the file: one other method here (Knowledge._aload_dir_as_folder) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3091}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f065f063f14877b4d9a237809542087e49e4e8782d825679912b363d2a0c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"job_queue.acontinue_via_queue (cyclomatic 28): job_queue.acontinue_via_queue 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5c11e3d300bfe39fae86ab36a266d2cceed87f090ccdeb3b3d153b015e75d8"}},{"ruleId":"D1","level":"warning","message":{"text":"JWTValidator.validate_token (cyclomatic 28): JWTValidator.validate_token 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f53c2143d7414bb744bb8b2fd87591f40f484126c294bc4e7171425136bdf23"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowRunOutput.from_dict (cyclomatic 28): WorkflowRunOutput.from_dict 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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf80ac989fd7c7ea2913fa52f04ccdbffbc31e6cfd751e3b954f0553eba4e48"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSession.get_messages_from_agent_runs (cyclomatic 28): WorkflowSession.get_messages_from_agent_runs 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":"libs/agno/agno/session/workflow.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2d9dd4c924dcac1b539a9dae64af5a5ec91f2e06519d24169bd25cf79d4f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._continue_run_dispatch_stream_with_member_events (cyclomatic 28): _run._continue_run_dispatch_stream_with_member_events 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8060}}}],"partialFingerprints":{"codehealthFindingId/v1":"4230c46961a96033a5199d8ad1ae42fcec066a3e70586d3673c25c6df088a94b"}},{"ruleId":"D1","level":"warning","message":{"text":"Function.process_entrypoint (cyclomatic 28): Function.process_entrypoint 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad0730e028abcd9b71b57d8fe26a0aea2e09b1cc518e9576e6c385f05bd9a7"}},{"ruleId":"D1","level":"warning","message":{"text":"GithubTools.get_repository_with_stats (cyclomatic 28): GithubTools.get_repository_with_stats 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":"libs/agno/agno/tools/github.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"d347b09737216ef6b564a63ef2dcb5c643f496810609d55ac750573816d662f8"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._curated_config_view (cyclomatic 28): StudioTools._curated_config_view 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcd3ee73b3afc5bab758188601b763eba89490d7f70636014aba77cc1e8dd05"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.print_response (cyclomatic 28): workflow.print_response 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. This shape REPEATS in the file: one other method here (workflow.aprint_response) 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5222dd0026d191269eeefccd64ea53b2111a0f89a086a533d65317b6ebfaf1"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.aprint_response (cyclomatic 28): workflow.aprint_response 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. This shape REPEATS in the file: one other method here (workflow.print_response) 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e92637b7aece1ced8072ae020ed83b3005be6225d9bd58a792f0ea74fb956f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromaDb._build_get_results (cyclomatic 28): ChromaDb._build_get_results 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3741ba2f6ae1c1791542f98dc48a5a65a184da611472497aa6224e0408e3f57"}},{"ruleId":"D1","level":"warning","message":{"text":"EmrCluster._create (cyclomatic 28): EmrCluster._create 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":"libs/agno_infra/agno/aws/resource/emr/cluster.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"32405723ede30a4620742f40c3abea79a0de6711ff28c5978a3e77d7bbb586a5"}},{"ruleId":"D1","level":"warning","message":{"text":"infra_cli.patch (cyclomatic 28): infra_cli.patch 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44f1b295ab49f68841b92681f22df41806aee3701b85551b67e2bd9b420e920"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages.get_relevant_docs_from_knowledge (cyclomatic 27): _messages.get_relevant_docs_from_knowledge 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b31358ec36c233bfe3b8f35d477eb09a2cdfb07a0e6bc4657215b190f6ecd"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.map_stream_events_to_run_events (cyclomatic 27): utils.map_stream_events_to_run_events 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. This shape REPEATS in the file: 2 other methods here (utils.map_stream_events_to_team_run_events, utils.map_stream_events_to_workflow_run_events) 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9407c4285bbaec20028164ee7c766fedad53ad73166f35fc936add9c1a20df15"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.map_stream_events_to_team_run_events (cyclomatic 27): utils.map_stream_events_to_team_run_events 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. This shape REPEATS in the file: 2 other methods here (utils.map_stream_events_to_run_events, utils.map_stream_events_to_workflow_run_events) 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00e7dadea4b877b90cdb332fc73cbbcc3e186a9c8580a6c998da4d1320a751d"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.map_stream_events_to_workflow_run_events (cyclomatic 27): utils.map_stream_events_to_workflow_run_events 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. This shape REPEATS in the file: 2 other methods here (utils.map_stream_events_to_run_events, utils.map_stream_events_to_team_run_events) 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba655cd1c96d5aab33c97d18e5738d8d5bc77d23cc2ce18ea4d2f7c1f5b710e3"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_traces (cyclomatic 27): DynamoDb.get_traces has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3947}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b38fbbb11c86e9b9af7f2b3431878224202c46933cc00c8fa204796691fd3d"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.get_sessions (cyclomatic 27): FirestoreDb.get_sessions has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"4712a80ca741969454ffe77b269c722ef9dda3265b9ec27548c0e11386410f33"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_eval_runs (cyclomatic 27): GcsJsonDb.get_eval_runs 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d984ebb3ee41171afd91a9307fa7772ec972504ac44156bc960a0b6136700fc"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_traces (cyclomatic 27): GcsJsonDb.get_traces 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a99469fa23a77c3c53cc4060be5576f38fb00fc8459065b780928a412e9d86"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.get_eval_runs (cyclomatic 27): InMemoryDb.get_eval_runs 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"821dd01bfb9bce72505ca928a9da005131cf3ad71438a7befeab8d93e26f61f5"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_eval_runs (cyclomatic 27): JsonDb.get_eval_runs 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62631097ecbad74cc9d6c4bce6e6e41ef7e7479735b11af4c268f40007999c7"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_traces (cyclomatic 27): JsonDb.get_traces 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6969926879a8870b661a0e95d79cb4bc9acfd06be750c340d9a8a91f3fa77a6"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.calculate_metrics_dates (cyclomatic 27): MongoDb.calculate_metrics_dates 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"da54545fcdf59ec1ea9885c24e06903221e4b9a97312d531068c52633d80ed35"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_sessions (cyclomatic 27): AsyncPostgresDb.get_sessions has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32435dca50f7e3a1cb3e81b32d8b3b2220c85036dbbb3ac1b69b808cd6058ce"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_sessions (cyclomatic 27): AsyncSqliteDb.get_sessions 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 is NOT this file\u0027s highest cyclomatic complexity: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc7c3a02acdd45fc8f7b3672ab2635f95997cb23aeb8c9c0162eb25c4fa79f8"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_sessions (cyclomatic 27): SqliteDb.get_sessions has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a20aefc2273d0e19620e8480cb93a6788516dd69fc3a010211cf90ee72573af"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.upsert_memories (cyclomatic 27): ValkeyDb.upsert_memories 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e56583592cc9f763824e54bfa98b81c801a23fac5a4c8aa5f1b52d35a1ca2af"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.calculate_metrics_dates (cyclomatic 27): ValkeyDb.calculate_metrics_dates 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"3149aadbf454430a6801fd1a903d40b97b3882bde6d5017c256b80fa65c8383c"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.get_eval_runs (cyclomatic 27): ValkeyDb.get_eval_runs 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"2692c79ca26d4c0bfe769590e0cba6adfefedcf18b9f8dff38b7fc1ba2cb1def"}},{"ruleId":"D1","level":"warning","message":{"text":"AccuracyEval.run (cyclomatic 27): AccuracyEval.run 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe6b10620489799de9ce755f1af4c80bc50ae1c60d1758ad3ce5bdb3ea642e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aload_from_content (cyclomatic 27): Knowledge._aload_from_content 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. This shape REPEATS in the file: one other method here (Knowledge._load_from_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3784}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc84c0d50f9cf0ee281dac9c0e059fdacedbad48ad2b0e09162964c280a00267"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._load_from_content (cyclomatic 27): Knowledge._load_from_content 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. This shape REPEATS in the file: one other method here (Knowledge._aload_from_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"856eb9f12168cec41940badf9980460e14a961c89dcadc6c4140632970a7eccc"}},{"ruleId":"D1","level":"warning","message":{"text":"PageSource.fetch (cyclomatic 27): PageSource.fetch 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":"libs/agno/agno/knowledge/page/_source.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b93b2163ddebc80f990a5fb119b0603bc47a04e957a6ac175ca2d10efdc169b"}},{"ruleId":"D1","level":"warning","message":{"text":"DoclingReader.read (cyclomatic 27): DoclingReader.read has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/docling_reader.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a85593650cf366b64bba4e2501a1c3a1347b4e7688c73c4316fba53ea858de2"}},{"ruleId":"D1","level":"warning","message":{"text":"WebsiteReader.async_crawl (cyclomatic 27): WebsiteReader.async_crawl 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":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0631dae34108c5c051c430d0c22b4d584cecf9313c3b32bc38b8228ad62ab79"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._format_file_for_message (cyclomatic 27): Gemini._format_file_for_message 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f148888f98b04a7723a870b4c74b473a92e2bdc58a795d4ce01fab4559724b"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp._register_exposed_components (cyclomatic 27): mcp._register_exposed_components 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f34c9732c86a88961b665011c6d8beaaeda592470b5dcbc48559ccd507348"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicMiddleware._validate_form (cyclomatic 27): PublicMiddleware._validate_form 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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2487f128fdf88841ecfa9b5cce5a7b6cd27c03590a0e9ee2fa49f0f374f4968"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox.sandbox_run_response (cyclomatic 27): sandbox.sandbox_run_response 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":"libs/agno/agno/os/routers/agents/sandbox.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8970d9dcf98270786a79d9160b1e34fd26aa35c04d718d891ad06d6e7abf0b41"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseRunOutputEvent.from_dict (cyclomatic 27): BaseRunOutputEvent.from_dict has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/base.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"675192847778f8d7dc169140c74d38875d928a3d42ea83ec68bd59c10e456e3c"}},{"ruleId":"D1","level":"warning","message":{"text":"_response._update_run_response (cyclomatic 27): _response._update_run_response 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fcba3ed314eb7dcfb06af001288cc71443cd7f3ca4fd90d929f12513d20bde"}},{"ruleId":"D1","level":"warning","message":{"text":"_response._ahandle_model_response_stream (cyclomatic 27): _response._ahandle_model_response_stream 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efabc8acd8f9cd33bfd30a27a06a7f53f6febb9e1ddbd702c06e36022a60728"}},{"ruleId":"D1","level":"warning","message":{"text":"_response._convert_response_to_structured_format (cyclomatic 27): _response._convert_response_to_structured_format 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ba45a50a10a252de7ad74af937ee011402c1179dcc0ba597d138e9183d8258"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.acontinue_run_dispatch (cyclomatic 27): _run.acontinue_run_dispatch has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":9228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df384881d1add06117d1692b6f1709f93bf57d701d2229f19f7ae207093d02b"}},{"ruleId":"D1","level":"warning","message":{"text":"agentos._normalize_eval_run (cyclomatic 27): agentos._normalize_eval_run 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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a5e7878d3db0701862ded4fc50ccd587e68ea75f0b10470145689fed4c016e"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCall._execute (cyclomatic 27): FunctionCall._execute 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a2d256a910f5d55bb0c16382e84bd6e1e950068f6e5362c4aca23d67fa67b6"}},{"ruleId":"D1","level":"warning","message":{"text":"PubmedTools.parse_details (cyclomatic 27): PubmedTools.parse_details 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":"libs/agno/agno/tools/pubmed.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d2368509df7e5563c8a9bd709b7b84073aa1d23a195e8655c321bb03a8887a"}},{"ruleId":"D1","level":"warning","message":{"text":"_hitl.submit_decisions (cyclomatic 26): _hitl.submit_decisions 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":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"622f3ad4c7cb6a97a2f92d5f7754b7740305894b44ad0dec487c11f25d74ebbf"}},{"ruleId":"D1","level":"warning","message":{"text":"_media.stage_media (cyclomatic 26): _media.stage_media 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":"libs/agno/agno/agents/_media.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad60993d5652a59311584591f821768fed28761a72641c876f75b4cf4d5ec51"}},{"ruleId":"D1","level":"warning","message":{"text":"refresh.arefresh_product (cyclomatic 26): refresh.arefresh_product 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":"libs/agno/agno/company/refresh.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43097543b01161899c9f747a4f4a6b8fdf5f0bfd9b5e9ace90ad99ebffb4044"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.filter_expr_to_clickhouse (cyclomatic 26): utils.filter_expr_to_clickhouse 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":"libs/agno/agno/db/clickhouse/utils.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6513c46ebf13946e6d6334a76c4d7b8655055d768e3f83ac558a74f3e22405b3"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_trace_stats (cyclomatic 26): DynamoDb.get_trace_stats 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4114}}}],"partialFingerprints":{"codehealthFindingId/v1":"be447e2ba841be00cd7342a4cbd80fddd1e801589ac75ac3db3c2a7d8a985298"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_trace_stats (cyclomatic 26): JsonDb.get_trace_stats 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d992d895729672dd57a18cc2f43a6a32b808dda2c83573c136f01a13c8ba9f46"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb._calculate_date_metrics (cyclomatic 26): AsyncMySQLDb._calculate_date_metrics 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17653ccc870f2a7c4173029d07e9cfaf2284aa3cdfaf9d4a9000a5389fff577"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_sessions (cyclomatic 26): PostgresDb.get_sessions 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa42436e5c2138785ccc473a741a1c67d247d3848267b2852046a16bac7785"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.get_traces (cyclomatic 26): RedisDb.get_traces 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3503}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d48f5addcdee9c86b774e264d125043581676672c4834a8625799c9fc4feba"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.arun_rollouts (cyclomatic 26): runner.arun_rollouts 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b48bab034ef42006d8a7597b797d07ee9a6d5e2f490d928df0d9f4a0a9c1c3"}},{"ruleId":"D1","level":"warning","message":{"text":"AccuracyEval.arun (cyclomatic 26): AccuracyEval.arun 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4736a1327ad16a03328f0001e2380a0f8d81d7e3a835a9f6b9176d754da4d32"}},{"ruleId":"D1","level":"warning","message":{"text":"Model.run_function_calls (cyclomatic 26): Model.run_function_calls 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2fef3d55b736e3012c048442baa3f1bdf0ccdd1094b96d3db7f0335394029"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueWorker._execute_streaming (cyclomatic 26): QueueWorker._execute_streaming 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28ae8ac023f76d18ceafb1765152ff91952f8ab00054bbede7603dfe0432ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPRoutingMiddleware.__call__ (cyclomatic 26): MCPRoutingMiddleware.__call__ 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":"libs/agno/agno/os/middleware/mcp_routing.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9982c759fc921efeacbe3bca755258a50b9b97b6cd46755e4525a4fa572d8faf"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox.enqueue_sandbox_run (cyclomatic 26): sandbox.enqueue_sandbox_run 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/sandbox.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"082c23800155563463d1fd6a0b8810cec4688517be018a948170b0b35a65aad5"}},{"ruleId":"D1","level":"warning","message":{"text":"router.handle_workflow_subscription (cyclomatic 26): router.handle_workflow_subscription 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e83e00b4047153043fc0d501697ba5132054fcc6e49eef2e5bf2ebee96f1786"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.collect_mcp_tools_from_workflow_step (cyclomatic 26): utils.collect_mcp_tools_from_workflow_step 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"af286dc3cc811704531ca4e6d7b70b84d0556c5d465d2f059fde261f78752faf"}},{"ruleId":"D1","level":"warning","message":{"text":"_default_tools.get_relevant_docs_from_knowledge (cyclomatic 26): _default_tools.get_relevant_docs_from_knowledge 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f39e053b8050b67160d9adfde2dc2814b8861cf447b57bc8286a83abad85bd"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._build_trailing_sections (cyclomatic 26): _messages._build_trailing_sections 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4188cf25ebb29e1c74e24685ac24df7453881319a4fe106ea0a76b0f2ec0dc86"}},{"ruleId":"D1","level":"warning","message":{"text":"_response._handle_model_response_stream (cyclomatic 26): _response._handle_model_response_stream 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccf0ee8426da7b8f842940b89d34c310ee43db4abbb3746d1c3bb39dc64df13"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._run (cyclomatic 26): _run._run 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb40776141116f70fbc0860a4c862ca5fbfdce55392ed9919d15d00bfcc0c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._route_requirements_to_members_stream (cyclomatic 26): _run._route_requirements_to_members_stream 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. This shape REPEATS in the file: one other method here (_run._aroute_requirements_to_members_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6534}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2419cf878e81d659e3ebc0130f5ea2113b961a1f52d17cbeb2e8aff15b4867f"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._aroute_requirements_to_members_stream (cyclomatic 26): _run._aroute_requirements_to_members_stream 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. This shape REPEATS in the file: one other method here (_run._route_requirements_to_members_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6739}}}],"partialFingerprints":{"codehealthFindingId/v1":"794da1e3afb993e16125c98cf15218a580fb53bb931a3d5cf36973ae98b8083c"}},{"ruleId":"D1","level":"warning","message":{"text":"FileGenerationTools.__init__ (cyclomatic 26): FileGenerationTools.__init__ has cyclomatic complexity 26 (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":"libs/agno/agno/tools/file/generation.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbebb5cab8e47c5fc0f1927f62d2e711acd37802effa66ed049bb5a371b7ef4"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._bind_child_to_target_db (cyclomatic 26): StudioTools._bind_child_to_target_db 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4963}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38069be91cc3593a4a4fbaf7d1b74e5747ba9378266f336da208664d467a538"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTools._format_results (cyclomatic 26): YouTools._format_results 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":"libs/agno/agno/tools/youcom.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4075cee36d6dc2020aa25afdc21f84090c07e555a3ee324f9dc9a50f4ca471f4"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.arun (cyclomatic 26): Workflow.arun 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10823}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c167fb22fa0d149b1fad9f6a7ba4c7110f8ab0470760726e2d7aabef9b23b44"}},{"ruleId":"D1","level":"warning","message":{"text":"Compaction.__post_init__ (cyclomatic 25): Compaction.__post_init__ 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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4c3ab6e757789fe614291468f79dac6c7b8e4dd152c0b2a59b44e1dcd44d57"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompanyScheduleExecutor._tick (cyclomatic 25): _CompanyScheduleExecutor._tick 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"461e162da0eedf11a9abeddfb6fb00c224820a7d32afbd6f05758f1052263a77"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.get_eval_runs (cyclomatic 25): FirestoreDb.get_eval_runs 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"459a9e5a2b8b05c59ffa78c9e3442ecd3cbe100eb515783cf4b290b3f21e68cc"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb._calculate_date_metrics (cyclomatic 25): MongoDb._calculate_date_metrics 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c532f4d75cfaa1965b1151e74252b8e409de811122cf2a4fc3b890a0988baa"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb._calculate_date_metrics (cyclomatic 25): AsyncPostgresDb._calculate_date_metrics 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9199bbbdc4bd323a24a9858e06fceafb8b0d68314c07afc055b7d2853d4a8b"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.get_sessions (cyclomatic 25): RedisDb.get_sessions 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60014d593db83a62d5b6f0aac763873918d4b11fbd1be4488f755f4f7049e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.get_eval_runs (cyclomatic 25): RedisDb.get_eval_runs 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3205}}}],"partialFingerprints":{"codehealthFindingId/v1":"be78323f21c2a54d1e1ddee9bd171422e9adbe76cc9f147190e0b380acfc1c6b"}},{"ruleId":"D1","level":"warning","message":{"text":"session_filters.normalize_session_filter (cyclomatic 25): session_filters.normalize_session_filter 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":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fead5419270daf081ce06fc95a69c5ef2e3eebcd3e3e420a00f93747852b7f50"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb.get_sessions (cyclomatic 25): SingleStoreDb.get_sessions 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5069b9e53596c4c22a683de9b48856e953dda92244e81f0e5ca92eda214c2c44"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb._calculate_date_metrics (cyclomatic 25): AsyncSqliteDb._calculate_date_metrics 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. This is NOT this file\u0027s highest cyclomatic complexity: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":3198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0376c9a77524f9b9abaf086e881e80c39d16bb6a6966fe62c43b89318e453aae"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.upsert_component (cyclomatic 25): SqliteDb.upsert_component 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5611}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab48ecfe54e3578fb2cd2d47089c69fe7c7afc7c415487be606772a7417e235"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.deserialize_session_json_fields (cyclomatic 25): utils.deserialize_session_json_fields has cyclomatic complexity 25 (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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d308b17e437ff7508fb544134c6516149867607c3d6957051fa392adf0021b"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.get_sessions (cyclomatic 25): ValkeyDb.get_sessions 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fe581f7e335fba4e5a2769ba04cb69b4139a53f6ff96eebd1adf4de2d79d66"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.get_trace_stats (cyclomatic 25): ValkeyDb.get_trace_stats 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":4045}}}],"partialFingerprints":{"codehealthFindingId/v1":"68da9b912d590123498785b5c52ae4e3549015b6653606a0c834f30dae0bec49"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemory.get_context_text (cyclomatic 25): EntityMemory.get_context_text 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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3e5ffbd39a845ee131d08507e2c905ad66d71cd3ef40f2c92d52fecc9b0051"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemoryStore._format_entity_hit (cyclomatic 25): EntityMemoryStore._format_entity_hit 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a917d0ae9cd194f9cfbd71e172805535c3f17c19c0be20811a3c73b990ed640"}},{"ruleId":"D1","level":"warning","message":{"text":"Model._populate_assistant_message (cyclomatic 25): Model._populate_assistant_message 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"24156a84b969d4742a4fd47fcd8ab43c0e2d7670f0a824270633138d27fef2e3"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses.get_request_params (cyclomatic 25): OpenAIResponses.get_request_params 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a736e8dfe575719f69c2ee0a579d3d793e7fa9f82be91a3969080ddbf57fa0b"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.map_media_to_artifacts (cyclomatic 25): utils.map_media_to_artifacts 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":"libs/agno/agno/os/interfaces/a2a/utils.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd15f571162977a5a3d87c16cb7edab99a4220a24dab37129a411cdb2bfc5ab"}},{"ruleId":"D1","level":"warning","message":{"text":"executor.continue_run (cyclomatic 25): executor.continue_run 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":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4a52f2b00e11abb57b2cb251c6c32afca0c3b3b68f88f392e8f757ff762cb2"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.upload_and_send_media_async (cyclomatic 25): helpers.upload_and_send_media_async 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":"libs/agno/agno/os/interfaces/whatsapp/helpers.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e45e669e17904068803ac0287258b09658096209031929401768ef167cae4b"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._merge_requirement_decision (cyclomatic 25): _run._merge_requirement_decision 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5821}}}],"partialFingerprints":{"codehealthFindingId/v1":"9030bf2f4b102cfe48b51d1f3686db870a0c2471d3e8c87793beccc20badc323"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelTools.parallel_extract (cyclomatic 25): ParallelTools.parallel_extract 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":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9110a6fb743e84a5ea119ee1ce8d6d9dda41b891111288c9474bbe1822e5ba8e"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._step_config_to_spec (cyclomatic 25): StudioTools._step_config_to_spec 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad8f3748f87d134691be10b111292a10d3b7eca59990a50a8a90edee190e9da"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._read_component (cyclomatic 25): StudioTools._read_component 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59692ba2de8df9b8dcbe5e104b619dc0256632087978ee1744ccf6e85d04a1b"}},{"ruleId":"D1","level":"warning","message":{"text":"claude._format_file_for_message (cyclomatic 25): claude._format_file_for_message 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"286ebd019aa8ef603d4a481fe583e42c34ea24078e9b903f7783061de973ca8a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.build_panels_stream (cyclomatic 25): agent.build_panels_stream 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47db07cecb08d6a6495727e1be9f3242873441d97241c7f798cf98bba5d35c9"}},{"ruleId":"D1","level":"warning","message":{"text":"UpstashVectorDb.async_upsert (cyclomatic 25): UpstashVectorDb.async_upsert 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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28454a654ebd0b865fe9996953a3ee81fa313291c0c48d10e46f99f50e85f8b"}},{"ruleId":"D1","level":"warning","message":{"text":"EcsTaskDefinition._create (cyclomatic 25): EcsTaskDefinition._create 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":"libs/agno_infra/agno/aws/resource/ecs/task_definition.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acb7202a9d06604dd2cac2e7dfb2d6cd42d2322e853114c02a23e222b6f9cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"02_error_retry_skip_streaming.main (cyclomatic 25): 02_error_retry_skip_streaming.main 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":"cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c688028156e4f46b4103265aa0a06e395d770ba73d75daaef8fe14f1963686"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.imageSearch.runSearch (cyclomatic 25): index.html.imageSearch.runSearch has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"090593a224c18e9048cc6d76deac4689115d7fc6734dadc604fa771a7efd9180"}},{"ruleId":"D1","level":"warning","message":{"text":"_response.ahandle_model_response_stream (cyclomatic 24): _response.ahandle_model_response_stream 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59a409d86de4b9859d9558644679c8cc18dd4d19f7c4d0556d2bf2ac73bc408"}},{"ruleId":"D1","level":"warning","message":{"text":"_hitl.record_decision (cyclomatic 24): _hitl.record_decision 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":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d615eb1380042c441d3a5e448e4cc894d2be5593e8e0f95f5a1490978df03592"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.to_dict (cyclomatic 24): _storage.to_dict 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":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6070f0db8bfa6b8d4f35e7a4d6899839663c2707a03a1761df1e8ee2ba4077ce"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence.run_evidence (cyclomatic 24): evidence.run_evidence 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":"libs/agno/agno/company/evidence.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"233d023b52e277b4e7b9366a34550070d61a60279750fa4c0710a1825d72d767"}},{"ruleId":"D1","level":"warning","message":{"text":"sources.browse_source (cyclomatic 24): sources.browse_source 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":"libs/agno/agno/company/sources.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e32aa2ea60ac28d9cf8dd7cf381e6dbf82583090c3a203a69a508a4f5f9adc"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb._get_collection (cyclomatic 24): FirestoreDb._get_collection 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e36c84cd3f3c09c59390761c8e85b678a4bf13883ab52d4b481ae720d7ad8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb._create_table (cyclomatic 24): AsyncMySQLDb._create_table 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f55271426b97f9b1cf66659cb6ad29e40a9355cab8c2ad2caf746be4ca1f58"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.get_sessions (cyclomatic 24): AsyncMySQLDb.get_sessions has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88a98c474ef8541816e8720d564fb9ab4253c018f00a8e20b448ee85025ea1d"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb._create_table (cyclomatic 24): MySQLDb._create_table 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a71b28a5e31f625b7d5550affc36a757b92db9cc0c6c1a4869501cedc820360"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb.get_sessions (cyclomatic 24): MySQLDb.get_sessions has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ae0c89525fade12e289d0d00ed5e28d7cb246b776cb2c26e5fe3b1005d0217"}},{"ruleId":"D1","level":"warning","message":{"text":"SurrealDb.get_sessions (cyclomatic 24): SurrealDb.get_sessions 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f43addbb90adcd63a1f9ed26bb1888ca480d623a531df8b04bb628e7f125f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb._calculate_date_metrics (cyclomatic 24): ValkeyDb._calculate_date_metrics has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab8382769a385695289904f18fd82e0618c0e3f111e92f0ac1fd55c50931ce0"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCorpus.__getitem__ (cyclomatic 24): PageCorpus.__getitem__ 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":"libs/agno/agno/knowledge/page/filesystem.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cb8b30d80ef5e05f49225ca773590d4632183c848959321f64df544283bc08"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS._initialize_agents (cyclomatic 24): AgentOS._initialize_agents 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edc0d43d691c4f7e52f74988ba0a0c839f1d26f5e5433b2fa1dd98bf92ea224"}},{"ruleId":"D1","level":"warning","message":{"text":"PublicSurface._bind (cyclomatic 24): PublicSurface._bind 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":"libs/agno/agno/os/public/__init__.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d4d0c45918995565c996d085b9a2f6ed3fc52f845c55d74b7e720f1f05ce0e"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics._os_metrics_location (cyclomatic 24): metrics._os_metrics_location 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0214756b52f07bd7a358e5f307b1517369ff7300eea810d06ec62609938dd567"}},{"ruleId":"D1","level":"warning","message":{"text":"RunOutput.from_dict (cyclomatic 24): RunOutput.from_dict has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/agent.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4203342d6e2305b93d9b6d3edd5a4f195c9730d39d9512c51edf7bca344f94e"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelTools.parallel_search (cyclomatic 24): ParallelTools.parallel_search has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff7f372822f128324e48dbe65b74de193de75a4e77822594dc4975579ef9c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackTools._build_instructions (cyclomatic 24): SlackTools._build_instructions has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/slack.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"557e6dc61ed4b75c1362b03523fff21250d48a11d7974ad9677a7e2c182de9b1"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.update_schedule (cyclomatic 24): StudioTools.update_schedule 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4730}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b1c5ce7263697249dc677cb485806ee52cc312562eca2364bd9429cce45c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"media_offload._offload_single_media (cyclomatic 24): media_offload._offload_single_media 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 (media_offload._aoffload_single_media) 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df3f7f6f56c29ca0ff7f4b27942e4e6f3978126abdf7c8e7bde985d214e1b2"}},{"ruleId":"D1","level":"warning","message":{"text":"media_offload._aoffload_single_media (cyclomatic 24): media_offload._aoffload_single_media 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 (media_offload._offload_single_media) 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9794b993654fdc92b52295377e534b75e01f53a620d5239a9148e0d556929f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._enrich_event_with_workflow_context (cyclomatic 24): Workflow._enrich_event_with_workflow_context 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4839f741c9b2fa8788dee68d61ba8f45827c4d2d05b0e70b4689cc3cfb700f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._arun_workflow_agent_stream (cyclomatic 24): Workflow._arun_workflow_agent_stream 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de2bfd0ea3f89fdc0afed270d69592935c192492005f2b74ef3a1d25c61660d"}},{"ruleId":"D1","level":"warning","message":{"text":"TargetGroup._create (cyclomatic 24): TargetGroup._create has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/elb/target_group.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e639749c577c9b4ca5dd8e5c3de0a0e72a9b5e5823a5919773f64bfc7ecdb29"}},{"ruleId":"D1","level":"warning","message":{"text":"_response.update_run_response (cyclomatic 23): _response.update_run_response 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"458e10bf2c8a9c44c9dab9c431881ea03ab04459cc6333edf7503d844fdeefdc"}},{"ruleId":"D1","level":"warning","message":{"text":"_response.handle_model_response_stream (cyclomatic 23): _response.handle_model_response_stream 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7593e96874738384e3de01c8bb42995535352068fa59eaade0114caffd0590"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAgent._tool_result_from_item (cyclomatic 23): CodexAgent._tool_result_from_item 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc09992690e4476a40f67048d6b5d46a0b559debadd29e1ae49015dc923fabd"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._check_task (cyclomatic 23): execution._check_task 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0240d0c3a36e9490d420f43d32ce9ab977dea6a25c24403b119c8c727f7c615c"}},{"ruleId":"D1","level":"warning","message":{"text":"sources._local_files (cyclomatic 23): sources._local_files 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":"libs/agno/agno/company/sources.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b522cdc83188c73e106111bc452d8e40ddd110fbb80e3491829f78b7e787c5d1"}},{"ruleId":"D1","level":"warning","message":{"text":"summary._summary_report (cyclomatic 23): summary._summary_report 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":"libs/agno/agno/company/summary.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4506483d900e93a9e3c8164324cb85eba5dfc8d8675ed637a8a5232c77e5ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_eval_runs (cyclomatic 23): DynamoDb.get_eval_runs 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"a236958d8be0c1cd21461a5218964ab6df14664f194e75678723ec381a3c0fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.get_trace_stats (cyclomatic 23): FirestoreDb.get_trace_stats 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3707}}}],"partialFingerprints":{"codehealthFindingId/v1":"098b1cb14273bfb96171302b52c736256288f6e9f3d7f686dd69ef0e8990a26a"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.get_eval_runs (cyclomatic 23): AsyncMySQLDb.get_eval_runs 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4969f734ea800ef82068d2c405e55bd20339ebc5e99567512fb8b9ab2f09f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_eval_runs (cyclomatic 23): AsyncPostgresDb.get_eval_runs 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4166}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fa77f1dbf2f026f21423e3614b45e0060f9cde89f34740958ab0a5d5d40484"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_trace_stats (cyclomatic 23): AsyncPostgresDb.get_trace_stats 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4695}}}],"partialFingerprints":{"codehealthFindingId/v1":"513977e6e3155b8294e945e481dad540e3ed1bb33115d8159f96a9cabdfc1dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_trace_stats (cyclomatic 23): PostgresDb.get_trace_stats 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5228}}}],"partialFingerprints":{"codehealthFindingId/v1":"284474cc3ce0acdb73ff2401a791a3422fea652b0a16c7c823708d0273296000"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb._calculate_date_metrics (cyclomatic 23): RedisDb._calculate_date_metrics 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e29519230f75f545d2f60d9598b75a39dc5a5dcb9f52909d91cf669f122434"}},{"ruleId":"D1","level":"warning","message":{"text":"suite.acli (cyclomatic 23): suite.acli 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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9b40812662c7428e5e92e4c3d469f1a27296552f95edd745b40a26d1ac5718"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkdownChunking._split_large_section (cyclomatic 23): MarkdownChunking._split_large_section 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":"libs/agno/agno/knowledge/chunking/markdown.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d161495a1db2dc560f4bd7439234f0b230b03f9272e19b710c98940703ce9d3"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemoryStore._forget_edge (cyclomatic 23): EntityMemoryStore._forget_edge 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cbb94f634598e0ec7258850f6d1c342605aeacb23d90c40464b685d9130653"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini.get_client (cyclomatic 23): Gemini.get_client 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"78afd1e66ee5a0a6e377bd8a0a74847c57b922fb72c48def34a5c55607a7d023"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS._add_built_in_routes (cyclomatic 23): AgentOS._add_built_in_routes 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"102b2544f9ed3b0fb023e9f40cb7a5caa874d2c4e6e47eea297dfab895bf4aee"}},{"ruleId":"D1","level":"warning","message":{"text":"A2AExecutor.execute (cyclomatic 23): A2AExecutor.execute 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":"libs/agno/agno/os/interfaces/a2a/executor.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66abc6ec94099b6bf5e48382a0a8be709169d086e832e099cba38b95b09c054"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.get_mcp_server (cyclomatic 23): mcp.get_mcp_server 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":3301}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd00b660ea009d19b24f602f63e505fd2d9a45aaafb3751dac84c54427b562"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthMiddleware._check_scopes (cyclomatic 23): AuthMiddleware._check_scopes 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. This shape REPEATS in the file: one other method here (AuthMiddleware._acheck_scopes) 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9a9c77518aa1f0a50e819ba47e26320fce87a8e33984d74e4fd20a42f95622"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthMiddleware._acheck_scopes (cyclomatic 23): AuthMiddleware._acheck_scopes 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. This shape REPEATS in the file: one other method here (AuthMiddleware._check_scopes) 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"005d3367e4b71d8deddf537b90281e62542a7fb9b8bf9b54e40b44a50d23c72f"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthMiddleware._deny_for_schedule_owner (cyclomatic 23): AuthMiddleware._deny_for_schedule_owner 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2303dc0d49a8ebd461dd813338d595694196ce120658b39520c8b9dda1a02580"}},{"ruleId":"D1","level":"warning","message":{"text":"router.agent_continue_response_streamer (cyclomatic 23): router.agent_continue_response_streamer 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"048a830d705717f642a6a060f8bd2d3847b505fc6bc67edef8630ac95be40ca9"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.get_knowledge_instance (cyclomatic 23): utils.get_knowledge_instance 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"415475738ae56d5320f0583f20a57040744cac1380920f7ca2af155ccd033c32"}},{"ruleId":"D1","level":"warning","message":{"text":"approval._sync_requirements_after_approval (cyclomatic 23): approval._sync_requirements_after_approval 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c6b4d59f8b391c834d3b623cd9ce358e5348cd471b95cb988d04286be95d05"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallScorer.score (cyclomatic 23): ToolCallScorer.score 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":"libs/agno/agno/scorer/tools.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"327858ad027db32675e8ccbc67b8a7831fb9aebd28896e3400a4f0524c692bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._handle_team_run_cancellation (cyclomatic 23): _run._handle_team_run_cancellation 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dee1b3892a8b1d0a0b5a36ce386483033c1c0f77dcf0d05f59b511a881b4b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._group_requirements_for_continue (cyclomatic 23): _run._group_requirements_for_continue 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f126e1e486d27c1d4226e7230a885554b69f907486969b0459e477f5a192b15b"}},{"ruleId":"D1","level":"warning","message":{"text":"_utils._deep_copy_field (cyclomatic 23): _utils._deep_copy_field has cyclomatic complexity 23 (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":"libs/agno/agno/team/_utils.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9448e6e564c25e18796fddc7f1d5c14b5fadffb11b38e40946f53d9c93ec1518"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionCall._build_entrypoint_args (cyclomatic 23): FunctionCall._build_entrypoint_args 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8cb45fc20893a69e23a3c37e8e0e41bd4606e0ac62e926c48fa0c92b20949a"}},{"ruleId":"D1","level":"warning","message":{"text":"WhatsAppTools.__init__ (cyclomatic 23): WhatsAppTools.__init__ has cyclomatic complexity 23 (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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"accf803fcf30dd74b45d0f092bac3e28568dbd409118a61c5027f32a6b81815c"}},{"ruleId":"D1","level":"warning","message":{"text":"prompts.get_json_output_prompt (cyclomatic 23): prompts.get_json_output_prompt 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":"libs/agno/agno/utils/prompts.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ab52c9e2c12b697eb779856c381d109cef5ceca1360ba46faf7360d42b208"}},{"ruleId":"D1","level":"warning","message":{"text":"streamlit._load_session (cyclomatic 23): streamlit._load_session 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":"libs/agno/agno/utils/streamlit.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8023bdf05b297843f9cc0deb7f473a380e382f1663f810a58200ec6a14eaeef0"}},{"ruleId":"D1","level":"warning","message":{"text":"LanceDb.__init__ (cyclomatic 23): LanceDb.__init__ 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39a00ec2ce80e639a41b1bbb6afddf073f66612e7830444c5b7fc834be05246"}},{"ruleId":"D1","level":"warning","message":{"text":"Loop.execute (cyclomatic 23): Loop.execute 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. This shape REPEATS in the file: one other method here (Loop.aexecute) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"115abf2fdf51f8b9d7234225b207682af0643280d7d6bdb8985a70ea56b136d7"}},{"ruleId":"D1","level":"warning","message":{"text":"Loop.aexecute (cyclomatic 23): Loop.aexecute 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. This shape REPEATS in the file: one other method here (Loop.execute) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"031322c043078c150a097a6c1b67ce306d2b0729b7f97d8c00adc279d698b5ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ContinueExecutionState.__init__ (cyclomatic 23): ContinueExecutionState.__init__ has cyclomatic complexity 23 (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":"libs/agno/agno/workflow/utils/hitl.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"10699b6d0b136a054a4641530f4715c9ac57454f1526026b51ef802394a4e14d"}},{"ruleId":"D1","level":"warning","message":{"text":"CacheCluster._update (cyclomatic 23): CacheCluster._update 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"014fb8c53a3f6556a66e7e685e6b765ed27825450d82af81a99af3f51c874970"}},{"ruleId":"D1","level":"warning","message":{"text":"InfraConfig.get_resources (cyclomatic 23): InfraConfig.get_resources 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":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b092d0d8c767d4bf79495e0abca0feff222aeb157bdeb21373cdf4c3d47900"}},{"ruleId":"D1","level":"warning","message":{"text":"disruption_catchup.test_full_catchup (cyclomatic 23): disruption_catchup.test_full_catchup 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":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f359b616497d030d47c6ea455aa85bb82587ff109b83a67a0f926f62b7bb9f76"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.get_tools (cyclomatic 22): _tools.get_tools 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d87562ae308b011079fd8442e951b982da780e93899b7a73b8a0d157f1b20e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAgent._aquery_sdk (cyclomatic 22): ClaudeAgent._aquery_sdk 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8da2d4f70c05e723563595b58146fc0040219677a09c1ea5d2bc9c837f5449"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAgent._arun_adapter (cyclomatic 22): ClaudeAgent._arun_adapter 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"93adf87bbff7805c31f5ccd4ed06381c449e6f91371b029be69b131eafcdeb38"}},{"ruleId":"D1","level":"warning","message":{"text":"v1_to_v2.convert_v1_media_to_v2 (cyclomatic 22): v1_to_v2.convert_v1_media_to_v2 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790bc359341543e0b52472a68f7e5f85327a2ba7bedd2f601bc33fbeb7d8f36"}},{"ruleId":"D1","level":"warning","message":{"text":"v1_to_v2.convert_v1_fields_to_v2 (cyclomatic 22): v1_to_v2.convert_v1_fields_to_v2 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b13e10c283887054176377f304b061af00396b9b38c84827673a1652f9d94b"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._migrate_async_postgres_user_id (cyclomatic 22): v3_0_0._migrate_async_postgres_user_id 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3161}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f81c8dfd1bab466ff6868cb4fb28ab656bf2aa2d7d6652e10850258389e2e"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.get_eval_runs (cyclomatic 22): AsyncMongoDb.get_eval_runs 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea7f793c0d846850823f59599743f550f6690766a2505201321f0d80f688be0"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.get_eval_runs (cyclomatic 22): MongoDb.get_eval_runs 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3296}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e994eff07e581934e2cac630720a4cbefaf2bbc1506b0ecf7fb198629be0cd"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_span_stats (cyclomatic 22): AsyncPostgresDb.get_span_stats 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5015}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6cfbde9bcb830d49e8a65772a9e3633276abd48d243ece7e368a27e9e57816"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.transition_task (cyclomatic 22): AsyncPostgresDb.transition_task 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8432}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad431c9169e447d429d12ca9a58466056e738b236c35bb04f0433dc4b0b564a"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_span_stats (cyclomatic 22): PostgresDb.get_span_stats 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5546}}}],"partialFingerprints":{"codehealthFindingId/v1":"681c0c8bcf4c2aa37f79ca1badcfeab22a8d7e38f9e5fb7882a38e7b02b528ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.upsert_component (cyclomatic 22): PostgresDb.upsert_component 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5751}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d402b20faa7c7eda076e93007cd8a2cd3f8bd9cf4f861ea35c7c66037a763e"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.transition_task (cyclomatic 22): PostgresDb.transition_task 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":11157}}}],"partialFingerprints":{"codehealthFindingId/v1":"671e31b02bfc9ea038fa4e2c68a1731e6a657391724a42f6e4b4c4f43b63985e"}},{"ruleId":"D1","level":"warning","message":{"text":"session_filters._evaluate_session_filter (cyclomatic 22): session_filters._evaluate_session_filter 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":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"563808a5289e81909ffe5743a8d5662d822ed530022aa2ab68b49f80281b88e7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_eval_runs (cyclomatic 22): AsyncSqliteDb.get_eval_runs 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe80570af2453d25f9f188154903d1a8f2cc81fa4ec21ffecb459ae277a11d"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_trace_stats (cyclomatic 22): AsyncSqliteDb.get_trace_stats 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4892}}}],"partialFingerprints":{"codehealthFindingId/v1":"225500ecac2502808637ac7af75a8bbb220d40fbb896eb929dcf127bff897deb"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_trace_stats (cyclomatic 22): SqliteDb.get_trace_stats 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d32b149b99eb3e0fc0411abc8267c171bee62fc8d6831ff581046ca984dcae1"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.delete_eval_runs (cyclomatic 22): ValkeyDb.delete_eval_runs 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee9d1dd8405e9e443ef878395b4ee3cba97c7ab3cb346b9b20ce7703d43add6"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelPageFetcher.fetch_many (cyclomatic 22): ParallelPageFetcher.fetch_many 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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d72b85d4ca310d38de30104350ed48bcb6b0cdfe5a36581f19c1f07b69e3fe6"}},{"ruleId":"D1","level":"warning","message":{"text":"SitemapReader._discover (cyclomatic 22): SitemapReader._discover 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":"libs/agno/agno/knowledge/reader/sitemap_reader.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b9daaa5b5a4cab0b21df86c03bcb516eff26d50519df4745d5922d26754ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemoryStore.build_context (cyclomatic 22): EntityMemoryStore.build_context 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1f3e5ce7585470bd8bb268e3e3421d7158c2a63aab6e098ede6593dd150e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"LiteLLM._get_metrics (cyclomatic 22): LiteLLM._get_metrics has cyclomatic complexity 22 (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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"db281facd714f7a83ef9692e4a3b436a74003a58c78332102c93a5170ac1a52d"}},{"ruleId":"D1","level":"warning","message":{"text":"Ollama._format_message (cyclomatic 22): Ollama._format_message 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":"libs/agno/agno/models/ollama/chat.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"09328e82f7056231f1e0a7d1a6aba858b7d934470398824527beda56b063f540"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS._add_auth_middleware (cyclomatic 22): AgentOS._add_auth_middleware 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":"libs/agno/agno/os/app.py"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf106209706f39f54a84896d45fb0df366b84f0e545d174f35fcd9aae0f7678"}},{"ruleId":"D1","level":"warning","message":{"text":"router.attach_routes (cyclomatic 22): router.attach_routes 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":"libs/agno/agno/os/interfaces/a2a/router.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1419e489110aa2e83db3de2ea7256d42a1c2e5ccc3b52c3d2e2574a6e9ad87a"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp._locate_component (cyclomatic 22): mcp._locate_component 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a7e4b2cc58c3712bc6c044dce76a102bbdf94976b2cc016bd3483c51760bed"}},{"ruleId":"D1","level":"warning","message":{"text":"RunInput.to_dict (cyclomatic 22): RunInput.to_dict 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e1578d527a731cc3c6b8d2de7ebbaaa7c4345f5b73d938a861400cd8eb795"}},{"ruleId":"D1","level":"warning","message":{"text":"approval._agroup_tools_by_approval (cyclomatic 22): approval._agroup_tools_by_approval 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd97ddf1f1d598e21e3a17e0e822498fe912d3dfd47d06ffd39351819387d63"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamRunInput.to_dict (cyclomatic 22): TeamRunInput.to_dict 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":"libs/agno/agno/run/team.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b0bef0c59ad53925c19948247472bd52c3bd8279afa65a64e846b0e42d186f"}},{"ruleId":"D1","level":"warning","message":{"text":"TeamRunOutput.from_dict (cyclomatic 22): TeamRunOutput.from_dict 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":"libs/agno/agno/run/team.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4666c444b9b9d57a3e2106706f85e1b1a39aa0f6ffd575c42b6fba39a5c5fa"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._acontinue_run_background_stream (cyclomatic 22): _run._acontinue_run_background_stream 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8760}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fdacf7cd1743338a7a8ec97bbf046a544885a8b068287f66f070f2062e28e1"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage._hydrate_from_graph (cyclomatic 22): _storage._hydrate_from_graph 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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"865b4c8ed7935ca531466b93910c9667707af503f3818a6adf0028dc4073894e"}},{"ruleId":"D1","level":"warning","message":{"text":"DoclingTools.__init__ (cyclomatic 22): DoclingTools.__init__ has cyclomatic complexity 22 (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":"libs/agno/agno/tools/docling.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e1e2459cd5a14a9a5203a8e379a7dd1e4971c5f02be5f0b591f2596ee0b77"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleCalendarTools.__init__ (cyclomatic 22): GoogleCalendarTools.__init__ 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24d9e8d7bf90cea85b72406b809dcdc0b325538b8c058c6ff7b38760234cf76"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleSheetsTools.__init__ (cyclomatic 22): GoogleSheetsTools.__init__ 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":"libs/agno/agno/tools/google/sheets.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f484c33601e01374449429456ea924a55d368f139be6367f700e6e7e7d425988"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenCVTools.capture_video (cyclomatic 22): OpenCVTools.capture_video 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":"libs/agno/agno/tools/opencv.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74b7b9e83bf9e96dfde6f32eb9730756903d5eb2c760b01858e6b6deacf6f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioRunnerTools._require_faithful_rebuild (cyclomatic 22): StudioRunnerTools._require_faithful_rebuild 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de7bba381b5837faddf89cb7a37f3bcdec3d3dba12c82246860e707b1d1e8ed"}},{"ruleId":"D1","level":"warning","message":{"text":"TwilioTools.__init__ (cyclomatic 22): TwilioTools.__init__ has cyclomatic complexity 22 (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":"libs/agno/agno/tools/twilio.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09be59f8a2821a81d43e99af538f56b5e7fb96e9ec35f2ab5c46a1b393851a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._run_workflow_agent_stream (cyclomatic 22): Workflow._run_workflow_agent_stream 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5791}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfdd73929cf49b4fb815f031aac29e8d0107c63c3a3f34141179ee6422979b9"}},{"ruleId":"D1","level":"warning","message":{"text":"disconnect._report (cyclomatic 22): disconnect._report 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":"libs/agnoctl/agnoctl/commands/disconnect.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24c7de936d05cd450a70d829abcb1d25eee3292ff6ebad00d2c87caac0f9c38"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._continue_run (cyclomatic 21): _run._continue_run 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4018b059373c0e6edae77e591eedccb6452fefa950d0762b2944d99250b472ed"}},{"ruleId":"D1","level":"warning","message":{"text":"_utils.deep_copy_field (cyclomatic 21): _utils.deep_copy_field has cyclomatic complexity 21 (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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"162fe472d8649138f3a4f9185947fa54ee8c437dfd1acf3e9c53e74a7a7a2184"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_spans (cyclomatic 21): DynamoDb.get_spans 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4392}}}],"partialFingerprints":{"codehealthFindingId/v1":"84be375cbe12b04d94c7ca2c413cd98a3f9c05f37650746beb175c4b34ff6250"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.upsert_session (cyclomatic 21): FirestoreDb.upsert_session 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c22a05a234946c8f314b091d54ede6f93f080fe6f0ea31ccdcfd5376a31627"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.get_runs (cyclomatic 21): InMemoryDb.get_runs 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"352ed548324dac4cb447d87dbdd6aebd33fb5cd21ae3afbbfb2862862d6f9a41"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb._ensure_client (cyclomatic 21): AsyncMongoDb._ensure_client 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e96bde26dd3bdf75d7eec33c62bfe195e141aad8aa8cff2ccaa447c2d3b5150"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.upsert_session (cyclomatic 21): AsyncMongoDb.upsert_session 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"136e386267e5661ca905271ebe7e1a0383bb5b23635b1e0e0a98dfbeabc95371"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.upsert_session (cyclomatic 21): MongoDb.upsert_session 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"e954c1fb76d6eb4c2c31b534c4e3f1a85ef6c579bee6fd4467bd2f355049ceeb"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb._calculate_date_metrics (cyclomatic 21): MySQLDb._calculate_date_metrics 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"3244128b91d4f75425bc4648648239b1e1bb6d6f7100746b0ac294e75e8e8e12"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb.get_eval_runs (cyclomatic 21): MySQLDb.get_eval_runs 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3828}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6c47f0b7376ba0d7b482cb4de1d39acb73be8c05b93a26594fb28ce72d1fd6"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_eval_runs (cyclomatic 21): PostgresDb.get_eval_runs 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4702}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee5fe01356900d63650d0b443fcb590285b47f4ed5318b55dd4df6472bcf538"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.set_current_version (cyclomatic 21): PostgresDb.set_current_version 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7336}}}],"partialFingerprints":{"codehealthFindingId/v1":"25754cf59d25561db68557116a33f8ac8e17599d9f8f1136c332873089002fcb"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.get_trace_stats (cyclomatic 21): RedisDb.get_trace_stats 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea46fc7faa41a1a8b86bc766b85dc91dc581ff8e39e21bd665b82f7cd76c4d4"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb.get_eval_runs (cyclomatic 21): SingleStoreDb.get_eval_runs 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de2afa2154fd0e37f97af5ea10e8e5360d17eab2fc425c11a8298fed1545b38"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_span_stats (cyclomatic 21): AsyncSqliteDb.get_span_stats 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. This is NOT this file\u0027s highest cyclomatic complexity: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":5198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00e03c75c8e9ece45d19205e20144c3190b69b765ff8d1b36e8cfbdeb5154c2"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.transition_task (cyclomatic 21): AsyncSqliteDb.transition_task 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. This is NOT this file\u0027s highest cyclomatic complexity: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7646}}}],"partialFingerprints":{"codehealthFindingId/v1":"25843aec563cb15c5b04c31176f106d9f2efd98c1f89b0f297c0decfe935eba3"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_eval_runs (cyclomatic 21): SqliteDb.get_eval_runs 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"2463a8a583bc6916ed101de75016d46c9bb092e246735624eb02a654cc455efc"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_span_stats (cyclomatic 21): SqliteDb.get_span_stats 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5351}}}],"partialFingerprints":{"codehealthFindingId/v1":"76939593dc57a097a9cd02d0e750696432b3e677da0e6f8a0b2008249b794ea9"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.set_current_version (cyclomatic 21): SqliteDb.set_current_version 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":7144}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e4f842451df4ac1924fe6dff8604bce0356485ba625be2e553dd62f1d7d7f8"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.transition_task (cyclomatic 21): SqliteDb.transition_task 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":10098}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c521817c94e27cb8829a31ba7aa4635c40345ec3822de49dbfd424120e7f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentAsJudgeEval.run (cyclomatic 21): AgentAsJudgeEval.run 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"067794f2ad34a1f60584cf723af9be0efb4e4d173b640b816e0667fdb62dcf10"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._build_remote_content_identity (cyclomatic 21): Knowledge._build_remote_content_identity 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93ba0927f301f26e3861886ddfc800f5bca5ddf5cc00da74e823ad91a2f328e"}},{"ruleId":"D1","level":"warning","message":{"text":"mdx._esm_end (cyclomatic 21): mdx._esm_end 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":"libs/agno/agno/knowledge/reader/utils/mdx.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd41150aaaf97b68c3689499ec510339da19c79302df3212fe54dd2b4c94c8c"}},{"ruleId":"D1","level":"warning","message":{"text":"Cohere.get_request_params (cyclomatic 21): Cohere.get_request_params 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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acc13309b11485125511d8f4e3a9d0c58f5c22db78e5359cdf317ec6d476cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"LiteLLM._parse_provider_response_delta (cyclomatic 21): LiteLLM._parse_provider_response_delta 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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f14c36a1a915d5106c32b1fa597b036c06415cc0f0ec383c56fe96456082c3"}},{"ruleId":"D1","level":"warning","message":{"text":"MoonShot._format_message (cyclomatic 21): MoonShot._format_message 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":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4475344b689a237bf91c6a8583366429c96c083065a0e5c8190748ab4ea0f2b9"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIChat._format_message (cyclomatic 21): OpenAIChat._format_message 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b669e305c97c01e6cc8eae37da2c611a30623aaab3accdd5600bcd487db205"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp_results.build_custom_tool_result (cyclomatic 21): mcp_results.build_custom_tool_result 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":"libs/agno/agno/os/mcp_results.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fc200b1114304e0a49c5ccee6500a7db3f0ae345031dc73b45aa33b251943a"}},{"ruleId":"D1","level":"warning","message":{"text":"router._resume_stream_generator (cyclomatic 21): router._resume_stream_generator has cyclomatic complexity 21 (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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e08161c87f5260e0f0dd6aa2467ab545d271a0daf602f9c2e04feb3ffea44c"}},{"ruleId":"D1","level":"warning","message":{"text":"router._resume_stream_generator (cyclomatic 21): router._resume_stream_generator has cyclomatic complexity 21 (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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c31616824d56314efd5f6f9e9a27d0af6b06a3b311ee557d8bad8313de0f4e"}},{"ruleId":"D1","level":"warning","message":{"text":"router._resume_stream_generator (cyclomatic 21): router._resume_stream_generator has cyclomatic complexity 21 (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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3807c8f02ff80375f508ac49700d2e830c51165269c805daafa6977cfb8850"}},{"ruleId":"D1","level":"warning","message":{"text":"utils._collect_components_from_step (cyclomatic 21): utils._collect_components_from_step 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef4847f74456d466943d0366c9cd8603ef9dd35ae5bc01e1928187a3506660b"}},{"ruleId":"D1","level":"warning","message":{"text":"status_persist.apersist_run_transition (cyclomatic 21): status_persist.apersist_run_transition 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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ac05e24844a981f1e004a75410b6febf91925ff5a5de0578b83319663d0902"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleExecutor._call_endpoint (cyclomatic 21): ScheduleExecutor._call_endpoint 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":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1af68dd0523fc391d53c7657b3bafd3325b047e6fc4ff7225f74b0815449f"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleSlidesTools.add_slide (cyclomatic 21): GoogleSlidesTools.add_slide 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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"1810b09a5fa334a604f67c9727e9c28f26bda138636b6c3add65c8fd47185e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"JiraTools.__init__ (cyclomatic 21): JiraTools.__init__ has cyclomatic complexity 21 (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":"libs/agno/agno/tools/jira.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f018499c8e2d8d3069d152ca96527726c23b9e1c1674ddf208b562501da5f033"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._edit_component (cyclomatic 21): StudioTools._edit_component 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2927}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691cbb98bee9071d443fe08dd4623b306635b220a9b62ae88298aaccfb8f2a6"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.publish_component (cyclomatic 21): StudioTools.publish_component 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00ed8ae295e08dfa041c147170f67f730d3d44ba6ad431a860f985164bce1f4"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolkit._register_decorated_tool (cyclomatic 21): Toolkit._register_decorated_tool 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":"libs/agno/agno/tools/toolkit.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0972b1373eee4bc9e1753f48bb80a3fb110913cef6c19d4e2b9999a91d08a517"}},{"ruleId":"D1","level":"warning","message":{"text":"response.get_paused_content (cyclomatic 21): response.get_paused_content 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":"libs/agno/agno/utils/response.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c63ceec637e7a603740b58993053442cc1bf4e1fda26326b9da793e15049d7"}},{"ruleId":"D1","level":"warning","message":{"text":"Parallel._aggregate_results (cyclomatic 21): Parallel._aggregate_results 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8149daca9553d69b6d1bd1d26c01de0dc1d0950135f2d0345029131f016ce6b5"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.to_dict (cyclomatic 21): Workflow.to_dict 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9661990690d6e9ef9c5f97705512c2055ab971efbb02437feb1c90732a3f06"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate_sentinel_vectordbs.migrate_couchbase (cyclomatic 21): migrate_sentinel_vectordbs.migrate_couchbase 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":"libs/agno/migrations/v2_to_v3/migrate_sentinel_vectordbs.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8d04d5061df35dfe5c8d4a064d125d66863eb706b73336b66148e065861d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks.aexecute_pre_hooks (cyclomatic 20): _hooks.aexecute_pre_hooks 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. This shape REPEATS in the file: one other method here (_hooks.aexecute_post_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7a425a7aa3962f6aed42981a2463f4bac54cf6583cad85578c69f5089f8560"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks.aexecute_post_hooks (cyclomatic 20): _hooks.aexecute_post_hooks 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. This shape REPEATS in the file: one other method here (_hooks.aexecute_pre_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2010bb96335126b3a00215b6e3c4c8a83f2687a1dd54d3d97a6a7cc36f44f2"}},{"ruleId":"D1","level":"warning","message":{"text":"_run_options.resolve_run_options (cyclomatic 20): _run_options.resolve_run_options 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":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8813e365940230ae77db0df3c8558375a88bdf4d94a46c96da4c5733fbd4e882"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.ahandle_tool_call_updates (cyclomatic 20): _tools.ahandle_tool_call_updates 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. This shape REPEATS in the file: one other method here (_tools.ahandle_tool_call_updates_stream) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cafa848c80e46f83ea3a4e6ae53624dffcbe900c55c8726f21e48fc85c0d2e"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.ahandle_tool_call_updates_stream (cyclomatic 20): _tools.ahandle_tool_call_updates_stream 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. This shape REPEATS in the file: one other method here (_tools.ahandle_tool_call_updates) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ee9cdb537122afc4832ad04a7d74c0aa3bb0ded8cb89f0f892001c87a39a89"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAgent._annotate_run_output (cyclomatic 20): ClaudeAgent._annotate_run_output 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b7192a1a0d437c142f82be81f88c459e64db5191590503179c35f311393aa7"}},{"ruleId":"D1","level":"warning","message":{"text":"A2AClient._parse_stream_event (cyclomatic 20): A2AClient._parse_stream_event 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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a45baf5855400abfb2a78b0274d33a850eecacf647bfd8e8a7a263777962b3"}},{"ruleId":"D1","level":"warning","message":{"text":"notion_ops.blocks_to_markdown (cyclomatic 20): notion_ops.blocks_to_markdown 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":"libs/agno/agno/context/wiki/notion_ops.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"348fa3702a0d8634bfd2de0e628af01993309ab18eb72e1c3bad90518ab947ba"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.upsert_trace (cyclomatic 20): FirestoreDb.upsert_trace 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4955c9773f7bc853f3290dcbd0d18badd7f435a227f6ce9f8916958b43de2b"}},{"ruleId":"D1","level":"warning","message":{"text":"v1_to_v2.safe_get_runs_from_memory (cyclomatic 20): v1_to_v2.safe_get_runs_from_memory 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"97109e05a40d306147f210e6b7ff080bb3f7458bf4dd0f053425c5efb2a15ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._migrate_postgres_user_id (cyclomatic 20): v3_0_0._migrate_postgres_user_id 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e026e201e53ce71bed3bce5a44a000721f321e821a65b9f0679aadeb2f06d0"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.update_run_in_session (cyclomatic 20): AsyncPostgresDb.update_run_in_session 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6041}}}],"partialFingerprints":{"codehealthFindingId/v1":"19db48e335650b361d9b936c42f4b43ef37becf1311eeff63a4a51d84d0b107d"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb._calculate_date_metrics (cyclomatic 20): PostgresDb._calculate_date_metrics 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3521}}}],"partialFingerprints":{"codehealthFindingId/v1":"359d8c2482fb310ec0487f33f29f783843e35c2f781db6b4d7468b5ca81dbfaa"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.update_run_in_session (cyclomatic 20): PostgresDb.update_run_in_session 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8777}}}],"partialFingerprints":{"codehealthFindingId/v1":"899be435c9503d7297933eff2f1ad525f12ad0b602abfea7d4827548a3ec0232"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.upsert_session (cyclomatic 20): RedisDb.upsert_session 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6522013ead5878e5cd9fb8dd4a438d265025ca3bc83847e22bfd01462fb37b"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb._calculate_date_metrics (cyclomatic 20): SingleStoreDb._calculate_date_metrics 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b1012c155c1b63084fe33ca7afbef1e64d8d36d983566842c161f0e68920a"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb._calculate_date_metrics (cyclomatic 20): SqliteDb._calculate_date_metrics 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3272b6532b401208ee65215b0cc66469e9787bd90af4b248c3d386c405b21601"}},{"ruleId":"D1","level":"warning","message":{"text":"SurrealDb._calculate_date_metrics (cyclomatic 20): SurrealDb._calculate_date_metrics 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf3c8f8792a60512257c66ec0d920652beb7e9a648b73e76b01c8b102895eab"}},{"ruleId":"D1","level":"warning","message":{"text":"SurrealDb.upsert_trace (cyclomatic 20): SurrealDb.upsert_trace 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3003}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47e6363b3442ca5cd2acb59e5538ef4b11d44f427b63588bd39cb9ebb0cd2fa"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.upsert_session (cyclomatic 20): ValkeyDb.upsert_session 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b56cfcfba315c41f156908ce078497366b743821e52dc73f8504a676cd4b820"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.get_metrics (cyclomatic 20): ValkeyDb.get_metrics 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eba3abc9368016e89bb13d5308bbf28a7307d43e9ecaea362443f5d52b11c57"}},{"ruleId":"D1","level":"warning","message":{"text":"_validate.validate_sft_jsonl (cyclomatic 20): _validate.validate_sft_jsonl 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":"libs/agno/agno/environments/exporters/_validate.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"02691479477c35954f674148ba3ef88b3f2912f5d4dedb8e439fb6c8b3fa6a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentAsJudgeEval.arun (cyclomatic 20): AgentAsJudgeEval.arun 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"be187f6590fff58b5fd8c90c05b95cbc32cf3467f13480a89af9a4a23434ab46"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCoordinator.__init__ (cyclomatic 20): PageCoordinator.__init__ 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab5246b8bf36cb856149c1130e592fba29aa2a429955d5bcd40fbb4cddb3c0b"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemoryStore.print (cyclomatic 20): EntityMemoryStore.print 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"98201aa16695c13ff46f07136625998ca2341ced629d20e0b645e5f362f90194"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionMetrics.__add__ (cyclomatic 20): SessionMetrics.__add__ 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":"libs/agno/agno/metrics.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd863db762c9b64dcd3bda1e1a107ae3307196a7760c1eacfc098b6132c4d0"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.accumulate_model_metrics (cyclomatic 20): metrics.accumulate_model_metrics has cyclomatic complexity 20 (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":"libs/agno/agno/metrics.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a462d6fbcad2e64c63f7326a85e12006f675178aa9bf6b5c2deed9355b79167"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.merge_background_metrics (cyclomatic 20): metrics.merge_background_metrics 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":"libs/agno/agno/metrics.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fcfa692748ac21b24d3c377ce5e81aed44025618db28abd7c52ce58a7932df"}},{"ruleId":"D1","level":"warning","message":{"text":"LiteLLM.parse_tool_calls (cyclomatic 20): LiteLLM.parse_tool_calls 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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8e193d618f94f171b3fcdabf4ba86d784cc2e7fa330fc6ff2985308cb3f97c"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses.invoke (cyclomatic 20): OpenAIResponses.invoke 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. This shape REPEATS in the file: one other method here (OpenAIResponses.ainvoke) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fa0ebff12c91a35ba5ba3ed63a5cc0e28ab4ecbd567bc0fc961ad88bed5b93"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses.ainvoke (cyclomatic 20): OpenAIResponses.ainvoke 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. This shape REPEATS in the file: one other method here (OpenAIResponses.invoke) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"3633060a86f4fb1b336813f778f932cd1e629058d9ccdf4136e7f11b8920fb9e"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnostics.arun_diagnostics (cyclomatic 20): diagnostics.arun_diagnostics 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":"libs/agno/agno/os/diagnostics.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cfa5b6e9c9c38c03a456eea80bb3be4dc1dbcf65e221e36d371c6937d2775a"}},{"ruleId":"D1","level":"warning","message":{"text":"A2ATaskStore.list (cyclomatic 20): A2ATaskStore.list 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":"libs/agno/agno/os/interfaces/a2a/task_store.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0211b2ac31cc434af2271e7c123f9a5353eeaa317c4782072300fec4055d34d1"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.map_a2a_message_to_run_input (cyclomatic 20): utils.map_a2a_message_to_run_input 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":"libs/agno/agno/os/interfaces/a2a/utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2dd3c4d4680261e1999e9324a5ab86009e21bddb3aab2a5aa862e74cced81c"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskDelivery._deliver (cyclomatic 20): TaskDelivery._deliver 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":"libs/agno/agno/os/interfaces/slack/company.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa1053ca734b895afa709a6fe897ac98f238c7e0b975d071e55be0dd862c3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"manager._build_manager (cyclomatic 20): manager._build_manager 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":"libs/agno/agno/os/manager/manager.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1035df0b08a683fadeb98a72babd26474abc5abe260569a3dadaa3d6b748be5"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.run_performance_eval (cyclomatic 20): utils.run_performance_eval 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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8425d9cc0934774ff6df07def0ab567a74ec0726ec9f077a8237e3efa8618d74"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceNode.from_span (cyclomatic 20): TraceNode.from_span 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":"libs/agno/agno/os/routers/traces/schemas.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9acbf0e3a6b6fc2a0ced2c818098c05dcbe1bfbfa53cc60aa3e9af2914d8a8"}},{"ruleId":"D1","level":"warning","message":{"text":"router.workflow_response_streamer (cyclomatic 20): router.workflow_response_streamer 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"427131ddda1f057d0fe734fcf79f32481d2efdf21a444d59f522f10568650292"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.get_session_name (cyclomatic 20): utils.get_session_name 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6119321bf40032615ed76f1637144d56f524aee56a1c0e992f839a3f16cff2"}},{"ruleId":"D1","level":"warning","message":{"text":"approval._group_tools_by_approval (cyclomatic 20): approval._group_tools_by_approval 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"314cacbbb6505843cf8027919ee20ba6787522ec827329fbfaacae9d15603ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks._aexecute_pre_hooks (cyclomatic 20): _hooks._aexecute_pre_hooks 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. This shape REPEATS in the file: one other method here (_hooks._aexecute_post_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d6a9827f399d3ac752eb5fe1fed3b724c7da0b6bdb51246c0ae5f2bbbe8800"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks._aexecute_post_hooks (cyclomatic 20): _hooks._aexecute_post_hooks 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. This shape REPEATS in the file: one other method here (_hooks._aexecute_pre_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c9b6f310f82abb3230ad512e670b5c9c396de851e03f76761d5bd7f0ac51c1"}},{"ruleId":"D1","level":"warning","message":{"text":"_init.__init__ (cyclomatic 20): _init.__init__ 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"950b87d1773a0870bb7fa36b04683c9a3a0490ff304124927024c9a817d5cf57"}},{"ruleId":"D1","level":"warning","message":{"text":"_run_options.resolve_run_options (cyclomatic 20): _run_options.resolve_run_options 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":"libs/agno/agno/team/_run_options.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a229b1bc1a46546c7f8da98bcd317ade24943bb60397a8c9ed5e01a3ccb545e"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapshotManager.restore (cyclomatic 20): SnapshotManager.restore 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":"libs/agno/agno/tools/code/snapshot.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e098556c1cedbea984356b17be64df565d6f74ac7d68cbe976cd269bdb828563"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleCalendarTools.find_available_slots (cyclomatic 20): GoogleCalendarTools.find_available_slots 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3e954c0bb1be7d5e2c07609e13cb88fee764b2452afdf7205efaf2f529ad24"}},{"ruleId":"D1","level":"warning","message":{"text":"NanoBananaTools.create_image (cyclomatic 20): NanoBananaTools.create_image 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":"libs/agno/agno/tools/nano_banana.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78a465cc7beca00122cf0d7b8c4efdede888c540a9ee05be3ca21d87bc875b"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace._list_files (cyclomatic 20): Workspace._list_files 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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b72dc884144b6e63c6210c4d5c4c321b51a74aec67843b9721dd102f7d3e532"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.scrub_media_from_message (cyclomatic 20): agent.scrub_media_from_message 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8a12ed0f98fff089a9e00fa224f404ba93614fcfe63acc895a2679324fa57"}},{"ruleId":"D1","level":"warning","message":{"text":"claude._format_image_for_message (cyclomatic 20): claude._format_image_for_message 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d3996ece1518a732b67a5cfa8a86f02380cdb1f87b14ebaba257794ae1c693"}},{"ruleId":"D1","level":"warning","message":{"text":"tokens._count_message_tokens (cyclomatic 20): tokens._count_message_tokens 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":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bbab64e78cbbafd004877b2f44cb82bcd65218e2fccec61ce2c0c019329346"}},{"ruleId":"D1","level":"warning","message":{"text":"Condition.execute (cyclomatic 20): Condition.execute 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. This shape REPEATS in the file: one other method here (Condition.aexecute) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"897c21bc014ec8917040e8bf30b851d0c3d9992e7995ad1ea404e47757baaeec"}},{"ruleId":"D1","level":"warning","message":{"text":"Condition.aexecute (cyclomatic 20): Condition.aexecute 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. This shape REPEATS in the file: one other method here (Condition.execute) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"9530acffad0cea9c1ce783d2129abe74a62b50b4faaefa1b00573c032a52ff27"}},{"ruleId":"D1","level":"warning","message":{"text":"StepRequirement._validate_user_input (cyclomatic 20): StepRequirement._validate_user_input 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":"libs/agno/agno/workflow/types.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b68c87e0548b64794a1b4d0bf770c4f3d02c87608ec7caf6850f205315825"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._arun_workflow_agent (cyclomatic 20): Workflow._arun_workflow_agent 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acda1c27402f59e8da8de7342e647c1f9dbcee6537fc7615f42d3f4e1a45009"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.deep_copy (cyclomatic 20): Workflow.deep_copy has cyclomatic complexity 20 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7961112c9f623ab992bc7ed00d3fc8edf4429b5c9bc58443627da5d9f561ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_container_env (cyclomatic 20): PostgresDb.get_container_env 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":"libs/agno_infra/agno/docker/app/postgres/postgres.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c070c9ea4e40482e6121d7183355653881a2b89389da62aebac756aa2302cf6a"}},{"ruleId":"D1","level":"warning","message":{"text":"InfraConfig.get_resources_from_file (cyclomatic 20): InfraConfig.get_resources_from_file 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":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fbc3af62492fab68e08c1d794141d8764ecebe15cb0161458549a08f044892"}},{"ruleId":"D1","level":"warning","message":{"text":"operator.create_infra_from_template (cyclomatic 20): operator.create_infra_from_template 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":"libs/agno_infra/agno/infra/operator.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d3bf9b5b3fbac5c8646d16aed8193546450c8ae4b39e3a544cbb9c619cbec5"}},{"ruleId":"D1","level":"warning","message":{"text":"step_history.analyze_food_preferences (cyclomatic 20): step_history.analyze_food_preferences 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":"cookbook/04_workflows/06_advanced_concepts/history/step_history.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32b812e2fe3f2727652af546987e04ea3a22aad87ddc83fe901dcc891121ebd"}},{"ruleId":"D1","level":"warning","message":{"text":"events_replay.test_replay (cyclomatic 20): events_replay.test_replay 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":"cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db6b75f0260189f15a09bdef67d3c44b4e114e12016a89192d9f271fd51b2ca"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks.execute_pre_hooks (cyclomatic 19): _hooks.execute_pre_hooks 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. This shape REPEATS in the file: one other method here (_hooks.execute_post_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b440c350db2b7d194867c4656614b7f8a3afbf6e6991d4d5eb3d078a489b9e04"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks.execute_post_hooks (cyclomatic 19): _hooks.execute_post_hooks 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. This shape REPEATS in the file: one other method here (_hooks.execute_pre_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"76204435ea2763cc3d403696d797351eac35250d4eab5e14008775d517fe2b66"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAgent._acollect_turn (cyclomatic 19): CodexAgent._acollect_turn 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb3226f3d4c51f1311857d83629469ac9492383ae539a2fc48da44bcf82bd1"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._invoked_components (cyclomatic 19): execution._invoked_components 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c28066c113b88ddb7166be967b8706b7452145a7b8d1cd20def6ac091c404b"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_runs (cyclomatic 19): DynamoDb.get_runs 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"240375092fb327a39bf9694d4e1c7054be7ad480bd9a3eb07fe703d619b5db44"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb._calculate_date_metrics (cyclomatic 19): DynamoDb._calculate_date_metrics 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc0064c6a8fd2dcdd97f56c141da19aef162b23c2e5ec61e9308695a8451b6b"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_metrics (cyclomatic 19): DynamoDb.get_metrics 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5210b39f965fb74fced8d78b42ad47a89fe828d44196ce0d6d9c910c527489"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_runs (cyclomatic 19): GcsJsonDb.get_runs 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa412102faf017c3f58357e1cf23d5e5dde70b306c1463adcc66f4567158b58b"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.upsert_trace (cyclomatic 19): GcsJsonDb.upsert_trace 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c894ee94ee93ba3b8b6a662386dbf60b899da16a6d226b1479121811cebb86b8"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_runs (cyclomatic 19): JsonDb.get_runs 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"7633ea9265a46927dd7c27a032b5949b132721a706abdc7d8ef824a25a48a5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.upsert_trace (cyclomatic 19): JsonDb.upsert_trace 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e41f62f9ff142db2b4a534263aea7fc09fc364082dcf9cda921fdd8671039b"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.upsert_knowledge_content (cyclomatic 19): AsyncPostgresDb.upsert_knowledge_content 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3931}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ebb0fc077a3a61e242a5b406f8378adab1290d181dd20c815808dee50d7e6"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.upsert_knowledge_content (cyclomatic 19): PostgresDb.upsert_knowledge_content 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4469}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afe05cab1f436b156d7ae01ffd24f5a7ac5f2a84a730691907b349f39b32be5"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.enqueue_job (cyclomatic 19): RedisDb.enqueue_job 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"c362da7a779639c613411092f92ac4ba0f03206c120e202e5cba4d4ebfcced9a"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb._get_sessions_runs_data (cyclomatic 19): ValkeyDb._get_sessions_runs_data 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8d74bf85dd2c32293b5ca456de9f64285a8711d7ee1960aaa7b04b9021df66"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aload_from_path (cyclomatic 19): Knowledge._aload_from_path 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. This shape REPEATS in the file: one other method here (Knowledge._load_from_path) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"62585c1f15c286361ec389ce5cb4281da5b110e9fe295f8c15acc1ecd5d66397"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._load_from_path (cyclomatic 19): Knowledge._load_from_path 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. This shape REPEATS in the file: one other method here (Knowledge._aload_from_path) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbcb29c2d02e4a937fdb56883f6ad13d19865d7c6325ce01fcf04380dd3635f"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._build_content_hash (cyclomatic 19): Knowledge._build_content_hash 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"690010b19816ae5725d4851fef812874f1a1ad17cb179ba837d122bb41231bc2"}},{"ruleId":"D1","level":"warning","message":{"text":"S3Loader._aload_from_s3 (cyclomatic 19): S3Loader._aload_from_s3 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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd493a7d017da84de9a6d4fb051ae2354c4584ea35ddef6d5d23597b7a91f555"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldLabeledCSVReader.async_read (cyclomatic 19): FieldLabeledCSVReader.async_read 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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66143fa6a42e73484628fac94f46e64954eb3320183c06e46d6664a11a2e9d4"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageMetrics.__add__ (cyclomatic 19): MessageMetrics.__add__ 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":"libs/agno/agno/metrics.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"221e6a7aa32d67f7bc073a5dae16a0fc1240a559af5725f0bd9a7e020bac48f7"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsBedrock.get_async_client (cyclomatic 19): AwsBedrock.get_async_client 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b8b707af1d7073f34b362fd3ecc4fd4fbe76b32ca25fbb956a287265b9e4ac"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepSeek._format_message (cyclomatic 19): DeepSeek._format_message 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":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b49f425871e00dfe56fcc859ddb08a33dd2bfe323cb60eb2550a0ea170aea1"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._format_tool_result_media (cyclomatic 19): Gemini._format_tool_result_media 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9859f6fe5aa5621fd1e7398c231105776dca3ddd00ca48945a4e23d7c309621"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._format_audio_for_message (cyclomatic 19): Gemini._format_audio_for_message 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f569e6586f16461e9dbc25981bc7ca341b4d8d48f75dd78dd68db0aa8f54984"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses._format_tool_params (cyclomatic 19): OpenAIResponses._format_tool_params 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1018f922664d79416e25369621b5c5478ca4d4be03d45135f72473b7f8f104"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp._mcp_hidden_params (cyclomatic 19): mcp._mcp_hidden_params 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7833d101c034114b6cba5881029afe927a06389f66a67750c773f0a289b15ae9"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp._require_tool_scopes (cyclomatic 19): mcp._require_tool_scopes 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ffd7533fc08832c3a9417af13c1d21dd33f4fb0955705a879c3ce9f5e002f4"}},{"ruleId":"D1","level":"warning","message":{"text":"router.team_continue_response_streamer (cyclomatic 19): router.team_continue_response_streamer 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5d78afcafc6596dd289f8f0707fa70173ef0ee2bdd3d8fb3ffb3f6d8f6af75"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._get_run_messages (cyclomatic 19): _messages._get_run_messages 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. This shape REPEATS in the file: one other method here (_messages._aget_run_messages) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"b866d73acf4f055b8f8c968bfee83aef1f3df170f66f3c076a59233670d15451"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._aget_run_messages (cyclomatic 19): _messages._aget_run_messages 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. This shape REPEATS in the file: one other method here (_messages._get_run_messages) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e4c98458c6a100beb7dc4504c2f9047f2eceb4afa610da4b635f7fb6f6551a"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._get_json_output_prompt (cyclomatic 19): _messages._get_json_output_prompt 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c96629149741301ab0bdd67e09b7758c1206a1569465793a3551bb499ea957"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.run_dispatch (cyclomatic 19): _run.run_dispatch 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d12dcc8fa78b37ac3606e9888c48c815d1b99379398d30cc72966dd1af2ffd"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._ahandle_team_tool_call_updates (cyclomatic 19): _run._ahandle_team_tool_call_updates has cyclomatic complexity 19 (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. This shape REPEATS in the file: one other method here (_run._ahandle_team_tool_call_updates_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5553}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d7a7346ef2891a6c94ed1e872c552bb55a5bc9d1c055bf993a3e77f7855ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._ahandle_team_tool_call_updates_stream (cyclomatic 19): _run._ahandle_team_tool_call_updates_stream has cyclomatic complexity 19 (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. This shape REPEATS in the file: one other method here (_run._ahandle_team_tool_call_updates) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd3fa417483317e89ddbd2baf889ec91920683a746e31c7337f8f9e22f4d387"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._continue_run (cyclomatic 19): _run._continue_run 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7942d1b27c2885899245c52e89f382469847a24817a263515d08abfee056bd02"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingTools._check_command (cyclomatic 19): CodingTools._check_command 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3cd198431119daf63cba1637471fa9afd0e99c07ddb34f3e249a06c870909d"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTools.__init__ (cyclomatic 19): FileTools.__init__ has cyclomatic complexity 19 (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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b586610a55edc0e61257f8f79160b3c5fda68c70a5ed74a88f5c60dff4fce8"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTools.search_content (cyclomatic 19): FileTools.search_content 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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53430e9cfc10720bc14b26777f8d53ba1bed788c58e868c980b9b444e7a22dd"}},{"ruleId":"D1","level":"warning","message":{"text":"YFinance.get_analyst_recommendations (cyclomatic 19): YFinance.get_analyst_recommendations 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":"libs/agno/agno/tools/finance/providers/yfinance.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e991b0a502aadc7b475231fbaee533813ec4e70b3be48d7de5d91c32dbdb6b60"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelsLabTools.generate_media (cyclomatic 19): ModelsLabTools.generate_media 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":"libs/agno/agno/tools/models_labs.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"df48654435c211e157c3abda9524c71a40de75bc4cd3e42bd404155a32145038"}},{"ruleId":"D1","level":"warning","message":{"text":"OxylabsTools.search_google (cyclomatic 19): OxylabsTools.search_google 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad05c7b8724d31e3c8695b37985f209625e43b807e24f89daf2e138842f945d6"}},{"ruleId":"D1","level":"warning","message":{"text":"OxylabsTools.search_amazon_products (cyclomatic 19): OxylabsTools.search_amazon_products 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a0e76c9336105f3a52b92a7466109e3860a5a866e386a81f49132031a9bf7d"}},{"ruleId":"D1","level":"warning","message":{"text":"OxylabsTools.scrape_website (cyclomatic 19): OxylabsTools.scrape_website 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"756d0aa267b5e9365cae995df85e94835ac0d9d64e8674a3fb187c1689ccfbb2"}},{"ruleId":"D1","level":"warning","message":{"text":"YFinanceTools.__init__ (cyclomatic 19): YFinanceTools.__init__ has cyclomatic complexity 19 (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":"libs/agno/agno/tools/yfinance.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9b9a0bf3ae73b67120d99230508fd58ef5c2939c943fd2b3f1989983da536a"}},{"ruleId":"D1","level":"warning","message":{"text":"llama.format_message (cyclomatic 19): llama.format_message 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":"libs/agno/agno/utils/models/llama.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7198ecdbcd5d65be0e5effd16b5c55b22ce089ec2a3dc4220e6e246eb8c597e1"}},{"ruleId":"D1","level":"warning","message":{"text":"mistral.format_messages (cyclomatic 19): mistral.format_messages 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":"libs/agno/agno/utils/models/mistral.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee49ef36a4980e7753b88644328c0f998192e89efb8581162d96a991deb8448"}},{"ruleId":"D1","level":"warning","message":{"text":"LanceDb.search (cyclomatic 19): LanceDb.search 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69313680f9981a4def99ba64e0fe688cd789c07a1809c37ff8df936e77f52af"}},{"ruleId":"D1","level":"warning","message":{"text":"PgVector.vector_search (cyclomatic 19): PgVector.vector_search 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd3f3c7e8a9c3842efec25e611bce6cda9c1d70a00ea3889cb493c1fae43bf8"}},{"ruleId":"D1","level":"warning","message":{"text":"PgVector.hybrid_search (cyclomatic 19): PgVector.hybrid_search 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"3592c102f8f458ed10ceb4570b6ae2d08ca919de333253925c821f75cd8d2c17"}},{"ruleId":"D1","level":"warning","message":{"text":"Steps.execute (cyclomatic 19): Steps.execute 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. This shape REPEATS in the file: one other method here (Steps.aexecute) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56484476a57057e68c752dc03250ef4c171a101acec07a88f8303ab4686cbd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Steps.aexecute (cyclomatic 19): Steps.aexecute 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. This shape REPEATS in the file: one other method here (Steps.execute) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b03de182f6b455af4aad58f6df1b799be767cc4df31048e32bec8a61184d9d"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._route_executor_requirements_stream (cyclomatic 19): Workflow._route_executor_requirements_stream 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. This shape REPEATS in the file: one other method here (Workflow._aroute_executor_requirements_stream) 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7585}}}],"partialFingerprints":{"codehealthFindingId/v1":"701ccd129ba5224fb16c4367f440552ae12bf7e2231a1c4e521e4876486da5c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._aroute_executor_requirements_stream (cyclomatic 19): Workflow._aroute_executor_requirements_stream 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. This shape REPEATS in the file: one other method here (Workflow._route_executor_requirements_stream) 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7674}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5afc59f0e8acdff9e46a5189dcfc748ca54eae55d366dd068bd08ac607ae04"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow.run (cyclomatic 19): Workflow.run 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f39d54f01671e8f4959c30a5fcc7006acd37b33786691a96a8080a35775e1"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.arun_dispatch (cyclomatic 18): _run.arun_dispatch 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e6b5bc81827e0067635d98b554280bcc90b1472bf6f8bf22f3bd0851b017b"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._truncate_run_to_checkpoint (cyclomatic 18): _run._truncate_run_to_checkpoint 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf969e6c642796649a0298cbf33f06f536a39af16a99295cc05fab8edaef725f"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.acontinue_run_dispatch (cyclomatic 18): _run.acontinue_run_dispatch 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7311570ebb51546e5ab29ecc86b6b935a76b6417261d0463c61926d354c3b69"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.handle_tool_call_updates (cyclomatic 18): _tools.handle_tool_call_updates 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. This shape REPEATS in the file: one other method here (_tools.handle_tool_call_updates_stream) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbd252242c23773e114c98043675c9c5c8bd5c5e423ddcef97c70597d2d576"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.handle_tool_call_updates_stream (cyclomatic 18): _tools.handle_tool_call_updates_stream 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. This shape REPEATS in the file: one other method here (_tools.handle_tool_call_updates) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1647e92406fcccea441eca741c34b59aaa52a35582c724e8913f6a60b11879f"}},{"ruleId":"D1","level":"warning","message":{"text":"HITLBridge._request (cyclomatic 18): HITLBridge._request 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":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc9dbb8aaff03b10f8d940d820af37ecef0122fe8434fc41fb1ea0357430823"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAgent._tool_from_item (cyclomatic 18): CodexAgent._tool_from_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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0050416b9806e05340892ddb228d16515065651d348e411f0180ee4284a39ad"}},{"ruleId":"D1","level":"warning","message":{"text":"_TelemetryDispatcher.close (cyclomatic 18): _TelemetryDispatcher.close 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":"libs/agno/agno/api/api.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2846aa9d4c55655bdc398036fc366000cbece0b79ac13541944e7194ee6776b9"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOSClient.upload_knowledge_content (cyclomatic 18): AgentOSClient.upload_knowledge_content 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":"libs/agno/agno/client/os.py"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"0add665d181cff95aabb4f62db559fb365894ad97b74aba1c21aaed5f6c036b9"}},{"ruleId":"D1","level":"warning","message":{"text":"routines._authorize_auto_accept (cyclomatic 18): routines._authorize_auto_accept 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c280b0339c28c22d2c1746ff4acb026195a02f2a63e00253dbb114e32fd16e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseDb.search_sessions (cyclomatic 18): BaseDb.search_sessions 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":"libs/agno/agno/db/base.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20c0cf75e1c8f78711b48f4448a8ea79f7a6c8d6184922d5ae60caf6603e8f9"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.cleanup_legacy_runs_field (cyclomatic 18): DynamoDb.cleanup_legacy_runs_field 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f38b6f9564ab93275d9df4fc528bcb03e3fd6c90eaca14c8e6c1ca52522be1"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb._write_aggregate_metrics_rows (cyclomatic 18): DynamoDb._write_aggregate_metrics_rows 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"775f2559d8d66f8b57a638f9fdab0b424133b29d999a314833e8374f5dc8f2c2"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.upsert_trace (cyclomatic 18): DynamoDb.upsert_trace 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9dc46550e7e1e863325c6d4b358bcb9b510b6703cb3686d8ed275760d1af6b"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb._release_metrics_refresh (cyclomatic 18): JsonDb._release_metrics_refresh 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28055f626ec314aa85ba8648c69b4f1f0ee5e3802fabcf7b4057667bfd2d408"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrationManager.up (cyclomatic 18): MigrationManager.up 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":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb59d50026ce83d2840c2e1bf1f3f2bea8e4b30484aed764fc9ee75720bdabc"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._migrate_mysql_like_user_id (cyclomatic 18): v3_0_0._migrate_mysql_like_user_id 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. This shape REPEATS in the file: one other method here (v3_0_0._migrate_async_mysql_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c470e19e38b26926424a3921d7897fcec049939ff9df2d0cf6ff160e08b0f3"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._migrate_async_mysql_user_id (cyclomatic 18): v3_0_0._migrate_async_mysql_user_id 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. This shape REPEATS in the file: one other method here (v3_0_0._migrate_mysql_like_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf9aac54191f61c4b6fca9253b3ab4f895bcce79963d2118589333b06658d76"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.upsert_memories (cyclomatic 18): AsyncMongoDb.upsert_memories 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac995b6d609426c817b73a60039acea86c85491a4719f2399b2e4693885932a"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.get_traces (cyclomatic 18): AsyncMongoDb.get_traces 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adcf68fd1a20f583f5649e527173dcf3fc6d5ed26cf28ab366d067bdefcbfb4"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.upsert_memories (cyclomatic 18): MongoDb.upsert_memories 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a7b66cd89bd94cf48863622510f2c6884188716fa5d43df53d3ebe1c303d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.get_traces (cyclomatic 18): MongoDb.get_traces 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3767}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f781df140e00c36ae797c8736404efe47d8e5bbf377fd24462f028f55b6e7e7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.upsert_session (cyclomatic 18): AsyncMySQLDb.upsert_session 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b710f695ffae32c89083f67b555b915b79d28d5c20894bd2e041f032e47d35d4"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.upsert_session (cyclomatic 18): AsyncPostgresDb.upsert_session 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"54752713ddb20cc6c57f9e9871e05417c658fda488463ce8a4ed9e7a019438e0"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_traces (cyclomatic 18): AsyncPostgresDb.get_traces 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4591}}}],"partialFingerprints":{"codehealthFindingId/v1":"966c54a10308da45d7a2fb43b00202c0ae1d3d4e55cab1a4bc2235b9c5114e53"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.upsert_session (cyclomatic 18): PostgresDb.upsert_session 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abd7a42af342258c90c5da48a8be292335834c5d87401ea9823e5d07129c5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_traces (cyclomatic 18): PostgresDb.get_traces 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e37a11feadd5aa1808c78c30d5d8ba36bbb86ed7621751d123347ba28c862fc"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.get_metrics (cyclomatic 18): RedisDb.get_metrics 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67ce4312b90bc36c198ce241bb7286be47eb9e485b1626e10d0a5e52ffa710e"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_runs (cyclomatic 18): AsyncSqliteDb.get_runs 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bd1bab85b1b9abdcfe5c04458f730d29d4fe4f575924505558d8f53fcee5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_traces (cyclomatic 18): AsyncSqliteDb.get_traces 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f5c88b63840ae8a25f9c513e972ca747f8911fe1c91f7ff8e7c66a856dcc35"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_runs (cyclomatic 18): SqliteDb.get_runs 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4358838e91a7cda66fc707692e2cebc4c653736698a7cf64d3a63f34d6f062"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_traces (cyclomatic 18): SqliteDb.get_traces 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":4942}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7d37a451f055691ad24c118a1c42580986681ba29703568f6a691468490d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.get_metrics_dates_to_calculate (cyclomatic 18): utils.get_metrics_dates_to_calculate 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dd042e99ccc2b470cbc3e7030fc15950a4481fda611de63cb28a7326313634"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.build_component_metrics_totals (cyclomatic 18): utils.build_component_metrics_totals 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"095aee6598e1b6b367e89c1a2d78570841c67bf8cdbebb76995dd6abe1e67673"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.delete_sessions (cyclomatic 18): ValkeyDb.delete_sessions 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6561c14d2e7a35012f322ce51a4b12fedebc245e8472f6a4afa414380ec094"}},{"ruleId":"D1","level":"warning","message":{"text":"AccuracyEval.run_with_output (cyclomatic 18): AccuracyEval.run_with_output 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28f853a9a4cff7512fcf8c8fd6d75e4dc2a22f369a528bbddb756193af91934"}},{"ruleId":"D1","level":"warning","message":{"text":"PerformanceEval.run (cyclomatic 18): PerformanceEval.run 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: one other method here (PerformanceEval.arun) 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b284507979a316bfe1964f89ad0604a5920ebd15b5c2e986557876f6b01cc76"}},{"ruleId":"D1","level":"warning","message":{"text":"PerformanceEval.arun (cyclomatic 18): PerformanceEval.arun 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: one other method here (PerformanceEval.run) 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"878afd81bce87adf1c2e4aa4625b623a7cca56ad7103b3874d1ba9462567ff94"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._validate_filters (cyclomatic 18): Knowledge._validate_filters 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"011246e3ff861d5c7682a5fd877e0e15ac9e69b50d4183ff7b27bc2671e2179b"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubLoader._aload_from_github (cyclomatic 18): GitHubLoader._aload_from_github 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. This shape REPEATS in the file: one other method here (GitHubLoader._load_from_github) 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"08721023a78ffc671b6d41c32d101f506b3d1ceaa64869eb0c20c83e1e3b0b36"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubLoader._load_from_github (cyclomatic 18): GitHubLoader._load_from_github 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. This shape REPEATS in the file: one other method here (GitHubLoader._aload_from_github) 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"98feef8c9398a994bfeb8320625c18fe8a1472ecd4c6ec698738ea879a557636"}},{"ruleId":"D1","level":"warning","message":{"text":"S3Loader._load_from_s3 (cyclomatic 18): S3Loader._load_from_s3 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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a27ef93015250d8b2651cf9827cbddc206acd523f033a36f4835d2d6a07a43"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCoordinator._setup_complete (cyclomatic 18): PageCoordinator._setup_complete 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"86255d527ea2ba43ccb7679c896415080008b74550b46b67585d78ff553bcb40"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityMemoryStore._apply_forget (cyclomatic 18): EntityMemoryStore._apply_forget 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f8db85aedb44ec1a7a8e79374a3d572b86ee1dbc5872b6182e9e59c5f92f68"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.accumulate_eval_metrics (cyclomatic 18): metrics.accumulate_eval_metrics 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":"libs/agno/agno/metrics.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"51da72127d4cfa46d1ac6f6d6f2bcefbfa1d2f0f9973780986ffb95bd9496d60"}},{"ruleId":"D1","level":"warning","message":{"text":"Claude.get_request_params (cyclomatic 18): Claude.get_request_params 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f243a5b82c09ca8c779411574ec74d5119ac894481392714b3f1caa55d2d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"Model._process_model_response (cyclomatic 18): Model._process_model_response 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: one other method here (Model._aprocess_model_response) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbf988d89d127d1c2bd0340a7916e4d4358a311df542223fae69245626d68b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Model._aprocess_model_response (cyclomatic 18): Model._aprocess_model_response 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: one other method here (Model._process_model_response) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb074df9f0b208d2ab19e3537906c5ef9192bfd9f9fb872ff7240164720d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"Gemini._format_video_for_message (cyclomatic 18): Gemini._format_video_for_message 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda2b8026ac4842f888e0185198a08fa4517a01dfd23676ec093957593a8102"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiInteractions._call_step_info (cyclomatic 18): GeminiInteractions._call_step_info 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"694452ccfc2952ed34e659a18d1046d7397008735d2e39e6034f08bfcbed471b"}},{"ruleId":"D1","level":"warning","message":{"text":"RoleStore.patch_role_scopes (cyclomatic 18): RoleStore.patch_role_scopes 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. This shape REPEATS in the file: one other method here (RoleStore.apatch_role_scopes) 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25deae677b6b5b6ed13736359c701a675edfb2c24cbb1a20ce7726796c7e8b2"}},{"ruleId":"D1","level":"warning","message":{"text":"RoleStore.apatch_role_scopes (cyclomatic 18): RoleStore.apatch_role_scopes 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. This shape REPEATS in the file: one other method here (RoleStore.patch_role_scopes) 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8a04bfd921de52ddb71f7764c529509d5bee9d9cda0cc26d50cee3ab587ea4"}},{"ruleId":"D1","level":"warning","message":{"text":"hitl._resolve_required_approvals (cyclomatic 18): hitl._resolve_required_approvals 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":"libs/agno/agno/os/interfaces/slack/hitl.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1053cda75a163d499c5cae72d2ac718e4b1227dcb5fbb398553b1bf350c20224"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueWorker._areconcile_swept_job (cyclomatic 18): QueueWorker._areconcile_swept_job 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f1b4c88721c69b2025d6c6c32703ab2972a1f6ab3b586e23476ff8830a54b8"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPIdentityBridgeMiddleware.__call__ (cyclomatic 18): MCPIdentityBridgeMiddleware.__call__ 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":"libs/agno/agno/os/mcp_auth.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee457aa4d6be6f28a75c29505ec7af0d7d525432d5c6de655884b56939bc4a34"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.run_reliability_eval (cyclomatic 18): utils.run_reliability_eval 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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ab15a50f7ec8c12c5b94b8dc5a1206e9b456851fb6f495a1b2327cd22fa7e2"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.collect_mcp_tools_from_team (cyclomatic 18): utils.collect_mcp_tools_from_team 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea74d589698932041166e9837812f12680496614363645680a5595f0ff5554"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.resolve_agent (cyclomatic 18): utils.resolve_agent 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3abce64aa324080be93a7e6abe8163612ef273aa6b6490ec5bbd1496e7446e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseRemote._with_run_output (cyclomatic 18): BaseRemote._with_run_output 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":"libs/agno/agno/remote/base.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71f9c2f262d7f17335ca29723ee5fc2a73a454ea525d2ebd732753d681f003c"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionSummaryManager.get_system_message (cyclomatic 18): SessionSummaryManager.get_system_message 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":"libs/agno/agno/session/summary.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00fada796db484423dbc6f80a9c95a5948bc789f5448ccc2f0f21c12f461b4c"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks._execute_pre_hooks (cyclomatic 18): _hooks._execute_pre_hooks 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. This shape REPEATS in the file: one other method here (_hooks._execute_post_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c26e233a34a31bdc14b67f4450b4b06de686cee200f448dde782e8f5ed9b045"}},{"ruleId":"D1","level":"warning","message":{"text":"_hooks._execute_post_hooks (cyclomatic 18): _hooks._execute_post_hooks 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. This shape REPEATS in the file: one other method here (_hooks._execute_pre_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"637f437772263a1a651de50dbed58c7d33ba562c84e65b71727cc404e65815f8"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._build_continue_run_messages (cyclomatic 18): _run._build_continue_run_messages 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3b7cc8ac4cc313e80c82d56c7973e27d4391ddfb9022d4561186e25365468a"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._truncate_team_run_to_checkpoint (cyclomatic 18): _run._truncate_team_run_to_checkpoint 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6987}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f04aa35b45f60b63bed505865c5b35b332cc9261355e42bc3022b8a99dbf9"}},{"ruleId":"D1","level":"warning","message":{"text":"apify.props_to_json_schema (cyclomatic 18): apify.props_to_json_schema 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":"libs/agno/agno/tools/apify.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"643563dc75febd02112b94963dbaa05f12640b2440c906257874dd0bd43845c8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChartTools._build_spec (cyclomatic 18): ChartTools._build_spec 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":"libs/agno/agno/tools/chart.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"df18a245ba6e38332545de04334f9a65d90d9fd89f8509d9a6be1c65031e0dd3"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingTools.__init__ (cyclomatic 18): CodingTools.__init__ 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e032f1716aafe840c701d3d2f8eb65383cf907a2a69e57dcb2f463ec0f03df"}},{"ruleId":"D1","level":"warning","message":{"text":"PlivoTools.__init__ (cyclomatic 18): PlivoTools.__init__ has cyclomatic complexity 18 (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":"libs/agno/agno/tools/plivo.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3251ae27620c081cc1ae9fb42b05c0450085d0eca9a6bc2e7d7e3066d4cc68c3"}},{"ruleId":"D1","level":"warning","message":{"text":"RedmineTools.update_issue (cyclomatic 18): RedmineTools.update_issue 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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a36434be1ef4ddda75a1be422ac837b07ed284f994d8b499b35bfc7f649249b"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.list_components (cyclomatic 18): StudioTools.list_components 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47e5a3b42c0be3180004ebcee7540efcf9464ef507584cd779d6aa6c503f0aa"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.create_schedule (cyclomatic 18): StudioTools.create_schedule 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4565}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d9ac737168d7bbd9136f55455ed65f0b60f7365d195a89b763d677b4e9d2ea"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioRunnerTools._check_references (cyclomatic 18): StudioRunnerTools._check_references 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e25e431882d31e8fc033a66fc125b1cb0756f420c4d6e0d8d5f22144d22bd"}},{"ruleId":"D1","level":"warning","message":{"text":"functions.get_function_call (cyclomatic 18): functions.get_function_call 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":"libs/agno/agno/utils/functions.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27bb4f3aa84403bc5214f81a927d6f223035e0ff1c4c15f12dd595994ef3b0"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.prepare_command (cyclomatic 18): mcp.prepare_command 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":"libs/agno/agno/utils/mcp.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76c0b953bbb39342678080395246194d35a101e2bab464bf55430110c9d2f90"}},{"ruleId":"D1","level":"warning","message":{"text":"tokens.count_file_tokens (cyclomatic 18): tokens.count_file_tokens 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":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385050dd29f9a7fcbdd1ef9db8417889cc49da3e6e366c8698c5064201f2c24"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromaDb.update_metadata (cyclomatic 18): ChromaDb.update_metadata 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f843a4b4c4498c9a44184feaf0ec56737afd88bf3398b7f54b575adf140f53"}},{"ruleId":"D1","level":"warning","message":{"text":"CouchbaseSearch.async_insert (cyclomatic 18): CouchbaseSearch.async_insert 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. This shape REPEATS in the file: one other method here (CouchbaseSearch._async_upsert) 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad375e57bae07d098345f5ce03a4f6f26fa92ff90c191b3193ad6d979118999"}},{"ruleId":"D1","level":"warning","message":{"text":"CouchbaseSearch._async_upsert (cyclomatic 18): CouchbaseSearch._async_upsert 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. This shape REPEATS in the file: one other method here (CouchbaseSearch.async_insert) 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08d6cd6127d99c43ce38a9449f48cd7b9b8e677d08330c592dd0f31cae28e38"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb._create_search_index (cyclomatic 18): MongoDb._create_search_index 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf87d75c5b0bd1d1c7a0d487ccb34d7e52c77825be8d2f4c83be12a67e3b3744"}},{"ruleId":"D1","level":"warning","message":{"text":"Weaviate.async_insert (cyclomatic 18): Weaviate.async_insert 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2de31355a643b511d1fac3ad0df38d42e0eba526e93dd8a19efec3456ca7181"}},{"ruleId":"D1","level":"warning","message":{"text":"Router.execute (cyclomatic 18): Router.execute 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. This shape REPEATS in the file: one other method here (Router.aexecute) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a98b8bf693db7a44f5b81ab676574f4f946504617fc397432038fa52e872f51"}},{"ruleId":"D1","level":"warning","message":{"text":"Router.aexecute (cyclomatic 18): Router.aexecute 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. This shape REPEATS in the file: one other method here (Router.execute) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"69224732c67a601d0ff9bcbf58a72aea7c7e925f0fdab5726f221179b120463d"}},{"ruleId":"D1","level":"warning","message":{"text":"Step._enrich_event_with_context (cyclomatic 18): Step._enrich_event_with_context 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6025979b638380957fd7f883cee2655a1e3d1441070f939694092c3978f640"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._run_workflow_agent (cyclomatic 18): Workflow._run_workflow_agent 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5965}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c52e32122c36bba37606f18e1007d347296c86567ad1bbaf2d4496704ddabb"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow._find_inner_step_by_executor (cyclomatic 18): workflow._find_inner_step_by_executor 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0199c6a50cdde6cafe7b7b512b55cfc98e2e5778010267d3c31751d3876ba51b"}},{"ruleId":"D1","level":"warning","message":{"text":"GlueCrawler._create (cyclomatic 18): GlueCrawler._create 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":"libs/agno_infra/agno/aws/resource/glue/crawler.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19e15579fc8a16dcb582dd9e055e76498729bdc76bff1912dcb3bfc86e2d743"}},{"ruleId":"D1","level":"warning","message":{"text":"02_tool_error_persistence.scenario_b_model_call_fails (cyclomatic 18): 02_tool_error_persistence.scenario_b_model_call_fails 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":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05635232ca859d7e28af721f5c1dc2cbaaa05ad1fff6ddb215e94c49c741a01"}},{"ruleId":"D1","level":"warning","message":{"text":"11_streaming_events.streaming_with_events (cyclomatic 18): 11_streaming_events.streaming_with_events 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":"cookbook/03_teams/02_modes/tasks/11_streaming_events.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5b4f3d278d957510c701db22c0e3cadfdb1f4e987d6049fd05591ae018847f"}},{"ruleId":"D1","level":"warning","message":{"text":"_init.get_models (cyclomatic 17): _init.get_models 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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df08f682622a0d4ab3ffef044e5de77fb1c948f42a18459183a570a506169b0"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._handle_run_cancellation (cyclomatic 17): _run._handle_run_cancellation 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5936}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d97cbb9f60350d204c2e3979fdb432695d014d4cadefdf82c0d26f9c4640ce"}},{"ruleId":"D1","level":"warning","message":{"text":"_session.get_session (cyclomatic 17): _session.get_session 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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3dd37d7ce811920430bfe2ebea8531c7c2a28ca85578669194b459583b476"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.get_agents (cyclomatic 17): agent.get_agents 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"403d1d0a5f564783c2014abf9c8325647e8d028db2fb9fe23c28859d246c30dc"}},{"ruleId":"D1","level":"warning","message":{"text":"DSPyAgent._arun_adapter_stream (cyclomatic 17): DSPyAgent._arun_adapter_stream 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":"libs/agno/agno/agents/dspy/agent.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1fd57dd9dc30172ea7f16fcecc9cd4b08813193413f7f4ad7bddc151c7c118"}},{"ruleId":"D1","level":"warning","message":{"text":"automation_history._record_task_failures (cyclomatic 17): automation_history._record_task_failures 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":"libs/agno/agno/company/automation_history.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f727da66519fcaf1eac1522930a16ae826405067fc8b36961df86ead0aa8df"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._project_run (cyclomatic 17): execution._project_run 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b26e3009a3dad70cb6190f653f56f3f45dde4f06d919664b8d7250d9835d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"_CompanyScheduleExecutor._complete_projects (cyclomatic 17): _CompanyScheduleExecutor._complete_projects 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e57759f6af5bb6cacead2e87fcaafd2c037f9e9761c750309345d528fa783c"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_user_memories (cyclomatic 17): DynamoDb.get_user_memories 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"9315af7b1c80ea675173b8bf9330b4b80cba46496ad7206fa19de011501c3ec3"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.get_runs (cyclomatic 17): FirestoreDb.get_runs 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5140a66016007ed95595820aafb8bafb05b04c5b4f37257a6879cb0eff19b59"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.upsert_session (cyclomatic 17): GcsJsonDb.upsert_session 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c775afaff7eebea5eba03277c9e0123366b0b361cb7cece21dd019c195aba8"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_metrics (cyclomatic 17): GcsJsonDb.get_metrics 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51e127145e66fa5936ca93c80a473aecc0b317dcb47c946723a3a950f13cf05"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb._write_json_file (cyclomatic 17): JsonDb._write_json_file 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e138fd5340d0c422dd57ae081f7450fbb9e024755e6d449ea0592ddc10867ad4"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.upsert_session (cyclomatic 17): JsonDb.upsert_session 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"a023a8c2f11f932a503004b72cd7bad175e56ae07b2c8c50f10b6c559dadceee"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_metrics (cyclomatic 17): JsonDb.get_metrics 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e17ff277d502fbc75ec470d63db94547b57441385ce65d77e5d7d1a072c1303"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._revert_surrealdb (cyclomatic 17): v3_0_0._revert_surrealdb 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8ad08a8dc1c388a8f7a31e7d5df3fef503794770b021414c881aa93140b5b1"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.get_runs (cyclomatic 17): AsyncMySQLDb.get_runs 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd401c0619e0e18da2300b6c7d84428adeff07c0c96bc971641aa06446bad94"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMySQLDb.get_user_memories (cyclomatic 17): AsyncMySQLDb.get_user_memories 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41566aaffcab39f89114b31794fe2e6227a4e4a3af20c636858c65f7350db4c"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_runs (cyclomatic 17): AsyncPostgresDb.get_runs 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71156fbeb6d040e39cecc754ec63e0307b8ff9058bd150ec783b1832206f69b"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb._cascade_tool_results (cyclomatic 17): AsyncPostgresDb._cascade_tool_results 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c1e20b6335ffdcbb351545be3b51647b0acbfccf812ed2999eef9925918a2f"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_user_memories (cyclomatic 17): AsyncPostgresDb.get_user_memories 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"af238c336e8c98b2d0a2bd9675d6711a3e13f6dd9116ea6b4ac457459f4dff30"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.transition_project (cyclomatic 17): AsyncPostgresDb.transition_project 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8020}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878f0ffd92d75098bc47e3cfe4bba0284924463a63ff22ffbb7e4bd337622af"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb._cascade_tool_results (cyclomatic 17): PostgresDb._cascade_tool_results 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1d15198dd93198b51907de908867391ad7ef4b7cdd6424bcd1cd7e904393c"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.restore_component (cyclomatic 17): PostgresDb.restore_component 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6136}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e1f0444ae881945f986a294150037d7cc722582e97cbe9f13ac53ec67300f0"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.transition_project (cyclomatic 17): PostgresDb.transition_project 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10755}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a6797c9366eae427d1f871ee6505ca0920020310822cf1d89d9a5d0681a690"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.upsert_trace (cyclomatic 17): RedisDb.upsert_trace 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5043a627b8a2b62f63e2fc850fbd56d6cef2931f716fe749988dc57825de62"}},{"ruleId":"D1","level":"warning","message":{"text":"tasks.validate_task_fields (cyclomatic 17): tasks.validate_task_fields has cyclomatic complexity 17 (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":"libs/agno/agno/db/schemas/tasks.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46fe768ba66c372e1174262bb6aceccb46f9e73ff263bb7746b9d1bef4b5f8b"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb._cascade_tool_results (cyclomatic 17): AsyncSqliteDb._cascade_tool_results 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. This is NOT this file\u0027s highest cyclomatic complexity: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"c983091d5141aee2f56756490aa78c6b6b3e0b68cdb3031b28faad23d7669efb"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_session (cyclomatic 17): AsyncSqliteDb.get_session 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4956fe20f04f984775f70037c0f0835c6171b4b369f346cf1f0cc58cef0a80"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.transition_project (cyclomatic 17): AsyncSqliteDb.transition_project 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7234}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f3c615adabba51d1811894039b843a25327dc8a39bc1e0d25af43683d603b4"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb._cascade_tool_results (cyclomatic 17): SqliteDb._cascade_tool_results 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5112c487f4bcbb1d0f9c7a1d551986cc2e84d3d301c0639609a4662b850684b"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_session (cyclomatic 17): SqliteDb.get_session 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55542d66e00791fcfc4fd840337d17787c652a92cdd3a7bfc3153872f0a688"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.restore_component (cyclomatic 17): SqliteDb.restore_component 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5996}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c9cd28e71a35e4b1633b7e165c9b7879b215844ae4db32bb2a84dd3398784f"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.transition_project (cyclomatic 17): SqliteDb.transition_project 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":9696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9dfb57db759c0e6e9be1864bda85198e31c32b8c55b48d7f4eb5b3908348b"}},{"ruleId":"D1","level":"warning","message":{"text":"SurrealDb.get_traces (cyclomatic 17): SurrealDb.get_traces 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. This is NOT this file\u0027s highest cyclomatic complexity: SurrealDb._get_table (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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3171}}}],"partialFingerprints":{"codehealthFindingId/v1":"569644df0180053e63a9f4d0227de381dcf245222f7b61f87dfe8f1d1cb0eaf8"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.aggregate_metrics_by_date (cyclomatic 17): utils.aggregate_metrics_by_date 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9753d60472497bc3bb786ea66b795640ac3c55620627876faf583a6336a629"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.build_metrics_by_owner_from_rows (cyclomatic 17): utils.build_metrics_by_owner_from_rows has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/utils.py"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0551b3bbb6001e2667c63842de1733d37aa354d86c71019a46f849064d2bff"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.delete_user_memories (cyclomatic 17): ValkeyDb.delete_user_memories 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53e5f5d518c40331651353e4af116be46f244db4b697e91017cf9ed6b731b27"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb._get_metrics_legacy_runs (cyclomatic 17): ValkeyDb._get_metrics_legacy_runs 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea468cb92b8deb3340feab5343e7a921faa2eca0eadc14ca8afc004c06052b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb.upsert_trace (cyclomatic 17): ValkeyDb.upsert_trace 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bd3e2caac570a3d373578ab7d06eb03049205eca5ac53e7a2b501e592d5725"}},{"ruleId":"D1","level":"warning","message":{"text":"AccuracyEval.arun_with_output (cyclomatic 17): AccuracyEval.arun_with_output 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7e7555e392b02a409aa86e77cf1a91221354962b3c7fdd666a8a8875252bf8"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentChunking.chunk (cyclomatic 17): DocumentChunking.chunk 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":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c232d3389ab77b526ea7c2e86231aa192bcc9f3780b32de7c393bb888377d2"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._prepare_page_child (cyclomatic 17): Knowledge._prepare_page_child 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b158d772fbd7ae65db7b929eddada984a210f48ecf3c748c7fdb225d23e33bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._aupdate_content (cyclomatic 17): Knowledge._aupdate_content 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4866}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1aebd359ba1ca51a579ea1a04c93ab10cc8a74b6a27b3a286282f1988fa0219"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureBlobLoader._aload_from_azure_blob (cyclomatic 17): AzureBlobLoader._aload_from_azure_blob 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. This shape REPEATS in the file: one other method here (AzureBlobLoader._load_from_azure_blob) 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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bcfc696581f30707d90463e8c6e574e107d57e15184770ecdb486f2b7d2b64"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureBlobLoader._load_from_azure_blob (cyclomatic 17): AzureBlobLoader._load_from_azure_blob 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. This shape REPEATS in the file: one other method here (AzureBlobLoader._aload_from_azure_blob) 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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac48ab97f38b5f699e55a50d36ec3d93a69c8a935604bd752856303ca8483428"}},{"ruleId":"D1","level":"warning","message":{"text":"CSVReader.async_read (cyclomatic 17): CSVReader.async_read 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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dbd13b36db73204cf476979f5439132a2dafc0ea99d010d636a98ee02b014a"}},{"ruleId":"D1","level":"warning","message":{"text":"TavilyReader._extract (cyclomatic 17): TavilyReader._extract has cyclomatic complexity 17 (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":"libs/agno/agno/knowledge/reader/tavily_reader.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e896a2cd3ca3a9e7aaeb993fe8a9aef85ec9739308368b3a4ff572734fe3e5"}},{"ruleId":"D1","level":"warning","message":{"text":"machine.describe_learning_machine (cyclomatic 17): machine.describe_learning_machine 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3c36f52ce70b83d598c68b4c69a95d7e02ca173f2fd167bc655ffbe9b57a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelMetrics.accumulate (cyclomatic 17): ModelMetrics.accumulate has cyclomatic complexity 17 (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":"libs/agno/agno/metrics.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"043077aa8768ee5c8ad0c1d143011ba5b6ba60fb0b35183489cf531c5586b50c"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionMetrics.accumulate_from_run (cyclomatic 17): SessionMetrics.accumulate_from_run 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":"libs/agno/agno/metrics.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"25eaf3922d5d0c9f5fe2d353ce02a23af2fe571aedbe33a645d707e10d5eebbf"}},{"ruleId":"D1","level":"warning","message":{"text":"HuggingFace.get_request_params (cyclomatic 17): HuggingFace.get_request_params 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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5d89edf28f88f393fee4de5c56f5e4fba893c4b9cc0f853381bcfb33507bc5"}},{"ruleId":"D1","level":"warning","message":{"text":"MistralChat.get_request_params (cyclomatic 17): MistralChat.get_request_params 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":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0887cfd13aa381c1274b1f001268c8095c4393d5bf9530692a2c2f357120004e"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS.serve (cyclomatic 17): AgentOS.serve 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":"libs/agno/agno/os/app.py"},"region":{"startLine":3520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6247ebe165c9c159ccb2e06f59e3aa8344edad7daee72827d21d34d1ec0a9c"}},{"ruleId":"D1","level":"warning","message":{"text":"A2AExecutor._continue_task (cyclomatic 17): A2AExecutor._continue_task 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":"libs/agno/agno/os/interfaces/a2a/executor.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"46433325a449103dd8219d54f1842e41ed2dcee674e4a8b4a1833c4d870278ee"}},{"ruleId":"D1","level":"warning","message":{"text":"streaming._get_progress_metadata (cyclomatic 17): streaming._get_progress_metadata 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":"libs/agno/agno/os/interfaces/a2a/streaming.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b05836160cf467730308e0baf73c1a2ddb5505434f0967890d6bf63242a7d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"executor._render (cyclomatic 17): executor._render 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":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"435abeb96f26de4cf95034b40824a1c519f923b8eae90f6fafed250fd4b27f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"executor._finish (cyclomatic 17): executor._finish 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":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23d396d2d6a40dd5ae53d5a586654a7a25365841f2160fd475b98ce266f716c"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueWorker.acancel_queued (cyclomatic 17): QueueWorker.acancel_queued 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3269bc2369fed65f23f2456f29b2c0a77420c2aab8e24070baa758f6480798e"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp._consume_workflow_stream (cyclomatic 17): mcp._consume_workflow_stream 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6a978f75a5c3ef4a3848d4d13917ea956d9897c0ff5706a329ab59d97bc7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"components._resolve_member_links (cyclomatic 17): components._resolve_member_links 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3761c03538adc7474810b433f2c749f92877c7ab9d395944eae6862f225c171a"}},{"ruleId":"D1","level":"warning","message":{"text":"run_permissions._require_endpoint_permission (cyclomatic 17): run_permissions._require_endpoint_permission 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":"libs/agno/agno/os/routers/run_permissions.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9038ef5d556fd66f16a3fd7ed3498cb8de0528c3ce6bca186cc56fd5646dabb5"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions.get_session_runs_window (cyclomatic 17): sessions.get_session_runs_window 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":"libs/agno/agno/os/services/sessions.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c641da47bd5eec9e5c2cb913f8a9d875608ed7d451715274636638deb15502"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.collect_components_from_os (cyclomatic 17): utils.collect_components_from_os 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2848}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cc7fe8b0e71fd041abdef99d79d0cfb58394b94951068bdc5758b0c4c5c3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"approval._apply_approval_to_tools (cyclomatic 17): approval._apply_approval_to_tools 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54d2ff64348bc3b5e861da44ea727b08d40acd27b4c55d5ac236c5e83319ef4"}},{"ruleId":"D1","level":"warning","message":{"text":"_init.initialize_team (cyclomatic 17): _init.initialize_team 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d457f83b826addc501f26859d6affb2ff0c3e51e804d1a3a12954f1ea694c"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._handle_team_tool_call_updates (cyclomatic 17): _run._handle_team_tool_call_updates 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. This shape REPEATS in the file: one other method here (_run._handle_team_tool_call_updates_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab60bf588e184af679bdd4f0ad471f673b2b62b6493967be38d9efa1fbe0536b"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._handle_team_tool_call_updates_stream (cyclomatic 17): _run._handle_team_tool_call_updates_stream 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. This shape REPEATS in the file: one other method here (_run._handle_team_tool_call_updates) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5477}}}],"partialFingerprints":{"codehealthFindingId/v1":"da68786338a62a0c63d6eff798afba99ffa97fb0ab279c42efcf99fdfe596a17"}},{"ruleId":"D1","level":"warning","message":{"text":"team.get_team_by_id (cyclomatic 17): team.get_team_by_id 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":"libs/agno/agno/team/team.py"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1208b0b78982a27a9d99ff717a627f120f69472c16f7922182dc84a59e57ad"}},{"ruleId":"D1","level":"warning","message":{"text":"AntigravityTools._load_agent_directory (cyclomatic 17): AntigravityTools._load_agent_directory 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":"libs/agno/agno/tools/antigravity.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d9564dfe76dd736ec9cde5cce8211004899aa5b86ca388a053d41dc3deb584"}},{"ruleId":"D1","level":"warning","message":{"text":"CalComTools.__init__ (cyclomatic 17): CalComTools.__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":"libs/agno/agno/tools/calcom.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3274e8bdd550acda78cad1249b576b14cbbd92e96cb5e9056153720fb4ac01"}},{"ruleId":"D1","level":"warning","message":{"text":"bridge._stub_doc (cyclomatic 17): bridge._stub_doc 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":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e4c8ec0e492f49efa0949b03f961b92e0e2706f4b6a59b3e047c4e1a4158fa"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelSession.ensure_started (cyclomatic 17): KernelSession.ensure_started 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":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5b6d4e70dfd99c7042a81b9c8fdb51f70a03f2f2e11c9ca39eb8cdd32ab37"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingTools.grep (cyclomatic 17): CodingTools.grep 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca30d1a62c8cf43b2546116c9c1152f8af7ccc76f138567a9149f6ac6aa643a"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingTools.ls (cyclomatic 17): CodingTools.ls 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e30008b3733db8aa00cf7d500d51f023052605dc916a22aa3a6a143e3b96231"}},{"ruleId":"D1","level":"warning","message":{"text":"toolkit._clean (cyclomatic 17): toolkit._clean 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":"libs/agno/agno/tools/finance/toolkit.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff2f5cf691acb9f019b34413d59b5d0c2a593982d05cb255eab4b8d5c1f1d49"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleDriveTools.__init__ (cyclomatic 17): GoogleDriveTools.__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":"libs/agno/agno/tools/google/drive.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf3733c714d5fc506a399fc8db70c3f9494bf7f4ab753e6be752f499b0b0a1c"}},{"ruleId":"D1","level":"warning","message":{"text":"Mem0Tools.__init__ (cyclomatic 17): Mem0Tools.__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":"libs/agno/agno/tools/mem0.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f961134159d3b68202a344999808df264734235fee7001f12ce892cc1017e23"}},{"ruleId":"D1","level":"warning","message":{"text":"OxylabsTools.get_amazon_product (cyclomatic 17): OxylabsTools.get_amazon_product 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"da11eca8ffe1f3734dc194d16ef03b0493ebb60a3fa0a4b23a1c15948f574feb"}},{"ruleId":"D1","level":"warning","message":{"text":"ScavioTools.__init__ (cyclomatic 17): ScavioTools.__init__ has cyclomatic complexity 17 (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":"libs/agno/agno/tools/scavio.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9bd694dd8b2746d8b67966a899bf3dee9dd3eced3b0e800ef7c5a36ed85638"}},{"ruleId":"D1","level":"warning","message":{"text":"ShopifyTools.get_product_sales_breakdown (cyclomatic 17): ShopifyTools.get_product_sales_breakdown 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fead0247e2e68eae398631de2a59287e33d44c93b890edf66a44295e779e95"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._buildable_tool (cyclomatic 17): StudioTools._buildable_tool 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa9c8028cc6fe7221bcc71bb6b056ec5301bcc5db90e6e8ce74288b97964ede"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.archive_component (cyclomatic 17): StudioTools.archive_component 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ed148432f01b61ac56cb6cd40b8348c6cf6156587d027e37d7df2001b10186"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._links_for_component (cyclomatic 17): StudioTools._links_for_component 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8332cf9840ace696a4977d73138c8f5c87eff2b33d9460ca3f29696d957020a"}},{"ruleId":"D1","level":"warning","message":{"text":"ValyuTools._valyu_search (cyclomatic 17): ValyuTools._valyu_search has cyclomatic complexity 17 (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":"libs/agno/agno/tools/valyu.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d831aeb4099809791f671d373465291012fcf2a38b25cd05c8ff42a7422f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace._search_content (cyclomatic 17): Workspace._search_content 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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"0900c91551a34cda887d30153489a294345a9c74e95087e85209ec75d3be4afe"}},{"ruleId":"D1","level":"warning","message":{"text":"YouTools.you_search (cyclomatic 17): YouTools.you_search 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":"libs/agno/agno/tools/youcom.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c5a6c7b6df67e277cab4e9ae49e7ea3da5d8b142a484efdfa1c706663d27d0"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.get_last_run_output_util (cyclomatic 17): agent.get_last_run_output_util 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b578b6918bed6386a01adba8f59c29d496f5ffa76a864391400f3a838678cd"}},{"ruleId":"D1","level":"warning","message":{"text":"pprint.pprint_run_response (cyclomatic 17): pprint.pprint_run_response 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. This shape REPEATS in the file: one other method here (pprint.apprint_run_response) 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":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"12976ae7e508cbbbef19026810e7333a3e4ab368722ddc6db370f63bab58d20e"}},{"ruleId":"D1","level":"warning","message":{"text":"pprint.apprint_run_response (cyclomatic 17): pprint.apprint_run_response 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. This shape REPEATS in the file: one other method here (pprint.pprint_run_response) 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":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f467a4daa4a5dba2e41b2d961d5e6e1d533d30f1d132fd8c74ae92ee64e43f"}},{"ruleId":"D1","level":"warning","message":{"text":"Cassandra.async_insert (cyclomatic 17): Cassandra.async_insert 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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca82bdc2ed2965de5371a40dccfb0d5aa39d410bb5fd17bad852aca88dce3aa7"}},{"ruleId":"D1","level":"warning","message":{"text":"LanceDb.update_metadata (cyclomatic 17): LanceDb.update_metadata 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6336834985c3534ef2317961ba785dea1e5febc2dc75321466474f968a3f71"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.search (cyclomatic 17): MongoDb.search 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce07d1a6566118c8c9c5b8da4089caa144c40602fe7f2f0ffc205c985f88f082"}},{"ruleId":"D1","level":"warning","message":{"text":"PgVector.__init__ (cyclomatic 17): PgVector.__init__ 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08d4e73b386755ad61ab2b6c49d1e1f129cafa058e1693550726d5e777e539f"}},{"ruleId":"D1","level":"warning","message":{"text":"UpstashVectorDb.update_metadata (cyclomatic 17): UpstashVectorDb.update_metadata 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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"2385e9686d7388df10d72b5059022db3633bfb40804861b4ed8ce2a013801de3"}},{"ruleId":"D1","level":"warning","message":{"text":"Condition._update_step_input_from_outputs (cyclomatic 17): Condition._update_step_input_from_outputs has cyclomatic complexity 17 (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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a00c0da9d5df752e6b7ecd12d27317ed198a5cc763ba0418c2035458cb2a21"}},{"ruleId":"D1","level":"warning","message":{"text":"Loop._update_step_input_from_outputs (cyclomatic 17): Loop._update_step_input_from_outputs has cyclomatic complexity 17 (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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6190999075101650fe789433959c6fefa14a2f9850c532912cebe2cf1674361c"}},{"ruleId":"D1","level":"warning","message":{"text":"Router._update_step_input_from_outputs (cyclomatic 17): Router._update_step_input_from_outputs has cyclomatic complexity 17 (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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d2f6d3c1d7c80ea60461818d4d14923b327c28836fc97c86ae42aa15136841"}},{"ruleId":"D1","level":"warning","message":{"text":"Steps._update_step_input_from_outputs (cyclomatic 17): Steps._update_step_input_from_outputs has cyclomatic complexity 17 (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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"34beaff7dff082cedd20f011e66ffab228acbbf115823fc5103907f754d9809d"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._propagate_hooks_to_step (cyclomatic 17): Workflow._propagate_hooks_to_step 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11493}}}],"partialFingerprints":{"codehealthFindingId/v1":"693be4d62f3d70c9b5ca4d917002ecc641c801dbd231f0ad4d54f9d3da883285"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow.get_workflow_by_id (cyclomatic 17): workflow.get_workflow_by_id 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11940}}}],"partialFingerprints":{"codehealthFindingId/v1":"01414c39e02a8bb9e46c598bc816f79a7c8cbcab1c705fc3fdb6ea890ea526ca"}},{"ruleId":"D1","level":"warning","message":{"text":"EbsVolume._create (cyclomatic 17): EbsVolume._create 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":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e438dc05fb423fbb6620f462a1d2563ae614f778f1d5ec045e3cac1f214a641"}},{"ruleId":"D1","level":"warning","message":{"text":"DockerApp.get_container_env (cyclomatic 17): DockerApp.get_container_env 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":"libs/agno_infra/agno/docker/app/base.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a4b3d92e6de3ba4d4efc5530e773fa0dfe8ff3d4db65e332f32083b5fb035f"}},{"ruleId":"D1","level":"warning","message":{"text":"DockerImage.buildx (cyclomatic 17): DockerImage.buildx 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":"libs/agno_infra/agno/docker/resource/image.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0499d91d1f90a523df86f4985fe9a1a0de18cfdfa956d1556a154e37ffce885"}},{"ruleId":"D1","level":"warning","message":{"text":"09_custom_tools.assess_risk_score (cyclomatic 17): 09_custom_tools.assess_risk_score 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":"cookbook/03_teams/02_modes/tasks/09_custom_tools.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb37d80b1a49a519184726145be372dbca8084789bdc35edcf49e3a4d3aa9ac"}},{"ruleId":"D1","level":"warning","message":{"text":"cancel_run.long_running_task (cyclomatic 17): cancel_run.long_running_task 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":"cookbook/03_teams/14_run_control/cancel_run.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"04924b09ddc73ce261bc1a2f0d16e4dd28a616147cca685ee6c0fda900d36b29"}},{"ruleId":"D1","level":"warning","message":{"text":"studio_hitl_agent_os.resolve_paused_tools (cyclomatic 17): studio_hitl_agent_os.resolve_paused_tools 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":"cookbook/05_agent_os/22_studio/studio_hitl_agent_os.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc0025cd859477913ecd6a60a7e5fcbd2274447291bbec8625c06858dc4882f"}},{"ruleId":"D1","level":"warning","message":{"text":"soak.main (cyclomatic 17): soak.main 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":"cookbook/frameworks/reliability/soak.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e840fb4b442b3cfea414edbd3d522813ba2edff92b303c7127373b29f3e08c72"}},{"ruleId":"D1","level":"warning","message":{"text":"run_all.print_agno_vs_table (cyclomatic 17): run_all.print_agno_vs_table 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":"cookbook/performance/comparison/run_all.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c06558012c70e455c055a71f1c4feb67dd81a6e66506ed251190638ae1f1b41"}},{"ruleId":"D1","level":"warning","message":{"text":"report.render_group (cyclomatic 17): report.render_group 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":"cookbook/performance/report.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"20889abadbe86fbe0f7f23d918c2e3ca44085cd5a44a95e2316095b1aaf8dd2c"}},{"ruleId":"D1","level":"warning","message":{"text":"console.html.advance (cyclomatic 17): console.html.advance has cyclomatic complexity 17 (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":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7331149c92cc0dabb670a1a630228d0914596a0049e6e94cbff72293a54a5b57"}},{"ruleId":"D1","level":"warning","message":{"text":"_default_tools._extract_session_preview (cyclomatic 16): _default_tools._extract_session_preview 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c86b4f606e55239f98ee6e587d8273f1857b72e141cac3f673d438bf4f6a947"}},{"ruleId":"D1","level":"warning","message":{"text":"_managers.make_memories (cyclomatic 16): _managers.make_memories 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. This shape REPEATS in the file: one other method here (_managers.amake_memories) 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3595324fa0e0140c14586c2cc38c2e133084aeb0c6a834bc9b4058b94485ad"}},{"ruleId":"D1","level":"warning","message":{"text":"_managers.amake_memories (cyclomatic 16): _managers.amake_memories 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. This shape REPEATS in the file: one other method here (_managers.make_memories) 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"619f464367768c2a467def6da25655da8a388fefc2426a6a97d68d196a7aa4cb"}},{"ruleId":"D1","level":"warning","message":{"text":"_messages._build_continue_run_messages (cyclomatic 16): _messages._build_continue_run_messages 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacc7b523aad410f7b34ca39ff55cd48d0da178aa72a73c916b036f8d8f169b7"}},{"ruleId":"D1","level":"warning","message":{"text":"_response.update_reasoning_content_from_tool_call (cyclomatic 16): _response.update_reasoning_content_from_tool_call 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"059a3274a231e5fb888cc76f6f625b84793daa2a526fa40a07587372f5b807f1"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.run_dispatch (cyclomatic 16): _run.run_dispatch 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fb34839b93ccccb64413c915a7410899023ec1084a6f2a14675da519843b92"}},{"ruleId":"D1","level":"warning","message":{"text":"_session.aget_session (cyclomatic 16): _session.aget_session 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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcda262f5a333fb5394c482733455442ea855cbe84d65cccc2425c46716f66f"}},{"ruleId":"D1","level":"warning","message":{"text":"_storage.resolve_memory_manager_reference (cyclomatic 16): _storage.resolve_memory_manager_reference 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"575efcb5f969fd4f3b4125bdee2cbe5ca4c53dbec87afa428f92d923dec3648a"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.run_tool (cyclomatic 16): _tools.run_tool 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. This shape REPEATS in the file: one other method here (_tools.arun_tool) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cb1582cc609ec6024b65e9e4168fb7031dfbfeaa25047055ff02dee4b4011d"}},{"ruleId":"D1","level":"warning","message":{"text":"_tools.arun_tool (cyclomatic 16): _tools.arun_tool 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. This shape REPEATS in the file: one other method here (_tools.run_tool) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beb5583b1a1c8cec7655cb8c817e8260dd3ef4ac49c81174827bea45ef7fbfe"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.get_agent_by_id (cyclomatic 16): agent.get_agent_by_id 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1de1497705f7d25723710075e6bf398851ef29472956756a33d0e7cd30c588"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeAgent._tool_batches (cyclomatic 16): ClaudeAgent._tool_batches 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacddb0f5b542daba83c6fd2b49154eba1b2b569938d932bb2773cbc795443c0"}},{"ruleId":"D1","level":"warning","message":{"text":"execution._enqueue_ticket (cyclomatic 16): execution._enqueue_ticket 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c6fd38dca2eeb0904ef897427a33e15951cf81ea36195e998f03eea34a8c9e"}},{"ruleId":"D1","level":"warning","message":{"text":"files._locate (cyclomatic 16): files._locate 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":"libs/agno/agno/company/files.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7668cb17a40ea022fd9b7f3f604329bce03bae22e44a2c1a4c8c7ad2c349a359"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.validate_google_credentials (cyclomatic 16): utils.validate_google_credentials 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":"libs/agno/agno/context/google/utils.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf2bcda760e6a2b25287d4a7865f8342104b2979625837bd3dd25f1ea912370"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDb.get_user_memory_stats (cyclomatic 16): DynamoDb.get_user_memory_stats 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b043075c95459b5b046a4f1971a71d733e3d348f65e1971f2ac1191e9d1947"}},{"ruleId":"D1","level":"warning","message":{"text":"FirestoreDb.get_traces (cyclomatic 16): FirestoreDb.get_traces 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3539020ce1251b7858ccc162a8281612ee5cf3113d8eb3f56c2420cf4d1a80"}},{"ruleId":"D1","level":"warning","message":{"text":"GcsJsonDb.get_user_memories (cyclomatic 16): GcsJsonDb.get_user_memories 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d1e8ca58d11bbee1bbdc9fef49a51513430a5478e235b7463e91922c37fc41"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.upsert_session (cyclomatic 16): InMemoryDb.upsert_session 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bba5ce382aa50b35fb6cbf82751158c1f8d4ef1d7dd6f0e448485719219e11"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.upsert_run (cyclomatic 16): InMemoryDb.upsert_run 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3895201007880672c549fab6e3c8aa201766ee4ddc71ab7d019362fe1d5ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb.get_user_memories (cyclomatic 16): InMemoryDb.get_user_memories 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"04999024f2e99558bce5324eb185e0d182db39cf816ecfd4b1654ffe3ad2f77b"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryDb._release_metrics_refresh (cyclomatic 16): InMemoryDb._release_metrics_refresh 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"744275f88e2e954020bcf9c2523a6417eea70f2fe6d8e17dbe1d0a57ba4aee6c"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDb.get_user_memories (cyclomatic 16): JsonDb.get_user_memories 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab0e07e59bc45a6c812e0f878de3ef295e55628397481d6285fc928afc2dc30"}},{"ruleId":"D1","level":"warning","message":{"text":"v1_to_v2.get_table_content_in_batches (cyclomatic 16): v1_to_v2.get_table_content_in_batches 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2e3b2675e292a2af74cf336b24805f7f3f5d0c2885bd207ae498330457e853"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._revert_firestore (cyclomatic 16): v3_0_0._revert_firestore 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b5387af171dbe534205a1e14a9ee5560c785bf13eff1153fd0abff482cccff"}},{"ruleId":"D1","level":"warning","message":{"text":"v3_0_0._migrate_dynamodb (cyclomatic 16): v3_0_0._migrate_dynamodb 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d569c47ac02bee6f6d42b29fd41d38bb23fd8b020e131392b8bd3e197b5b29"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncMongoDb.get_trace_stats (cyclomatic 16): AsyncMongoDb.get_trace_stats 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4058}}}],"partialFingerprints":{"codehealthFindingId/v1":"098cef17565b85fbced829118110471c780d9550e8cd26497d6e859c24e02042"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.get_trace_stats (cyclomatic 16): MongoDb.get_trace_stats 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8e64a90561089b9a6a5e1d432051e35e75b406783f9ea14db3cccf3b8e530a"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb.get_runs (cyclomatic 16): MySQLDb.get_runs 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2305e351ac2bf3d9e8225a29bf2cc16c6bf2521d43d419e9728b77f0571dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"MySQLDb.upsert_session (cyclomatic 16): MySQLDb.upsert_session 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b44010aea271d31cf2d3d723d8b6e371fee29daea3e802eb7e618a1e01c4bc"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncPostgresDb.get_tasks (cyclomatic 16): AsyncPostgresDb.get_tasks 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1463eeb49331619c9f7b763e73b2f4845d5cd0e43f3ff565501c9c2e3e5f61ec"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_runs (cyclomatic 16): PostgresDb.get_runs 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"369b811ce208a72a5142aedbc68bd7ff86cbd50ed5597687279261bc8b0c5e53"}},{"ruleId":"D1","level":"warning","message":{"text":"PostgresDb.get_tasks (cyclomatic 16): PostgresDb.get_tasks 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10908}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf440de3f1509f8995e829e19875494dc2041807c4a92b25530d804187ed47e"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisDb.get_runs (cyclomatic 16): RedisDb.get_runs 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e9164d98cf18fee590d6f95e8a961195e7ae5253bf168dde1b86fabe43019b"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb.get_runs (cyclomatic 16): SingleStoreDb.get_runs 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3888add551d247e9ec2a299d62085dd71cf43157a26e283fe1b2cd75d5ce91a"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleStoreDb.get_trace_stats (cyclomatic 16): SingleStoreDb.get_trace_stats 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":4233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd473386a402f945ba162ca05470c7938c5be6345a80b559e7e353f994e326be"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_user_memories (cyclomatic 16): AsyncSqliteDb.get_user_memories 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a526e8abc860ad3c6012f8cd889f1da930af8ec78feeede19bdf90169793354b"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncSqliteDb.get_tasks (cyclomatic 16): AsyncSqliteDb.get_tasks 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: AsyncSqliteDb._get_table (cyclomatic 28) 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7a31eaa8a68c79bc3857bac5c0f3537b7959d3d787d85514f9a8afeef29aec"}},{"ruleId":"D1","level":"warning","message":{"text":"SqliteDb.get_tasks (cyclomatic 16): SqliteDb.get_tasks 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":9849}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3b149ab72b0817bdb20175def641eece5a83302f1248f888ade76f2672b6d7"}},{"ruleId":"D1","level":"warning","message":{"text":"utils._add_metrics_tool_calls (cyclomatic 16): utils._add_metrics_tool_calls 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10dc7e70b3b85b3fa990f7d0fa9a84d36174fb56c2e7768b81727e0b987c513"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.build_metrics_by_owner (cyclomatic 16): utils.build_metrics_by_owner 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dfb62364076114ffad04c5e257e2336e3c757781b7fee042e71b09a5d1c01d"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystemTools.list_files (cyclomatic 16): FileSystemTools.list_files 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. This shape REPEATS in the file: one other method here (FileSystemTools.alist_files) 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"489678792e9ebee763d667155dc541bc2b740b2b6e5d2c5dc82b3cb4fa052ef6"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystemTools.alist_files (cyclomatic 16): FileSystemTools.alist_files 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. This shape REPEATS in the file: one other method here (FileSystemTools.list_files) 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a8207466f2a97d3d519c350703226b6acdc259952b2a086b94084785933cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"Knowledge._update_content (cyclomatic 16): Knowledge._update_content 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4806}}}],"partialFingerprints":{"codehealthFindingId/v1":"3619654a0c8d2b2bc27e1a3214f54a3acc28e446e4c13d8fb862a757145876ca"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCoordinator._embedding_pages (cyclomatic 16): PageCoordinator._embedding_pages 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9e9483fddf52257a0ab97acabd6c96cb98395817ec68e94fa80ac487ac4360"}},{"ruleId":"D1","level":"warning","message":{"text":"PageCoordinator.grep (cyclomatic 16): PageCoordinator.grep 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab03e7dba2b141e0be068919be6ed0be57b3843fded61e6bc3e7baa13e2b842c"}},{"ruleId":"D1","level":"warning","message":{"text":"CSVReader.read (cyclomatic 16): CSVReader.read 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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea85a8a9e69e74ce62bef2355d8045f1f87ef113d98121f19518696956e4aab"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldLabeledCSVReader.read (cyclomatic 16): FieldLabeledCSVReader.read 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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"be77459476e6d16f8424f3114aea83d0f2a41196016e14e025db94c73fef080e"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningMachine._serialize_store_input (cyclomatic 16): LearningMachine._serialize_store_input 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"965373cdd882a6805e3a8605cfd1725bf992934424689c4b2818c584c2de249e"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningMachine._deserialize_store_config (cyclomatic 16): LearningMachine._deserialize_store_config 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0584cc2560e44a9e2b0cfb9c12ff239e5d2248d25fbef9aa2b4b3b8d90a6011"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionLogStore._filter_decisions (cyclomatic 16): DecisionLogStore._filter_decisions 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47ae21018f3a6afc436bc89cfc0633a541f6a282566dc8be209f45b2944fc4e"}},{"ruleId":"D1","level":"warning","message":{"text":"Model._populate_assistant_message_from_stream_data (cyclomatic 16): Model._populate_assistant_message_from_stream_data 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef77db6f5849374d394c1947d2a4efc1a0c564193cfb3e1925d3113571ef6a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"MoonShot._upload_media (cyclomatic 16): MoonShot._upload_media 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":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"684057a1dfbb21b9cae97626a9ca267f6db247b00c3ec684eb2b1c9c5de420ee"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses.invoke_stream (cyclomatic 16): OpenAIResponses.invoke_stream 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. This shape REPEATS in the file: one other method here (OpenAIResponses.ainvoke_stream) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c36e034f3facf487a061367986c853a3c843d6dd9766fd378252c72abe92907"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIResponses.ainvoke_stream (cyclomatic 16): OpenAIResponses.ainvoke_stream 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. This shape REPEATS in the file: one other method here (OpenAIResponses.invoke_stream) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d851c788e8cbc7777f9a484a5c6f53bf406b1a890f5bdbad0c9b53168f21f37c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentOS._add_router (cyclomatic 16): AgentOS._add_router 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":"libs/agno/agno/os/app.py"},"region":{"startLine":2876}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e403aeb6e4fb17948cbc3c80e1879f57dcd39b8cce6e5400f0b5cec50d3f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"context.event_context_from_run (cyclomatic 16): context.event_context_from_run has cyclomatic complexity 16 (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":"libs/agno/agno/os/interfaces/slack/context.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4930ef494f748a559d82e28447feb62e0023ca6ff6beb8ef548dd4ff8107abd1"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.extract_message_payload (cyclomatic 16): helpers.extract_message_payload 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":"libs/agno/agno/os/interfaces/telegram/helpers.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699cd551d9f652d61476b4ae42d78e9625a78223903e458d386d97be6dcd1c6"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueWorker.stop (cyclomatic 16): QueueWorker.stop 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"173867e3974b4c83be6b4cd2ea35f6ced01da9dc5f9c592eac0841456b187099"}},{"ruleId":"D1","level":"warning","message":{"text":"router.agent_resumable_response_streamer (cyclomatic 16): router.agent_resumable_response_streamer 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffd69370ca8170908975f9a6f1ab2bdf26347031baebea366d8c618a7b90d4c"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.run_agent_as_judge_eval (cyclomatic 16): utils.run_agent_as_judge_eval 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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f64f7e05ab786c4f3de998aa44bcdc0bd4c83daf06cb68bcc70f7bf769b288"}},{"ruleId":"D1","level":"warning","message":{"text":"router._get_agent_filesystems (cyclomatic 16): router._get_agent_filesystems has cyclomatic complexity 16 (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":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"82404a07e6fe8608c981fd15d0c57d7f1c7a682fa24dbf1143f825ebc8fa169a"}},{"ruleId":"D1","level":"warning","message":{"text":"router._get_global_filesystem_agent_ids (cyclomatic 16): router._get_global_filesystem_agent_ids 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":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c85b9b6e84555be89e2e2b3da42ce82b72d8566f204e49ab4dc847d16f53bd7"}},{"ruleId":"D1","level":"warning","message":{"text":"router.workflow_continue_response_streamer (cyclomatic 16): router.workflow_continue_response_streamer 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ebc37a84124db1dde1f2feb1967690b80a02d58c75d55fbb1dfa09146d8a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.get_openai_reasoning_stream (cyclomatic 16): openai.get_openai_reasoning_stream 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. This shape REPEATS in the file: one other method here (openai.aget_openai_reasoning_stream) 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":"libs/agno/agno/reasoning/openai.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f6ffa6577616203fa99a2feb595c3271945403f817b8b09d70830ce4eb1d55"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.aget_openai_reasoning_stream (cyclomatic 16): openai.aget_openai_reasoning_stream 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. This shape REPEATS in the file: one other method here (openai.get_openai_reasoning_stream) 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":"libs/agno/agno/reasoning/openai.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1d449c1c6efeac3177782671f74b5bf4f96579347024d6ef56ada06ee9b68b"}},{"ruleId":"D1","level":"warning","message":{"text":"Registry._rehydrate_function (cyclomatic 16): Registry._rehydrate_function 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":"libs/agno/agno/registry/registry.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"71019ab75ff0b56ba8568ec3e37a38e86a4f9528f20fe37bec2b9783fa17ad9e"}},{"ruleId":"D1","level":"warning","message":{"text":"status_persist.persist_worker_owned_run (cyclomatic 16): status_persist.persist_worker_owned_run 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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e562f8e93635585643fb26038dbc56ada88c57eb65251f5a5568cb528e1f4661"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSession.get_messages (cyclomatic 16): WorkflowSession.get_messages 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":"libs/agno/agno/session/workflow.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5cb14a710c77bcaf6414d57e555d2052716613e293aec23697ca0928371965"}},{"ruleId":"D1","level":"warning","message":{"text":"_response.update_reasoning_content_from_tool_call (cyclomatic 16): _response.update_reasoning_content_from_tool_call 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a289e109c3aaa10fde5ecb4153111d391c4d3d799c8c4bdcaf61b502a65c17"}},{"ruleId":"D1","level":"warning","message":{"text":"_run.arun_dispatch (cyclomatic 16): _run.arun_dispatch 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e29e32d06965a93c9266279cff12e3bbed0219b772a109ca1e30b485e50a6c3"}},{"ruleId":"D1","level":"warning","message":{"text":"_run._route_requirements_to_members (cyclomatic 16): _run._route_requirements_to_members 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7918f4332b1c7a21ea2b25e16fc99633395c742db7b37eb540e0b24dd6aaae"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolBridge._build (cyclomatic 16): ToolBridge._build 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":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc947be6cb0e347dd26587f45f3adf423ac242617924fcc668b5b4b60f0ca74"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolBridge._serve_results (cyclomatic 16): ToolBridge._serve_results 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":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b26c3653eb95d5c8f776d491199ecd31de7dd4f0f5b0f2dc9718477c2930db"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleCalendarTools.update_event (cyclomatic 16): GoogleCalendarTools.update_event 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ebd5de7c43a86ea302f8844b2d31fac96ff3309fca670a3b08b1e20a177193"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleDriveTools.read_file (cyclomatic 16): GoogleDriveTools.read_file has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/drive.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b682daee40c9737906047c96bb6da1a0b468515f0e2194a315ef065c35caf54"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTools.build_tools (cyclomatic 16): MCPTools.build_tools 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":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c25c0422b8ea5ef035071c81f02a19ed6d9637ab35868ae696c5ff9b4cb182"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryTools.__init__ (cyclomatic 16): MemoryTools.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/memory.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f561f66ba886a65db75893c08e550d3744f884e944bda929dc73a4480ed2e14f"}},{"ruleId":"D1","level":"warning","message":{"text":"MLXTranscribeTools.transcribe (cyclomatic 16): MLXTranscribeTools.transcribe 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":"libs/agno/agno/tools/mlx_transcribe.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c50325d6f4c8e2f6653c0391a15237e18fa6bed5d4391486b022502941b95f"}},{"ruleId":"D1","level":"warning","message":{"text":"Neo4jTools.__init__ (cyclomatic 16): Neo4jTools.__init__ has cyclomatic complexity 16 (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":"libs/agno/agno/tools/neo4j.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7334bf5bb13e23ced062978b26ba849d0a73624004e1c459e7b05004b55fb09e"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenBBTools.__init__ (cyclomatic 16): OpenBBTools.__init__ has cyclomatic complexity 16 (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":"libs/agno/agno/tools/openbb.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6358a5eead94a243d00c3ab1c27f09bd9fb5c77c18ccb830e851dfdfafe6cec0"}},{"ruleId":"D1","level":"warning","message":{"text":"RedmineTools.search_issues (cyclomatic 16): RedmineTools.search_issues 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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8fbfdf635647913ec7e755ed0dad1df1e31fdc07f0fb49d5e917ec75cba029"}},{"ruleId":"D1","level":"warning","message":{"text":"SixtyDBTools.__init__ (cyclomatic 16): SixtyDBTools.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/sixtydb.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c74d4d5b7c2ab361c73fa469a21bfa0a1217e693c7832f0182c82199ef0867"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools.create_team (cyclomatic 16): StudioTools.create_team 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"417b22f4a9e9a29e749fa9e73dffe70819b21ff5da86741b390f10e2a2b88883"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioTools._resolve_members (cyclomatic 16): StudioTools._resolve_members 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5156}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d9feb0ffa71115078e2bc0ec96bc73443c959f4e200664e82bb0f6f8538a72"}},{"ruleId":"D1","level":"warning","message":{"text":"StudioRunnerTools._require_registry_for (cyclomatic 16): StudioRunnerTools._require_registry_for 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0c4bab53bb7b9073adfb6c37e021ed73cc71cce71422b46e2f3b13cf9c7156"}},{"ruleId":"D1","level":"warning","message":{"text":"VisualizationTools.create_scatter_plot (cyclomatic 16): VisualizationTools.create_scatter_plot 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":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8302d4fae76c33f128847d07ea6a8c769ac25d1ef1de6311fecffc1288a835e9"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.aget_last_run_output_util (cyclomatic 16): agent.aget_last_run_output_util 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be087103b09c0da0bae0bdc600113b353e5f446bcb96245556799b2a3853317"}},{"ruleId":"D1","level":"warning","message":{"text":"message.filter_tool_calls (cyclomatic 16): message.filter_tool_calls 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":"libs/agno/agno/utils/message.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"570f01f065a33b695bc56bb6abaf21cf86b6496690b3b383828362a58b6987b6"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.audio_to_message (cyclomatic 16): openai.audio_to_message 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":"libs/agno/agno/utils/openai.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c32ef2bbf8941b349a363bc74a42a6808ad8a07c96866eb6eb9b80f6088a03"}},{"ruleId":"D1","level":"warning","message":{"text":"response.create_paused_run_output_panel (cyclomatic 16): response.create_paused_run_output_panel 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":"libs/agno/agno/utils/response.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a3bd2af4319f6196428c3180a0c50f14541ad5d4752c4ca22cc3f741fb8511"}},{"ruleId":"D1","level":"warning","message":{"text":"schema.annotation_reaches (cyclomatic 16): schema.annotation_reaches 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":"libs/agno/agno/utils/schema.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"619a2fa1164f90e1f14174c02f36b3c245ecd6b0bcf90308bc9e0e4db34527e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromaDb.async_insert (cyclomatic 16): ChromaDb.async_insert 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. This shape REPEATS in the file: one other method here (ChromaDb._async_upsert) 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5ad1fb501ba88554013495ccf98295945ecccd08dc7da0edfc53c6ef57113b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromaDb._async_upsert (cyclomatic 16): ChromaDb._async_upsert 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. This shape REPEATS in the file: one other method here (ChromaDb.async_insert) 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba28b0467d1c08e572f1b8ad28e64bcb3100290b91f932491f468d0bf7816cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"CouchbaseSearch.upsert (cyclomatic 16): CouchbaseSearch.upsert 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbd923729380b6c0d92879477d0600eb168251b6fceb297e40a0e987c2e4e8b"}},{"ruleId":"D1","level":"warning","message":{"text":"MongoDb.async_insert (cyclomatic 16): MongoDb.async_insert 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7dcd9f9304ab191bf9d09897c62b82875c48d7f648bbfe1b93701997050e9"}},{"ruleId":"D1","level":"warning","message":{"text":"PineconeDb._prepare_vectors (cyclomatic 16): PineconeDb._prepare_vectors 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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b06d062b27500488edcd8d51ac73ce9acb808d4e824dab9afc64e49e83a23b"}},{"ruleId":"D1","level":"warning","message":{"text":"ValkeyDb._parse_hash (cyclomatic 16): ValkeyDb._parse_hash 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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff9c10a3454a1aa45d4bb83a4cdbde7d02befa2f1c56fe5f2991595fe52eb1"}},{"ruleId":"D1","level":"warning","message":{"text":"Workflow._prepare_steps (cyclomatic 16): Workflow._prepare_steps 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11062}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfe9b335ae15b8a61f1d98d04172183c32575d511a7d75cf9bfe87cdc443831"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadBalancer._create (cyclomatic 16): LoadBalancer._create 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":"libs/agno_infra/agno/aws/resource/elb/load_balancer.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f75a419b2a6c621152d7362aab1f7de445f409575f1b2a22d72fa48ebc7bcb5"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp_client._verify_mcp (cyclomatic 16): mcp_client._verify_mcp 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":"libs/agnoctl/agnoctl/mcp_client.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1888c89bfcb7b9e13a94d580228ac07cbcfb12f05dbbbc659ce703441f91b3"}},{"ruleId":"D1","level":"warning","message":{"text":"02_tool_error_persistence.scenario_b_model_call_fails (cyclomatic 16): 02_tool_error_persistence.scenario_b_model_call_fails 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":"cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bc3bafa693ccb9ba0d266875961cc757ea701eb283d2d88e9312fcd3e6a5e5"}},{"ruleId":"D1","level":"warning","message":{"text":"history_in_function.analyze_content_strategy (cyclomatic 16): history_in_function.analyze_content_strategy 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":"cookbook/04_workflows/06_advanced_concepts/history/history_in_function.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a8cc5c012a86c210948ffeb42560cba1b85893839ee7adc51a8b17754e44d"}},{"ruleId":"D1","level":"warning","message":{"text":"cancel_run.long_running_task (cyclomatic 16): cancel_run.long_running_task 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":"cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"426fd2dbed19c0fa3c8bd04cc326074b2ebf809a96143793d702a617713fccd2"}},{"ruleId":"D1","level":"warning","message":{"text":"01_step_confirmation_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 01_step_confirmation_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec82a4e51928ecaf9703c202d4ce6c5a1568aeef85ac0615cb8ed40e463e56d0"}},{"ruleId":"D1","level":"warning","message":{"text":"02_step_user_input_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 02_step_user_input_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39882b6f7ff0467c8649ae8f72a8712d1435669ac69d8f49f29c79b424871f2"}},{"ruleId":"D1","level":"warning","message":{"text":"03_condition_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 03_condition_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"267d4bee1bfa2fed61623143b262bc7d452fa6c2d489618c2ff644960c321d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"04_router_selection_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 04_router_selection_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f7b6a435b0dbeeb1cc1656ce0c026cc73065c3a26779aab4c29c8eb5748a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"05_output_review_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 05_output_review_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fd2ea5fbf0735f2bf4c430de0a9fc87eb8b02fd5288f0a6a6f567c1e0e0e78"}},{"ruleId":"D1","level":"warning","message":{"text":"06_loop_confirmation_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 06_loop_confirmation_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfcf49090a82b2f8498a89ccd2f47c5c8c36c795e12955c515c907080e5ce9d"}},{"ruleId":"D1","level":"warning","message":{"text":"07_router_confirmation_and_tool_confirmation.resolve_executor_pause (cyclomatic 16): 07_router_confirmation_and_tool_confirmation.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2d318eea616f4fecb7896d85544998c47e44613151c5528caf74f8393294d9"}},{"ruleId":"D1","level":"warning","message":{"text":"09_multi_step_mixed_hitl.resolve_executor_pause (cyclomatic 16): 09_multi_step_mixed_hitl.resolve_executor_pause 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"110c15323a82b844216f38fa9083dcbeb42308e72d487060600c687448b51fad"}},{"ruleId":"D2","level":"warning","message":{"text":"team.aprint_response_stream (cognitive 371): team.aprint_response_stream has cognitive complexity 371 (threshold 15). Drivers by points: if/else 86 (237 pts), loops 18 (61 pts), boolean chains 43, ternaries 5 (20 pts), error handling 2 (10 pts) (nesting depth added 217). 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc991cc93a2f342dbf864d939c6bcee686d3eb1d0e6c94b88122f1bec9da335"}},{"ruleId":"D2","level":"warning","message":{"text":"team.print_response_stream (cognitive 349): team.print_response_stream has cognitive complexity 349 (threshold 15). Drivers by points: if/else 83 (222 pts), loops 17 (56 pts), boolean chains 41, ternaries 5 (20 pts), error handling 2 (10 pts) (nesting depth added 201). 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6d8053b508a859562c0c8c57a45095c88efc5bb53bd1053ce541fbe7c4b912"}},{"ruleId":"D2","level":"warning","message":{"text":"_response._handle_model_response_chunk (cognitive 342): _response._handle_model_response_chunk has cognitive complexity 342 (threshold 15). Drivers by points: if/else 73 (272 pts), loops 8 (33 pts), ternaries 4 (20 pts), boolean chains 11, error handling 1 (6 pts) (nesting depth added 245). 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0f54db4091ef3932647fcead0c945140b7ca7305d15790fc9986cfaff0c9f0"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._acontinue_run_stream (cognitive 337): _run._acontinue_run_stream has cognitive complexity 337 (threshold 15). Drivers by points: if/else 76 (221 pts), loops 17 (59 pts), boolean chains 27, error handling 10 (27 pts), ternaries 2 (3 pts) (nesting depth added 205). 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9908}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3af3a29d1a40d7cf819270e6afaf9dcfb496f0c6fa94cff5e4e14d24949bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._acontinue_execute_stream (cognitive 334): Workflow._acontinue_execute_stream has cognitive complexity 334 (threshold 15). Drivers by points: if/else 72 (202 pts), boolean chains 73, ternaries 9 (32 pts), loops 6 (15 pts), error handling 6 (12 pts) (nesting depth added 168). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2548a398ad126c51ff2aed8beccffcca3e3991de14f025a318c2c801b5aee82b"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._continue_execute_stream (cognitive 332): Workflow._continue_execute_stream has cognitive complexity 332 (threshold 15). Drivers by points: if/else 71 (200 pts), boolean chains 73, ternaries 9 (32 pts), loops 6 (15 pts), error handling 6 (12 pts) (nesting depth added 167). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7825}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd68164db6038e59f94f5bfd3a43563b1192db711a5253108ec554a174946a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.aexecute_stream (cognitive 289): Step.aexecute_stream has cognitive complexity 289 (threshold 15). Drivers by points: if/else 59 (202 pts), boolean chains 33, ternaries 9 (31 pts), loops 5 (17 pts), error handling 3 (6 pts) (nesting depth added 180). 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a525da6a2d268edfd5e325061cde4e52c74ed6f7481f197e915466fdcff624d1"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.handle_model_response_chunk (cognitive 288): _response.handle_model_response_chunk has cognitive complexity 288 (threshold 15). Drivers by points: if/else 62 (227 pts), loops 8 (34 pts), boolean chains 11, ternaries 2 (10 pts), error handling 1 (6 pts) (nesting depth added 204). 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"756910a5a485958f3df5ce190525536bfb3100e63e2ec8ba1e98dc533e54f2b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._aexecute_stream (cognitive 281): Workflow._aexecute_stream has cognitive complexity 281 (threshold 15). Drivers by points: if/else 49 (150 pts), boolean chains 45, ternaries 8 (32 pts), error handling 11 (30 pts), loops 8 (24 pts) (nesting depth added 160). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae219f2e8260a12ff4d2728fb0595b6227c80d40ca48c379c150e7192702bc47"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.execute_stream (cognitive 261): Step.execute_stream has cognitive complexity 261 (threshold 15). Drivers by points: if/else 52 (174 pts), boolean chains 33, ternaries 9 (31 pts), loops 4 (13 pts), error handling 4 (10 pts) (nesting depth added 159). 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"47409e9f0c0493fabd12e165baaeaf77ca0658c488a01d3fad848f063600c1ea"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.print_response_stream (cognitive 254): workflow.print_response_stream has cognitive complexity 254 (threshold 15). Drivers by points: if/else 48 (127 pts), ternaries 16 (61 pts), boolean chains 51, loops 4 (14 pts), error handling 1 (nesting depth added 134). 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806e77a10e371b9e0baa45ecf3d198846dfafaab6b6d92e89aaf13255485d53"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.aprint_response_stream (cognitive 247): workflow.aprint_response_stream has cognitive complexity 247 (threshold 15). Drivers by points: if/else 47 (121 pts), ternaries 16 (61 pts), boolean chains 50, loops 4 (14 pts), error handling 1 (nesting depth added 129). 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f6d4bfdca81d5c35e1c99d073dc9ec79570bbee395d8bab0930797980c76f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._execute_stream (cognitive 246): Workflow._execute_stream has cognitive complexity 246 (threshold 15). Drivers by points: if/else 42 (125 pts), boolean chains 43, ternaries 8 (32 pts), error handling 10 (25 pts), loops 7 (21 pts) (nesting depth added 136). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d4e9194f5405ec8e9887604071f20d65956838fa06e74f719cc6bd52b093ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.aexecute (cognitive 236): Step.aexecute has cognitive complexity 236 (threshold 15). Drivers by points: if/else 50 (166 pts), ternaries 9 (31 pts), boolean chains 18, loops 3 (11 pts), error handling 4 (10 pts) (nesting depth added 152). 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f212d8cb2b8c6ffd2c40ef15a5bd1f13e1a8539bb15105a27b53aefa1e59f2"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._acontinue_run_stream (cognitive 235): _run._acontinue_run_stream has cognitive complexity 235 (threshold 15). Drivers by points: if/else 59 (160 pts), loops 9 (22 pts), error handling 8 (21 pts), boolean chains 17, ternaries 7 (15 pts) (nesting depth added 135). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde5e5be970a97a1bba1c39c6e096bc8e1c8af71bb6d813b119ad00c156b730f"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.from_dict (cognitive 228): Step.from_dict has cognitive complexity 228 (threshold 15). Drivers by points: if/else 53 (161 pts), error handling 10 (38 pts), boolean chains 26, ternaries 2 (3 pts) (nesting depth added 137). 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"63619bafbef6f9505c037430884bce12cae0c32a5f8013fb8504827aaff43af6"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.arun_function_calls (cognitive 224): Model.arun_function_calls has cognitive complexity 224 (threshold 15). Drivers by points: if/else 55 (169 pts), loops 12 (27 pts), boolean chains 20, error handling 3 (8 pts) (nesting depth added 134). 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafa1f6d431bc4c0e6175db10a249d9c2a8ee7ac8107534b674aa28a17974af3"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._acontinue_execute (cognitive 211): Workflow._acontinue_execute has cognitive complexity 211 (threshold 15). Drivers by points: if/else 54 (131 pts), boolean chains 52, ternaries 6 (18 pts), error handling 6 (9 pts), loops 1 (nesting depth added 92). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9047}}}],"partialFingerprints":{"codehealthFindingId/v1":"162080d8e716794d1c2b03f3878383e71c448f4aced532a64e5903ecb9a9b710"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._continue_execute (cognitive 208): Workflow._continue_execute has cognitive complexity 208 (threshold 15). Drivers by points: if/else 51 (128 pts), boolean chains 53, ternaries 6 (18 pts), error handling 5 (8 pts), loops 1 (nesting depth added 92). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6982}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78edabdde9000da95560baa430794601d1bb122946b16058a0744f23ecec611"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.execute (cognitive 197): Step.execute has cognitive complexity 197 (threshold 15). Drivers by points: if/else 43 (134 pts), ternaries 9 (31 pts), boolean chains 17, error handling 4 (10 pts), loops 2 (5 pts) (nesting depth added 122). 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"740a5598d8ae7961b7e523e04ec6556304dc99b5b9c16ab9b21bfa0ecdea2bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.to_dict (cognitive 193): _storage.to_dict has cognitive complexity 193 (threshold 15). Drivers by points: if/else 123 (162 pts), boolean chains 11, loops 4 (10 pts), ternaries 3 (7 pts), error handling 1 (3 pts) (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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"91545b3cdceb52559ab5832c1e1393aa0ab330a737fe36172b6c7573603eedcc"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._parse_provider_response (cognitive 185): GeminiInteractions._parse_provider_response has cognitive complexity 185 (threshold 15). Drivers by points: if/else 37 (144 pts), loops 5 (18 pts), boolean chains 15, ternaries 2 (8 pts) (nesting depth added 126). 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a782957a751fb772ea5a14bfd1bf3f428ccb14c59ac711d5cf53f6ed2442c9"}},{"ruleId":"D2","level":"warning","message":{"text":"team.print_response (cognitive 184): team.print_response has cognitive complexity 184 (threshold 15). Drivers by points: if/else 40 (116 pts), loops 9 (36 pts), boolean chains 21, ternaries 2 (11 pts) (nesting depth added 112). 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e5f88660e648154b7fa61da73e44a71079dcb1cacb8e6778fec64444d7c9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"team.aprint_response (cognitive 179): team.aprint_response has cognitive complexity 179 (threshold 15). Drivers by points: if/else 39 (111 pts), loops 9 (36 pts), boolean chains 21, ternaries 2 (11 pts) (nesting depth added 108). 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c95f51ee48b892113fcc86fe8238589274b4320550d19112dd80d86dff0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._arun_stream (cognitive 178): _run._arun_stream has cognitive complexity 178 (threshold 15). Drivers by points: if/else 46 (117 pts), loops 13 (33 pts), error handling 8 (18 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 102). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a07a09cc7428fedd1ecde0ea8bed6d12cfc5904f54f50e2473a5c97755a13e"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._acontinue_run (cognitive 173): _run._acontinue_run has cognitive complexity 173 (threshold 15). Drivers by points: if/else 45 (117 pts), boolean chains 25, error handling 9 (24 pts), loops 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 90). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":9424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75a38b0be5ce5c7051c92ccd9ca70741133874b4f53d4db77ee7198b026342b"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.to_dict (cognitive 173): _storage.to_dict has cognitive complexity 173 (threshold 15). Drivers by points: if/else 120 (145 pts), boolean chains 10, loops 3 (8 pts), ternaries 3 (7 pts), error handling 1 (3 pts) (nesting depth added 36). 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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d451eb78113709c61cbc2022f9be17c13030d12e7274197f98217567640b5035"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.from_dict (cognitive 166): _storage.from_dict has cognitive complexity 166 (threshold 15). Drivers by points: if/else 45 (113 pts), ternaries 7 (24 pts), boolean chains 18, error handling 2 (8 pts), loops 2 (3 pts) (nesting depth added 92). 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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd11a1742e33fac5d73df638e36a920ba220c2177ebac26f3cc274d47a30f9ba"}},{"ruleId":"D2","level":"warning","message":{"text":"claude.format_messages (cognitive 164): claude.format_messages has cognitive complexity 164 (threshold 15). Drivers by points: if/else 33 (111 pts), loops 8 (29 pts), boolean chains 12, ternaries 3 (12 pts) (nesting depth added 108). 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfb94c2f6d8d2d37b9a9481a32ecff14112dbcb8fe53d90823473f35e99e3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools._determine_tools_for_model (cognitive 163): _tools._determine_tools_for_model has cognitive complexity 163 (threshold 15). Drivers by points: if/else 41 (94 pts), ternaries 15 (37 pts), boolean chains 21, loops 4 (8 pts), error handling 1 (3 pts) (nesting depth added 81). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_tools.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0d352a3531f8ec92430f24b1f526099dc983aded5d922a18fca1d78c4dc376"}},{"ruleId":"D2","level":"warning","message":{"text":"_commands._cmd_rg (cognitive 160): _commands._cmd_rg has cognitive complexity 160 (threshold 15). Drivers by points: if/else 43 (107 pts), ternaries 9 (24 pts), loops 6 (15 pts), boolean chains 11, error handling 2 (3 pts) (nesting depth added 89). 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":"libs/agno/agno/knowledge/page/_commands.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b203d8b3ced63305d4af1e4f5f919c4016cbd005f2ead183aafaaf34cfa021f4"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._acontinue_run (cognitive 159): _run._acontinue_run has cognitive complexity 159 (threshold 15). Drivers by points: if/else 39 (103 pts), error handling 8 (21 pts), ternaries 7 (16 pts), boolean chains 15, loops 2 (4 pts) (nesting depth added 88). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4701}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f58c2325fc4ae662e5ae8493b21a10ac975e550181d90055253f3881108058d"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._parse_provider_response (cognitive 157): Gemini._parse_provider_response has cognitive complexity 157 (threshold 15). Drivers by points: if/else 40 (116 pts), boolean chains 20, ternaries 3 (13 pts), loops 3 (8 pts) (nesting depth added 91). 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723db2cf0abde099cdf004727af531468b82a45ade5d5d9aafdad299df63e55"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._run_stream (cognitive 152): _run._run_stream has cognitive complexity 152 (threshold 15). Drivers by points: if/else 40 (102 pts), loops 9 (21 pts), error handling 8 (20 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 87). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"478a93817449e2396070342e3a744a594d832b5dbf2a6f001d30ff627f44fabf"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._parse_provider_response_delta (cognitive 150): GeminiInteractions._parse_provider_response_delta has cognitive complexity 150 (threshold 15). Drivers by points: if/else 35 (101 pts), ternaries 6 (22 pts), boolean chains 21, error handling 1 (4 pts), loops 1 (2 pts) (nesting depth added 86). 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42eafcc8b9698b42e40889b2c5ae022aaf17ec850700fe217bab3fed97ea70d"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._aexecute (cognitive 149): Workflow._aexecute has cognitive complexity 149 (threshold 15). Drivers by points: if/else 32 (82 pts), boolean chains 23, error handling 7 (17 pts), ternaries 4 (15 pts), loops 4 (12 pts) (nesting depth added 79). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64097dafbc4f2600f96718d97154dcd48eccf19f188303ddb4b228a02c0ae14"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.response (cognitive 148): Model.response has cognitive complexity 148 (threshold 15). Drivers by points: if/else 30 (119 pts), boolean chains 12, loops 3 (7 pts), ternaries 4 (6 pts), error handling 1 (4 pts) (nesting depth added 98). 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. This shape REPEATS in the file: one other method here (Model.aresponse) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3f74eafc8dc985c088528adde36efaa928cdcd5a2c532b4242701f0ac663ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.aresponse (cognitive 148): Model.aresponse has cognitive complexity 148 (threshold 15). Drivers by points: if/else 30 (119 pts), boolean chains 12, loops 3 (7 pts), ternaries 4 (6 pts), error handling 1 (4 pts) (nesting depth added 98). 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. This shape REPEATS in the file: one other method here (Model.response) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"c524ac6cb8a5d36eadcfccca50d2d219215d372746aa8c3e9082f3a7c035c93d"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._format_messages (cognitive 144): Gemini._format_messages has cognitive complexity 144 (threshold 15). Drivers by points: if/else 26 (90 pts), loops 7 (21 pts), boolean chains 13, error handling 3 (12 pts), ternaries 2 (8 pts) (nesting depth added 93). 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c08c1b29da517810fe20962cf8b002f0839cdb431e8200918c6bb9fe2590e85"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._parse_provider_response_delta (cognitive 143): Gemini._parse_provider_response_delta has cognitive complexity 143 (threshold 15). Drivers by points: if/else 30 (102 pts), boolean chains 17, ternaries 3 (15 pts), loops 3 (9 pts) (nesting depth added 90). 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5d38c6d803a2d3117f34b89e3dec8df6a05a184bfc20a23cf7e8180f100671"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._execute (cognitive 142): Workflow._execute has cognitive complexity 142 (threshold 15). Drivers by points: if/else 29 (74 pts), boolean chains 23, error handling 9 (21 pts), ternaries 4 (15 pts), loops 3 (9 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fd1ae35f937e5dba5330bc89919d96308cd883c0d432b6c749b3db63cc29dc"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseExternalAgent._arun_stream (cognitive 141): BaseExternalAgent._arun_stream has cognitive complexity 141 (threshold 15). Drivers by points: if/else 34 (74 pts), boolean chains 31, loops 5 (14 pts), error handling 6 (11 pts), ternaries 8 (11 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agents/base.py"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eadced07abd63cc95ea86ccc03b16a96274541fbc5ac371ec9859d240c25cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._arun_stream (cognitive 135): _run._arun_stream has cognitive complexity 135 (threshold 15). Drivers by points: if/else 34 (85 pts), loops 12 (29 pts), error handling 8 (18 pts), boolean chains 3 (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"621c614653e62b3bda9619b0fee7187e722028ecaf350d2cd8e86af23312893e"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.acontinue_run (cognitive 133): Workflow.acontinue_run has cognitive complexity 133 (threshold 15). Drivers by points: if/else 52 (96 pts), boolean chains 28, loops 5 (6 pts), ternaries 3 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8636}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda95bed33d30daed700937f0ef1828b67c6c004361232c96f9c8ca46c513be1"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._arun_tasks_stream (cognitive 128): _run._arun_tasks_stream has cognitive complexity 128 (threshold 15). Drivers by points: if/else 45 (91 pts), loops 10 (20 pts), error handling 8 (12 pts), boolean chains 5 (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4160201495c0563c5b833e1b9ad87a5751fa79f919443582df11884967f42d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.continue_run (cognitive 127): Workflow.continue_run has cognitive complexity 127 (threshold 15). Drivers by points: if/else 50 (93 pts), boolean chains 26, loops 5 (6 pts), ternaries 2 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6596}}}],"partialFingerprints":{"codehealthFindingId/v1":"faad9de589afd33dfe38158390d467c0f66f81c5c6dcfe2d44444831c991a3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.continue_run_dispatch (cognitive 124): _run.continue_run_dispatch has cognitive complexity 124 (threshold 15). Drivers by points: if/else 49 (68 pts), boolean chains 38, ternaries 7 (10 pts), error handling 3 (8 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7468}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b63ce36538fe9fde7f48ce9ff5a08c538c7260987e17dcf6028b1f2ff1dd61"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsResources.create_resources (cognitive 123): AwsResources.create_resources has cognitive complexity 123 (threshold 15). Drivers by points: if/else 29 (83 pts), loops 12 (33 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 76). 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1742795932714d870095fb539b9fd293d1c3f7ab692666bf0dc41cb70281b896"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_to_database.run_trace_demo (cognitive 123): trace_to_database.run_trace_demo has cognitive complexity 123 (threshold 15). Drivers by points: if/else 26 (92 pts), ternaries 3 (11 pts), boolean chains 10, loops 3 (9 pts), error handling 1 (nesting depth added 80). 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":"cookbook/observability/trace_to_database.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd9fd099b8e38ce6d88772b5d2c977ac14bc8b2d5b6a2934f59d4bdb2366811"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerResources.create_resources (cognitive 122): DockerResources.create_resources has cognitive complexity 122 (threshold 15). Drivers by points: if/else 28 (82 pts), loops 12 (33 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 76). 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ead5b6326c7027589f2fbe53f397683bd21adc134b5f3f89e8b18c3cb1f2b3"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompanyScheduleExecutor._accept (cognitive 121): _CompanyScheduleExecutor._accept has cognitive complexity 121 (threshold 15). Drivers by points: if/else 48 (71 pts), boolean chains 34, loops 3 (6 pts), error handling 3 (5 pts), ternaries 4 (5 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa9a431961221daf742ac31b6badf8a98539b015f232ce2e250ecf5302b37a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Claude._parse_provider_response (cognitive 120): Claude._parse_provider_response has cognitive complexity 120 (threshold 15). Drivers by points: if/else 25 (75 pts), error handling 3 (18 pts), loops 5 (17 pts), boolean chains 10 (nesting depth added 77). 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da522338040a17b64316eb4a4d0b7b5c228eddbf20bd9a401bfe26697176a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.aget_system_message (cognitive 117): _messages.aget_system_message has cognitive complexity 117 (threshold 15). Drivers by points: if/else 54 (81 pts), ternaries 9 (14 pts), boolean chains 12, loops 3 (7 pts), error handling 1 (3 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca674cf3d829ae848be81901c38ead493a773a1a17b1cdab07a6f27ba1554cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"Claude._parse_provider_response_delta (cognitive 114): Claude._parse_provider_response_delta has cognitive complexity 114 (threshold 15). Drivers by points: if/else 27 (75 pts), loops 4 (15 pts), error handling 4 (13 pts), boolean chains 11 (nesting depth added 68). 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed79c6b5dfed0e723ec7e4cb6b30580f345c85cb8ca21c49f2f95ff74a38e72"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS.get_app (cognitive 114): AgentOS.get_app has cognitive complexity 114 (threshold 15). Drivers by points: if/else 49 (77 pts), boolean chains 17, ternaries 6 (9 pts), error handling 2 (7 pts), loops 3 (4 pts) (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":"libs/agno/agno/os/app.py"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa225e173cf032bd9905e4b42a31ae8b07e887f2def98560fcaed70eb3c8bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.get_system_message (cognitive 112): _messages.get_system_message has cognitive complexity 112 (threshold 15). Drivers by points: if/else 51 (75 pts), ternaries 9 (15 pts), boolean chains 12, loops 3 (7 pts), error handling 1 (3 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"60825ab51a267a63a9b651507869b44fd71d002710bf0152c4c36f60e9b87f7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.aresponse_stream (cognitive 109): Model.aresponse_stream has cognitive complexity 109 (threshold 15). Drivers by points: if/else 23 (58 pts), ternaries 11 (20 pts), boolean chains 14, loops 5 (13 pts), error handling 1 (4 pts) (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dd8f594108863488cfc7de9d94cb52d89db09c53ae1d32facca9997406f2f9"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._run_stream (cognitive 109): _run._run_stream has cognitive complexity 109 (threshold 15). Drivers by points: if/else 29 (73 pts), error handling 8 (20 pts), loops 6 (14 pts), boolean chains 2 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98a7ffd0f06c396a812fc049c0995a2cfb6f393a58345d72f0d8ab420c70e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.response_stream (cognitive 108): Model.response_stream has cognitive complexity 108 (threshold 15). Drivers by points: if/else 23 (58 pts), ternaries 11 (20 pts), boolean chains 13, loops 5 (13 pts), error handling 1 (4 pts) (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95f38e0a7481f08275e53246498cbf7175ea150da93da708571e07db1cccc5"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._run_tasks_stream (cognitive 106): _run._run_tasks_stream has cognitive complexity 106 (threshold 15). Drivers by points: if/else 37 (76 pts), error handling 8 (13 pts), loops 6 (13 pts), boolean chains 4 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e9cd81b825027518c5b11665bb1335b0a5d5f885d70e0a51c99d9dffe26391"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsBedrock._format_messages (cognitive 105): AwsBedrock._format_messages has cognitive complexity 105 (threshold 15). Drivers by points: if/else 23 (80 pts), loops 5 (17 pts), error handling 1 (5 pts), boolean chains 3 (nesting depth added 73). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d65b3570284a75a3b3c8fef62fc35c7768ad3d65797cfeafb815feb1491975"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityGroup.add_inbound_rules (cognitive 105): SecurityGroup.add_inbound_rules has cognitive complexity 105 (threshold 15). Drivers by points: if/else 25 (78 pts), error handling 6 (18 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 66). 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dc92c527f90f5c681eba7b761e386156b221146df31a74c6524387abba20d0"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.parse_tools (cognitive 104): _tools.parse_tools has cognitive complexity 104 (threshold 15). Drivers by points: if/else 21 (68 pts), ternaries 6 (17 pts), boolean chains 12, loops 2 (4 pts), error handling 1 (3 pts) (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"076e25edbbbb25b5939791343b3595013d775f72863dc227975f23731cd9044b"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthMiddleware._dispatch (cognitive 104): AuthMiddleware._dispatch has cognitive complexity 104 (threshold 15). Drivers by points: if/else 41 (68 pts), boolean chains 18, ternaries 3 (8 pts), error handling 5 (6 pts), loops 2 (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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8e616f0f9714d9ab0d7f1dd42e798b8611d077d5cd9f5e3eac053d7eccca2a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.print_response_stream (cognitive 103): agent.print_response_stream has cognitive complexity 103 (threshold 15). Drivers by points: if/else 28 (72 pts), error handling 3 (18 pts), boolean chains 12, loops 1 (nesting depth added 59). 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d55b213cc8bdbaa9b7344d67a3aa99a6f9ebd309eb7a527676933aeaf89a94a"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.upsert_sessions (cognitive 102): PostgresDb.upsert_sessions has cognitive complexity 102 (threshold 15). Drivers by points: if/else 35 (80 pts), loops 6 (12 pts), ternaries 3 (9 pts), error handling 1 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"09644fd4de265e47695e09c7bbae24cb9913845e24f33e7d1b47893d65a14366"}},{"ruleId":"D2","level":"warning","message":{"text":"ReasoningManager.stream_native_reasoning (cognitive 102): ReasoningManager.stream_native_reasoning has cognitive complexity 102 (threshold 15). Drivers by points: if/else 39 (84 pts), loops 9 (18 pts) (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ReasoningManager.astream_native_reasoning) 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f57b67cd85d9898562b9d7fd91bc3d9c70f28f8fc9086ba07c0c0163019fdfe"}},{"ruleId":"D2","level":"warning","message":{"text":"ReasoningManager.astream_native_reasoning (cognitive 102): ReasoningManager.astream_native_reasoning has cognitive complexity 102 (threshold 15). Drivers by points: if/else 39 (84 pts), loops 9 (18 pts) (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ReasoningManager.stream_native_reasoning) 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58930362588d5c1b0c5b6b4ff0951a3c2ea92ed30cdb50d325ba79dc017b001"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._continue_run_stream (cognitive 102): _run._continue_run_stream has cognitive complexity 102 (threshold 15). Drivers by points: if/else 26 (70 pts), error handling 7 (17 pts), loops 5 (13 pts), boolean chains 2 (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":8462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3651598a74b08ecb0df4814d320be568932fa07c595b4fa847c8c2bb78c1120f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.upsert_sessions (cognitive 101): AsyncSqliteDb.upsert_sessions has cognitive complexity 101 (threshold 15). Drivers by points: if/else 28 (72 pts), loops 7 (16 pts), ternaries 3 (9 pts), boolean chains 3, error handling 1 (nesting depth added 59). 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e16b133f9c543e25f88aaa383b09a50a3d1d481a862b1a521891457efdc025c"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.upsert_sessions (cognitive 101): SqliteDb.upsert_sessions has cognitive complexity 101 (threshold 15). Drivers by points: if/else 28 (72 pts), loops 7 (16 pts), ternaries 3 (9 pts), boolean chains 3, error handling 1 (nesting depth added 59). 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6287e686831a9d3d6d43d30bcd0680371f72b8c0ba8e4ca61cfcd773e892af9b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRunOutputEvent.to_dict (cognitive 99): BaseRunOutputEvent.to_dict has cognitive complexity 99 (threshold 15). Drivers by points: if/else 45 (60 pts), boolean chains 24, loops 6 (11 pts), ternaries 2 (4 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":"libs/agno/agno/run/base.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"07743847c5f2d32d528dee95211193d745348bb6b3fdf8e4c52105987afe5de2"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.convert_schema (cognitive 99): gemini.convert_schema has cognitive complexity 99 (threshold 15). Drivers by points: if/else 38 (76 pts), boolean chains 8, ternaries 2 (8 pts), loops 3 (7 pts) (nesting depth added 48). 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":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af1c0a1c644fc6f8a27c827cdf36ea61f4b35c98eec502446e93c4046f83053"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop.execute_stream (cognitive 99): Loop.execute_stream has cognitive complexity 99 (threshold 15). Drivers by points: if/else 21 (51 pts), boolean chains 24, loops 6 (15 pts), ternaries 4 (9 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. This shape REPEATS in the file: one other method here (Loop.aexecute_stream) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cace971b4b39ee8752f1647a7e5984728559c273768bd5fd11bdeec9aa3f27"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop.aexecute_stream (cognitive 99): Loop.aexecute_stream has cognitive complexity 99 (threshold 15). Drivers by points: if/else 21 (51 pts), boolean chains 24, loops 6 (15 pts), ternaries 4 (9 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. This shape REPEATS in the file: one other method here (Loop.execute_stream) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd087a55a957c0396c203867536b6eee73f3d3ff33327612301fa8fde5bb5c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb._get_collection (cognitive 98): AsyncMongoDb._get_collection has cognitive complexity 98 (threshold 15). Drivers by points: if/else 42 (84 pts), boolean chains 14 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e6cd61f5bfafe5e3474a8a4009c380a09a3520f505492006b819e9293bc502"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker._execute_claimed_inner (cognitive 97): QueueWorker._execute_claimed_inner has cognitive complexity 97 (threshold 15). Drivers by points: if/else 37 (61 pts), error handling 9 (16 pts), boolean chains 13, ternaries 3 (7 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ffe78abe43dea17ffc55c981bc90152aa31851bbd095574e6d3d7e1ebf5afd"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRequirement.from_dict (cognitive 97): RunRequirement.from_dict has cognitive complexity 97 (threshold 15). Drivers by points: if/else 26 (65 pts), loops 5 (19 pts), boolean chains 7, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 56). 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":"libs/agno/agno/run/requirement.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"75875348078235927d6ca213c4fbf3087f1a549461f9f23e92c3b067fb551a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.upsert_config (cognitive 96): PostgresDb.upsert_config has cognitive complexity 96 (threshold 15). Drivers by points: if/else 40 (74 pts), boolean chains 7, loops 3 (7 pts), ternaries 3 (5 pts), error handling 2 (3 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c0b8c76164bf22fd24ceef0feba9caf90021d2365730cbd9e0fa8438fde7c"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.upsert_config (cognitive 96): SqliteDb.upsert_config has cognitive complexity 96 (threshold 15). Drivers by points: if/else 40 (74 pts), boolean chains 7, loops 3 (7 pts), ternaries 3 (5 pts), error handling 2 (3 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":6488}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb0c3d245299fa483b2fe60b111256600e4fd806504c7d0eda34966ac46c1d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamSession.get_messages (cognitive 94): TeamSession.get_messages has cognitive complexity 94 (threshold 15). Drivers by points: if/else 29 (65 pts), loops 7 (18 pts), boolean chains 11 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/session/team.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd208d67dfc07816439b033273ba3f675a492bd15d990f9c37d1fa57d61e55d1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.aprint_response_stream (cognitive 94): agent.aprint_response_stream has cognitive complexity 94 (threshold 15). Drivers by points: if/else 27 (66 pts), error handling 3 (15 pts), boolean chains 12, loops 1 (nesting depth added 51). 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd83fbb7c65b0cf689c55a9329e283b6b61ae15408574091e72ef552e88d9208"}},{"ruleId":"D2","level":"warning","message":{"text":"prompts.get_json_output_prompt (cognitive 94): prompts.get_json_output_prompt has cognitive complexity 94 (threshold 15). Drivers by points: if/else 17 (74 pts), loops 3 (18 pts), boolean chains 2 (nesting depth added 72). 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":"libs/agno/agno/utils/prompts.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4383c94a91cc760379c0a3a2be94a317e8ec5136924a4ef90b884cc138bfdfca"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition.execute_stream (cognitive 94): Condition.execute_stream has cognitive complexity 94 (threshold 15). Drivers by points: if/else 25 (50 pts), boolean chains 30, error handling 3 (6 pts), ternaries 3 (5 pts), loops 2 (3 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. This shape REPEATS in the file: one other method here (Condition.aexecute_stream) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8614fdba3519efa544755caf58bf46159bfc5b2d7b81e645332dbfa1ebaef3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition.aexecute_stream (cognitive 94): Condition.aexecute_stream has cognitive complexity 94 (threshold 15). Drivers by points: if/else 25 (50 pts), boolean chains 30, error handling 3 (6 pts), ternaries 3 (5 pts), loops 2 (3 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. This shape REPEATS in the file: one other method here (Condition.execute_stream) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cecc4046583f450f9c0be2665a083cd49ced9863b9a26a82577dc88960f6bde"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.from_dict (cognitive 93): Message.from_dict has cognitive complexity 93 (threshold 15). Drivers by points: if/else 34 (64 pts), boolean chains 21, loops 4 (8 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":"libs/agno/agno/models/message.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c3907bb8f9a78a42ada95efedc02c79ab4d0f39b7d6c0a522804750a438828"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicMiddleware.__call__ (cognitive 93): PublicMiddleware.__call__ has cognitive complexity 93 (threshold 15). Drivers by points: if/else 35 (49 pts), boolean chains 20, ternaries 12 (19 pts), error handling 4 (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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"165357cdcd2aca662472238bfc6f0bca3d6884b3a6a47caf78a816580cd3a7fd"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityGroup.add_outbound_rules (cognitive 91): SecurityGroup.add_outbound_rules has cognitive complexity 91 (threshold 15). Drivers by points: if/else 22 (65 pts), error handling 6 (18 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8de328c1ee4c6ba793e0fca0efcfbc849d0985b2b850ac917677b3209de718"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsResources.delete_resources (cognitive 91): AwsResources.delete_resources has cognitive complexity 91 (threshold 15). Drivers by points: if/else 26 (61 pts), loops 11 (23 pts), boolean chains 5, error handling 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd62a6a2b49dd7cd3390b6b4b0c9bd5370c98ce93d0040001b6bab729342ae9"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._arun (cognitive 90): _run._arun has cognitive complexity 90 (threshold 15). Drivers by points: if/else 24 (55 pts), error handling 8 (18 pts), loops 3 (7 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88151b370b4437819441182550afb67ff8ce38b8967725ae4602d399a3f5d86"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_request_kwargs (cognitive 90): utils.get_request_kwargs has cognitive complexity 90 (threshold 15). Drivers by points: if/else 27 (50 pts), error handling 8 (17 pts), boolean chains 9, loops 4 (7 pts), ternaries 3 (7 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"51605d27072c841d18d168844c4494fe21f126916e554e45958b644f09e42060"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._arun_adapter_stream (cognitive 89): ClaudeAgent._arun_adapter_stream has cognitive complexity 89 (threshold 15). Drivers by points: if/else 16 (62 pts), ternaries 2 (13 pts), loops 3 (8 pts), boolean chains 6 (nesting depth added 62). 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fc4816ef3d2551402ef375de98bc429e5dfea2384f19aa610e1dc93eb29858"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.run_function_call (cognitive 89): Model.run_function_call has cognitive complexity 89 (threshold 15). Drivers by points: if/else 27 (72 pts), boolean chains 8, error handling 5 (7 pts), loops 1 (2 pts) (nesting depth added 48). 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e017cde8803012b129a6d7297c5664161f03f9121693de6225359be2be6c18"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.aget_system_message (cognitive 89): _messages.aget_system_message has cognitive complexity 89 (threshold 15). Drivers by points: if/else 37 (62 pts), ternaries 9 (15 pts), boolean chains 6, error handling 1 (3 pts), loops 1 (3 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"513333b71216dfe5bd46dddfe84bd992a218fb5dbd165986a86a55f9aa247e17"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerResources.delete_resources (cognitive 88): DockerResources.delete_resources has cognitive complexity 88 (threshold 15). Drivers by points: if/else 24 (58 pts), loops 11 (23 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9456e0938f37356a651c4352346f4d674ed5efea3bb595c73bffa6a7142267e"}},{"ruleId":"D2","level":"warning","message":{"text":"connect._connect (cognitive 88): connect._connect has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 18, ternaries 9 (17 pts), error handling 3 (6 pts), loops 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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2607f1a961accf4cecbfc311cae88c1cf569735f3dd892463fb186abfdd0b24"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._continue_run_stream (cognitive 87): _run._continue_run_stream has cognitive complexity 87 (threshold 15). Drivers by points: if/else 22 (56 pts), error handling 7 (17 pts), loops 5 (9 pts), boolean chains 5 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3905}}}],"partialFingerprints":{"codehealthFindingId/v1":"af944247c8f4e634b65636b96a174e8e6f0a01c216ed339dcfef77e3344c6202"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.from_dict (cognitive 87): _storage.from_dict has cognitive complexity 87 (threshold 15). Drivers by points: if/else 33 (60 pts), boolean chains 13, ternaries 5 (10 pts), error handling 1 (2 pts), loops 1 (2 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c983474676264aa970aaca5276c47241c15282d82d5397c4f0ebe45428c1dcb3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.upsert_sessions (cognitive 87): AsyncMySQLDb.upsert_sessions has cognitive complexity 87 (threshold 15). Drivers by points: if/else 26 (61 pts), loops 7 (16 pts), ternaries 3 (9 pts), error handling 1 (nesting depth added 50). 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a972130093616497103ddbb485c3d5b8c2001d9287636e3b9fda14d4685ee"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.upsert_sessions (cognitive 87): MySQLDb.upsert_sessions has cognitive complexity 87 (threshold 15). Drivers by points: if/else 26 (61 pts), loops 7 (16 pts), ternaries 3 (9 pts), error handling 1 (nesting depth added 50). 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"905737d42c1fa5f662fcb958e7179332a45146172159a6287cd04fc10e0d07cc"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleToolkit._resolve_creds (cognitive 87): GoogleToolkit._resolve_creds has cognitive complexity 87 (threshold 15). Drivers by points: if/else 31 (59 pts), boolean chains 16, error handling 4 (12 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/base.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c630316474eb12e683d1a6751f82729e5efd833375c56f2625159901064f103"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._build_input (cognitive 86): GeminiInteractions._build_input has cognitive complexity 86 (threshold 15). Drivers by points: if/else 16 (54 pts), loops 6 (21 pts), error handling 1 (6 pts), boolean chains 5 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26916393da244ac36ca7b2e55266d5fba3dd73a6da5fecbfe497134caf5ce98"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.get_system_message (cognitive 86): _messages.get_system_message has cognitive complexity 86 (threshold 15). Drivers by points: if/else 35 (58 pts), ternaries 9 (16 pts), boolean chains 6, error handling 1 (3 pts), loops 1 (3 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c79a67e2fc9d5a15670b60e9f4badeffac50d5df3c91ec286c90f96c82b089"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._get_collection (cognitive 84): MongoDb._get_collection has cognitive complexity 84 (threshold 15). Drivers by points: if/else 42 (84 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b658920dca99b990bcac94a32716b6802e3c2199c1b880a0f68dca40d3746"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.log (cognitive 84): Message.log has cognitive complexity 84 (threshold 15). Drivers by points: if/else 29 (51 pts), boolean chains 15, ternaries 4 (11 pts), error handling 2 (5 pts), loops 1 (2 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":"libs/agno/agno/models/message.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc2ac1aa73a34be6c0e88184d6adba6514acec0e3d102b1578d4f00be42ca0b"}},{"ruleId":"D2","level":"warning","message":{"text":"message.reformat_tool_call_ids (cognitive 84): message.reformat_tool_call_ids has cognitive complexity 84 (threshold 15). Drivers by points: if/else 17 (55 pts), boolean chains 10, ternaries 2 (10 pts), loops 4 (9 pts) (nesting depth added 51). 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":"libs/agno/agno/utils/message.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"935a1281920b9dd5a354cf66d91636a437e0a6535f64aff31ddf69243e794a43"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsResources.update_resources (cognitive 84): AwsResources.update_resources has cognitive complexity 84 (threshold 15). Drivers by points: if/else 25 (57 pts), loops 10 (20 pts), boolean chains 5, error handling 1 (2 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf429185eeaa1d937d3878ddd85a18332d5e033c4f11cc42e3efdf66ff90eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerResources.update_resources (cognitive 83): DockerResources.update_resources has cognitive complexity 83 (threshold 15). Drivers by points: if/else 24 (56 pts), loops 10 (20 pts), boolean chains 5, error handling 1 (2 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"d457cb3a7d97af790f23a07ecf9c6afa0acd2cffde29052805d881e3fd61ae70"}},{"ruleId":"D2","level":"warning","message":{"text":"ReliabilityEval._evaluate (cognitive 82): ReliabilityEval._evaluate has cognitive complexity 82 (threshold 15). Drivers by points: if/else 25 (53 pts), loops 7 (13 pts), boolean chains 9, ternaries 3 (7 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":"libs/agno/agno/eval/reliability.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb561babe1747c76e590eeedcd9e7429033ef182b1817bb6f1544fb830d031d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses._format_messages (cognitive 82): OpenAIResponses._format_messages has cognitive complexity 82 (threshold 15). Drivers by points: if/else 18 (56 pts), boolean chains 13, loops 4 (10 pts), ternaries 1 (3 pts) (nesting depth added 46). 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af69541e897d49be4176732603ae2438d13d7612199670062f73e790467e7b"}},{"ruleId":"D2","level":"warning","message":{"text":"connect._connect_one (cognitive 82): connect._connect_one has cognitive complexity 82 (threshold 15). Drivers by points: if/else 29 (62 pts), boolean chains 17, ternaries 2 (3 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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"25390d0ed477b46af189aec8b2fdaa140a9f25885c33240f5862d70d760aaea6"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator.sync (cognitive 81): PageCoordinator.sync has cognitive complexity 81 (threshold 15). Drivers by points: if/else 24 (48 pts), error handling 6 (13 pts), boolean chains 12, loops 3 (4 pts), ternaries 3 (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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"181af4be2be1c7cf74ab95b856ea15078af2ef8320c7da3bababc985346e1df5"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming.stream_run_events_to_task (cognitive 81): streaming.stream_run_events_to_task has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (53 pts), boolean chains 14, ternaries 5 (11 pts), loops 2 (3 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":"libs/agno/agno/os/interfaces/a2a/streaming.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bf2cce018259437f7f114e37d14a77487205a3d026d99691d34d29c72154af"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat._parse_provider_response_delta (cognitive 80): OpenAIChat._parse_provider_response_delta has cognitive complexity 80 (threshold 15). Drivers by points: if/else 18 (59 pts), boolean chains 8, ternaries 1 (5 pts), error handling 1 (4 pts), loops 1 (4 pts) (nesting depth added 51). 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f417398d807e40e1f05bdcf15b0642aa5568c17e41f53214e67dd5e1e789a88b"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.get_user_message (cognitive 79): _messages.get_user_message has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 19 (40 pts), if/else 14 (27 pts), error handling 3 (7 pts), boolean chains 5 (nesting depth added 38). 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. This shape REPEATS in the file: one other method here (_messages.aget_user_message) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e704ebbaab4172c33775de0745c406af3f88b063441df4cc48daf4329050121"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.aget_user_message (cognitive 79): _messages.aget_user_message has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 19 (40 pts), if/else 14 (27 pts), error handling 3 (7 pts), boolean chains 5 (nesting depth added 38). 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. This shape REPEATS in the file: one other method here (_messages.get_user_message) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c4795ee0f4acbe9849d963e6275545b5dd6422e3ccbcdbb6877665240ac407"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.upsert_sessions (cognitive 79): ValkeyDb.upsert_sessions has cognitive complexity 79 (threshold 15). Drivers by points: if/else 20 (36 pts), ternaries 8 (22 pts), boolean chains 11, loops 6 (9 pts), error handling 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"40652a11f25a7230eef68832d32ec64b4fbd1d2d4187560f0c64e8efc7792799"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._run (cognitive 78): _run._run has cognitive complexity 78 (threshold 15). Drivers by points: if/else 20 (47 pts), error handling 8 (20 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef17e442941b21d794ee52d2620e5aca799c22a818134653687febfa9f090d41"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.upsert_sessions (cognitive 78): SingleStoreDb.upsert_sessions has cognitive complexity 78 (threshold 15). Drivers by points: if/else 21 (52 pts), loops 7 (16 pts), ternaries 3 (9 pts), error handling 1 (nesting depth added 46). 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61562cc5223026faba1d7c0d6f6c8b3ec6099d38bc9c187ccdf4eb8775f261e"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.add_metrics_totals (cognitive 78): utils.add_metrics_totals has cognitive complexity 78 (threshold 15). Drivers by points: loops 9 (31 pts), if/else 8 (24 pts), boolean chains 23 (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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d674875033c128f9bb820e46c6cfd130a138da218ec1b98611b8e932ec3688dc"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._apply_component_fields (cognitive 78): StudioTools._apply_component_fields has cognitive complexity 78 (threshold 15). Drivers by points: if/else 36 (63 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (4 pts) (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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9161fe52a23f7c6831cf0fc411c89c41b4ea32f1bbd4ce728ea19324973dc9c4"}},{"ruleId":"D2","level":"warning","message":{"text":"_response._convert_response_to_structured_format (cognitive 77): _response._convert_response_to_structured_format has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (67 pts), error handling 2 (8 pts), boolean chains 1, ternaries 1 (nesting depth added 50). 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d7b839affeade3afc7e7ae8e89316bc91c9267bd24dee25c6ecb949dab4133"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSession.get_messages (cognitive 76): AgentSession.get_messages has cognitive complexity 76 (threshold 15). Drivers by points: if/else 26 (56 pts), loops 5 (12 pts), boolean chains 8 (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":"libs/agno/agno/session/agent.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534b1074b7106b846e43fad12a85d1bfffb7fb24034bc29084bed16843359c5"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventStream.tail (cognitive 75): RedisEventStream.tail has cognitive complexity 75 (threshold 15). Drivers by points: if/else 17 (56 pts), loops 4 (7 pts), boolean chains 6, error handling 2 (5 pts), ternaries 1 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/event_streams/redis.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f20b24e38261e9b080c0e4fdabea8edc59fc8cce6ba91db09141b731296ccf5"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleExecutor.execute (cognitive 74): ScheduleExecutor.execute has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (47 pts), error handling 7 (16 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"057a5b7f8c7335a0e25eceb87316c5f9b1d8e8573d44209c950167649464a6b1"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._get_request_kwargs (cognitive 73): GeminiInteractions._get_request_kwargs has cognitive complexity 73 (threshold 15). Drivers by points: if/else 38 (61 pts), ternaries 3 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a27da57cb5d14206d10ae2b7e27e4c180105a2b9b371a7965c47393d6e9efa"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._get_user_message (cognitive 73): _messages._get_user_message has cognitive complexity 73 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 13 (30 pts), error handling 3 (7 pts), boolean chains 6 (nesting depth added 35). 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. This shape REPEATS in the file: one other method here (_messages._aget_user_message) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e092325d57438726abd72cde8ac13bab88e6996ca32d25d494e2d1f8c0c0058a"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._aget_user_message (cognitive 73): _messages._aget_user_message has cognitive complexity 73 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 13 (30 pts), error handling 3 (7 pts), boolean chains 6 (nesting depth added 35). 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. This shape REPEATS in the file: one other method here (_messages._get_user_message) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a6e530000d10ae42fd39202897ea5cf7f913b87847e54f66bc4b1b23e1b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._arun_tasks (cognitive 73): _run._arun_tasks has cognitive complexity 73 (threshold 15). Drivers by points: if/else 26 (50 pts), error handling 7 (11 pts), loops 4 (6 pts), boolean chains 4, ternaries 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9937f8c6eb419d5483b1d19a8163fb397af46cbbb6c0e5fa4d37eaa9ec806f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.build_panels (cognitive 73): agent.build_panels has cognitive complexity 73 (threshold 15). Drivers by points: if/else 23 (47 pts), boolean chains 10, error handling 3 (9 pts), loops 3 (7 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f3d49007894c7107b8167481c0f1d643210531d2cac040104eadeebafe2040"}},{"ruleId":"D2","level":"warning","message":{"text":"DbInstance._create (cognitive 73): DbInstance._create has cognitive complexity 73 (threshold 15). Drivers by points: if/else 62 (68 pts), boolean chains 2, loops 1 (2 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46f08f16e01833b7e61358f70c55de96e15252d2bdbff4934f17996d4e47b62"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses._parse_provider_response (cognitive 72): OpenAIResponses._parse_provider_response has cognitive complexity 72 (threshold 15). Drivers by points: if/else 17 (54 pts), loops 4 (13 pts), boolean chains 5 (nesting depth added 46). 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f05add0be13c7e49e81c7b047c55392744ba1752065ca785e48e1b6a66d4e01"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnostics._check (cognitive 72): diagnostics._check has cognitive complexity 72 (threshold 15). Drivers by points: if/else 25 (48 pts), boolean chains 15, ternaries 2 (5 pts), 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":"libs/agno/agno/os/diagnostics.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0df744dcb52fa940250081bff8381f8d80f47af43347e5db34911e9010be4d1"}},{"ruleId":"D2","level":"warning","message":{"text":"streamlit._load_session (cognitive 72): streamlit._load_session has cognitive complexity 72 (threshold 15). Drivers by points: if/else 13 (51 pts), loops 2 (8 pts), ternaries 1 (6 pts), boolean chains 5, error handling 2 (nesting depth added 49). 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":"libs/agno/agno/utils/streamlit.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560eaed0a4164bc73ce50c14257a1cc527847b2ea98e622543e1b9c987a910c"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aload_url_page_groups (cognitive 71): Knowledge._aload_url_page_groups has cognitive complexity 71 (threshold 15). Drivers by points: if/else 20 (43 pts), error handling 5 (14 pts), boolean chains 6, loops 3 (5 pts), ternaries 2 (3 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. This shape REPEATS in the file: one other method here (Knowledge._load_url_page_groups) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce04955b8af9f76da1a91939241ff472a51596b895d7db78f35a40c29aa36ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._load_url_page_groups (cognitive 71): Knowledge._load_url_page_groups has cognitive complexity 71 (threshold 15). Drivers by points: if/else 20 (43 pts), error handling 5 (14 pts), boolean chains 6, loops 3 (5 pts), ternaries 2 (3 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. This shape REPEATS in the file: one other method here (Knowledge._aload_url_page_groups) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4931c0e443ccda05b6bb2891e140ababd8569ac45e99ee22eb5df2a09ef7442e"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOutput.to_dict (cognitive 71): RunOutput.to_dict has cognitive complexity 71 (threshold 15). Drivers by points: if/else 38 (50 pts), loops 6 (11 pts), ternaries 4 (8 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"34048486035f920fc102b61c34f201e4749e3d5d24a522b898eb051e73807634"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._arun (cognitive 71): _run._arun has cognitive complexity 71 (threshold 15). Drivers by points: if/else 18 (41 pts), error handling 8 (18 pts), loops 3 (7 pts), boolean chains 3, ternaries 1 (2 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12e78d6fd7c132fadb01506b79a717091fa564a5698118c7a1231f561f10968"}},{"ruleId":"D2","level":"warning","message":{"text":"DbInstance._update (cognitive 71): DbInstance._update has cognitive complexity 71 (threshold 15). Drivers by points: if/else 57 (63 pts), boolean chains 4, loops 2 (3 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b23bc7860791d92478253eaf079239165ebb54f02566515b858afe5469c6f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.continue_run_dispatch (cognitive 70): _run.continue_run_dispatch has cognitive complexity 70 (threshold 15). Drivers by points: if/else 26 (40 pts), boolean chains 16, ternaries 7 (10 pts), error handling 1 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3307}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeeb72c34cb6f00fb903d4bb9b1cbc932a60d6aa5678a50f137a75443a38598"}},{"ruleId":"D2","level":"warning","message":{"text":"PageSource.fetch (cognitive 70): PageSource.fetch has cognitive complexity 70 (threshold 15). Drivers by points: if/else 13 (44 pts), loops 4 (9 pts), error handling 2 (6 pts), ternaries 2 (6 pts), boolean chains 5 (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":"libs/agno/agno/knowledge/page/_source.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e812093d32b80a21bafa9b2ac3dc84b84ca66c2b3a0554d74ab5072978071207"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSession.get_messages_from_team_runs (cognitive 70): WorkflowSession.get_messages_from_team_runs has cognitive complexity 70 (threshold 15). Drivers by points: if/else 22 (52 pts), loops 5 (12 pts), boolean chains 6 (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":"libs/agno/agno/session/workflow.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"069420cd565372f5aae6947d632afdf7496240c4a1df7069e399e1d8cece2005"}},{"ruleId":"D2","level":"warning","message":{"text":"streamlit.session_selector_widget (cognitive 70): streamlit.session_selector_widget has cognitive complexity 70 (threshold 15). Drivers by points: if/else 24 (51 pts), boolean chains 9, error handling 2 (6 pts), loops 2, ternaries 2 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/streamlit.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c98e1e5fa4e73fb4eb0d4690435dceba6c55713d5937b93628f003812c40b1b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.upsert_sessions (cognitive 69): AsyncMongoDb.upsert_sessions has cognitive complexity 69 (threshold 15). Drivers by points: if/else 23 (52 pts), ternaries 3 (8 pts), loops 3 (5 pts), boolean chains 3, error handling 1 (nesting depth added 36). 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c83944eef7caac882173609360f7ef578d46c1d68e76c252924f98c33a31bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.upsert_sessions (cognitive 69): MongoDb.upsert_sessions has cognitive complexity 69 (threshold 15). Drivers by points: if/else 23 (52 pts), ternaries 3 (8 pts), loops 3 (5 pts), boolean chains 3, error handling 1 (nesting depth added 36). 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ee2a393ca7b0abf9c7fe0f6a894132f13627a1f0312d79920ff1c1e5338510"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS.__init__ (cognitive 69): AgentOS.__init__ has cognitive complexity 69 (threshold 15). Drivers by points: if/else 30 (37 pts), boolean chains 18, ternaries 9 (14 pts) (nesting depth added 12). 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":"libs/agno/agno/os/app.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"694156833d3bec12356c02511e3aaeff10bfa31a9c071a87afc46c9ae39a331b"}},{"ruleId":"D2","level":"warning","message":{"text":"router.handle_workflow_continue_via_websocket (cognitive 69): router.handle_workflow_continue_via_websocket has cognitive complexity 69 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 18, error handling 8 (10 pts), ternaries 3 (6 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d8452859a25114dbd0ffa630086dd7a9c88e8a45dfaab4098cdc4eee70af9b"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._get_json_output_prompt (cognitive 69): _messages._get_json_output_prompt has cognitive complexity 69 (threshold 15). Drivers by points: if/else 13 (51 pts), loops 3 (17 pts), boolean chains 1 (nesting depth added 52). 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4195e15a588373e257a045b2cfbba8c4dee7bd527fd0e3cc052205ec89286434"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb._create_table (cognitive 68): PostgresDb._create_table has cognitive complexity 68 (threshold 15). Drivers by points: if/else 28 (51 pts), loops 8 (9 pts), boolean chains 5, error handling 2 (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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e975615e6677112ce35d7b04bc45b24f0d0e9822e5f275a64307d4f170795d4"}},{"ruleId":"D2","level":"warning","message":{"text":"json_schema.get_json_schema_for_arg (cognitive 68): json_schema.get_json_schema_for_arg has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (42 pts), ternaries 4 (12 pts), boolean chains 5, loops 2 (5 pts), error handling 1 (4 pts) (nesting depth added 37). 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":"libs/agno/agno/utils/json_schema.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dd4f7d296e4cf826ee46e76a300227d18343d6390a92c55ff57b04f425f547"}},{"ruleId":"D2","level":"warning","message":{"text":"message.get_text_from_message (cognitive 68): message.get_text_from_message has cognitive complexity 68 (threshold 15). Drivers by points: if/else 18 (53 pts), loops 3 (9 pts), boolean chains 6 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/message.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"df046a5f27a2ae518c365f6ea9e3655d7c8230f1b1b1f64191d4bf699eb452af"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerImage.build_image (cognitive 68): DockerImage.build_image has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (46 pts), loops 5 (11 pts), boolean chains 7, error handling 4 (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":"libs/agno_infra/agno/docker/resource/image.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd2c128ba6ae019e4092c25fc2cdc0aea96defcc71ba4d0f3bdf0bf5578cb98"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb._create_table (cognitive 67): SqliteDb._create_table has cognitive complexity 67 (threshold 15). Drivers by points: if/else 24 (45 pts), loops 8 (9 pts), boolean chains 5, ternaries 5, error handling 2 (3 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"375630c405c9591ad55a0efe396953abb2e7d90d16b67eb5a836c061e221880a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._populate_registry (cognitive 67): AgentOS._populate_registry has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (54 pts), loops 3 (6 pts), boolean chains 5, ternaries 1 (2 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99d5b282a2d09f20d10a4b267ceda2e3441365b172824190f5416b927865a56"}},{"ruleId":"D2","level":"warning","message":{"text":"router.handle_workflow_via_websocket (cognitive 67): router.handle_workflow_via_websocket has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 22, error handling 9 (13 pts), ternaries 4 (8 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fccffc4e34f5cc9e1d65361671bc433079b269dc1aaf8d359fd2b4918b8fb9a"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSession.get_messages_from_agent_runs (cognitive 67): WorkflowSession.get_messages_from_agent_runs has cognitive complexity 67 (threshold 15). Drivers by points: if/else 20 (49 pts), loops 5 (12 pts), boolean chains 6 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/session/workflow.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf6cfd87e4ebd7b0d559967d4980c0795e7f0d518567f98eacf11d624a789c8"}},{"ruleId":"D2","level":"warning","message":{"text":"DbCluster._create (cognitive 67): DbCluster._create has cognitive complexity 67 (threshold 15). Drivers by points: if/else 56 (62 pts), boolean chains 2, loops 1 (2 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb69d96cd8703c96590713892c837cc18880dd94d25aeb0c20e9dbe7a98b2be9"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator.search (cognitive 66): PageCoordinator.search has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (32 pts), error handling 6 (12 pts), boolean chains 11, loops 6 (8 pts), ternaries 3 (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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f279876583ffd901c746487f7f2abad62eaebba2783fd68e5157d81e8f046514"}},{"ruleId":"D2","level":"warning","message":{"text":"disconnect._disconnect (cognitive 66): disconnect._disconnect has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (32 pts), error handling 5 (12 pts), ternaries 5 (9 pts), boolean chains 7, loops 4 (6 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/commands/disconnect.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"106617ed3c5493fe04c6e1d2b40de22c4e5e374b210a58cf903d9901461c1db1"}},{"ruleId":"D2","level":"warning","message":{"text":"bootstrap.arehydrate_product (cognitive 65): bootstrap.arehydrate_product has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (39 pts), boolean chains 10, error handling 4 (10 pts), loops 4, ternaries 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/bootstrap.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b2a4d1b2eca1c7bc4163468be6d669d80a311a6826fb6d45f4b52c78847806"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.get_run_messages (cognitive 64): _messages.get_run_messages has cognitive complexity 64 (threshold 15). Drivers by points: if/else 19 (37 pts), error handling 4 (12 pts), boolean chains 9, loops 2 (4 pts), ternaries 1 (2 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. This shape REPEATS in the file: one other method here (_messages.aget_run_messages) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"7509cb4caf10ae43f3d65192f5618add5951e641f2921348d6aefc760d31e27f"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.aget_run_messages (cognitive 64): _messages.aget_run_messages has cognitive complexity 64 (threshold 15). Drivers by points: if/else 19 (37 pts), error handling 4 (12 pts), boolean chains 9, loops 2 (4 pts), ternaries 1 (2 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. This shape REPEATS in the file: one other method here (_messages.get_run_messages) 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"92679c979d79ae7f6fa55828b117bc0c471bb1935254f694a86d60869747aa19"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteLLM._format_messages (cognitive 64): LiteLLM._format_messages has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (42 pts), boolean chains 11, ternaries 2 (7 pts), loops 2 (4 pts) (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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69efe4d408effcc687a2559a6fd55b679c863da8665ab336dc7b32fe740e08b"}},{"ruleId":"D2","level":"warning","message":{"text":"connect._report (cognitive 64): connect._report has cognitive complexity 64 (threshold 15). Drivers by points: if/else 22 (33 pts), ternaries 7 (16 pts), loops 5 (9 pts), boolean chains 6 (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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff30ad4080a70b8424d9830a77feec447129a90164d317d7d5cdc5c1879ec8d9"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamResponse.from_team (cognitive 63): TeamResponse.from_team has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (26 pts), ternaries 21 (22 pts), boolean chains 12, error handling 1 (2 pts), loops 1 (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, 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":"libs/agno/agno/os/routers/teams/schema.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a596fcb820960e096181eb14b2ef4d2771a0657cd6a78097bd176092e1f149cd"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunOutput.to_dict (cognitive 63): WorkflowRunOutput.to_dict has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 14 (30 pts), if/else 24 (29 pts), loops 2 (3 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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5501b95ba12c333ccb1cf12cb27e12775c12ca4a23d967787557df99b33f56ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_media.stage_media (cognitive 62): _media.stage_media has cognitive complexity 62 (threshold 15). Drivers by points: if/else 10 (30 pts), error handling 4 (14 pts), loops 4 (9 pts), boolean chains 6, ternaries 1 (3 pts) (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":"libs/agno/agno/agents/_media.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a1f49bdec1cbea29dc778110a3a5deff4b879f53a21d680a735c8ed0ff75c5"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.from_dict (cognitive 62): _storage.from_dict has cognitive complexity 62 (threshold 15). Drivers by points: if/else 25 (39 pts), ternaries 4 (11 pts), error handling 3 (6 pts), boolean chains 4, loops 1 (2 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":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4054974b21d96f25d67f785f9eb3c32d6a460795ff55600826cb1e349a0301"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.calculate_metrics_dates (cognitive 62): GcsJsonDb.calculate_metrics_dates has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 9, error handling 4 (7 pts), loops 4 (7 pts), ternaries 3 (6 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d572db14f2582f11226cea2e875c87ab370ee10f21f15f6b110301d3034e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"migrations.rekey_user_entity_learnings (cognitive 62): migrations.rekey_user_entity_learnings has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 4 (14 pts), boolean chains 8, error handling 1 (2 pts), loops 2 (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. This shape REPEATS in the file: one other method here (migrations.arekey_user_entity_learnings) 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9def895ffcd88d96e4cb8b02ba7c896454ab75797ef9c834ad62f8e4b6e4ee"}},{"ruleId":"D2","level":"warning","message":{"text":"migrations.arekey_user_entity_learnings (cognitive 62): migrations.arekey_user_entity_learnings has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 4 (14 pts), boolean chains 8, error handling 1 (2 pts), loops 2 (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. This shape REPEATS in the file: one other method here (migrations.rekey_user_entity_learnings) 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cbcb9f3ef776de14efa2d0e09534078148a80475ecb166ae18796d32d8817b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.calculate_metrics_dates (cognitive 61): JsonDb.calculate_metrics_dates has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (36 pts), boolean chains 9, loops 4 (7 pts), ternaries 3 (6 pts), error handling 2 (3 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffb2144e5fb48e5c38e07a5b4196dddfb66043d8cb4e54bb041ad7ace20e78d"}},{"ruleId":"D2","level":"warning","message":{"text":"WebsiteReader.crawl (cognitive 61): WebsiteReader.crawl has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (41 pts), boolean chains 8, error handling 3 (6 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40745a34f0b1d5a07fa89dcb00184856f7b8b98887d612a5eaa0ed850a03bee"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAgent._translate_notification (cognitive 60): CodexAgent._translate_notification has cognitive complexity 60 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 18 (nesting depth added 22). 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"d837622647902380f9ad4393f608b4a909e78127ee46310642168b989a2b0c38"}},{"ruleId":"D2","level":"warning","message":{"text":"_TaskStarter.dispatch (cognitive 60): _TaskStarter.dispatch has cognitive complexity 60 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 15, error handling 3 (6 pts), ternaries 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":"libs/agno/agno/os/routers/company/runs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"469af9d5999bb0a267754dd744dde678c43ab67c157195d0a4199d1c76d4a353"}},{"ruleId":"D2","level":"warning","message":{"text":"RunInput.to_dict (cognitive 60): RunInput.to_dict has cognitive complexity 60 (threshold 15). Drivers by points: if/else 13 (33 pts), ternaries 4 (24 pts), loops 1 (3 pts) (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":"libs/agno/agno/run/agent.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e139b216a9e3b4951ec37c788204141c579ebd47194714120aaa2bd3c785813"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamRunInput.to_dict (cognitive 60): TeamRunInput.to_dict has cognitive complexity 60 (threshold 15). Drivers by points: if/else 13 (33 pts), ternaries 4 (24 pts), loops 1 (3 pts) (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":"libs/agno/agno/run/team.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1745bec5dd82c0bcce61bf99053bbdaccab4ef411e0c4c81f5e1c041db71ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_sessions (cognitive 59): DynamoDb.get_sessions has cognitive complexity 59 (threshold 15). Drivers by points: if/else 29 (41 pts), loops 4 (7 pts), boolean chains 6, error handling 2 (3 pts), ternaries 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7b398310a0bf31aff098a11fd73e00bcf461bd2919b915237bdc2d3b3c4562"}},{"ruleId":"D2","level":"warning","message":{"text":"routines._routine_failure (cognitive 58): routines._routine_failure has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 13, loops 3 (6 pts), error handling 1 (5 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"541ceb43644b2a6015f004b743acfe6b178a252e5f55f7cdfcdaf18248ef0e27"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._populate_stream_data (cognitive 58): Model._populate_stream_data has cognitive complexity 58 (threshold 15). Drivers by points: if/else 31 (51 pts), loops 2 (4 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee7cb0e4d8f13644501368befb819489b0ca36e80afbfb61f3606a1a29e9008"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.run_function_calls (cognitive 58): Model.run_function_calls has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 5 (16 pts), boolean chains 5 (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":"libs/agno/agno/models/base.py"},"region":{"startLine":2424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caeaa67f3b78d073a4ee2ec888a55f7987bf3cc6836775194cb5cd0cb99c10f"}},{"ruleId":"D2","level":"warning","message":{"text":"approval._agroup_tools_by_approval (cognitive 58): approval._agroup_tools_by_approval has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (32 pts), ternaries 4 (14 pts), loops 2 (5 pts), error handling 1 (4 pts), boolean chains 3 (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":"libs/agno/agno/run/approval.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10d6d872dd999aef6a369dd5e2308d13a8bba1ed6fecd7c44d21eb33265537a"}},{"ruleId":"D2","level":"warning","message":{"text":"function._derive_entrypoint_schema (cognitive 58): function._derive_entrypoint_schema has cognitive complexity 58 (threshold 15). Drivers by points: if/else 27 (39 pts), boolean chains 13, loops 2 (4 pts), error handling 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2983824621a3faeb9031ddd28c9df1e5a59b6ffd4336f9dc8f475462ec9376e"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.execute_stream (cognitive 58): Router.execute_stream has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 18, error handling 3 (6 pts), loops 2 (3 pts), ternaries 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Router.aexecute_stream) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c08895cb25694a25e859c2928260b860ba4c62643e7f52f2fb2bb0d06c6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.aexecute_stream (cognitive 58): Router.aexecute_stream has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 18, error handling 3 (6 pts), loops 2 (3 pts), ternaries 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Router.execute_stream) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efc05e6c2345b928434964062d915bbcc1ba4a5116f6ff2406c40dbe1fbf858"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._deep_copy_single_step (cognitive 58): Workflow._deep_copy_single_step has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 11 (25 pts), error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11814}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da7e26728beb934a1c00a700d8dd97f8596c32d18f7ddacb8eff7e15d2bb22b"}},{"ruleId":"D2","level":"warning","message":{"text":"DbCluster._update (cognitive 58): DbCluster._update has cognitive complexity 58 (threshold 15). Drivers by points: if/else 46 (52 pts), loops 2 (3 pts), boolean chains 2, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"052abe7fd3270744d554c051f8905722e9830fcae728cf0b8de991f09aef268d"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._calculate_run_metrics (cognitive 57): utils._calculate_run_metrics has cognitive complexity 57 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 13, loops 6 (12 pts), ternaries 2 (6 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f02b110986274622415eebb801be1f96b2d4af1434faa49606041687e4f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses._parse_provider_response_delta (cognitive 57): OpenAIResponses._parse_provider_response_delta has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (48 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 32). 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"378fc4561ee8201bdc9efb0f8dbeb2a6fe500812a93c388f97b6ad8ee7a6c5c3"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._auto_discover_databases (cognitive 57): AgentOS._auto_discover_databases has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (40 pts), boolean chains 6, ternaries 2 (6 pts), loops 5 (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":"libs/agno/agno/os/app.py"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b12ebb62369e6f6de668ec1db46d48168a4c1b65c3935814c04c22534def89"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._resolve_member_run_output_for_continue (cognitive 57): _run._resolve_member_run_output_for_continue has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (36 pts), boolean chains 10, loops 3 (9 pts), ternaries 2 (nesting depth added 28). 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5249f31be1c6a2896816db79c3c316710afb8434b40c826555e5e787fe37ee"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb._create_table (cognitive 56): SingleStoreDb._create_table has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (37 pts), loops 7 (10 pts), boolean chains 5, error handling 2 (3 pts), ternaries 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e75dd8cad2349e07e10715cba3943e6a3046a8885523b9f2e138bb70a0d4b79"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aload_from_url (cognitive 56): Knowledge._aload_from_url has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 17, ternaries 5 (11 pts), error handling 2, 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. This shape REPEATS in the file: one other method here (Knowledge._load_from_url) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88613a278b2f4fa6438918ca5fc13499f47e8717bb6f8a6d01fff24f86ee185"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._load_from_url (cognitive 56): Knowledge._load_from_url has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 17, ternaries 5 (11 pts), error handling 2, 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. This shape REPEATS in the file: one other method here (Knowledge._aload_from_url) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c15b30d0c1c96f0c6e5a204d8293bad6cf0ceaa94b7190ab75f4d3eda06c30"}},{"ruleId":"D2","level":"warning","message":{"text":"mdx._render (cognitive 56): mdx._render has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (26 pts), ternaries 12 (24 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":"libs/agno/agno/knowledge/reader/utils/mdx.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe60fdbed06ddb4d699a2077e5376182642af1d5e03fe8fd220cd7c6e7e712e"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._run_tasks (cognitive 56): _run._run_tasks has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (35 pts), error handling 8 (13 pts), boolean chains 4, loops 2, ternaries 1 (2 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e471eee5e5c317ec9b02f31bcb8f6e3d872bc20e3ee5b78da390821d2e21b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"infra_cli.up (cognitive 56): infra_cli.up has cognitive complexity 56 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 9, ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (infra_cli.down) 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"34138d184cfe207d52a9b3ec9f292b6760864b8680ba31b87e553c503f57f04e"}},{"ruleId":"D2","level":"warning","message":{"text":"infra_cli.down (cognitive 56): infra_cli.down has cognitive complexity 56 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 9, ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (infra_cli.up) 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab02e5e70c34634d83a7513ff708ecc875e9cb80bd3ebd82c862af3a2d909608"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelPageFetcher.fetch_many (cognitive 55): ParallelPageFetcher.fetch_many has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 7 (17 pts), error handling 2 (8 pts), boolean chains 2 (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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5186101148c2109b228ffdf0d610906e9fe016b06fdaa8dd6188ad0619e2934f"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamRunOutput.to_dict (cognitive 55): TeamRunOutput.to_dict has cognitive complexity 55 (threshold 15). Drivers by points: if/else 30 (34 pts), ternaries 8 (16 pts), loops 2 (3 pts), boolean chains 2 (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":"libs/agno/agno/run/team.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa899987a2db08b562dc00068d501f77a5a01bfcc81828906f17df958d9168e"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._run (cognitive 55): _run._run has cognitive complexity 55 (threshold 15). Drivers by points: if/else 13 (29 pts), error handling 8 (20 pts), boolean chains 2, loops 2, ternaries 1 (2 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"268cf8d7e9c823b038b0379bfbb9e01e41a200041cf8a024cdbbc3bf2b404a6d"}},{"ruleId":"D2","level":"warning","message":{"text":"Parallel.execute_stream (cognitive 55): Parallel.execute_stream has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 14, error handling 5 (10 pts), loops 5 (7 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"820793930d18325530c91ac9295464fd632a18ebfa8c74173b9d569bfd1b75b0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.calculate_metrics_dates (cognitive 54): AsyncMySQLDb.calculate_metrics_dates has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 4 (9 pts), boolean chains 8, error handling 3 (4 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2e1dd613fcbd971be156bcd8ba03eb7eaa7c7317f618fe444857e183d3153a"}},{"ruleId":"D2","level":"warning","message":{"text":"suite._run_case_body (cognitive 54): suite._run_case_body has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (29 pts), error handling 5 (10 pts), boolean chains 9, ternaries 3 (5 pts), loops 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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf98c4014bbbc479197ebab2f23366be63714c6fe4ccdcab2b4065d325e8b059"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aprocess_lightrag_content (cognitive 54): Knowledge._aprocess_lightrag_content has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 9, error handling 2 (4 pts), ternaries 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. This shape REPEATS in the file: one other method here (Knowledge._process_lightrag_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4929}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9992fdc4b4a16a5939652d658626f41037e4200b9aba1b4c6b632eadfac9a38"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._process_lightrag_content (cognitive 54): Knowledge._process_lightrag_content has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 9, error handling 2 (4 pts), ternaries 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. This shape REPEATS in the file: one other method here (Knowledge._aprocess_lightrag_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":5101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2d917eedca8033d092a0b0dacb7bc5c74d75e095a11ecb5f1fd70a1309a30"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore.print (cognitive 54): EntityMemoryStore.print has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 4 (12 pts), ternaries 2 (7 pts), boolean chains 2 (nesting depth added 32). 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cad3e0ed37c65fc6ae3236e92f959d629db8d7abd35c052001b4cca999d064"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.merge_background_metrics (cognitive 54): metrics.merge_background_metrics has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (35 pts), loops 5 (16 pts), boolean chains 3 (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":"libs/agno/agno/metrics.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd271ccf101ca74f3bee72d1b623094691dadec91754a8b9ac9367d9ad3d73a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentResponse.from_agent (cognitive 54): AgentResponse.from_agent has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (22 pts), ternaries 19 (20 pts), boolean chains 9, error handling 1 (3 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, 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":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3b0b8b50a269ea365aada74a5bd2ad8c3dcf0f2231eb303277e2f29b96227d"}},{"ruleId":"D2","level":"warning","message":{"text":"router.handle_workflow_subscription (cognitive 54): router.handle_workflow_subscription has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (19 pts), ternaries 3 (15 pts), loops 3 (9 pts), error handling 5 (8 pts), boolean chains 3 (nesting depth added 29). 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f27ca1dacfaefcef03af8242b519f23082049732e3af9ebdb25d27e7d9e4f3"}},{"ruleId":"D2","level":"warning","message":{"text":"PubmedTools.parse_details (cognitive 54): PubmedTools.parse_details has cognitive complexity 54 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 9 (18 pts), loops 5 (10 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/pubmed.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7f62f280c9437325a806af35c32fd9d9ae3b8a8d22cffe78798cfc7f7fefa2"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsApp.build_resources (cognitive 54): AwsApp.build_resources has cognitive complexity 54 (threshold 15). Drivers by points: if/else 29 (44 pts), boolean chains 6, ternaries 2 (4 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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a649ee09e2cfd43d1ab71e3fdd75e60cd47e5d94b2537cd7ee27793e2ffb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.calculate_metrics_dates (cognitive 53): MySQLDb.calculate_metrics_dates has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 4 (9 pts), boolean chains 8, error handling 2 (3 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3211d75aa78d993a2a34f0806e152d87b74fb7342a653e391f4b9233c2464a49"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.delete_component (cognitive 53): PostgresDb.delete_component has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (45 pts), boolean chains 7, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5914}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f04109cf5a3a8261bdf17699b24c85a63b1bbba14bd6cc645ec87d8a416581"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.delete_component (cognitive 53): SqliteDb.delete_component has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (45 pts), boolean chains 7, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aa7e43944158ee81a28936a58f3045979a1b6e4c2a553e62d1cfb40f4430d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb.calculate_metrics_dates (cognitive 53): SurrealDb.calculate_metrics_dates has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 9, error handling 3 (6 pts), loops 4 (6 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"05321df3c27fb9e4f0af0b0dfa0feae44516758608a4280422a2061a93160431"}},{"ruleId":"D2","level":"warning","message":{"text":"approval._group_tools_by_approval (cognitive 53): approval._group_tools_by_approval has cognitive complexity 53 (threshold 15). Drivers by points: if/else 11 (32 pts), ternaries 3 (10 pts), loops 2 (5 pts), error handling 1 (4 pts), boolean chains 2 (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":"libs/agno/agno/run/approval.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2396bd5309efaa1727a6737c7b310c14a10c3a0adeaa826db6a4334d9ae6a3ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop.execute (cognitive 53): Loop.execute has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 5 (12 pts), ternaries 4 (6 pts), boolean chains 2 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Loop.aexecute) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6371b628a8ec87cb28f56c9c055c3665586526b73aea6f642b3789db6546484"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop.aexecute (cognitive 53): Loop.aexecute has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 5 (12 pts), ternaries 4 (6 pts), boolean chains 2 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Loop.execute) 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd606d782def872adabb907cd61ee840fe78ff4735b3cdcdb92ad631f33eb4c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.calculate_metrics_dates (cognitive 52): AsyncPostgresDb.calculate_metrics_dates has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 4 (9 pts), boolean chains 8, error handling 3 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed225889d47086843fbf0b751a7f34f326a96ac8f1dfeeecd937c27b4aaaa8"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.calculate_metrics_dates (cognitive 52): AsyncSqliteDb.calculate_metrics_dates has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 4 (9 pts), boolean chains 8, error handling 3 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46e7f134f8660ee94f4f6f48858dd30488a8e8cfa6294c9f64de50de50543e1"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteLLM._parse_provider_response_delta (cognitive 52): LiteLLM._parse_provider_response_delta has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (35 pts), boolean chains 8, ternaries 1 (5 pts), loops 1 (4 pts) (nesting depth added 32). 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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee8d2b6cf41b66aa78435bbcd0fc648a2a78b634a2fa4647eab64ba352b93bb"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.collect_mcp_tools_from_workflow_step (cognitive 52): utils.collect_mcp_tools_from_workflow_step has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 4 (13 pts), boolean chains 5 (nesting depth added 32). 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2398eba5db4e3aaf360379d1824985088b7ac00f332c435cddfdbb160a25bc11"}},{"ruleId":"D2","level":"warning","message":{"text":"Steps.execute_stream (cognitive 52): Steps.execute_stream has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 13, ternaries 3 (5 pts), error handling 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. This shape REPEATS in the file: one other method here (Steps.aexecute_stream) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"da853c782fe1ddd38cd0bdab013b8d2150f2a886c0b170d3960f22f5de64ea6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Steps.aexecute_stream (cognitive 52): Steps.aexecute_stream has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 13, ternaries 3 (5 pts), error handling 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. This shape REPEATS in the file: one other method here (Steps.execute_stream) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ddfea9c28ea5297f237ce0f08cd3d9b3410b6c1f332df88fb003574d045085"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.calculate_metrics_dates (cognitive 51): PostgresDb.calculate_metrics_dates has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 4 (9 pts), boolean chains 8, error handling 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3742}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6224748059ccdcc328cb9b2c1697f69988780ed1746d030a48e8dd753b5a80"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.calculate_metrics_dates (cognitive 51): SqliteDb.calculate_metrics_dates has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 4 (9 pts), boolean chains 8, error handling 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":3678}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5e138172eef2ec3d90d8dbf9de75b6c4ee510a8dcad5630c7d860aa67b3008"}},{"ruleId":"D2","level":"warning","message":{"text":"input.extract_media (cognitive 51): input.extract_media has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (31 pts), boolean chains 12, ternaries 1 (5 pts), loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"859bf9b6aa1d07b3da47f107b27611bbe2f5351ffae5a7f2a499163a582c0b86"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._backfill_approval_to_requirements (cognitive 51): _run._backfill_approval_to_requirements has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 9, loops 6 (9 pts), ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":5910}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae6acfd3f0abff0a7c9a148b8ea4784d171e8b8fdb23248aeff780d7796d09d"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelSession._execute_locked (cognitive 51): KernelSession._execute_locked has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (31 pts), error handling 2 (7 pts), ternaries 4 (7 pts), boolean chains 5, 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":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"2624a267fa4948bb436df9ebca53c89783cf1d2fe6e9ca89408413f6be168d69"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._arun_workflow_agent (cognitive 51): Workflow._arun_workflow_agent has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 2 (8 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 28). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b033114de0310d6b1a35ee332bab55824b06d0f94c464ac22c83607ca6d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"InfraConfig.get_resources (cognitive 51): InfraConfig.get_resources has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (12 pts), error handling 1 (3 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":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b553260ef6269c4ad76b2f32c24191a19d07ac9934309cb6ecb08ce9fd78f79b"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.aget_tools (cognitive 50): _tools.aget_tools has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 7, error handling 1 (5 pts), ternaries 2 (4 pts), 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a277b52fc4510ca492a2a4a9d71975840c49f0211719010bc58032ea164390"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompanyScheduleExecutor.execute (cognitive 50): _CompanyScheduleExecutor.execute has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 12, ternaries 6 (11 pts), error handling 5 (9 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83bff40c4ecc9fe71eb4c9ec87b54b19ab8ff0133be74837c3120ce3839bb19"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompanyScheduleExecutor._tick (cognitive 50): _CompanyScheduleExecutor._tick has cognitive complexity 50 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 7, loops 4 (7 pts), error handling 2 (6 pts), ternaries 2 (6 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf655db84bfbeefed0f7327b6b212f0b3a187b9dff291a8b8d77de4ef508d34"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.upsert_component (cognitive 50): SqliteDb.upsert_component has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (42 pts), ternaries 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cdadcbf152c8fe7bc3e201160f79377f27c699b930c47a8f979d0c028938a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aload_dir_as_folder (cognitive 50): Knowledge._aload_dir_as_folder has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (27 pts), error handling 3 (9 pts), boolean chains 7, ternaries 2 (5 pts), loops 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. This shape REPEATS in the file: one other method here (Knowledge._load_dir_as_folder) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"56de50c408af7dac979c564965f66b092fb9a0b975353523b0a9bd4bc08fc8e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._load_dir_as_folder (cognitive 50): Knowledge._load_dir_as_folder has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (27 pts), error handling 3 (9 pts), boolean chains 7, ternaries 2 (5 pts), loops 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. This shape REPEATS in the file: one other method here (Knowledge._aload_dir_as_folder) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3091}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ae0aaf78a6f424b393fa2f008580760e40a1a9048adb65b594ff30c72a540f"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aload_from_content (cognitive 50): Knowledge._aload_from_content has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 5, ternaries 1 (3 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. This shape REPEATS in the file: one other method here (Knowledge._load_from_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3784}}}],"partialFingerprints":{"codehealthFindingId/v1":"0584c150862c6965357d45e50a16da7b9b64bfb8ef8fbcc4c9b27d0a2e919e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._load_from_content (cognitive 50): Knowledge._load_from_content has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 5, ternaries 1 (3 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. This shape REPEATS in the file: one other method here (Knowledge._aload_from_content) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"570cd0e175f60f6e8c8d1761ba9e5d1d56f3ad7c030e9ea5cde74f7a81fd8895"}},{"ruleId":"D2","level":"warning","message":{"text":"RunMetrics.__add__ (cognitive 50): RunMetrics.__add__ has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 4 (14 pts), boolean chains 6 (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":"libs/agno/agno/metrics.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a637aac9cae32cec6244744378e8af8e8db464cdc977cb34e6084c5d6083b1"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker._persist_run_error_inner (cognitive 50): QueueWorker._persist_run_error_inner has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (28 pts), ternaries 5 (13 pts), boolean chains 9 (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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"a595ca63d2ab81dfc556270f57c794af1445fac530676bc39cd7d943869a25f1"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox._sandbox_start_gate (cognitive 50): sandbox._sandbox_start_gate has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 8, error handling 2 (5 pts), loops 4 (5 pts), ternaries 1 (3 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":"libs/agno/agno/os/routers/company/sandbox.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b156fdd4c377073c6f2c066b655c87514986a477acdb7ebf8613a726b6538197"}},{"ruleId":"D2","level":"warning","message":{"text":"_response._ahandle_model_response_stream (cognitive 50): _response._ahandle_model_response_stream has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad82a580918ba8f8d08ac7f35e9c9b56a24abbc1441617a129be24d3c60a4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.scrub_media_from_run_output (cognitive 50): agent.scrub_media_from_run_output has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 12, loops 4 (8 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9c0bfcf84cdf771f72716f9b7442440b288ba947d9a0a90784e938c12d75f9"}},{"ruleId":"D2","level":"warning","message":{"text":"SitemapReader._discover (cognitive 49): SitemapReader._discover has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (32 pts), ternaries 5 (10 pts), loops 3 (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":"libs/agno/agno/knowledge/reader/sitemap_reader.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e38a22fcb2c773abce4bda46e941695f1700cc0b533b21403f3b6f4b895d62"}},{"ruleId":"D2","level":"warning","message":{"text":"WebsiteReader.async_crawl (cognitive 49): WebsiteReader.async_crawl has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 7, error handling 3 (6 pts), loops 2 (3 pts), ternaries 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":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f08bbccbee4891e320564cb4c3ab2ba3d26e2d764b8b98657966d343906e68b"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteDb.from_config (cognitive 49): RemoteDb.from_config has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 14, ternaries 7 (14 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":"libs/agno/agno/remote/base.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe943b4a122e87e1cd3df4db6479786201852c24a92994495553580c3b4e16"}},{"ruleId":"D2","level":"warning","message":{"text":"approval._sync_requirements_after_approval (cognitive 49): approval._sync_requirements_after_approval has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (35 pts), boolean chains 8, loops 2 (6 pts) (nesting depth added 28). 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee05d33ef44dc1a465e1cd6a6dd3236f8f38a1037906be742b0fc1f66253b1e"}},{"ruleId":"D2","level":"warning","message":{"text":"UpstashVectorDb.async_upsert (cognitive 49): UpstashVectorDb.async_upsert has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (30 pts), ternaries 3 (7 pts), error handling 2 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd592d316b98cbdae9a54b01a3be3b3f9edfd60a860831d360b0b5c30b0f74"}},{"ruleId":"D2","level":"warning","message":{"text":"InfraApp.add_app_properties_to_resources (cognitive 49): InfraApp.add_app_properties_to_resources has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 14, 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":"libs/agno_infra/agno/base/app.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc32c67ced497a0cd84baf8761a718f17be4721db3d20d14069858ca1d7e901"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_sessions (cognitive 48): GcsJsonDb.get_sessions has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 11, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e83a888cf1cdf3c6452896b61da1ccdd6e1c7880604e4b2eb24557c5888499"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_sessions (cognitive 48): JsonDb.get_sessions has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 11, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ff5ce66f0e2708582957836c9e778b28e057d7609fe7b4bec1746233ef8398"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge.aremove_content_by_id (cognitive 48): Knowledge.aremove_content_by_id has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 9, ternaries 3, loops 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f59788ef1b28a73a44d3edce892020564cd9ff8136ac0210b727cb403450c5"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemory.get_context_text (cognitive 48): EntityMemory.get_context_text has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (25 pts), ternaries 5 (15 pts), loops 3 (6 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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5714873e0921b07aba1e361f5a2d4ffc1a22c28e3a0aa2e6a25a1dcf6cb2e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini.get_request_params (cognitive 48): Gemini.get_request_params has cognitive complexity 48 (threshold 15). Drivers by points: if/else 32 (41 pts), boolean chains 7 (nesting depth added 9). 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"93463fd9c6ac0359ef58f815fe8c6641bb99dcc32359c4219452b0fe782de22e"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPIdentityBridgeMiddleware.__call__ (cognitive 48): MCPIdentityBridgeMiddleware.__call__ has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (29 pts), ternaries 2 (10 pts), boolean chains 5, error handling 1 (4 pts) (nesting depth added 28). 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":"libs/agno/agno/os/mcp_auth.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e6516ebaeca0a4af8c4c93b0de054697284d588a676d5d789a0bbb43dbfd2f"}},{"ruleId":"D2","level":"warning","message":{"text":"_response._handle_model_response_stream (cognitive 48): _response._handle_model_response_stream has cognitive complexity 48 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 3, ternaries 2, loops 1 (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":"libs/agno/agno/team/_response.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2deb7d1ef8ddbcf4a7fdcb03719b47cc990f65c14d31283fc43d11567d26fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"GmailTools.__init__ (cognitive 48): GmailTools.__init__ has cognitive complexity 48 (threshold 15). Drivers by points: if/else 42 (46 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef721e6638be971683a3f15d90169f14b0209ae73e9b1180d604f425f5990f87"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.build_panels_stream (cognitive 48): agent.build_panels_stream has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (7 pts), boolean chains 5 (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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"2967b00ef2f1d6d4b7518c988e1a912e482082a19a8857285c777335af973db6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromaDb._hybrid_search (cognitive 48): ChromaDb._hybrid_search has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 6 (13 pts), boolean chains 6, error handling 2 (5 pts), loops 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"8108bde77b70b4a0263112f3d20f3f15a9cb70e64762c4663a178d09763e4320"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromaDb._build_search_results (cognitive 48): ChromaDb._build_search_results has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 7 (14 pts), error handling 4 (9 pts), boolean chains 7, loops 3 (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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"402865c118c975684b80cb5c402f4178a577163d700985e06474ca076ae6497c"}},{"ruleId":"D2","level":"warning","message":{"text":"Qdrant.async_insert (cognitive 48): Qdrant.async_insert has cognitive complexity 48 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (11 pts), error handling 2 (7 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 32). 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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed29b2e4e3444c276508dce18d3abe0f111487a938a9a48ce4541999f6aede18"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._arun_workflow_agent_stream (cognitive 48): Workflow._arun_workflow_agent_stream has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 6 (15 pts), boolean chains 5, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c55e771dba9f334014fed24c43b586c39cf2c30e3324d11532e55a25f02f6ec"}},{"ruleId":"D2","level":"warning","message":{"text":"EcsService._create (cognitive 48): EcsService._create has cognitive complexity 48 (threshold 15). Drivers by points: if/else 29 (38 pts), loops 2 (6 pts), boolean chains 3, error handling 1 (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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9f574df2fffd8bebd6663f8bd64f03dea4d56d6d748becd67d79202d8073ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.ahandle_model_response_stream (cognitive 47): _response.ahandle_model_response_stream has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (38 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8d05cc33647b5348d3ed7dbc60144723fccfc9a44c3ad6af4bf878188b1277"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.run_tool (cognitive 47): _tools.run_tool has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (45 pts), boolean chains 1, loops 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (_tools.arun_tool) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcd6703467770bd4e99cbd5b230a3968aeb73ac65924254c6a63d7a65512bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.arun_tool (cognitive 47): _tools.arun_tool has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (45 pts), boolean chains 1, loops 1 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (_tools.run_tool) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e7ba44e5eff95d30e151abe491f80a093b7e00e4aa7f3ea932961cb3db91ed"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.get_sessions (cognitive 47): InMemoryDb.get_sessions has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 10, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3532cde13f9cdabf096feafcef383e28dbf518d6d7d5807896a9bb84d3832c80"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb._create_table (cognitive 47): AsyncPostgresDb._create_table has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (32 pts), loops 7 (8 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40f6c75942da4f4acc79915c79f7fa6f6730ed9854c6d9988709006bdefd7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._format_file_for_message (cognitive 47): Gemini._format_file_for_message has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 10, error handling 1 (4 pts), ternaries 1 (2 pts) (nesting depth added 22). 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2460b0012b7932a72aa205cfa52b45f0d7d3fa2e9f4b8c7e336169078606281"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromaDb._build_get_results (cognitive 47): ChromaDb._build_get_results has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 7 (13 pts), error handling 4 (8 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a23821588f0b89313fd0fdc4fff23632c085f680a03929c5ee33cc4b65f802"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._run_workflow_agent (cognitive 47): Workflow._run_workflow_agent has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (29 pts), ternaries 2 (8 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 27). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5965}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8060c126d9fc65bb3f55181f51e53931c69a275b8f6cc3e49761961b2bc4ea6"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownChunking._split_large_section (cognitive 46): MarkdownChunking._split_large_section has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 6 (16 pts), boolean chains 4, loops 2 (4 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":"libs/agno/agno/knowledge/chunking/markdown.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"057e487a5239da43130af43590cfd7f084c70b15a1b157a740e7bf90a6a3723c"}},{"ruleId":"D2","level":"warning","message":{"text":"Ollama._format_message (cognitive 46): Ollama._format_message has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 5, loops 2 (5 pts), ternaries 1 (4 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":"libs/agno/agno/models/ollama/chat.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fdb0570c37fef075b721e6a935063cfd6e09b6ce9b7efead55a75fc4c541fc"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses._format_tool_params (cognitive 46): OpenAIResponses._format_tool_params has cognitive complexity 46 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 6 (17 pts), boolean chains 2, ternaries 1 (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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"3028724d57e243b22cc1c4684a2981e8897232cb424293c1fa5d73f655b22047"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._initialize_agents (cognitive 46): AgentOS._initialize_agents has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (32 pts), boolean chains 8, loops 3 (5 pts), ternaries 1 (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":"libs/agno/agno/os/app.py"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"7457f44d2b37ac116dea9e5091db2933a02eec687dbf566393e30bdf56950827"}},{"ruleId":"D2","level":"warning","message":{"text":"JWTValidator.validate_token (cognitive 46): JWTValidator.validate_token has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (30 pts), error handling 4 (10 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"311095da2649430184c743b198534a0b09e8be5fbe6815d76099b05639ec0207"}},{"ruleId":"D2","level":"warning","message":{"text":"_response._update_run_response (cognitive 46): _response._update_run_response has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 6, loops 2 (5 pts), ternaries 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce688521763c04693888160a76cc73dd64cf4eb92b1efc998ae030b45a1e5e8"}},{"ruleId":"D2","level":"warning","message":{"text":"01_step_confirmation_and_tool_confirmation.resolve_executor_pause (cognitive 46): 01_step_confirmation_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c0842856c867056852bf4324bb04167fe42097e80cdaac0f60e76274240f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"02_step_user_input_and_tool_confirmation.resolve_executor_pause (cognitive 46): 02_step_user_input_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e621cc0feac42a6ca55debdbb2aaafbb01f4b55b7f612ab029a630c7632b384"}},{"ruleId":"D2","level":"warning","message":{"text":"03_condition_and_tool_confirmation.resolve_executor_pause (cognitive 46): 03_condition_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e03348982bc73c0347e1e4042b17e4a634b6540bfaeb932995881e8b88cf59"}},{"ruleId":"D2","level":"warning","message":{"text":"04_router_selection_and_tool_confirmation.resolve_executor_pause (cognitive 46): 04_router_selection_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0c0563c45ba2b7d90a0af2942eb2f9174883f552d3674d87250898a107309e"}},{"ruleId":"D2","level":"warning","message":{"text":"05_output_review_and_tool_confirmation.resolve_executor_pause (cognitive 46): 05_output_review_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"428bbb4fa766abd30e86464a24f2413f79efa87fa1779cbbcdf032fc392a2f52"}},{"ruleId":"D2","level":"warning","message":{"text":"06_loop_confirmation_and_tool_confirmation.resolve_executor_pause (cognitive 46): 06_loop_confirmation_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"789e9fb7319347016513c875d870b13c2fe55d60d4597e8f105c6f059861c040"}},{"ruleId":"D2","level":"warning","message":{"text":"07_router_confirmation_and_tool_confirmation.resolve_executor_pause (cognitive 46): 07_router_confirmation_and_tool_confirmation.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c385bcd6f793b248b19311d23eab1e1397250aa14316b8e2722b199c26ebb86"}},{"ruleId":"D2","level":"warning","message":{"text":"09_multi_step_mixed_hitl.resolve_executor_pause (cognitive 46): 09_multi_step_mixed_hitl.resolve_executor_pause has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ffd1217af9f1c5488778b81222b75ae3051a7efcf6a15290d770fa6eb582e"}},{"ruleId":"D2","level":"warning","message":{"text":"03_step_user_input_streaming.run_workflow_streaming (cognitive 46): 03_step_user_input_streaming.run_workflow_streaming has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 3 (12 pts), boolean chains 5, loops 3 (4 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":"cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1774b72292ff81b52d0d743e5207c9421e4da664f41472947af97977cccefdc2"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.aget_relevant_docs_from_knowledge (cognitive 45): _messages.aget_relevant_docs_from_knowledge has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (29 pts), ternaries 4 (7 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93c10ba5cc7dd889566997e0c6dd8137b54fed3550a9fe1597bc11062acd029"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.handle_model_response_stream (cognitive 45): _response.handle_model_response_stream has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (38 pts), boolean chains 4, ternaries 2, loops 1 (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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d370c05f5ffcbea387e27b018d6c20cfd4e5488501c8693e85c9d21adf3ce28"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._continue_run (cognitive 45): _run._continue_run has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 8 (19 pts), boolean chains 3, ternaries 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95a6f00be3392857664e39974f19d24dc11982d23c57fd09cba96a5a038d1d0"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.to_dict (cognitive 45): _storage.to_dict has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 5, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"23854d0c268c44718a6da78ac17deb17df7821a4aa8274b9a0ca5804d79bcec5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._arun_adapter (cognitive 45): ClaudeAgent._arun_adapter has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 3 (7 pts), boolean chains 6, ternaries 1 (5 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5115d63b7a4da8173ade8fdbf4b71f5a2f12ecd9a5198896b8893ae795b2c34b"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh.arefresh_product (cognitive 45): refresh.arefresh_product has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 6, loops 5 (6 pts), ternaries 2 (6 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":"libs/agno/agno/company/refresh.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8cfc63c5167be66e03eb7a851b023715790ca18020467e2211399a55848dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_trace_stats (cognitive 45): GcsJsonDb.get_trace_stats has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 9, loops 2, error handling 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1f7c755353db8fe36a4c8bfb44b99bacb3cdcab4733e4e04eed8b023dd4a54"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.calculate_metrics_dates (cognitive 45): InMemoryDb.calculate_metrics_dates has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 4 (7 pts), boolean chains 6, ternaries 3 (6 pts), error handling 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2599612fe97685d3fc5a070484568eaacca9e1b004bd6a475f74360d71cd050"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb._calculate_date_metrics (cognitive 45): AsyncMongoDb._calculate_date_metrics has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (32 pts), loops 5 (8 pts), boolean chains 4, ternaries 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"938591f4bd4c6347c8dd5750f9dffd404fb1a19bb17e595ab304b14fdcd861be"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._isolate_attempt (cognitive 45): runner._isolate_attempt has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 8, ternaries 3 (6 pts), loops 3 (4 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6622ef030180d51f62532cb4ec013881e7e021b59a50fc2e6833f6b24a6318ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge.remove_content_by_id (cognitive 45): Knowledge.remove_content_by_id has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 9, ternaries 3, 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f05badaece69dad7c498c51bf9ce37587963ee10fd41393325935bc8a135c"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aload_from_path (cognitive 45): Knowledge._aload_from_path has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 4, error handling 1 (4 pts), ternaries 1 (4 pts) (nesting depth added 25). 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. This shape REPEATS in the file: one other method here (Knowledge._load_from_path) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6298713fe173373f1b8a5df736852845a8f1aa10a43907bd5ecae292259a1711"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._load_from_path (cognitive 45): Knowledge._load_from_path has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 4, error handling 1 (4 pts), ternaries 1 (4 pts) (nesting depth added 25). 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. This shape REPEATS in the file: one other method here (Knowledge._aload_from_path) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e7d4e8eea22001b3777bde9bd8776f0f68703db2e79e8a836d9be44cae8bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionMetrics.__add__ (cognitive 45): SessionMetrics.__add__ has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (14 pts), boolean chains 4 (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":"libs/agno/agno/metrics.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"dada1591e55543370bed880bdd6bdeac82fdfdba1a1858a4db77acc4365aba23"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolBridge._build (cognitive 45): ToolBridge._build has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (33 pts), error handling 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c767ee62b2ff94d15801fe0c2917732a34e2fbd0a518e47dc37496930056243c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCall._aexecute (cognitive 45): FunctionCall._aexecute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 9, ternaries 3 (7 pts), error handling 4 (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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c7647e482a9db421f79362cdd78bfeb4fc23eb95e4c2505a3ebe10cfb8d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"02_error_retry_skip_streaming.main (cognitive 45): 02_error_retry_skip_streaming.main has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 6 (20 pts), if/else 6 (15 pts), loops 4 (7 pts), boolean chains 3 (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":"cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6efa91797a675f85af00bdb34f034a7fbd3ee64b4507065b962049e80bf32f9"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseExternalAgent._arun_non_stream (cognitive 44): BaseExternalAgent._arun_non_stream has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 12, error handling 5 (8 pts), ternaries 8, loops 2 (3 pts) (nesting depth added 9). 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2d8928f37805017bfeaa7e174c22f4fd5a7a20e92786793b192552717540a9"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationManager.up (cognitive 44): MigrationManager.up has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (35 pts), error handling 1 (4 pts), loops 2 (3 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":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f1eede6c6c53ffc404730461a4ccdbeedcd7bc8b39aeb63b5ffaa25e48baa"}},{"ruleId":"D2","level":"warning","message":{"text":"v1_to_v2.safe_get_runs_from_memory (cognitive 44): v1_to_v2.safe_get_runs_from_memory has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 2 (5 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"527715f921f5e5d48758a1c0a8906643f91243ef7b60e9fa7d4bd560c537b669"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.upsert_component (cognitive 44): PostgresDb.upsert_component has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (42 pts), error handling 1, ternaries 1 (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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5751}}}],"partialFingerprints":{"codehealthFindingId/v1":"48451c307a95c9f5b82a020271955af248d1495cc84aee10bfb8ac05195ed2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.calculate_metrics_dates (cognitive 44): SingleStoreDb.calculate_metrics_dates has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 8, loops 4 (7 pts), error handling 2 (3 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a4e027e1f34892dd01b4af3eb184fedb268f573f6c56d5b9876b53fb8946e1"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb._create_table (cognitive 44): AsyncSqliteDb._create_table has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 7 (8 pts), ternaries 4, boolean chains 3, error handling 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e0fc22046274f1ee8b8b3a90b3108af0ae3ff6413ffe3511509d5cc9ee78f5"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._eval_filter_expr (cognitive 44): utils._eval_filter_expr has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (31 pts), ternaries 3 (6 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/utils.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57abb83550349955bc581882c5acdf2424d71065b1fe2e5468d0c3baa1bc8e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.upsert_memories (cognitive 44): ValkeyDb.upsert_memories has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 5 (11 pts), loops 7 (9 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"38547fa2f72f3ba962bf5bb19d1c66009ee593240729cde34977141b85eab0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat._parse_provider_response (cognitive 44): OpenAIChat._parse_provider_response has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 8, error handling 2 (4 pts), loops 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bf25913ddfe65b4b9cddd5b113d7785cd8b73b44efd73d86a94f1359d47776"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._locate_component (cognitive 44): mcp._locate_component has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 4 (8 pts), boolean chains 6, ternaries 2 (6 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c445243d85bea40651f003d61ac9533e8df8b7fbd53c0ea85a794d4df28160"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._register_exposed_components (cognitive 44): mcp._register_exposed_components has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 6 (12 pts), boolean chains 9, 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a56ff1870175905384e8e2d3a3a5722750cc8679eb446e40b3d82aa083e0aed"}},{"ruleId":"D2","level":"warning","message":{"text":"_utils._deep_copy_field (cognitive 44): _utils._deep_copy_field has cognitive complexity 44 (threshold 15). Drivers by points: error handling 8 (20 pts), if/else 11 (17 pts), loops 2 (4 pts), boolean chains 3 (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":"libs/agno/agno/team/_utils.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9778c4a4e9994992381a29790277b8bf60280b3763d08443eec2c4c98941ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Function._build_from_callable (cognitive 44): Function._build_from_callable has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 12, loops 2 (4 pts), error handling 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"6129cfa5dc1719dc96ecb1db82f21969cc55b59275b9e2d8558c0a2aac4168b3"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTools.__init__ (cognitive 44): MCPTools.__init__ has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 10, ternaries 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":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25236ffad79078e6a59d3f0c716436e7ead7c5502a5d5cf328a5152c63f0153"}},{"ruleId":"D2","level":"warning","message":{"text":"claude._format_file_for_message (cognitive 44): claude._format_file_for_message has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 7, ternaries 3 (7 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1feac7c5b77879e6b9e37bcb5ac4a453360bf5427dc8ff8177b5e0878cedaa"}},{"ruleId":"D2","level":"warning","message":{"text":"pprint.pprint_run_response (cognitive 44): pprint.pprint_run_response has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 3 (11 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 25). 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. This shape REPEATS in the file: one other method here (pprint.apprint_run_response) 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":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b714ebe2d651fb5c1701ed4c571cbc3806be49d704227b4a53ffe4bb0617ec"}},{"ruleId":"D2","level":"warning","message":{"text":"pprint.apprint_run_response (cognitive 44): pprint.apprint_run_response has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 3 (11 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 25). 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. This shape REPEATS in the file: one other method here (pprint.pprint_run_response) 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":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba96ec30c9968ed883010cb2b6b760af6f0234fed2172eae9d26201d8828d1"}},{"ruleId":"D2","level":"warning","message":{"text":"disruption_catchup.test_full_catchup (cognitive 44): disruption_catchup.test_full_catchup has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (39 pts), error handling 2, loops 2, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b10b034e0bfcb832c7ff140840588a3d4730da0614f14b1d730642ad1b3619f"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.calculate_metrics_dates (cognitive 43): DynamoDb.calculate_metrics_dates has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 9, error handling 3 (5 pts), 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d503438d30f76cbf9bc060ceed401d6545b3bf3ad31e9ca7cc76eb4572dc5f"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.create_component_with_config (cognitive 43): PostgresDb.create_component_with_config has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 4 (8 pts), boolean chains 4, error handling 1, ternaries 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03ea751bdf896bb39d5f775d27578b7f0ea1608e335fb0ce6c2adb49293c9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.create_component_with_config (cognitive 43): SqliteDb.create_component_with_config has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 4 (8 pts), boolean chains 4, error handling 1, ternaries 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":6165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daa7f44b95e00fb2cb8fd0cc4995820226deb78bf6c285043cb91f3bb2d612f"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentChunking.chunk (cognitive 43): DocumentChunking.chunk has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (37 pts), loops 3 (6 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e8aeca9758cbe4ad7a588eb7cd4ac8e326515b0ea4ce11d5ebe05783273028"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._format_entity_hit (cognitive 43): EntityMemoryStore._format_entity_hit has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 8 (19 pts), if/else 10 (14 pts), loops 3 (6 pts), boolean chains 4 (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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1437b7b0baf53933fc3493a49ee9e1aaa37cf4ccf9320b4d2e68359671c682"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteLLM.parse_tool_calls (cognitive 43): LiteLLM.parse_tool_calls has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (35 pts), error handling 1 (4 pts), boolean chains 2, loops 2 (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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344ccd5de69830c5e5289143cfae598a82ac9e2f4f583ee5f43223469cbcc5c"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthMiddleware._check_scopes (cognitive 43): AuthMiddleware._check_scopes has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 3 (9 pts), ternaries 4 (9 pts), boolean chains 6 (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. This shape REPEATS in the file: one other method here (AuthMiddleware._acheck_scopes) 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e288e8388b4947a29c51dcdff763c8b21326b578863c038e66188a484a08ef35"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthMiddleware._acheck_scopes (cognitive 43): AuthMiddleware._acheck_scopes has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 3 (9 pts), ternaries 4 (9 pts), boolean chains 6 (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. This shape REPEATS in the file: one other method here (AuthMiddleware._check_scopes) 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb5fcbfa4c996031d907fc64155a6e2798b185ba272d6c12a2c1ebe77254197"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.collect_mcp_tools_from_team (cognitive 43): utils.collect_mcp_tools_from_team has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (29 pts), loops 3 (9 pts), boolean chains 5 (nesting depth added 27). 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bfa881e1b19f763c125026e55214bff4eb08ffac9ee1bedc6af3509b3317b5"}},{"ruleId":"D2","level":"warning","message":{"text":"approval._build_approval_dict (cognitive 43): approval._build_approval_dict has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 8, loops 3 (6 pts), ternaries 5 (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":"libs/agno/agno/run/approval.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d13da03afe70b3190377736a24dfd391d73a92123db1af9fd6a5e10102e93cd"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._route_requirements_to_members_stream (cognitive 43): _run._route_requirements_to_members_stream has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 11, loops 3 (5 pts), ternaries 2 (4 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. This shape REPEATS in the file: one other method here (_run._aroute_requirements_to_members_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6534}}}],"partialFingerprints":{"codehealthFindingId/v1":"333b193f3113bfbf49ae4cd14b9cbdc209a0e5ee86de2b7834da13583eb832b3"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._aroute_requirements_to_members_stream (cognitive 43): _run._aroute_requirements_to_members_stream has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 11, loops 3 (5 pts), ternaries 2 (4 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. This shape REPEATS in the file: one other method here (_run._route_requirements_to_members_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6739}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff42d424418fe2d6c40c3fa6347a3af0463a38ba96759efd6a75e9c099a2720"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.__init__ (cognitive 43): StudioTools.__init__ has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 7, loops 3 (4 pts), ternaries 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, 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"017891d0316233e6e00fac48b0ef7c7ee4a0fd5686f6c2b6a623de5dce2e7324"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTools._format_results (cognitive 43): YouTools._format_results has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 7, 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":"libs/agno/agno/tools/youcom.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42ee19c116e133aaab996fe59b6676a3b1f897ef766b89e7e29f1eedbaedd93"}},{"ruleId":"D2","level":"warning","message":{"text":"media_offload.iter_run_media (cognitive 43): media_offload.iter_run_media has cognitive complexity 43 (threshold 15). Drivers by points: loops 16 (30 pts), boolean chains 9, if/else 3 (4 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1338d45b2b9c394b33dbe3555f18a13389aee916d7a05459d6a4e7c5426a8f6"}},{"ruleId":"D2","level":"warning","message":{"text":"LanceDb.async_upsert (cognitive 43): LanceDb.async_upsert has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 3 (11 pts), ternaries 1 (5 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 29). 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"590c71b4b497d2135dca93c3046de0822975f979caedbdee6313dae455dda4bf"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AClient._build_message (cognitive 42): A2AClient._build_message has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 11, loops 4 (8 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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b6c9673e1272f73fa6daa4fd5f93e608b493fefc06e4d1709b81b1a1c470bb"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.arun_rollouts (cognitive 42): runner.arun_rollouts has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (27 pts), error handling 3 (5 pts), ternaries 4, boolean chains 3, 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8808921550cf62b45023ee4993e387fd22aec8b52086d4e203e4c99904631a"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.upload_and_send_media_async (cognitive 42): helpers.upload_and_send_media_async has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 9, ternaries 2 (5 pts), loops 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":"libs/agno/agno/os/interfaces/whatsapp/helpers.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96741523bcb774e3c51d088b95c1f6b498ae7f13b931f4aa59522e0e945bca5"}},{"ruleId":"D2","level":"warning","message":{"text":"_default_tools.aget_relevant_docs_from_knowledge (cognitive 42): _default_tools.aget_relevant_docs_from_knowledge has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 6, ternaries 3 (4 pts), error handling 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be7c73a062db95fd1e1515eca7c67188ae1ecb635d55a83dab9673b36cbe24f"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._continue_run (cognitive 42): _run._continue_run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 7 (17 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":8261}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa79f04b6fe2ceb403b78a5825e9ebb4bc7dfaf821c2fa4b5b64c5f01482f11"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace._list_files (cognitive 42): Workspace._list_files has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 3 (6 pts), ternaries 2 (4 pts), error handling 2 (3 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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3d12281f62f12b6ce0e554e160f438ddfb889b303d2d3dfba39358a4633003"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._create_search_index (cognitive 42): MongoDb._create_search_index has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 4 (12 pts), boolean chains 5, loops 2 (5 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2efd514a733e168b3bb7199a8cb65f54b60ffcbc90ba0cbd19b1ea570099d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._run_workflow_agent_stream (cognitive 42): Workflow._run_workflow_agent_stream has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 5 (12 pts), boolean chains 5, loops 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5791}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd725cfd9c9310f25c24e00f14717877eafeb8ba8822e95065729562ddcd7e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheCluster._create (cognitive 42): CacheCluster._create has cognitive complexity 42 (threshold 15). Drivers by points: if/else 34 (37 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e947e37224b3de97a1bfc521d04376aedf217d6000c5486907384236eb4ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks.aexecute_pre_hooks (cognitive 41): _hooks.aexecute_pre_hooks has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 4 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks.aexecute_post_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d85e0606436a287f60ebde9e3efab678fb29b72f71bd259fff0b5c95823ba87"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks.aexecute_post_hooks (cognitive 41): _hooks.aexecute_post_hooks has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 4 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks.aexecute_pre_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b39fe8d3a5ceaee9874f8790f56b583897e70620c67339f7bd5f630eecb24"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.update_run_response (cognitive 41): _response.update_run_response has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (28 pts), loops 2 (5 pts), boolean chains 4, ternaries 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8099e7940f185602ba1bc5dc04021068c95144857e319424e3883b971897e38"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._aquery_sdk (cognitive 41): ClaudeAgent._aquery_sdk has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (2 pts), ternaries 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94cf2bb14f9e27f0adead22ec2c3769c58b5f9d0352a63b697d37569b5635c1"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_traces (cognitive 41): GcsJsonDb.get_traces has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 8, loops 2, error handling 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0cd2831ec0d9a06933a0aa39bd832e383413ca40eaac58e0fe49824654bb36"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_traces (cognitive 41): JsonDb.get_traces has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 8, loops 2, error handling 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d063754ee442ae7624115da8ba42783337db1b9d9e4d9dd665d76957f7c453b9"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.calculate_date_component_metrics (cognitive 41): utils.calculate_date_component_metrics has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 11, loops 5, error handling 2 (4 pts), ternaries 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d46fa1be126947eeffda170dd3950eecfa5b816561cc2cb456be04e2d51e09"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.get_traces (cognitive 41): ValkeyDb.get_traces has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 10, error handling 2, loops 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d7531a021e60c210897fe5c194c7ff0ac8da373dba47845dbff799f23e49ac"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks._aexecute_pre_hooks (cognitive 41): _hooks._aexecute_pre_hooks has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 4 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks._aexecute_post_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4317751c8dce549f9d6479fdc5b57f8cbf60330703b02aaaad5d79f3431c5a"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks._aexecute_post_hooks (cognitive 41): _hooks._aexecute_post_hooks has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 4 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks._aexecute_pre_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"176ab649fc0324fbe365d127cf343b9c7a61696c639db4f718c27e1deee90947"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage._hydrate_from_graph (cognitive 41): _storage._hydrate_from_graph has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 3 (5 pts), boolean chains 2, ternaries 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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a53f2562d333646b5688d6189ecf806063de6e9687c3d7b7a8d5382a60bc3e"}},{"ruleId":"D2","level":"warning","message":{"text":"tokens._count_message_tokens (cognitive 41): tokens._count_message_tokens has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 2 (12 pts), loops 2 (5 pts), boolean chains 1 (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":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef8237bc57309b8f38c9111535ff883849899f3183a500b9068b2df7344dfc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition.execute (cognitive 41): Condition.execute has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), error handling 3 (6 pts), boolean chains 2, ternaries 2, loops 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. This shape REPEATS in the file: one other method here (Condition.aexecute) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f057b0ff9381967f292a3b19332be2367aad8fcab0c8275ad96c6a3893ef1569"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition.aexecute (cognitive 41): Condition.aexecute has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), error handling 3 (6 pts), boolean chains 2, ternaries 2, loops 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. This shape REPEATS in the file: one other method here (Condition.execute) 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ece1641467e80d377c65dc856e617f13cb97b96c10cd6c37162c40d8c409fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.deep_copy (cognitive 41): Workflow.deep_copy has cognitive complexity 41 (threshold 15). Drivers by points: error handling 6 (23 pts), if/else 7 (14 pts), boolean chains 3, 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11705}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c0e065bfd672c867ffd12ffabc3d187d7efc70d124052df519503db5ceb30b"}},{"ruleId":"D2","level":"warning","message":{"text":"EcsService._update (cognitive 41): EcsService._update has cognitive complexity 41 (threshold 15). Drivers by points: if/else 23 (32 pts), loops 2 (6 pts), boolean chains 2, error handling 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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a27e656e3fe7bc9d8776665d677e692a7a20cb5d570d6263fa61cfe8aa3e6e"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.get_relevant_docs_from_knowledge (cognitive 40): _messages.get_relevant_docs_from_knowledge has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 4 (7 pts), boolean chains 5, error handling 2 (3 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9d1668e8d8fc6058007d4b422c30915552e06007a7ec990f79258482352bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._build_continuation (cognitive 40): ClaudeAgent._build_continuation has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 10, ternaries 7 (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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18d25836d81fb2910160fbec249747b12933609e3327f1af3d01fd4c9b7ecb6"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseDb.__init__ (cognitive 40): BaseDb.__init__ has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 32, if/else 8. 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":"libs/agno/agno/db/base.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc2d341bcb32992b065e05242ad3e80cfeb183a840f31dffc1cea80f87a8c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_traces (cognitive 40): RedisDb.get_traces has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 9, loops 2, error handling 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3503}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed48995c719add7d79332dc6b13012d6a26ff43f57b0a66e66ba856f08393e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._add_router (cognitive 40): AgentOS._add_router has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 5 (16 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":2876}}}],"partialFingerprints":{"codehealthFindingId/v1":"561585181c0f4c9b08af7ff1480787884c2fce3667bb530648adc9a380044213"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicMiddleware._validate_form (cognitive 40): PublicMiddleware._validate_form has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 9, error handling 3 (5 pts), ternaries 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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1d12cfb5858b237dc015d597929d0f1658b00ee4ab31514a826dbc716a57aa"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRequirement.provide_user_feedback (cognitive 40): RunRequirement.provide_user_feedback has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (16 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/requirement.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cf7f57fae90b9deae0291ef134d21e959f1e68d026b88ab21f99c08234e3b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Function.process_entrypoint (cognitive 40): Function.process_entrypoint has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (26 pts), error handling 4 (7 pts), boolean chains 5, loops 1, ternaries 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc299742f2a9b738621c21ab70362869faf93357da5116b67db43ae87723391"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackTools.__init__ (cognitive 40): SlackTools.__init__ has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 16, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d3c7e5351a6edfbffdd4c069ae2b56ee623127b9f1aadfaed8957261ef6d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.audio_to_message (cognitive 40): openai.audio_to_message has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (28 pts), error handling 2 (9 pts), boolean chains 2, loops 1 (nesting depth added 25). 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":"libs/agno/agno/utils/openai.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"585ac3fa7c4253c74de1145714687a540b6b3b385d20596e44011aa84c4079ed"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch.async_insert (cognitive 40): CouchbaseSearch.async_insert has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 5 (9 pts), error handling 3 (7 pts), ternaries 1 (4 pts), boolean chains 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. This shape REPEATS in the file: one other method here (CouchbaseSearch._async_upsert) 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60a097a9cf03e6312a9d55523cf0defe49000d0b5240e4cd12d9ac6f0eb85d4"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch._async_upsert (cognitive 40): CouchbaseSearch._async_upsert has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 5 (9 pts), error handling 3 (7 pts), ternaries 1 (4 pts), boolean chains 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. This shape REPEATS in the file: one other method here (CouchbaseSearch.async_insert) 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffea3c63eaaa28becde191c0dd645407711547299634ef0ea5d87cbbbd3e4e99"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._apply_remember (cognitive 39): EntityMemoryStore._apply_remember has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 13, loops 3, ternaries 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29de8b06560b446e823ddff69096ea602b6ad9fa26a7d1b5f96063a14b90c34"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnostics.arun_diagnostics (cognitive 39): diagnostics.arun_diagnostics has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 4 (9 pts), loops 4 (7 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/diagnostics.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e8c9837a7b32238b2f4a43fa6c409045efa34fae1b45b223afb9a61f87c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"approval._apply_approval_to_tools (cognitive 39): approval._apply_approval_to_tools has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 2 (5 pts), boolean chains 3 (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":"libs/agno/agno/run/approval.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff202b09c0b35c39864e3efc32979d26dc3481a5184dfc1ac85072dba168f275"}},{"ruleId":"D2","level":"warning","message":{"text":"EcsContainer.get_container_definition (cognitive 39): EcsContainer.get_container_definition has cognitive complexity 39 (threshold 15). Drivers by points: if/else 39. 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":"libs/agno_infra/agno/aws/resource/ecs/container.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4967d9d54fbf85167bf144830ed3199a881cb44523c7df4666aced76050f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityAgent._translate_sse_event (cognitive 38): AntigravityAgent._translate_sse_event has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 18, if/else 6 (10 pts), ternaries 5 (10 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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e005dc61d12edf528b7e2bef8f54873c789628d70716d039428879e80b9f76"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAgent._tool_result_from_item (cognitive 38): CodexAgent._tool_result_from_item has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 6, ternaries 2 (5 pts), 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a9a84c57c3673fedcb6e6d342a682a9da5ebc580f3896fbab2a969ce1897be"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompanyScheduleExecutor._dispatch (cognitive 38): _CompanyScheduleExecutor._dispatch has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 7, error handling 3 (6 pts), ternaries 3 (4 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad8f70907f41e8dda36aa0f1b822aacddfac0705cb727f5f251a770619da723"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb._calculate_date_metrics (cognitive 38): AsyncMySQLDb._calculate_date_metrics has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 7 (12 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33e796813f7567865b1f13ba01028f4c70d232bf8e288d21e19bff43aa7661b"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.calculate_metrics_dates (cognitive 38): RedisDb.calculate_metrics_dates has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 8, loops 3 (4 pts), error handling 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd905103ad8e35c8f7ba38b298913381cd6c16538e8e25f48d1866f68f9e751"}},{"ruleId":"D2","level":"warning","message":{"text":"AccuracyEval.run_with_output (cognitive 38): AccuracyEval.run_with_output has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 6 (20 pts), if/else 10 (16 pts), boolean chains 2 (nesting depth added 20). 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"3957da9ac0f2b70d3a4740c501e35b6bbba7b5f3f47f0ed5f6dd3d49af1482a7"}},{"ruleId":"D2","level":"warning","message":{"text":"suite.acli (cognitive 38): suite.acli has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 6 (13 pts), error handling 3 (4 pts), boolean chains 3, 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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31e97c7dda8df75cf37eb098dfc854a0787b8be908a20b27d7117c7d58f4911"}},{"ruleId":"D2","level":"warning","message":{"text":"filters.from_dict (cognitive 38): filters.from_dict has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (28 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":"libs/agno/agno/filters.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f772bf799111886eb94755aedac6e6e62b6743fed937c2e82a1db006dc2084"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses.get_request_params (cognitive 38): OpenAIResponses.get_request_params has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 5, loops 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e00471756e2abfaeb0de0a94d1c407aed7cfdbbc8f198065b845a0bc9527dc"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseWorkflowRunOutputEvent.to_dict (cognitive 38): BaseWorkflowRunOutputEvent.to_dict has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 6 (12 pts), boolean chains 10, 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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5417b425755d8bdd1292cd48e627e54b7379c51dc5d268feca51a66528ab61"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowRunOutput.from_dict (cognitive 38): WorkflowRunOutput.from_dict has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (27 pts), loops 3 (5 pts), boolean chains 4, error handling 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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a13ca01af6b561c28ac907b5d4f662f1110a154ad7be28c67e0ed6162822b1"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._get_run_messages (cognitive 38): _messages._get_run_messages has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 3 (6 pts), error handling 1 (4 pts), 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. This shape REPEATS in the file: one other method here (_messages._aget_run_messages) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8eb0f5f6372369a7eb6a073395f9a958c9bad015f354ece5850944eef0c22c"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._aget_run_messages (cognitive 38): _messages._aget_run_messages has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 3 (6 pts), error handling 1 (4 pts), 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. This shape REPEATS in the file: one other method here (_messages._get_run_messages) 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea37c73ed4477a3b8622abdb384e48a9a62097513c2fdd9ec18672e004411c6"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._continue_run_dispatch_stream_with_member_events (cognitive 38): _run._continue_run_dispatch_stream_with_member_events has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 9, error handling 5 (7 pts), ternaries 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8060}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f2186f4b173be7d166729573cde25850e12d6d2e94e562ecd95c6e37943fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTools.search_content (cognitive 38): FileTools.search_content has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 4 (10 pts), loops 2 (3 pts), boolean chains 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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936ac8a524a92e5bb613fa3a88cbce6ea6734ac725202179e415c2a31ead317"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleSlidesTools.__init__ (cognitive 38): GoogleSlidesTools.__init__ has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20, boolean chains 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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb960a848f29604017539428164eb49fb256e666c1ff1c8eea7488a2e73c0c89"}},{"ruleId":"D2","level":"warning","message":{"text":"SuperserveTools.__init__ (cognitive 38): SuperserveTools.__init__ has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 20, if/else 17, ternaries 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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5ceccb9d93a7a089b93fa450ad07ec7142a85da4736918e67cf7ed4703f68c"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.get_last_run_output_util (cognitive 38): agent.get_last_run_output_util has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 24). 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd98b5cb8ca9d497ed63c693792e65cd365f97ed32dc7b4fe7e5ae3a90ac11c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Parallel.aexecute_stream (cognitive 38): Parallel.aexecute_stream has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 13, loops 4 (6 pts), error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"30577d3554b9aaf62c4047e633287163fb4c22486839dba23c9265438747286a"}},{"ruleId":"D2","level":"warning","message":{"text":"_utils.deep_copy_field (cognitive 37): _utils.deep_copy_field has cognitive complexity 37 (threshold 15). Drivers by points: error handling 8 (20 pts), if/else 9 (12 pts), boolean chains 3, 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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0687bca06410b203fb8bf205de55d35c6ea178ccb5e589c0b12a9540729210"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.map_stream_events_to_run_events (cognitive 37): utils.map_stream_events_to_run_events has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 9, 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. This shape REPEATS in the file: 2 other methods here (utils.map_stream_events_to_team_run_events, utils.map_stream_events_to_workflow_run_events) 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fb1fd4c4034915847e5c2688a265bc248b0d1f220da5578c885fd5e39aa8fa"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.map_stream_events_to_team_run_events (cognitive 37): utils.map_stream_events_to_team_run_events has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 9, 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. This shape REPEATS in the file: 2 other methods here (utils.map_stream_events_to_run_events, utils.map_stream_events_to_workflow_run_events) 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6827f162343bf087e3800a8feaed51bf9e9bbfb5f475c40c92413072f377824"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.map_stream_events_to_workflow_run_events (cognitive 37): utils.map_stream_events_to_workflow_run_events has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 9, 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. This shape REPEATS in the file: 2 other methods here (utils.map_stream_events_to_run_events, utils.map_stream_events_to_team_run_events) 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d24d52d110d00acc32c025aef4fd8ba339cec46f11e0a3d2e35d6709fd57fa2"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb._calculate_date_metrics (cognitive 37): FirestoreDb._calculate_date_metrics has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 5 (8 pts), boolean chains 5, ternaries 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"20571e71064f987d1600c76e78b248515cf4e6a3337143e5f6b4d04f257955f4"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.calculate_metrics_dates (cognitive 37): FirestoreDb.calculate_metrics_dates has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 9, error handling 2 (3 pts), loops 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9701d66ad15a88f597927478ecda28ab2d1d045521acb6c3d301d3e425f7e7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_eval_runs (cognitive 37): GcsJsonDb.get_eval_runs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29e49f08bfb5d3b186c1c4e63f32fcd1e5193a3bba7ca2cce213f0d88eacee5"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.get_eval_runs (cognitive 37): InMemoryDb.get_eval_runs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34c3a3d45facd63c5de42cca68c2932832586bc254f1522787e277dbc739f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_eval_runs (cognitive 37): JsonDb.get_eval_runs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9c58d5c2a9dff77436d21c7acf9c7ab398c2c9fb22cea600b6c512eb18de3c"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_trace_stats (cognitive 37): JsonDb.get_trace_stats has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 7, loops 2, error handling 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b9bdf580ce2fa02e998f43bbc43301d6bc5e7ca36ba93cbd89820c6056cf02"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationManager.down (cognitive 37): MigrationManager.down has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (29 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5347865a705850ef89fe6a3216f8d3acc360fae45c34dc5a3f2335e4800826e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb._calculate_date_metrics (cognitive 37): AsyncPostgresDb._calculate_date_metrics has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 7 (12 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"b434c245b4c88ac64689f69976be605c05b324f0b90969313f19c80c07cec2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb._calculate_date_metrics (cognitive 37): AsyncSqliteDb._calculate_date_metrics has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 7 (12 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":3198}}}],"partialFingerprints":{"codehealthFindingId/v1":"afab036c677233e377b16212f0d91e381640b7ba8e527e48aa132cf0827829c3"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_all_keys_for_table (cognitive 37): utils.get_all_keys_for_table has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 4 (10 pts), ternaries 2 (6 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/utils.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6352155752fafe97c1a038dc2367da0e0ea7e08119578a45340862ac5acd1a82"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._validate_filters (cognitive 37): Knowledge._validate_filters has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (7 pts), boolean chains 4, loops 2 (4 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a517d9c1a7d4c006f5643f2487ea21ec86926b59e0fdd4f56dec93619150b12"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionMetrics.accumulate_from_run (cognitive 37): SessionMetrics.accumulate_from_run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (11 pts), boolean chains 3 (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":"libs/agno/agno/metrics.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"6259e1642061c23c836810755375b4ca628f6416ded0b89df24d5ffb0d500f53"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.map_media_to_artifacts (cognitive 37): utils.map_media_to_artifacts has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 10, loops 4 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/a2a/utils.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a388a50aee7fb7b1791b0230ccfc0654a7369d497b77482f211c3b6634f0c1f6"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicSurface._bind (cognitive 37): PublicSurface._bind has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 7, loops 3 (5 pts), ternaries 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":"libs/agno/agno/os/public/__init__.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674dabc29436bc51eb952160b03b0054fd458220c9feb6485e19b5154bec6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"_default_tools.get_relevant_docs_from_knowledge (cognitive 37): _default_tools.get_relevant_docs_from_knowledge has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 5, ternaries 3 (4 pts), error handling 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8316e35016e0d5b2b64987cc557b5ef0af29a714e43dd6fbac2de6041b37f2d"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleCalendarTools.find_available_slots (cognitive 37): GoogleCalendarTools.find_available_slots has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (9 pts), error handling 3 (5 pts), boolean chains 4, ternaries 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad2d0604c0b9d330cfed575b46fc642295c2d3532180ae96ec46d2c056c5e07"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.convert_response_to_structured_format (cognitive 36): _response.convert_response_to_structured_format has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (30 pts), error handling 1 (4 pts), boolean chains 1, ternaries 1 (nesting depth added 22). 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f972f3bcb71214e7d4d3fb0b30cc17811b5ade1ba677155c526347339101b7"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.get_agents (cognitive 36): agent.get_agents has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 3 (8 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ca11e1992b834b9c33fafef8442dc36deaa2f72ef1def3773ba50095a3e67b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.calculate_metrics_dates (cognitive 36): AsyncMongoDb.calculate_metrics_dates has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 9, error handling 3 (4 pts), 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf67db9ee9c203cc06ed0f7dbe9ba4384660af154ecc00587f111dc43909f95"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb._create_table (cognitive 36): AsyncMySQLDb._create_table has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 6 (7 pts), boolean chains 3, 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca892a39a0843306d61783749fafb9f8075f8ffe4cb1b394dff90c361c93837"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb._create_table (cognitive 36): MySQLDb._create_table has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 6 (7 pts), boolean chains 3, 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29e84c17059cbe1efcf72363f80460e0ff005cd0b190c3b725c375d1bb8593a"}},{"ruleId":"D2","level":"warning","message":{"text":"sources.validate_source_fields (cognitive 36): sources.validate_source_fields has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 14, ternaries 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":"libs/agno/agno/db/schemas/sources.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2301bd2a3fef2eda96d59b14ec5dc662fded9db2998544490ddb82557e4ddbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.calculate_metrics_dates (cognitive 36): ValkeyDb.calculate_metrics_dates has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 8, loops 3 (4 pts), error handling 2 (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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d49a47cd5d4082f8ad0c59f53ceeb6dba4067ef577718275e60cd7776c58980"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.get_eval_runs (cognitive 36): ValkeyDb.get_eval_runs has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c27e6dc03783c7132e8373d35be72baadbcdde727626f73a650535d0afb6b9"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCorpus.__getitem__ (cognitive 36): PageCorpus.__getitem__ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 4, loops 2 (4 pts), ternaries 4, error handling 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":"libs/agno/agno/knowledge/page/filesystem.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52c7d927035e94e100d7b862f4b5ef47314db8d5df872f6c29cfbbda353ce07"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.accumulate_eval_metrics (cognitive 36): metrics.accumulate_eval_metrics has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (9 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/metrics.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4025b7dc736421f23e9a722c6dbd22cf18659ac3fbbb5a467c88697deb91ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._format_tool_result_media (cognitive 36): Gemini._format_tool_result_media has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 4 (8 pts), boolean chains 3 (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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada4fc9dc71d60e6f569d19123e4f9a4deb7580f14111f40a9ab9a5cafc8bfd1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._add_built_in_routes (cognitive 36): AgentOS._add_built_in_routes has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 10, 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f41824214e601a5e87474fb3d9f11b1c9ec9f8337c896a28cc8e4a763008cc"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.continue_run (cognitive 36): executor.continue_run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (21 pts), error handling 7 (10 pts), boolean chains 4, ternaries 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":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47837171536a91862fb48e87e48916ad3aacf63ba61ae8035b7c7cd3bb1a8e3"}},{"ruleId":"D2","level":"warning","message":{"text":"hitl.handle_check_status (cognitive 36): hitl.handle_check_status has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 17, if/else 14 (16 pts), error handling 2, loops 1 (nesting depth added 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":"libs/agno/agno/os/interfaces/slack/hitl.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"186059e8a1a09bc965a94c2ee407f23d2a4c6543f81526dc8fcc5c52eb676c41"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionSummaryManager.get_system_message (cognitive 36): SessionSummaryManager.get_system_message has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 6, loops 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":"libs/agno/agno/session/summary.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ad7372a3b1daab3a9720143bd6081433b822689697cb0ac9a7edfdaae4ad00"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages.get_members_system_message_content (cognitive 36): _messages.get_members_system_message_content has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 1, loops 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3925b2b9b12fe176d5209c4163904efbd2a456ff2e40b1e79460bde9052104d"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._group_requirements_for_continue (cognitive 36): _run._group_requirements_for_continue has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 7, loops 3 (5 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a645b3db99f861699444777e2030c4d8706e5ea1ecb54790f237a0eef3ca977"}},{"ruleId":"D2","level":"warning","message":{"text":"agentos._normalize_eval_run (cognitive 36): agentos._normalize_eval_run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 10, ternaries 2 (4 pts), error handling 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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfacb18157c967fc34c7fe3c96b11616d439178b4d6c14f92a0ff123c431f7bd"}},{"ruleId":"D2","level":"warning","message":{"text":"NanoBananaTools.create_image (cognitive 36): NanoBananaTools.create_image has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, error handling 2 (5 pts), ternaries 1 (5 pts), loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/nano_banana.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a02f90598032609f0cbf0caea2b77ca72128cb648fe55b8e588d0215cf1294"}},{"ruleId":"D2","level":"warning","message":{"text":"ShopifyTools.get_sales_trends (cognitive 36): ShopifyTools.get_sales_trends has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 6 (20 pts), if/else 11 (16 pts) (nesting depth added 19). 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf4eb9b6d89a4f70ea42cf79fc1d96f32f4537713b409625633e5ed8103d060"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._read_component (cognitive 36): StudioTools._read_component has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (8 pts), boolean chains 5, error handling 3 (4 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b2b6b85183dc721a59df93df627f8ea6687d447624621af7f320ecc5d9f51d"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._links_for_component (cognitive 36): StudioTools._links_for_component has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 6 (14 pts), loops 3 (6 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5405}}}],"partialFingerprints":{"codehealthFindingId/v1":"645e3a392fe439aa4f7995e3e510e14918eec856771de9c4820e93bdcaf9b625"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.aget_last_run_output_util (cognitive 36): agent.aget_last_run_output_util has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 2 (5 pts), boolean chains 2 (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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cff911d959eb6bfc2fefe1d346bd3cbef6fcaedbabeaa945d3466a7f6cb1dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"LanceDb.__init__ (cognitive 36): LanceDb.__init__ has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 8, 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8999d8c7c0c237995fce27ab9237bd6aaef7470856689ccba5a78cf2486e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks.execute_pre_hooks (cognitive 35): _hooks.execute_pre_hooks has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 4 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks.execute_post_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee67bc633c4e369618ae60145ce5c4a30e7e7d4a3bc3e699a5309f143014bf8"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks.execute_post_hooks (cognitive 35): _hooks.execute_post_hooks has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 4 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks.execute_pre_hooks) 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"702aaf56aebebfdae45e92cffd76d2906c0d52f261fffdc54a5a6be52e37cacd"}},{"ruleId":"D2","level":"warning","message":{"text":"_CompanyScheduleExecutor._complete_projects (cognitive 35): _CompanyScheduleExecutor._complete_projects has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 3 (11 pts), boolean chains 7, if/else 2 (7 pts), loops 3 (6 pts), error handling 1 (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":"libs/agno/agno/company/routines.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd1e023b4f29c3e2b16de3025508c92ea9de91c6c3c48e0feace7389c2c83d0"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.filter_expr_to_clickhouse (cognitive 35): utils.filter_expr_to_clickhouse has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 5, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/clickhouse/utils.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9850ecccf90bc28c19b10f0e1e2cdc538d8124e3beae65c4136330daf5876c"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.cleanup_legacy_runs_field (cognitive 35): DynamoDb.cleanup_legacy_runs_field has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (23 pts), error handling 3 (7 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"091fd4b454bd9cd119be3fecbe3f1d28515a7fc794f0e800fdb6c3c959c26b73"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb._get_collection (cognitive 35): FirestoreDb._get_collection has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (35 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4793cbfbc639b5f711e08307e7620b5e40e302d840fd994bc5267adf8dc9af5a"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.calculate_metrics_dates (cognitive 35): MongoDb.calculate_metrics_dates has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 9, error handling 2 (3 pts), 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad70171bbec1813e819af9dd704d25126c6773aa3f9c4958e88f189e1f86c99"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb._get_table (cognitive 35): PostgresDb._get_table has cognitive complexity 35 (threshold 15). Drivers by points: if/else 34 (35 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"314631bea244c852bda6d2c10aace085bd698901c80d1655095ebbadc941bf65"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.delete_config (cognitive 35): PostgresDb.delete_config has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 9, 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7059}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45a999339d83e4c8a770a643be99591d8b1b01af6b1867bac04ba5a2ed7ef78"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.enqueue_job (cognitive 35): RedisDb.enqueue_job has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 3 (6 pts), boolean chains 4, error handling 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"066f26477f027cd6222ada90d8274489225beb813364b67b20d63f441be0cd74"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.delete_config (cognitive 35): SqliteDb.delete_config has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 9, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":6867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9881d95ae9c36a1687038f555c1c70a7bd512eb7f9d7c30ddcf97d3d30251fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.get_trace_stats (cognitive 35): ValkeyDb.get_trace_stats has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 7, error handling 2, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":4045}}}],"partialFingerprints":{"codehealthFindingId/v1":"504a64f75f29f62295a850e725dd4d628fda1cb3949e5c47d22d9e87a4cd86c5"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore.build_context (cognitive 35): EntityMemoryStore.build_context has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 7, error handling 1 (4 pts), loops 2 (4 pts), ternaries 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59118f782902e4b307bf90196876137dbaa5a1760c4ed2cb2af5022482795a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._format_audio_for_message (cognitive 35): Gemini._format_audio_for_message has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, loops 1 (3 pts), error handling 1 (2 pts), 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef0401f3e8542a8953c2f5588cdde828f0c9f7763bf66d47ac541c0bd0aef91"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPRoutingMiddleware.__call__ (cognitive 35): MCPRoutingMiddleware.__call__ has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, loops 1 (2 pts), 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":"libs/agno/agno/os/middleware/mcp_routing.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6537f727e97dad217fadea3d7f8fc8bf144f24568754e959169857d8ac054968"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox.sandbox_run_response (cognitive 35): sandbox.sandbox_run_response has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, error handling 2, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/sandbox.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"053b1006c3f6fe3157fea20d3221ad9d10c10f7986f1400d2002dcc7201dfabf"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallScorer.score (cognitive 35): ToolCallScorer.score has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 7, loops 3 (6 pts), ternaries 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":"libs/agno/agno/scorer/tools.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ff09f04b71f37aef40d3568f5fda12982273cd2e573535ef04e7d0a695236b"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSession.get_messages (cognitive 35): WorkflowSession.get_messages has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (12 pts), boolean chains 3 (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":"libs/agno/agno/session/workflow.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cccd8dfcc256a1070efd01861b16f26deea4fa83e799e363620b7f468527a53"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._handle_team_run_cancellation (cognitive 35): _run._handle_team_run_cancellation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 4, loops 2 (4 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd5082b38f891e47711bcfd7ce8b6684ee5851c5dcb1125ab326affa6234e3"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._curated_config_view (cognitive 35): StudioTools._curated_config_view has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 9, loops 1 (2 pts), ternaries 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0affd2437aa6fa569c5dfec6fff9b2f557d9bcc569d2c85c59961572d2c47703"}},{"ruleId":"D2","level":"warning","message":{"text":"callables._aclose_cached_resources (cognitive 35): callables._aclose_cached_resources has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (24 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 2 (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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aaa2fdd662b6aa501b3774fcf8e0e8ee33943318dec1dc05a57fb0321eb0c6"}},{"ruleId":"D2","level":"warning","message":{"text":"mistral.format_messages (cognitive 35): mistral.format_messages has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (5 pts), boolean chains 4 (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":"libs/agno/agno/utils/models/mistral.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d3e04c1d38298acc1ed668c671a62b9bae35ff0ea20dde2f149583263d99b0"}},{"ruleId":"D2","level":"warning","message":{"text":"Weaviate.async_insert (cognitive 35): Weaviate.async_insert has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 3 (7 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"386b42db7d78f1619a7674a6616a47d54e1e9a118f84583c99b486c2e253d2b4"}},{"ruleId":"D2","level":"warning","message":{"text":"infra_cli.patch (cognitive 35): infra_cli.patch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 5, ternaries 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26d5f9694cf6a5c22d484101f043108ac2a0244a5c47aa290d6bc7368a5c110"}},{"ruleId":"D2","level":"warning","message":{"text":"operator.create_infra_from_template (cognitive 35): operator.create_infra_from_template has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (24 pts), error handling 3 (5 pts), loops 1 (3 pts), ternaries 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":"libs/agno_infra/agno/infra/operator.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c01edaef18582fbf7783fbe03547d7a45113bd39e6ad2d5fe7f8d3cce7114d0"}},{"ruleId":"D2","level":"warning","message":{"text":"03_step_user_input_streaming.handle_hitl_pause (cognitive 35): 03_step_user_input_streaming.handle_hitl_pause has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (12 pts), loops 3 (5 pts), error handling 1 (3 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":"cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"430f747b16c0ca0484b5ac9dbe1a2faf23e256d22bc1988089c024ca29a11123"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.aparse_response_with_parser_model_stream (cognitive 34): _response.aparse_response_with_parser_model_stream has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (10 pts), ternaries 1 (2 pts) (nesting depth added 21). 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f4f82b62b467cc974045b3e78cb9db81cd3dd6639dc8c50ee73682401fdf88"}},{"ruleId":"D2","level":"warning","message":{"text":"sources.browse_source (cognitive 34): sources.browse_source has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 7, loops 2 (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":"libs/agno/agno/company/sources.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9e51ebfbea2a03d6830b666a4a9c9265a6b27570dd5cf6dcd622fd0d2b5440"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_trace_stats (cognitive 34): DynamoDb.get_trace_stats has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 3, boolean chains 2, ternaries 2, 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e8b35b7c82bb411f5705d8d1aaee486975ce03618f54883f21dc48a31ef896"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.get_sessions (cognitive 34): AsyncMongoDb.get_sessions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (21 pts), ternaries 4 (9 pts), loops 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bcab4c4fcf649a44eff2aa788625e61b6e9af82d10cb150572c16d70c5513e"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.get_sessions (cognitive 34): MongoDb.get_sessions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (21 pts), ternaries 4 (9 pts), loops 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64578f619ed2b1b799414f86917ad7720d6b2ab24eeb524ced20dc189e2899e"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_sessions (cognitive 34): RedisDb.get_sessions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 3, error handling 1, 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"464e49c5e428af545534dd6134546911b486d4ffd8344c878bf942c96913c903"}},{"ruleId":"D2","level":"warning","message":{"text":"session_filters.normalize_session_filter (cognitive 34): session_filters.normalize_session_filter has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 5, ternaries 3 (5 pts), error handling 1 (3 pts), 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":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61c57394d32572c44f5770b61a9c492bc1ff621b839d9533e9ae4a606415bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.get_sessions (cognitive 34): ValkeyDb.get_sessions has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 3, loops 1 (2 pts), error handling 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a5912c45e519896352a54db5ae9d444b61a23408248a13d4ad52a82284e958"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_knowledge_instance (cognitive 34): utils.get_knowledge_instance has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8, loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b995d229fd89a831078c24387714c6a753ed5561be79ebd961237ac6648bef"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRunOutputEvent.from_dict (cognitive 34): BaseRunOutputEvent.from_dict has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (28 pts), ternaries 2 (4 pts), loops 1 (2 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":"libs/agno/agno/run/base.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"140dbb1af17426125a731e139f74ec36cb26427a7d355d2015c45785d38ac486"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.aparse_response_with_parser_model_stream (cognitive 34): _response.aparse_response_with_parser_model_stream has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (10 pts), ternaries 1 (2 pts) (nesting depth added 21). 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdad046ac128f2886fa0a3bfa5b13ad333b4823fa55565cddc77a68b67956c89"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._merge_requirement_decision (cognitive 34): _run._merge_requirement_decision has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 9, loops 2 (3 pts), ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":5821}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bafa7cacbe27483f3d8063742b9d5b8fce262ea0c3b2596d37779bf62e0b409"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCall._execute (cognitive 34): FunctionCall._execute has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 7, ternaries 3 (7 pts), error handling 4 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc952dd12766f3f91fd4d9ea37e2efc86164361936854ef712291dd18c98d90"}},{"ruleId":"D2","level":"warning","message":{"text":"GithubTools.get_repository_with_stats (cognitive 34): GithubTools.get_repository_with_stats has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 7 (8 pts), loops 6, ternaries 6, 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":"libs/agno/agno/tools/github.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca8e2b3814c5463ac1718df64e627a52b02abb904d09eba81a1bc06188667ac"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._check_references (cognitive 34): StudioRunnerTools._check_references has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 2, error handling 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fe35b15242cf839724fb45e031f30612fe6d608662bbb41bf8919512a809d8"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramTools.__init__ (cognitive 34): TelegramTools.__init__ has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 16, if/else 16, ternaries 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":"libs/agno/agno/tools/telegram.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c476d2677a7fec0d8533024c6b0e995a5518a3f4459e5cbad85d18d2b69f1958"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.print_response (cognitive 34): workflow.print_response has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (19 pts), ternaries 5 (9 pts), boolean chains 3, loops 1 (2 pts), 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. This shape REPEATS in the file: one other method here (workflow.aprint_response) 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0579904874624c854c0c08446f93b8c6a34dee67003c05ba54fc6f417581e6b4"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.aprint_response (cognitive 34): workflow.aprint_response has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (19 pts), ternaries 5 (9 pts), boolean chains 3, loops 1 (2 pts), 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. This shape REPEATS in the file: one other method here (workflow.print_response) 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5fdd1013de424cac4f7da5db4119e8a6c4ce331e5565d8a406db5ace27320e"}},{"ruleId":"D2","level":"warning","message":{"text":"events_replay.test_replay (cognitive 34): events_replay.test_replay has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 2, error handling 2, loops 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":"cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1ae16b15cd108c1383a10d03acbe070e0507418fc836e1ceaf4de0405eb99c"}},{"ruleId":"D2","level":"warning","message":{"text":"_hitl.submit_decisions (cognitive 33): _hitl.submit_decisions has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 10, 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":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde0c994f4f2b765aecc33af7a3139dc1cc819068bbe4766b5496b947583ae57"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAgent._acollect_turn (cognitive 33): CodexAgent._acollect_turn has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 3, loops 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b97fd43bd7338f17325007cf34772bfafbf961cebacc467710d5944c0cb2c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncBaseDb.__init__ (cognitive 33): AsyncBaseDb.__init__ has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 25, if/else 8. 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":"libs/agno/agno/db/base.py"},"region":{"startLine":2843}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0684706570dcb493dcda19399c7278618bbba9a8f791efc1a59c35f400b266d"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._calculate_date_metrics (cognitive 33): MongoDb._calculate_date_metrics has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8afa1c22630450f50ee39d70960edbc2945aa6f237265cbda191e2ce3d3df3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_trace_stats (cognitive 33): AsyncPostgresDb.get_trace_stats has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 4 (8 pts), error handling 3 (5 pts), boolean chains 2, loops 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4695}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9289ba108bfa3129f4de46d8679e3d5b9c15c5c24e0d143239973752b06ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_trace_stats (cognitive 33): PostgresDb.get_trace_stats has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 4 (8 pts), error handling 3 (5 pts), boolean chains 2, loops 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5228}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e136977f34abdfa386a736ec60d300077b83120851126b640cb3255a348e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_eval_runs (cognitive 33): RedisDb.get_eval_runs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 9, error handling 1, 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d507de68263f419911abe6b25cd4f86df4477b7ecb49d638535c255fa7671a13"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._q_scan_claim (cognitive 33): RedisDb._q_scan_claim has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (22 pts), error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4057}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a2abca17f650e856a9dc027663a6784b0088669f70756736b5ba1811f6c17"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.delete_eval_runs (cognitive 33): ValkeyDb.delete_eval_runs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 3 (6 pts), boolean chains 4, loops 3 (4 pts), 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"065181d4a18632070005f241ed5490b7789cd2c38df6927e41a131d7a9e9b6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AccuracyEval.run (cognitive 33): AccuracyEval.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 7 (13 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3439e05925f922484b90ab8573acfce1adced1762bbede7e4bbf6bde042da921"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator._embedding_pages (cognitive 33): PageCoordinator._embedding_pages has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 3 (9 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4f8ac858404c4ff6783673e082bb99ddb76b3b3e2b6e87f506e9d5578b700d"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningMachine._deserialize_store_config (cognitive 33): LearningMachine._deserialize_store_config has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 4 (10 pts), loops 2 (4 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"967c9909cd2b7c8efa90b7675e1bc651340c6023cade6d4bf2a69b190a74b1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._populate_assistant_message (cognitive 33): Model._populate_assistant_message has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 3, 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"026b9281a4c709b5d519847e9560b812fcada40c0d7aa903048ddfb507a87293"}},{"ruleId":"D2","level":"warning","message":{"text":"router.attach_routes (cognitive 33): router.attach_routes has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 7, loops 3, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/a2a/router.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d70ebb2d2ff59a6176ada6efc8aaaf87831c607dd705f0ab482fc00f0736bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"executor._render (cognitive 33): executor._render has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (2 pts), ternaries 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":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9107dda66a954e8197c2134dcd9f0f1dc6069811639eae802cd7fffd4649819"}},{"ruleId":"D2","level":"warning","message":{"text":"router.agent_continue_response_streamer (cognitive 33): router.agent_continue_response_streamer has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4 (8 pts), boolean chains 7, error handling 3, 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab5ed581083af9d0fd8244a92b2eb352caa782d257dd8298f23eff12d185f84"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics._os_metrics_location (cognitive 33): metrics._os_metrics_location has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60186d2ac2b3e2c5029dfef2c5024156bc259ad25b2370e39db014f62e07f71"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks._execute_pre_hooks (cognitive 33): _hooks._execute_pre_hooks has cognitive complexity 33 (threshold 15). Drivers by points: error handling 4 (12 pts), if/else 7 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks._execute_post_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89058143bf44c6d1c572eb2aab2be53c68260a24a07cc1622f8447b1044a8b4"}},{"ruleId":"D2","level":"warning","message":{"text":"_hooks._execute_post_hooks (cognitive 33): _hooks._execute_post_hooks has cognitive complexity 33 (threshold 15). Drivers by points: error handling 4 (12 pts), if/else 7 (12 pts), loops 3 (5 pts), boolean chains 2, ternaries 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. This shape REPEATS in the file: one other method here (_hooks._execute_pre_hooks) 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"de89fdfbd6b7bbef9347f1736347a6de53df93ddff128455431327620af890ff"}},{"ruleId":"D2","level":"warning","message":{"text":"apify.props_to_json_schema (cognitive 33): apify.props_to_json_schema has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (5 pts), ternaries 1 (5 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/apify.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdd37ad2c969d08d4d9c78f3b87438409f6ee30db83b9e8a5909cfcfe86f9fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotManager.restore (cognitive 33): SnapshotManager.restore has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 4 (6 pts), loops 3 (5 pts), boolean chains 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":"libs/agno/agno/tools/code/snapshot.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec268a660fd77f7a347c71102d84c6b325a86d11616e79679f2633d506d0a71"}},{"ruleId":"D2","level":"warning","message":{"text":"OxylabsTools.search_google (cognitive 33): OxylabsTools.search_google has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (8 pts), boolean chains 7, ternaries 1 (4 pts), error handling 1 (nesting depth added 15). 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71faa6d48075f129bb9490acd14c4487be1a7e8755ad5cd911d0a3eb45108f"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace._search_content (cognitive 33): Workspace._search_content has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 3 (7 pts), loops 2 (3 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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0b52db6f2fa08b4765f01739ae80bac366a877ef726b90a687f9a2e89bd8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromaDb.async_insert (cognitive 33): ChromaDb.async_insert has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 2 (5 pts), ternaries 1 (4 pts), boolean chains 3, loops 2 (3 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. This shape REPEATS in the file: one other method here (ChromaDb._async_upsert) 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"704d866c0a3b368589b31fae4f02f28603d413d417ae104bd1f8f50e3976536a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromaDb._async_upsert (cognitive 33): ChromaDb._async_upsert has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 2 (5 pts), ternaries 1 (4 pts), boolean chains 3, loops 2 (3 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. This shape REPEATS in the file: one other method here (ChromaDb.async_insert) 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa9eaab354bd145b76e1516c6f708ea97b2a0e478da8fa16155505be0464bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"LanceDb.async_insert (cognitive 33): LanceDb.async_insert has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (8 pts), ternaries 1 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"35417645f70787cdb6e2ba55022e69d25dabb6357d903bcac6f84d1ad06787a9"}},{"ruleId":"D2","level":"warning","message":{"text":"PineconeDb._prepare_vectors (cognitive 33): PineconeDb._prepare_vectors has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 2 (5 pts), ternaries 1 (4 pts), loops 2 (3 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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db11fe8e594ecccf206fabb2027545eb15ad91bfa6f0156895f48b31ee49718"}},{"ruleId":"D2","level":"warning","message":{"text":"InfraConfig.get_resources_from_file (cognitive 33): InfraConfig.get_resources_from_file has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 5 (8 pts), boolean chains 1, 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":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3685665c59c056aa90c0f8eca2257e090d988033e76d78e0ac3fbcca50e8b5c4"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.get_eval_runs (cognitive 32): FirestoreDb.get_eval_runs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (25 pts), ternaries 2 (4 pts), boolean chains 2, 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d160bd056c649cdcdb2bc00d501398112768623f5c647af6506de3037e1c3ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.get_runs (cognitive 32): InMemoryDb.get_runs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 6, ternaries 2 (5 pts), error handling 1, 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"00199121f52dd3530961cc4e094871762c6c77dfc2494c1b5689a8175f9fac45"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb._ensure_client (cognitive 32): AsyncMongoDb._ensure_client has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (2 pts), error handling 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ded39bf517128851ec10c1e255797f252d71d06461f10f90107cb79cfcbf788"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.upsert_memories (cognitive 32): AsyncMongoDb.upsert_memories has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bcc0cd18babdc2f0750f8ad549acbcc4950fcf86dd4858d470b7cd5f1851c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.upsert_memories (cognitive 32): MongoDb.upsert_memories has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"490085dacd7fdcc280237f323dbc9addf4b4fa13a042daf9d6c716e977a30e20"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._get_metrics_index_state (cognitive 32): RedisDb._get_metrics_index_state has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 4 (9 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"1890f96ba82eee3ef6fd7a8fb2a746a8b77211891cae727dc1486841c3fa7331"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb.upsert_trace (cognitive 32): SurrealDb.upsert_trace has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 6, 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3003}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e247b36246271ddb43e19a8233a904eba9b6178e97bc187c63469e1a759afa"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.deserialize_session_json_fields (cognitive 32): utils.deserialize_session_json_fields has cognitive complexity 32 (threshold 15). Drivers by points: error handling 8 (16 pts), boolean chains 8, if/else 8 (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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"126ccf61364d7284e43c234d8ed8c3dd34b21efb6e4518c72e4eb232fd09b506"}},{"ruleId":"D2","level":"warning","message":{"text":"_validate.validate_sft_jsonl (cognitive 32): _validate.validate_sft_jsonl has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, loops 2 (3 pts), error handling 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":"libs/agno/agno/environments/exporters/_validate.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c5ec933d9a87bba6a4bf79dd58ae44c09e223f8f23af883e6f205c4f5cd789"}},{"ruleId":"D2","level":"warning","message":{"text":"AccuracyEval.arun (cognitive 32): AccuracyEval.arun has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 7 (13 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5408e378ec01372445060cbb469d61f08ad8bf2a5d23f80e7c4d2add71cbad"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._forget_edge (cognitive 32): EntityMemoryStore._forget_edge has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 4 (7 pts), boolean chains 6, 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5291ffd6472ccb370ecc1293ed210ce310bf32edcdfc2a0219354afcdb4feab7"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini._format_video_for_message (cognitive 32): Gemini._format_video_for_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, loops 1 (3 pts), error handling 1 (2 pts), ternaries 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0704547967262b4c9b9e8e368fdfcda9fced0e3ac7f5417a96332b50da5445"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonShot._format_message (cognitive 32): MoonShot._format_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 2 (6 pts), boolean chains 4, loops 2 (4 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":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eb11a75cdb4c43788116e87b2346ba7ef3f398876cc0406a49255e6ca78bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker._execute_streaming (cognitive 32): QueueWorker._execute_streaming has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 9, loops 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a76f0288d3d738f7eff5bf818f411da6f2725a68fd73605dbf252934b8ef605"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthMiddleware._deny_for_schedule_owner (cognitive 32): AuthMiddleware._deny_for_schedule_owner has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 3 (5 pts), boolean chains 4, 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"56278b034f2226b3b50a3076d25cf9c467cec6ca0f7f6eb5e62abbddb22ecd4c"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_agent_by_id (cognitive 32): utils.get_agent_by_id has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 19). 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. This shape REPEATS in the file: 5 other methods here (utils.get_agent_by_id_async, utils.get_team_by_id, utils.get_team_by_id_async, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c10525c3e211637cdc00a188a7e4f56c955895afd95bfd999d23a31a539131b"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_agent_by_id_async (cognitive 32): utils.get_agent_by_id_async has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 19). 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. This shape REPEATS in the file: 5 other methods here (utils.get_agent_by_id, utils.get_team_by_id, utils.get_team_by_id_async, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d3077a60a781399b182d032b4eb32c44626aeb4aa26662954562002faab95"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_team_by_id (cognitive 32): utils.get_team_by_id has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 19). 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. This shape REPEATS in the file: 5 other methods here (utils.get_agent_by_id, utils.get_agent_by_id_async, utils.get_team_by_id_async, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"688dd9060dafb1c1dd09647663369ead5b6a1b53969c45e3ada5ce3e61cec4a7"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_team_by_id_async (cognitive 32): utils.get_team_by_id_async has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 19). 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. This shape REPEATS in the file: 5 other methods here (utils.get_agent_by_id, utils.get_agent_by_id_async, utils.get_team_by_id, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b81f655046b5ffe3216ecea3e88ab4a76981f6860fb91d3add1eaae90df9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_workflow_by_id (cognitive 32): utils.get_workflow_by_id has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 19). 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. This shape REPEATS in the file: 5 other methods here (utils.get_agent_by_id, utils.get_agent_by_id_async, utils.get_team_by_id, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad4de20aab7097a6d34b18d7fc1fc359bb0fd493310487b5b0d19f3c93bf7ed"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_workflow_by_id_async (cognitive 32): utils.get_workflow_by_id_async has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 19). 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. This shape REPEATS in the file: 5 other methods here (utils.get_agent_by_id, utils.get_agent_by_id_async, utils.get_team_by_id, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4061515c4b73729705850bfa07b3ae13be2f45843b66a08a49f6026b5f1ccafb"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._build_trailing_sections (cognitive 32): _messages._build_trailing_sections has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 9, loops 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"8870483ffb5b61e4b348169a56fd9e9053664bcef7f39d19733aa0bec66b6452"}},{"ruleId":"D2","level":"warning","message":{"text":"OxylabsTools.search_amazon_products (cognitive 32): OxylabsTools.search_amazon_products has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (9 pts), boolean chains 7, error handling 1 (nesting depth added 15). 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"77408f04eab95b99d8b1f01067c183ba645898153a37e9a07c8ad32c4ab26a16"}},{"ruleId":"D2","level":"warning","message":{"text":"XTools.search_posts (cognitive 32): XTools.search_posts has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 5 (19 pts), if/else 4 (6 pts), loops 2 (4 pts), error handling 2, boolean chains 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":"libs/agno/agno/tools/x.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e23a892672f65f067b9dd8dfccc0bd74260da74036bcdb29faa4c56872b17b3"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.search (cognitive 32): MongoDb.search has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 2 (5 pts), error handling 2 (4 pts), ternaries 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"6035be9197bb476cfd505be7c591e8741d6f891b1fabd0c1a09c9b09919717a1"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.async_insert (cognitive 32): MongoDb.async_insert has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 5 (11 pts), ternaries 1 (4 pts), loops 2 (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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db8f20f30df49349a92c18fc5be9afee5473d3b0e0e92b14667bdcbe5b18138"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearch._async_embed_documents (cognitive 32): OpenSearch._async_embed_documents has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 2 (5 pts), ternaries 1 (4 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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4216c03b9b027c262d308a240d6e22e660e7a43d06e8a211cbaa28f3daa93b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.execute (cognitive 32): Router.execute has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 3 (6 pts), boolean chains 3, ternaries 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. This shape REPEATS in the file: one other method here (Router.aexecute) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a1a16bc803e00d10b53c045a61312c1f4424f6c3b4ee8ce3150ca0d766060c"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.aexecute (cognitive 32): Router.aexecute has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 3 (6 pts), boolean chains 3, ternaries 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. This shape REPEATS in the file: one other method here (Router.execute) 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f7146b71f38f66425ca8ab4b1fb07366d1ee2d7b5f60585a7f4737fb139257"}},{"ruleId":"D2","level":"warning","message":{"text":"Step._convert_image_artifacts_to_images (cognitive 32): Step._convert_image_artifacts_to_images has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (24 pts), error handling 2 (7 pts), loops 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3599}}}],"partialFingerprints":{"codehealthFindingId/v1":"196fd4f432fce8a42b91e357f3956b98209416437f8d3af725e11da1e3d24c27"}},{"ruleId":"D2","level":"warning","message":{"text":"Steps.execute (cognitive 32): Steps.execute has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 4, error handling 3, ternaries 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. This shape REPEATS in the file: one other method here (Steps.aexecute) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4e76cea064fe96825a77cb222f2b220bb26eacd0b97f1741079321d6cf479c"}},{"ruleId":"D2","level":"warning","message":{"text":"Steps.aexecute (cognitive 32): Steps.aexecute has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 4, error handling 3, ternaries 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. This shape REPEATS in the file: one other method here (Steps.execute) 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"518a6fde91006f2c455b8e8341d055dafd33c484ed4d8be15cd14f0b1fec81f7"}},{"ruleId":"D2","level":"warning","message":{"text":"studio_hitl_agent_os.resolve_paused_tools (cognitive 32): studio_hitl_agent_os.resolve_paused_tools has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (11 pts), boolean chains 6, ternaries 1 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/22_studio/studio_hitl_agent_os.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c56d56f6bde5056cff3272643a79e79e0400134a17191580ed7c20b187140"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.resolve_memory_manager_reference (cognitive 31): _storage.resolve_memory_manager_reference has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 15). 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb10bc3bdb7a67b0663ceb441fa0bcf4d0eec307dc8f5543a882cb203ab2182e"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.get_trace_stats (cognitive 31): FirestoreDb.get_trace_stats has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 2, loops 2, 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3707}}}],"partialFingerprints":{"codehealthFindingId/v1":"f757c56ed912e669d602a4a246edfaf13ed69b79f81cac416c75ef595e96c93c"}},{"ruleId":"D2","level":"warning","message":{"text":"v1_to_v2.get_table_content_in_batches (cognitive 31): v1_to_v2.get_table_content_in_batches has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e4ae85b0df41f201626dd412705902fd79f29501cbd9ca0d1eebeb7f4ab884"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_surrealdb (cognitive 31): v3_0_0._revert_surrealdb has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 3 (7 pts), loops 3 (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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac55e84a3cfb3b53aeaddde3075805e96353427da529f2c2543551fd4d5d8d5"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_async_postgres_user_id (cognitive 31): v3_0_0._migrate_async_postgres_user_id has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 4 (7 pts), boolean chains 4 (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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533425c068d585adc3bb2dac40d21676390bafb97e65344c5673fee18be0458"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._aupdate_content (cognitive 31): Knowledge._aupdate_content has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4866}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ad777d3ebc0a115ed63376a177f45e7541846a7f38f6b6f3f829fb23fcd2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator.grep (cognitive 31): PageCoordinator.grep has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 2, error handling 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c6d602d651061cd259d487030b1a4be577daba50bfa9b0cafbc2e3fae09682"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AExecutor.execute (cognitive 31): A2AExecutor.execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 6 (12 pts), boolean chains 3, error handling 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":"libs/agno/agno/os/interfaces/a2a/executor.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d03c5e7d828caa12eedb84011df853ff37ee1b3ee41902ecf23a06c3c0b01"}},{"ruleId":"D2","level":"warning","message":{"text":"job_queue.acontinue_via_queue (cognitive 31): job_queue.acontinue_via_queue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 11, 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2862}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7c9c548cf5316075d80c1ab9f41f5f70828e86482bb05e871e8dc44db71f24"}},{"ruleId":"D2","level":"warning","message":{"text":"router._resume_stream_generator (cognitive 31): router._resume_stream_generator has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (9 pts), boolean chains 5, error handling 2 (4 pts), ternaries 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"610d04dbabd8e098172cc5bb5f33db2e1b0c7f8d7098b520392e6fe357d005aa"}},{"ruleId":"D2","level":"warning","message":{"text":"router._resume_stream_generator (cognitive 31): router._resume_stream_generator has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (9 pts), boolean chains 5, error handling 2 (4 pts), ternaries 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"618a5ee4abb47c46c79f13c146888cc5dce53ade8396cc7c45a843d77e602532"}},{"ruleId":"D2","level":"warning","message":{"text":"router._resume_stream_generator (cognitive 31): router._resume_stream_generator has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (9 pts), boolean chains 5, error handling 2 (4 pts), ternaries 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"da038bdfaa60d0f323b0e10d99eb80b86c5d218268e19b02f29382db81d2d794"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_session_name (cognitive 31): utils.get_session_name has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfbd7d0b581814755b806f46239bcea7dc3388a082069ca4552aed596666b3e"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRemote._with_run_output (cognitive 31): BaseRemote._with_run_output has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 8, 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":"libs/agno/agno/remote/base.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba799fdda195b44f8e4e8cd7ae2dd7674d894ea62c69e51f3a8bde00c5b2f05e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSession.get_tool_calls (cognitive 31): AgentSession.get_tool_calls has cognitive complexity 31 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (12 pts), boolean chains 3 (nesting depth added 21). 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f55b331b6546d8ead0f79a0fbb9d87cb3f9f2f68ec7bae5202fcfc94443821"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingTools._check_command (cognitive 31): CodingTools._check_command has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 3 (7 pts), boolean chains 2, loops 2, 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1218ad1bd0264fa6282ba1ca403a286d54f4d35ca01a8e56605f64d4ce6f7da9"}},{"ruleId":"D2","level":"warning","message":{"text":"OxylabsTools.scrape_website (cognitive 31): OxylabsTools.scrape_website has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (11 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae970a477cf6614fc833ce6a42a3e954c0be37b7087dd410c19789be838cf20"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelTools.parallel_extract (cognitive 31): ParallelTools.parallel_extract has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 3, error handling 2, loops 1 (2 pts), 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, 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":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c73c96285dd04513d4b429cafb603cf494759149be00f3da98d977c8944306a"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.has_self_reference (cognitive 31): gemini.has_self_reference has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (9 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":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac54a16acda103ac539d95cd5c92a4290b7fd789807b4f13d942d968122e0e4"}},{"ruleId":"D2","level":"warning","message":{"text":"claude._format_image_for_message (cognitive 31): claude._format_image_for_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), error handling 3 (4 pts), boolean chains 2, ternaries 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"985d7e68ff3cb82af987ca3096a7e9ef981c1605bc8ddd687ef5a966eff25d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._enrich_event_with_workflow_context (cognitive 31): Workflow._enrich_event_with_workflow_context has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 7, ternaries 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2696}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd228794fb1dcfafedd5d81a7d1a9dfab36b7df379938746e3009ca39a1d6873"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.parse_response_with_parser_model_stream (cognitive 30): _response.parse_response_with_parser_model_stream has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (6 pts), ternaries 1 (2 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"89882da3e31799a92eaa9231be6e68533b5df3a68934f0c1095d71b158e61e73"}},{"ruleId":"D2","level":"warning","message":{"text":"_hitl.record_decision (cognitive 30): _hitl.record_decision has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 12, 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":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c7ed59e3215a633359877aae1bd2e23a825fe5c4724ce3619a7ebcf64d7180"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.build_messages_with_history (cognitive 30): utils.build_messages_with_history has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (7 pts), loops 2 (7 pts) (nesting depth added 21). 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":"libs/agno/agno/agents/langgraph/utils.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef4ef3c3c5af25b0ad7e8eb527105073fa52b7b1ca041f7c5564f50b8a9aeec"}},{"ruleId":"D2","level":"warning","message":{"text":"v1_to_v2.convert_v1_media_to_v2 (cognitive 30): v1_to_v2.convert_v1_media_to_v2 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 7, error handling 2 (6 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ee42b0e57e8a1f73075e97032f1dc8ce87f6245af3f49aa8652ca42e49ef7f"}},{"ruleId":"D2","level":"warning","message":{"text":"v1_to_v2.convert_v1_fields_to_v2 (cognitive 30): v1_to_v2.convert_v1_fields_to_v2 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 4, ternaries 1 (4 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba29988d5a6e53d3dc46fd619b50e5d4e57dc3004b11cccc5cf6f69eea3d303c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb._get_table (cognitive 30): AsyncPostgresDb._get_table has cognitive complexity 30 (threshold 15). Drivers by points: if/else 29 (30 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"323bdadc38b23cb86c931daa4b701f27cdd8de57def320b589476e72617cc721"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb._cascade_tool_results (cognitive 30): AsyncPostgresDb._cascade_tool_results has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (8 pts), error handling 2 (5 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"280897f10e72b88bc845689cb24184e597edbb353b5216c730c1436bfcc69b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.upsert_knowledge_content (cognitive 30): AsyncPostgresDb.upsert_knowledge_content has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, error handling 1, 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3931}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e60ba65cd96ee6c77198f8e5d2a0289bb17e1b71015b97d2f88daa6482d5dce"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.transition_task (cognitive 30): AsyncPostgresDb.transition_task has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 4, ternaries 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8432}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29ad784a845fb25458b4604c15a0f23b3f2f6278f3d9841d0cc9a1def4b2b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb._cascade_tool_results (cognitive 30): PostgresDb._cascade_tool_results has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (8 pts), error handling 2 (5 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a05ba62ec6200725051253872c53c372d716d9ba7a7b3555e7107fe3c2d33a"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.upsert_knowledge_content (cognitive 30): PostgresDb.upsert_knowledge_content has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, error handling 1, 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4469}}}],"partialFingerprints":{"codehealthFindingId/v1":"266495a1ce7755601c1eefd33818ff9ef2ac5daaf4d7e36caab1fcc4da742a25"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.transition_task (cognitive 30): PostgresDb.transition_task has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 4, ternaries 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":11157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90e1df6d9a9e243d929eab259938f4b2b28ea827808d2a186f6fcd7ba0a2ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_trace_stats (cognitive 30): RedisDb.get_trace_stats has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, loops 2, error handling 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3596}}}],"partialFingerprints":{"codehealthFindingId/v1":"248c0a2bf6d8759485885de9ddd2db66fa5157f7a1a8fd2c8a569001ebe52424"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb._cascade_tool_results (cognitive 30): AsyncSqliteDb._cascade_tool_results has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (8 pts), error handling 2 (5 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9a85433bd6eddc9b8199b76da7eef34813d1e19c7fdc6b714bda7c452f4d27"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_trace_stats (cognitive 30): AsyncSqliteDb.get_trace_stats has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 3 (5 pts), ternaries 3 (5 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4892}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f2851f24e6dcf4c65fffe905c023861ab6b6212f27861972c76afbb0cc8d05"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb._cascade_tool_results (cognitive 30): SqliteDb._cascade_tool_results has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (8 pts), error handling 2 (5 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d20a8bd1c98c5b60bbe1d8136c95d2779d31262ea533a8dfd40cd228e225a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_trace_stats (cognitive 30): SqliteDb.get_trace_stats has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (17 pts), error handling 3 (5 pts), ternaries 3 (5 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5050}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d628f551fd9c88efdaefd76de0bba43c18d0cda621f361e6a984bfbcdbe3495"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._get_sessions_runs_data (cognitive 30): ValkeyDb._get_sessions_runs_data has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 5 (7 pts), ternaries 2 (5 pts), boolean chains 3 (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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e711b5c4614d642f0c4ef83a576acc8eff881ce8b5a4abb67c81dc140c901cf"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubLoader._aload_from_github (cognitive 30): GitHubLoader._aload_from_github has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 2 (4 pts), loops 2 (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. This shape REPEATS in the file: one other method here (GitHubLoader._load_from_github) 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a017dc9fbf9dde8332960a3ae0853b14aeb65236ea7f7ebcc2e8862f0a5224"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubLoader._load_from_github (cognitive 30): GitHubLoader._load_from_github has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 2 (4 pts), loops 2 (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. This shape REPEATS in the file: one other method here (GitHubLoader._aload_from_github) 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e6df48d2aba49b3125d7c14e077b58c67b651cbe749681c37b56a8d43f8af1"}},{"ruleId":"D2","level":"warning","message":{"text":"machine.describe_learning_machine (cognitive 30): machine.describe_learning_machine has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 5 (12 pts), boolean chains 4, 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dadb82fd638fcae5d29f0fb3636bcadcb2e9552bd2f1d4d2e6c43d6191640ae"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionLogStore._filter_decisions (cognitive 30): DecisionLogStore._filter_decisions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), error handling 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b058fff25adfad8ba252a366dd3bc4d9d9949c6fafd901148bb879cd4f0126"}},{"ruleId":"D2","level":"warning","message":{"text":"UserProfileStore._get_system_message (cognitive 30): UserProfileStore._get_system_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 16). 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":"libs/agno/agno/learn/stores/user_profile.py"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb8ca3812634190964f534f6353b96f8a77d35967c78c1e62f550056ebe7f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Cohere.get_request_params (cognitive 30): Cohere.get_request_params has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 2 (4 pts), boolean chains 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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e8241006fda385da4736f5d70eefb11ab5f9aa76d420aeefa2b9322c9a88f8"}},{"ruleId":"D2","level":"warning","message":{"text":"hitl._resolve_required_approvals (cognitive 30): hitl._resolve_required_approvals has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (4 pts), boolean chains 3, 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":"libs/agno/agno/os/interfaces/slack/hitl.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5770034e3271a210a61b050fea4ee3aa7a7dfef790e10902628d034066cd8ad"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.parse_response_with_parser_model_stream (cognitive 30): _response.parse_response_with_parser_model_stream has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (6 pts), ternaries 1 (2 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_response.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1c5751dc9965ce0da63309953c944b46f842f0046c2074d1b016543dcdfe77"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCVTools.capture_video (cognitive 30): OpenCVTools.capture_video has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 3, error handling 2 (3 pts), loops 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":"libs/agno/agno/tools/opencv.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22e3f45d5e94e042e0b0be95b9089615122356db628781d06d956014e313ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.publish_component (cognitive 30): StudioTools.publish_component has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 3, error handling 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e717b18b6ed32f5a40a93d3056779c1a73f878b82553beca80ed08611b057478"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.await_for_thread_tasks_stream (cognitive 30): agent.await_for_thread_tasks_stream has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), error handling 3 (8 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec259a74b02f77f1ea25feea69c552908b746a22a0a4c0ee3e23c47d5d517c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Cassandra.async_insert (cognitive 30): Cassandra.async_insert has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, ternaries 2 (6 pts), error handling 2 (5 pts), loops 3 (4 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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd0918b48b968a8d9e9cc098e983757b2b79db713f29e047574f2746eda6f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromaDb.update_metadata (cognitive 30): ChromaDb.update_metadata has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (3 pts), error handling 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"667f2d87609510839eb5d1fb5967a3b9c3833eaa378af0a1a2abb5648c5ca63f"}},{"ruleId":"D2","level":"warning","message":{"text":"Elasticsearch._async_embed_documents (cognitive 30): Elasticsearch._async_embed_documents has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 2 (5 pts), ternaries 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0293bbd32d48922820c7de6baced9602b18310cd832968a14a96218e3a24ac"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStore.async_upsert (cognitive 30): SingleStore.async_upsert has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (6 pts), error handling 2 (5 pts), loops 2 (3 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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a40360444f39a493ed9ded0cc0dcdec27b519a19cacba328e1bd8382d533ef"}},{"ruleId":"D2","level":"warning","message":{"text":"StepInput.get_step_content (cognitive 30): StepInput.get_step_content has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (7 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 16). 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":"libs/agno/agno/workflow/types.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"272393fe632a672b8e34fb39c224000f2cf5f83a1fe23cd4634b2aff1e92b687"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.run_parameters (cognitive 30): Workflow.run_parameters has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (20 pts), if/else 4 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e419c7fdf4b58e3bd7a9f5c4d0620559a1e01e0f6a6f836163976a2055435d0"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow._find_inner_step_by_executor (cognitive 30): workflow._find_inner_step_by_executor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 8, 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d77cb4a725fc1e112a524bce3a856d6bb9196795e0fc38559adac71019606a1"}},{"ruleId":"D2","level":"warning","message":{"text":"file_search_rag_pipeline.query_with_citations (cognitive 30): file_search_rag_pipeline.query_with_citations has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 17). To reduce it, 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":"cookbook/90_models/google/gemini/file_search_rag_pipeline.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7783e79e05a333766a5c7fecd6dc7c3be35c0f42f9da80c569fae9ce71a736ab"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence.run_evidence (cognitive 29): evidence.run_evidence has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 11, loops 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":"libs/agno/agno/company/evidence.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e201cb42f868c5f3acddec942a189e75b3e900c9401e884288870e3592258ab"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._invoked_components (cognitive 29): execution._invoked_components has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 8, ternaries 2 (5 pts), error handling 1 (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":"libs/agno/agno/company/execution.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed096dfc0f5bc8593fdbc268c2125287e6db35dfb52c72da2acea6e621c0e05b"}},{"ruleId":"D2","level":"warning","message":{"text":"summary._summary_report (cognitive 29): summary._summary_report has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, ternaries 3 (6 pts), loops 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":"libs/agno/agno/company/summary.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629805dd128e673c7494fb6b46ab6402a6830c3b20baf13b5e5ff3b87cc7907"}},{"ruleId":"D2","level":"warning","message":{"text":"filter_converter.filter_expr_to_sqlalchemy (cognitive 29): filter_converter.filter_expr_to_sqlalchemy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 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":"libs/agno/agno/db/filter_converter.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"914df415b27eee95b9ac343615cbc703056eee445bd8f8a4bccd98d7767ea7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.get_sessions (cognitive 29): FirestoreDb.get_sessions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (2 pts), error handling 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a35d11cfca6d66337dfaff068a226f1c92ad8d15fdcd4c12738dd9ee65b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.upsert_trace (cognitive 29): FirestoreDb.upsert_trace has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, error handling 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea102dd633210df82671a4665ae35c77d44e9f6fb0b387991cb7d8db248cb1d"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.upsert_trace (cognitive 29): GcsJsonDb.upsert_trace has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 6, error handling 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de9c9331fd7a57b7cc7507a3d43a6228f03413439727775d82ef9247a50d56d"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.upsert_trace (cognitive 29): JsonDb.upsert_trace has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 6, error handling 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f923f73d9f6c3f92c2e2b6900203bc1ecad3cbbda3f492b6d32e1adb2f98f7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_sessions (cognitive 29): AsyncPostgresDb.get_sessions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 3 (6 pts), loops 2 (4 pts), boolean chains 2, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21d3ba873829c5931a4b04a7548d8c494c25bfc9680e7eaf48c48a770fe5533"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.set_current_version (cognitive 29): PostgresDb.set_current_version has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 2, 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19f621b8e2be1e92a7f09eed4ac504f5162b6bd7cf8845a7f03c27b44481e7f"}},{"ruleId":"D2","level":"warning","message":{"text":"session_filters._evaluate_session_filter (cognitive 29): session_filters._evaluate_session_filter has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (15 pts), ternaries 5 (12 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":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1242328ffd9c8b30d2fe845095c68371aaf57826882cb6d5dbc5674e0ba323"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.set_current_version (cognitive 29): SqliteDb.set_current_version has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 2, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":7144}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5182f872f8b44ddb233e7a00ed8ef8d99770ea011f22023fbe32e487a403fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb.get_sessions (cognitive 29): SurrealDb.get_sessions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (24 pts), error handling 1 (2 pts), loops 1 (2 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"023d0a9b12cfbf63e4dd4be323b721922559de39976583face63ec8998ca8460"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._get_metrics_index_state (cognitive 29): ValkeyDb._get_metrics_index_state has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 4 (9 pts), boolean chains 3, ternaries 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d34eaa48f18f80f40774f5c7bb8c7c6116805559df6b165c7b2805b51b83b68"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._get_metrics_legacy_runs (cognitive 29): ValkeyDb._get_metrics_legacy_runs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 5 (9 pts), boolean chains 6 (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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf3ae8d5a997671291cd95f05348977c5e8098e50c7312a6d1bbbed91cac0f"}},{"ruleId":"D2","level":"warning","message":{"text":"AccuracyEval.arun_with_output (cognitive 29): AccuracyEval.arun_with_output has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 8 (12 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0802532644a3f039c1ebc2a2efb2caccba11370332835323cff7b0259a38fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldLabeledCSVReader.async_read (cognitive 29): FieldLabeledCSVReader.async_read has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3 (7 pts), boolean chains 4, ternaries 2 (3 pts), error handling 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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a35e6df8dc74d9f58ed9512d05622e69dea25a561e8226ab3cb554dd2a625b6"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsBedrock.get_async_client (cognitive 29): AwsBedrock.get_async_client has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8 (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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4e3887582020073b4acbd1eb3802fb6a0179ac02faecffcacc2d7b2cc60a23"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.collect_components_from_os (cognitive 29): utils.collect_components_from_os has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 3 (6 pts), boolean chains 3, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":2848}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe26f498804276e369c4bb93ad1b8ce4f2b478509ca2b8b21fff1de9ae20eb9"}},{"ruleId":"D2","level":"warning","message":{"text":"RunOutput.from_dict (cognitive 29): RunOutput.from_dict has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 5 (6 pts), loops 2 (3 pts), error handling 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599d1cb3dbcb6901debc09228dddeeb7f1ce332ee14681f57013963796643f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamRunOutput.from_dict (cognitive 29): TeamRunOutput.from_dict has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 5 (6 pts), loops 2 (3 pts), error handling 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":"libs/agno/agno/run/team.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fefef5c855ae18db46f1c89e959c1646f31e7e11002570a858776e4168195dd"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._requirement_decision_slots (cognitive 29): _run._requirement_decision_slots has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (19 pts), if/else 2 (6 pts), boolean chains 4 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6034}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3215f233272f83e247636f9871fae5f3669da9479971ace08a7e201dc39ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"FileGenerationTools.generate_csv_file (cognitive 29): FileGenerationTools.generate_csv_file has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (7 pts), boolean chains 1, error handling 1 (nesting depth added 16). 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":"libs/agno/agno/tools/file/generation.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a470e4dcd478a308aadb6936eb54acd5b89528f756a818de682ea81f372b72"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCall._build_entrypoint_args (cognitive 29): FunctionCall._build_entrypoint_args has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 2, error handling 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534ea0b2b1df6ecbf5a220ba375b94b9bebe60fa0f8b68a5f8677b0d6faa1c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SalesforceTools.__init__ (cognitive 29): SalesforceTools.__init__ has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 17, if/else 11, ternaries 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":"libs/agno/agno/tools/salesforce.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad75418111c6dbe220a1ffddcdf43edffdf98190937cd82c5441fa5778d2558"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._step_config_to_spec (cognitive 29): StudioTools._step_config_to_spec has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 9, loops 3, ternaries 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafdefb66837d1cfb772e79060e994098b52e83174c70f6f663c48e67b5fef5d"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.update_schedule (cognitive 29): StudioTools.update_schedule has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6, ternaries 2 (4 pts), error handling 2 (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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4730}}}],"partialFingerprints":{"codehealthFindingId/v1":"088881a4ca0eb75766d084e9f430c542e893155795adc7730d9e86ffe66e2410"}},{"ruleId":"D2","level":"warning","message":{"text":"LanceDb.update_metadata (cognitive 29): LanceDb.update_metadata has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 3 (5 pts), loops 2, error handling 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47e051c45d3466a5c16f3b11bbb0a00cad0a2f0cb868d95a25a7a5f6112369b"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._search_index_exists (cognitive 29): MongoDb._search_index_exists has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (6 pts), error handling 2 (4 pts), boolean chains 3 (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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"764ec89a9f6226b37508aba00165737add6d433e5cbe9590022f966841e04eba"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector._async_embed_documents (cognitive 29): PgVector._async_embed_documents has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 2 (5 pts), ternaries 1 (4 pts), loops 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"71356c742582aa907a82fd64a165578c4350b8ad0aa2570b05ada973c316c712"}},{"ruleId":"D2","level":"warning","message":{"text":"Step._execute_nested_workflow_stream_inner (cognitive 29): Step._execute_nested_workflow_stream_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 7, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (Step._aexecute_nested_workflow_stream_inner) 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"39273876b559c940acef738c64f7e5234ce40c013995765c1777b97c4d229bde"}},{"ruleId":"D2","level":"warning","message":{"text":"Step._aexecute_nested_workflow_stream_inner (cognitive 29): Step._aexecute_nested_workflow_stream_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 7, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (Step._execute_nested_workflow_stream_inner) 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3380}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33a82c14c68ad2f48397f6632b681484862b098bb54df7e2f1a4b87aa551b55"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.arun (cognitive 29): Workflow.arun has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 11, 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10823}}}],"partialFingerprints":{"codehealthFindingId/v1":"517da880b42c2766a47ebfffc34b1441e588106521eb6d7d72ec635c04c60fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.imageSearch.runSearch (cognitive 29): index.html.imageSearch.runSearch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 9, error handling 1 (nesting depth added 4). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c601b6b43496a0d5a6288ca075c201c809a3fba4e90a1f5ee98bfeacc770d95"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPyAgent._arun_adapter_stream (cognitive 28): DSPyAgent._arun_adapter_stream has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, ternaries 1 (5 pts), loops 2 (4 pts), error handling 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":"libs/agno/agno/agents/dspy/agent.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4270ba8119a6c91607069117e2c5aee15394af0a1bafb7f1a4773fe83dc9680"}},{"ruleId":"D2","level":"warning","message":{"text":"routines._authorize_auto_accept (cognitive 28): routines._authorize_auto_accept has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c2d7afa8e63348d8d19fd29c899a09fed36eafcbbb4ae11134efe45457e902"}},{"ruleId":"D2","level":"warning","message":{"text":"sources._local_files (cognitive 28): sources._local_files has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 7, ternaries 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":"libs/agno/agno/company/sources.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf32576dd69bd688585c45d486f28bcdc36ec35311339daf2cd148fe11e39f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb._write_aggregate_metrics_rows (cognitive 28): DynamoDb._write_aggregate_metrics_rows has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 3 (4 pts), ternaries 2 (4 pts), 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8995e0702f8197c7917138a389442a799671086bfd3ead72e2913855c63b49"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_traces (cognitive 28): DynamoDb.get_traces has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (5 pts), boolean chains 3, ternaries 2, 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9746e9a08e53b99cc5a57852bdad1774301aafccf7374a080cd399c4294084"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_span_stats (cognitive 28): AsyncPostgresDb.get_span_stats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5 (8 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5015}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dea64eb4fbefb68923c02d97b7ffe90d15fadf98bd854243715c02460aa4075"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_span_stats (cognitive 28): PostgresDb.get_span_stats has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5 (8 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9430bdb997aaeb05e3cc30e7afb6adffa7b301126521f01047386f9128158fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_sessions (cognitive 28): AsyncSqliteDb.get_sessions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (17 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2, error handling 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c40b448954f9dfb5bf680c9ad77924d4e7656d2d548e01c7b3e68146973f14"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.transition_task (cognitive 28): AsyncSqliteDb.transition_task has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 4, ternaries 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7646}}}],"partialFingerprints":{"codehealthFindingId/v1":"876c066874c3ffe336684e41920640a111c310c6bf5601d929716575eef183cb"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_sessions (cognitive 28): SqliteDb.get_sessions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (17 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2, error handling 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"881cecb8cea3dc01f9f72473bf72e2465edd85631ac34654efbe0d3496825139"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.transition_task (cognitive 28): SqliteDb.transition_task has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 4, ternaries 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":10098}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45cac561528ecd6a6b46f00bc09cd93461071852b4d196ef25915108d4627d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._calculate_date_metrics (cognitive 28): ValkeyDb._calculate_date_metrics has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4, loops 3 (4 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e21cab2cf8c8bb8b8f62d28e089f02d6ca963e5f82fbf9e6d8ba6759e59f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.get_metrics (cognitive 28): ValkeyDb.get_metrics has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 6, loops 2 (3 pts), 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e88b8ce7e1f53aea931843786236c72f6ffbbc6e39dfb78a6819917b2fbd104"}},{"ruleId":"D2","level":"warning","message":{"text":"mdx._esm_end (cognitive 28): mdx._esm_end has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (21 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/utils/mdx.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a64ee9aff00c41d34032ecfa836311c9a86feecef2a8ca5bdc202e0c93680c"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionContextStore.print (cognitive 28): SessionContextStore.print has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7babc43910ac0a593823532bc84c6fc0738df861ed4a420829903962e5a5f0ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini.get_client (cognitive 28): Gemini.get_client has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9 (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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6001f6618aa66016390ab12f5a21d387b9490a5f476e67a423812c3aed3f83ac"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat._format_message (cognitive 28): OpenAIChat._format_message has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff1639a558a26f05d251c26aa582b0639fb4fc27c932965a4dd8528b057a631"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming._get_progress_metadata (cognitive 28): streaming._get_progress_metadata has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 2 (4 pts), ternaries 1 (4 pts), error handling 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":"libs/agno/agno/os/interfaces/a2a/streaming.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"383aa70f4fc120615b0de10886f3686f91a713d43faa26bba8ce70d52b666905"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp_results.build_custom_tool_result (cognitive 28): mcp_results.build_custom_tool_result has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 9, loops 4 (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":"libs/agno/agno/os/mcp_results.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"627f8382fc8a99b064c839452f5cfa075b0b72d9464263a8b5dcd217c50be31f"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox.enqueue_sandbox_run (cognitive 28): sandbox.enqueue_sandbox_run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 10, ternaries 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/sandbox.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa55c8a2baf480aa6d858dd4d7c34a5ae8919b62a019f813b88bbc0f0625f78"}},{"ruleId":"D2","level":"warning","message":{"text":"components._resolve_member_links (cognitive 28): components._resolve_member_links has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 5, ternaries 1 (3 pts), 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca020dc3825c1008b9e80a30b066dbcf77048542efb8586da38e90ecf61436e1"}},{"ruleId":"D2","level":"warning","message":{"text":"router.workflow_response_streamer (cognitive 28): router.workflow_response_streamer has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, ternaries 1 (3 pts), error handling 2, 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"22691633fdcad79c4df21c0ce933735c78bb278d60f7de50ec6fa4904ef29223"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._collect_components_from_step (cognitive 28): utils._collect_components_from_step has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9356f577fcc6cb73656ecacce4b694c7c412b4f2cd13a7992d30705c4b7bb0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleExecutor._call_endpoint (cognitive 28): ScheduleExecutor._call_endpoint has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7, error handling 1 (3 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":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e619c1a8df3dc44b5b24143d527a3bb096df352c135bc5c5846865ceca0d3db9"}},{"ruleId":"D2","level":"warning","message":{"text":"RedmineTools.__init__ (cognitive 28): RedmineTools.__init__ has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, if/else 13. 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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e129790ed7968c42e2bd81f65f53c489d3fba60a2ce540507076bf377bb713e3"}},{"ruleId":"D2","level":"warning","message":{"text":"RedshiftTools._get_connection_kwargs (cognitive 28): RedshiftTools._get_connection_kwargs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (28 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":"libs/agno/agno/tools/redshift.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4413d495f3ddbf48fde96f931226e429c52ab5ec3dc1a690b50ae1f6d76e0179"}},{"ruleId":"D2","level":"warning","message":{"text":"ShopifyTools.get_product_sales_breakdown (cognitive 28): ShopifyTools.get_product_sales_breakdown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 4 (5 pts), boolean chains 1, 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"861b170f6d3368b079e64f30c315dc1f12ba4e0c2e591f641e533dca566627f8"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.list_components (cognitive 28): StudioTools.list_components has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f8c8cd32d276f69e68b799e911cd2ef1c2532af5364116d497e4e5446997b4"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizationTools._normalize_data_for_charts (cognitive 28): VisualizationTools._normalize_data_for_charts has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 3 (11 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"161aa9fda204cfebcbf644ce1e464c99cefc6054776aa6a1410371f3614556b5"}},{"ruleId":"D2","level":"warning","message":{"text":"functions.get_function_call (cognitive 28): functions.get_function_call has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 3 (6 pts), boolean chains 2, 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":"libs/agno/agno/utils/functions.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e043ca2e91a62f4ba04a78fc98f68f596f06d8185d9bf94b63e40e3d1fbd7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch.upsert (cognitive 28): CouchbaseSearch.upsert has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 3 (6 pts), ternaries 1 (3 pts), 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3ac38cc4248d51007300e00c1d8ea20f5c11be6c0143bea5260de83e58a764"}},{"ruleId":"D2","level":"warning","message":{"text":"LanceDb.search (cognitive 28): LanceDb.search has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (6 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e346377f61ba6367d56078d3a45e827386475a81626afcecb0d63e99abc3d"}},{"ruleId":"D2","level":"warning","message":{"text":"UpstashVectorDb.upsert (cognitive 28): UpstashVectorDb.upsert has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 2 (3 pts), boolean chains 2, 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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"240569aae6315dedeb83a477bb8df16f525ffd59b7b16e393948a2c95f9eead1"}},{"ruleId":"D2","level":"warning","message":{"text":"Step._store_executor_response (cognitive 28): Step._store_executor_response has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (4 pts), boolean chains 3 (nesting depth added 15). 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce987f88f4264b08a515f40f66c9e9117c63ac82c66f8dc037b5e20479b87150"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.update_agents_and_teams_session_info (cognitive 28): Workflow.update_agents_and_teams_session_info has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 2 (7 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 19). 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7c60cf76b503985de188fda44879b8368ffb447b5a83dcbb96b04c8adfa8a9"}},{"ruleId":"D2","level":"warning","message":{"text":"disconnect._report (cognitive 28): disconnect._report has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, loops 3 (5 pts), ternaries 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":"libs/agnoctl/agnoctl/commands/disconnect.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5dff332b26df61fd1fcff4f86a72f9558ab27c2854ddee5227994d99aafd2d"}},{"ruleId":"D2","level":"warning","message":{"text":"automation_history._record_task_failures (cognitive 27): automation_history._record_task_failures has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (6 pts), boolean chains 5, error handling 1 (2 pts), loops 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":"libs/agno/agno/company/automation_history.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea389d820d898a0519e1c62d4cfb2e9f5ee1b6fbd8518359f8c995b9556e8ad"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._check_task (cognitive 27): execution._check_task has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, error handling 3 (4 pts), ternaries 2 (4 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf97d2a60a8838aa79ca596009020307ad734729509c869672d7f9dbbf2a6b8"}},{"ruleId":"D2","level":"warning","message":{"text":"notion_ops.markdown_to_blocks (cognitive 27): notion_ops.markdown_to_blocks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (7 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":"libs/agno/agno/context/wiki/notion_ops.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc3023d314493f924fba1b6e5300bf05fbaa14eb4cec4ea9de236cf4bd23f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_runs (cognitive 27): DynamoDb.get_runs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (21 pts), error handling 2, loops 1 (2 pts), ternaries 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"948ff960548ac134503c628fce847b78b6ea612715edf91098971f069d1834b2"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.upsert_trace (cognitive 27): DynamoDb.upsert_trace has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 6, 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd27a64298f39b452db8f677dd7f7f024045756b1a927a6f4dacfd8ba5431d"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_spans (cognitive 27): DynamoDb.get_spans has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 4 (7 pts), error handling 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac538c5cf638080e875c29c3b8fc3fc7ba58d45236eead01d8503985e5d59130"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_runs (cognitive 27): GcsJsonDb.get_runs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 1 (2 pts), 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bdf863270c4d9ad5138fa93c7f31934676f106093fd8507f832c8dbd271b74"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_runs (cognitive 27): JsonDb.get_runs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 1 (2 pts), 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da24d977113fad2e16e3ee10fe63bd60dd4093804a680b78893470eb801bd4a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb._release_metrics_refresh (cognitive 27): JsonDb._release_metrics_refresh has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (6 pts), boolean chains 2, error handling 1, 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a493ba6a0d9ca59bc41742644ff804bb4b120835ca7ec0997cf07d1ae1341f8"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_dynamodb (cognitive 27): v3_0_0._migrate_dynamodb has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 2 (4 pts), loops 3 (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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4238b57110f9694c08aaf10f57679285f55c59ce7b41d8fee1bfe9dbbf8f6bf"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb._calculate_date_metrics (cognitive 27): MySQLDb._calculate_date_metrics has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"773a7389d137e969bf3359c0c05741ed19ec5c25c9e699fe648d4a8381ec234c"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_sessions (cognitive 27): PostgresDb.get_sessions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"656225600370d2db7ecb1abaa5d139c158d89e52cc9fa8d268720314d6335862"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._get_metrics_legacy_runs (cognitive 27): RedisDb._get_metrics_legacy_runs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 5 (9 pts), boolean chains 4 (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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9097207ea40a47e8924f99c201de083ef8600e5a56f013f6ae2bc5b4bec794"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._calculate_date_metrics (cognitive 27): RedisDb._calculate_date_metrics has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (19 pts), loops 3 (4 pts), boolean chains 3, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3329424a584fe552df602335952500ca4ee1589403c12a0d515a24cd45f0f153"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_metrics (cognitive 27): RedisDb.get_metrics has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 2 (3 pts), 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc02408515408deea4befec6e0aa5f85607c551c347940c7cb51b03ca9615af"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.get_sessions (cognitive 27): SingleStoreDb.get_sessions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts), error handling 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca39371f14a37cbd2255c0f1af84778aa5f605334e01fd305efdfa3d982aa64c"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb._calculate_date_metrics (cognitive 27): SurrealDb._calculate_date_metrics has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b8fe2c465becfa05620eaa48e7a1c031915d072961586abae6fedb022466af"}},{"ruleId":"D2","level":"warning","message":{"text":"suite.arun_cases (cognitive 27): suite.arun_cases has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (9 pts), ternaries 2 (4 pts), loops 2, 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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"faadc0ad53a07321d857eaeca8d9fa5fb6a456b6d63fd575d1c08b2e39dfd5d9"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownChunking.chunk (cognitive 27): MarkdownChunking.chunk has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/chunking/markdown.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"377ea358f9a4d48f43675a66a40ab2c8aa1a4f3fe69596f891bad7ceb5df0436"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereEmbedder.async_get_embeddings_batch_and_usage (cognitive 27): CohereEmbedder.async_get_embeddings_batch_and_usage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 2 (8 pts), loops 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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7c215a5267114fbdaf426c9607b3a04600d7cc5d29c13541a1ea558f1d211e"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._update_content (cognitive 27): Knowledge._update_content has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c3f47a70ba25aae6c65d5a9909801a11d706635dbe7caa6cbfa27973c68881"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._extract_step_result (cognitive 27): GeminiInteractions._extract_step_result has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fddc53ee09a40926968d5fee78c76caf02fb8ef2f123872a8a715530a242d0"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses.invoke (cognitive 27): OpenAIResponses.invoke has cognitive complexity 27 (threshold 15). Drivers by points: error handling 8 (10 pts), if/else 6 (8 pts), ternaries 4 (8 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. This shape REPEATS in the file: one other method here (OpenAIResponses.ainvoke) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df269e8f2f07c06e536912368e59eb8e40f8dc3f466e72b1a4bf52ce1aed534"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses.ainvoke (cognitive 27): OpenAIResponses.ainvoke has cognitive complexity 27 (threshold 15). Drivers by points: error handling 8 (10 pts), if/else 6 (8 pts), ternaries 4 (8 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. This shape REPEATS in the file: one other method here (OpenAIResponses.invoke) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd996df26c399f148de84fb99639c4c9f25cae1187e66584113b078e80cf8c"}},{"ruleId":"D2","level":"warning","message":{"text":"A2ATaskStore.list (cognitive 27): A2ATaskStore.list has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, loops 2, ternaries 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":"libs/agno/agno/os/interfaces/a2a/task_store.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"712d938ed7b0f9ad682a301cfdc565e9acfa1f50d7862d5861b8eab7d54ceeb0"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._mcp_hidden_params (cognitive 27): mcp._mcp_hidden_params has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (4 pts), loops 3 (4 pts), boolean chains 2, 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"72322781e6da6ddeac10783a227160c16ff91a734c900e6f54ec27861745e08f"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge.process_content (cognitive 27): knowledge.process_content has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (7 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffaa6a34bcadadc629ddd8a416ca9914f14504cf83fd33ea4136d8cfa35dd02"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.get_openai_reasoning_stream (cognitive 27): openai.get_openai_reasoning_stream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 3, loops 2, error handling 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. This shape REPEATS in the file: one other method here (openai.aget_openai_reasoning_stream) 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":"libs/agno/agno/reasoning/openai.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa11105e10d901b60137b05d024cb7a2fee93795488fa69d294fe352304f0a43"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.aget_openai_reasoning_stream (cognitive 27): openai.aget_openai_reasoning_stream has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 3, loops 2, error handling 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. This shape REPEATS in the file: one other method here (openai.get_openai_reasoning_stream) 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":"libs/agno/agno/reasoning/openai.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3785783cacbab0ceb7d4a334f2a49019e22695560d85a4145082a997ff1949a2"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._route_requirements_to_members (cognitive 27): _run._route_requirements_to_members has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 2 (4 pts), loops 2 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6454}}}],"partialFingerprints":{"codehealthFindingId/v1":"165863a55879f07e251f9444c6e93a3ea7bda8e8212c8257cdcde46ac2ac886f"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.asave_session (cognitive 27): _session.asave_session has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 15). 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c77cdfdff9566b6f30cc9ce3dcd2f7d0503f48c9c0735c1d76b9386d45a9860"}},{"ruleId":"D2","level":"warning","message":{"text":"CartesiaTools.list_voices (cognitive 27): CartesiaTools.list_voices has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (13 pts), error handling 3 (7 pts), if/else 3 (5 pts), loops 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":"libs/agno/agno/tools/cartesia.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d432d2071a31b099aaaedf76559d62c59df8e009b0d8509f09f1f0828fdeec"}},{"ruleId":"D2","level":"warning","message":{"text":"FileGenerationTools.__init__ (cognitive 27): FileGenerationTools.__init__ has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 11, ternaries 1 (2 pts) (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":"libs/agno/agno/tools/file/generation.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1138e7de1f63ebf6cc5238fa0dd7bbdf3628640d72060cc02f25d3ac3c1e99"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleCalendarTools.fetch_all_events (cognitive 27): GoogleCalendarTools.fetch_all_events has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 3 (7 pts), 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"28da5731f525e168582a64e4919669dfdfc302280d8ab615c154f1b9a5186d99"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._bind_child_to_target_db (cognitive 27): StudioTools._bind_child_to_target_db has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 7 (8 pts), boolean chains 6, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4963}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7b8ed9ff30b6e02280aecfb2ec690137982e901644b82a247c363642e12d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolkit._register_decorated_tool (cognitive 27): Toolkit._register_decorated_tool has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8, ternaries 3, 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":"libs/agno/agno/tools/toolkit.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"77567f450fcb9a16600b67ca6e188ea0c4bf3fa416ea1df71fbe27786d0f9b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.scrub_media_from_message (cognitive 27): agent.scrub_media_from_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 11 (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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8f87a66d1bc8898a98eed5ef9bd333c4a5eea02368b8aeaccb6a13edeb3988"}},{"ruleId":"D2","level":"warning","message":{"text":"message.filter_tool_calls (cognitive 27): message.filter_tool_calls has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 2, loops 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":"libs/agno/agno/utils/message.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"884505a0333b6d28e38edba32e60a1b85dd73a4ac87efacedbe93680e60bd09f"}},{"ruleId":"D2","level":"warning","message":{"text":"llama.format_message (cognitive 27): llama.format_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (7 pts), boolean chains 6, 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":"libs/agno/agno/utils/models/llama.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5f27ef96c9a779bdccd3b4072c679d451902f91c24c042551aeecc1706f388"}},{"ruleId":"D2","level":"warning","message":{"text":"string._parse_individual_json (cognitive 27): string._parse_individual_json has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (4 pts), error handling 2 (3 pts), ternaries 1 (nesting depth added 16). 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":"libs/agno/agno/utils/string.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b50d3058b819b4b058341e6ef09008ab2f0e551f33d31caef475ac6ae664ee"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector._async_upsert (cognitive 27): PgVector._async_upsert has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 3 (6 pts), boolean chains 3, 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d7901347e2c198d2e1904df2980fe5e37673b284732c4d42f9fbb89ca86bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStore.async_insert (cognitive 27): SingleStore.async_insert has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (6 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ade754a6f269ce50705fc1d77f6377ce0d52ce919aaf5b54e50b4550079b61"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate_sentinel_vectordbs.migrate_couchbase (cognitive 27): migrate_sentinel_vectordbs.migrate_couchbase has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 3, boolean chains 2, 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":"libs/agno/migrations/v2_to_v3/migrate_sentinel_vectordbs.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ccf1ac2d9aadedc024615a98bd96a83055f9586fea90acbaa1254eebad8215"}},{"ruleId":"D2","level":"warning","message":{"text":"EmrCluster._create (cognitive 27): EmrCluster._create has cognitive complexity 27 (threshold 15). Drivers by points: if/else 26, error handling 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":"libs/agno_infra/agno/aws/resource/emr/cluster.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fac7ea405e2553f759f9f8dd874634c670e57489c828a6600e000773242fa25"}},{"ruleId":"D2","level":"warning","message":{"text":"run_all.print_agno_vs_table (cognitive 27): run_all.print_agno_vs_table has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (8 pts), boolean chains 6, loops 3 (4 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":"cookbook/performance/comparison/run_all.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b52c287c98cd915fbf107730c1517209abc76e15d5c36deb23df4260c1a275f"}},{"ruleId":"D2","level":"warning","message":{"text":"_default_tools._extract_session_preview (cognitive 26): _default_tools._extract_session_preview has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 6, loops 2 (3 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7809dc82855d1a8afb9489eee1a7e08fbf9c27c29e8a038e70b3bbc25225ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"_managers.make_memories (cognitive 26): _managers.make_memories has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, error handling 1 (4 pts), loops 1 (2 pts), ternaries 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. This shape REPEATS in the file: one other method here (_managers.amake_memories) 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"889ab7e76131e1003208cd2817bb335e550ac7c9fe00693130c2b710726909a2"}},{"ruleId":"D2","level":"warning","message":{"text":"_managers.amake_memories (cognitive 26): _managers.amake_memories has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, error handling 1 (4 pts), loops 1 (2 pts), ternaries 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. This shape REPEATS in the file: one other method here (_managers.make_memories) 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"727ddf2c2eecc64b1472b35c96e01cad11e013c7ef34d30ea463daa2a4a7ce57"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._handle_run_cancellation (cognitive 26): _run._handle_run_cancellation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 1 (2 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5936}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93ab74a02bdef734ad227ac3f50764582f911e0ca34a5b9e40ae49432a3031e"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.ahandle_tool_call_updates (cognitive 26): _tools.ahandle_tool_call_updates has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 8, loops 3 (8 pts), if/else 4 (7 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. This shape REPEATS in the file: one other method here (_tools.ahandle_tool_call_updates_stream) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72d34a89fde67816b72eb1df1d60193654e39714eb5eb18c3505526d7c3b777"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.ahandle_tool_call_updates_stream (cognitive 26): _tools.ahandle_tool_call_updates_stream has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 8, loops 3 (8 pts), if/else 4 (7 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. This shape REPEATS in the file: one other method here (_tools.ahandle_tool_call_updates) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"275f86467e7b620dd0f866b2bc50760cd10d12bcd232ea80253257e20637078b"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_postgres_user_id (cognitive 26): v3_0_0._migrate_postgres_user_id has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (5 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"d002e33d6e1928281369cb542c3305dc9675c5868bafa6cbbbf1dfdcaf73d28c"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_mysql_like_user_id (cognitive 26): v3_0_0._migrate_mysql_like_user_id has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (v3_0_0._migrate_async_mysql_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1765669ead97c85d98403f83e93e688935181b3e2430560a742996d10a6ed88"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_async_mysql_user_id (cognitive 26): v3_0_0._migrate_async_mysql_user_id has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (v3_0_0._migrate_mysql_like_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c655203061825c8066a9a65ae9c0534dfe4f82b9be35cbcb688f67acf7ecba9"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.get_sessions (cognitive 26): AsyncMySQLDb.get_sessions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 3 (6 pts), loops 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a0888850f87345ba19ef96719a170a38d34243e254a528c42025604834313"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.get_eval_runs (cognitive 26): AsyncMySQLDb.get_eval_runs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 3 (6 pts), boolean chains 2, error handling 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"8217bf261b3ff24b4f6a58814e92e69cd66eed39d6107e6e1596289be3e3538b"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.get_sessions (cognitive 26): MySQLDb.get_sessions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 3 (6 pts), loops 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd673b081c8a175cd752fdd5238f28146ccc67c08de708c439add755ec80c56d"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_eval_runs (cognitive 26): AsyncPostgresDb.get_eval_runs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 3 (6 pts), boolean chains 2, error handling 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8feecfeef28e2b94dd328b082d545c8fad5a560b32d20931173849ad7b0b10d"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb._calculate_date_metrics (cognitive 26): PostgresDb._calculate_date_metrics has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 4 (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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3521}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d46c43b584e160e12b240d58380929d4ebd10e43d4ccb754cf2d6bbb5737f59"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.upsert_trace (cognitive 26): RedisDb.upsert_trace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 6, 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"52eed055bab47d14c481302c9ea2c9eebd330bb1f75efa8051738f7eb9b1425b"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb._calculate_date_metrics (cognitive 26): SingleStoreDb._calculate_date_metrics has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 4 (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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ce178f7786e363ebe5d7c4206f2924548df5ee5c0cd97df31a7669024e7f3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_span_stats (cognitive 26): AsyncSqliteDb.get_span_stats has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 4 (6 pts), boolean chains 3, error handling 1, 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":5198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c510f94ea5a92ecc01e0ad9b2887c580d95483ac239875a7a9ae8384af56eb7"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb._calculate_date_metrics (cognitive 26): SqliteDb._calculate_date_metrics has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 4 (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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9bd7ef4e26508d116cf445bf624dcb96b20d4653ef3e57979c503417913039"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_span_stats (cognitive 26): SqliteDb.get_span_stats has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 4 (6 pts), boolean chains 3, error handling 1, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5351}}}],"partialFingerprints":{"codehealthFindingId/v1":"234df82f1d0fec94868aabb36f93843f524ea5b32b6adf5aeb222ea626fb01f7"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.aggregate_metrics_by_date (cognitive 26): utils.aggregate_metrics_by_date has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 9, loops 3 (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":"libs/agno/agno/db/utils.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c16587fcca861f74d3c1c3fd43f6cabac45f1b76f7b9f2a8917a8a7ba4a69"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.delete_sessions (cognitive 26): ValkeyDb.delete_sessions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (6 pts), loops 4 (5 pts), boolean chains 3, 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"d615e2c5753a41b6e3a95bc13680fdc5b4c988c666b07e7d9e9ce0d6aea12fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.upsert_trace (cognitive 26): ValkeyDb.upsert_trace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 6, 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51e237946628b5db8eab72a433b20a61cdf1bfcc1b9d828f33c89dc937a86df"}},{"ruleId":"D2","level":"warning","message":{"text":"CohereEmbedder._async_batch_with_retry (cognitive 26): CohereEmbedder._async_batch_with_retry has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (7 pts), error handling 1 (2 pts), 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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdb67830ec5332acfff8f10cf54f8d42bd82aae549d21524eadb2ba02051efe"}},{"ruleId":"D2","level":"warning","message":{"text":"DoclingReader.read (cognitive 26): DoclingReader.read has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, error handling 2, 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":"libs/agno/agno/knowledge/reader/docling_reader.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1349a8480dcbd850cbc46876d2160b22642020c00956a5f57c644d48e07fa"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepSeek._format_message (cognitive 26): DeepSeek._format_message has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0e81ad849da74b826a0af44fe27b6d11888891f95cf56f9060774b820d3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._append_result_delta (cognitive 26): GeminiInteractions._append_result_delta has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2241fcf32b69b180b9a0c0d1506d0d0d1b86f005ca67e6866e7e97ed4ecd4500"}},{"ruleId":"D2","level":"warning","message":{"text":"LiteLLM._get_metrics (cognitive 26): LiteLLM._get_metrics has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, if/else 6 (10 pts) (nesting depth added 4). 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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac84649b631441d46114a2d5e3e82643a981a3125c0acbc78785caf14fa8d76"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat.get_request_params (cognitive 26): OpenAIChat.get_request_params has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (8 pts), boolean chains 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9be7359a212adb21c6c6241550fb690cde95a683f0254a0bf8f02deb22cbbe"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS.serve (cognitive 26): AgentOS.serve has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (11 pts), boolean chains 4 (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":"libs/agno/agno/os/app.py"},"region":{"startLine":3520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abb1b7706ad173375a11083a1d605d74dcb750bd7db7ed45fc8e1ef8378232b"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceNode.from_span (cognitive 26): TraceNode.from_span has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 1, ternaries 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":"libs/agno/agno/os/routers/traces/schemas.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6c16ef27e19bddbc71abaf8b2dd55d50597db1cf19ee4cd00f96be5b3ee0e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceDetail.from_trace_and_spans (cognitive 26): TraceDetail.from_trace_and_spans has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, 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":"libs/agno/agno/os/routers/traces/schemas.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60d4709f521c4bd0618edd73a1dcf7fa585f7cea827d65ff83dd335db33ee33"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_agent (cognitive 26): utils.resolve_agent has cognitive complexity 26 (threshold 15). Drivers by points: error handling 7 (14 pts), if/else 7 (8 pts), boolean chains 4 (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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb43e0b3f211bd31e7ba41009d20bb7ff9a1d00a3b30008b3ca70eb64a802ba"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._build_continue_run_messages (cognitive 26): _run._build_continue_run_messages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (6 pts), loops 3, 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5305}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa48b478b4cdb2469e1e3dac0cae78082000e13e0423191d16727e1fccf8167"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._prepare_member_hitl_continuation (cognitive 26): _run._prepare_member_hitl_continuation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (5 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6865}}}],"partialFingerprints":{"codehealthFindingId/v1":"95de274db803af3642713f24f501b22f3c2822f70e62bd33632ca540d1783374"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.acontinue_run_dispatch (cognitive 26): _run.acontinue_run_dispatch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 7, ternaries 3 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813fd21e5b02e0c89094e1df47ef5edbc8eac14d373765175e4b8eed5daf503"}},{"ruleId":"D2","level":"warning","message":{"text":"team.get_teams (cognitive 26): team.get_teams has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (4 pts), boolean chains 3, 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":"libs/agno/agno/team/team.py"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"166211749f1c2abcd4d4aa769d3c35ace4ed5f8fc997abcd971931e6cf866743"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleSheetsTools.__init__ (cognitive 26): GoogleSheetsTools.__init__ has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, ternaries 4 (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":"libs/agno/agno/tools/google/sheets.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eddecbf66472a5049aa9b24e11f2b1f21db317c264c89300ffaf4630ad8e193"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackTools._build_instructions (cognitive 26): SlackTools._build_instructions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/slack.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc60b557b0c343393d43d7a42cc8e9ffd654d85440f4ab4d3e409afc90d54891"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._buildable_tool (cognitive 26): StudioTools._buildable_tool has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 2, 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"45346b6fa6437c5b11a1533e90a5e870eec278ddeaa6ef5786085f5c0a09609a"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.archive_component (cognitive 26): StudioTools.archive_component has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 2 (3 pts), loops 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"563747a9e2e0f2d09d1dec18bc878ba9fa9b68d18cc591b18f47d54e141b85ef"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._resolve_members (cognitive 26): StudioTools._resolve_members has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 7, 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1594be21a27b75a45cc890f3ebec4d92fcf83599f6a1a84d7296d915480ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.normalize_pre_hooks (cognitive 26): hooks.normalize_pre_hooks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 2 (5 pts), loops 1 (2 pts) (nesting depth added 16). 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. This shape REPEATS in the file: one other method here (hooks.normalize_post_hooks) 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":"libs/agno/agno/utils/hooks.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a5026c96fdb4de1f1d7609958abc16d86c4d7149cbd377f9b99b2ae4a98955"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks.normalize_post_hooks (cognitive 26): hooks.normalize_post_hooks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 2 (5 pts), loops 1 (2 pts) (nesting depth added 16). 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. This shape REPEATS in the file: one other method here (hooks.normalize_pre_hooks) 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":"libs/agno/agno/utils/hooks.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b3c899ff7f352b4f2faab88551a4110d46c90f9dc32b3bfcb1c872a9bea331"}},{"ruleId":"D2","level":"warning","message":{"text":"media_offload._offload_single_media (cognitive 26): media_offload._offload_single_media has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts) (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. This shape REPEATS in the file: one other method here (media_offload._aoffload_single_media) 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"85af4693fe7f4b99dbfdbf5db2e9c0870865496dfa927adc0ee26d19dda39c8f"}},{"ruleId":"D2","level":"warning","message":{"text":"media_offload._aoffload_single_media (cognitive 26): media_offload._aoffload_single_media has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (2 pts) (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. This shape REPEATS in the file: one other method here (media_offload._offload_single_media) 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f17eaa96bc19cfe06acd85be291272638409d06ea2978ec38fdbf4e81140dda"}},{"ruleId":"D2","level":"warning","message":{"text":"string.parse_response_dict_str (cognitive 26): string.parse_response_dict_str has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 4 (9 pts), loops 1 (3 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":"libs/agno/agno/utils/string.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32117f8deeb24e13a2a8f89d26d68e9e8880ba8d518a8d51da23a7d90f4ea34"}},{"ruleId":"D2","level":"warning","message":{"text":"Clickhouse.async_insert (cognitive 26): Clickhouse.async_insert has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (5 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad264f05ce05435f523fa7ddaac02e5944397450eaf9152db4a498a0b2f5fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"UpstashVectorDb.update_metadata (cognitive 26): UpstashVectorDb.update_metadata has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, loops 3 (4 pts), 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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5155781eaf79bc4bec3aadc956aa8bbd9b01d4a459f8e9030b58bd134f99bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._route_executor_requirements_stream (cognitive 26): Workflow._route_executor_requirements_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, loops 2 (3 pts), 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. This shape REPEATS in the file: one other method here (Workflow._aroute_executor_requirements_stream) 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7585}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd50b8d2b7950d8dc0825581bdbe2f75764b2c9eb8919f8836b2356de20f3da"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._aroute_executor_requirements_stream (cognitive 26): Workflow._aroute_executor_requirements_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, loops 2 (3 pts), 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. This shape REPEATS in the file: one other method here (Workflow._route_executor_requirements_stream) 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7674}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbac7dc37481386be9fe5423f9aa516eb36b2552bc34f70b6fefca6d6e9bdffc"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.get_workflows (cognitive 26): workflow.get_workflows has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (4 pts), boolean chains 3, 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":12049}}}],"partialFingerprints":{"codehealthFindingId/v1":"9199fbc730c5566e123a4561876d39eb0cf658358d3a214995d80a2a2cf3fe1e"}},{"ruleId":"D2","level":"warning","message":{"text":"EcsTaskDefinition._create (cognitive 26): EcsTaskDefinition._create has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, error handling 3 (5 pts), boolean chains 2 (nesting depth added 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":"libs/agno_infra/agno/aws/resource/ecs/task_definition.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e181393e683714c3fc38d70106cd4da069f7920f2e60f38e13dc7b2df46878"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery._read_env_value (cognitive 26): discovery._read_env_value has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 5, loops 2 (4 pts), 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":"libs/agnoctl/agnoctl/discovery.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d19d05924c9cb4c6035d0b0f8e9efc5dcfa0d45379b1bc411d94f871dbcf420"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOSAPI._iter_service_account_pages (cognitive 26): AgentOSAPI._iter_service_account_pages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (6 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/http.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"99998d5c70a0c8de3062f85dff6bb4b684a7dba2dc447e16cca787538e7463d0"}},{"ruleId":"D2","level":"warning","message":{"text":"02_tool_error_persistence.scenario_b_model_call_fails (cognitive 26): 02_tool_error_persistence.scenario_b_model_call_fails has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), loops 2 (4 pts), ternaries 1 (4 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"796b934d8d5181a6aca30d812752aa5b8006752f6c07bdfca637f293138a663e"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._truncate_run_to_checkpoint (cognitive 25): _run._truncate_run_to_checkpoint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 2 (3 pts), ternaries 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea5a9950aa37aa0ba5052ad917d13080bc5f92e0e6330dc9338da6629be218"}},{"ruleId":"D2","level":"warning","message":{"text":"HITLBridge._request (cognitive 25): HITLBridge._request has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, error handling 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":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"41988057a0fde8a952d961c3c504a947dd8aedf9bae384bcc7341cf8f5fc0595"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseDb.search_sessions (cognitive 25): BaseDb.search_sessions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, ternaries 3 (5 pts), 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":"libs/agno/agno/db/base.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7b6725df1c7943ea31ddba3a2f79b748b2286a83753d8754a623452b817a72"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb._get_metrics_dates_to_calculate (cognitive 25): FirestoreDb._get_metrics_dates_to_calculate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 2 (5 pts), ternaries 1 (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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ec040a03b15a64056a4be85e75b71d85bd6dacb2b508b09d22005219019603"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_user_memories (cognitive 25): GcsJsonDb.get_user_memories has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa48a700abd719761fc8ee767d8f29f92a5049e552a70c1f533413dfcaebbca"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.get_user_memories (cognitive 25): InMemoryDb.get_user_memories has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f21148130225e5cc58586bbec38728208d73c4e0fffd502cbcbabecca8c425"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb._release_metrics_refresh (cognitive 25): InMemoryDb._release_metrics_refresh has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (6 pts), boolean chains 2, error handling 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9f68525424cdc86661dd00062edc4d643820670391f38a9a1a5fd839ed7e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_user_memories (cognitive 25): JsonDb.get_user_memories has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"123caf13e6efd0dcdbd4fb1c97a40c7ef02021e66605918a57b99fd7216409a1"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb._validate_links_in_session (cognitive 25): PostgresDb._validate_links_in_session has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (5 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd56e140d5f4972c5b05ee61582fe96d5d49c0f777e6e406fd8a896ef33d37"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb._validate_links_in_session (cognitive 25): SqliteDb._validate_links_in_session has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (5 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":7482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5c3e33b27f57cc11e40abb036668fbec090de9bb23b85b5a4831a5199cd477"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_metrics_dates_to_calculate (cognitive 25): utils.get_metrics_dates_to_calculate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 8, 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bcd5b918c911977fb451bef5b289131c6075ead8f0a5ed3d68a88a44b0fc4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.delete_user_memories (cognitive 25): ValkeyDb.delete_user_memories has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (6 pts), loops 3 (4 pts), boolean chains 3, 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f00947d170ed0877e2a5dd1d8a42e31f5698185d5c53c24dc402f3ff420284d"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemKnowledge._grep (cognitive 25): FileSystemKnowledge._grep has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (7 pts), error handling 2 (4 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":"libs/agno/agno/knowledge/filesystem.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d19faf3f640a118156d11c07d5306a0257bf1d938b03aadd17165b324fbf65a"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Loader._aload_from_s3 (cognitive 25): S3Loader._aload_from_s3 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (7 pts), boolean chains 3, error handling 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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"966ecdc74e9f5aee2c7cae78de0a8fef370ef4f539b987febed6c14c6b1c8429"}},{"ruleId":"D2","level":"warning","message":{"text":"_commands._cmd_tree (cognitive 25): _commands._cmd_tree has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 3 (6 pts), loops 3 (5 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":"libs/agno/agno/knowledge/page/_commands.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0d563290549573b22c6df57239d8b72aecb7403c24ce9bdc813b96a07d5ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator._search_queries (cognitive 25): PageCoordinator._search_queries has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (7 pts), error handling 2 (5 pts), loops 4 (5 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd6fb3ccf144dffa99e898e88b2cf8e2a9dba34f9c8c74e0e56215daa608eba"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions._call_step_info (cognitive 25): GeminiInteractions._call_step_info has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 9 (11 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda1dd187909ba8de2b89e5e13ba15cca7fbfa94e37087d8fcac2970a1f03514"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat.parse_tool_calls (cognitive 25): OpenAIChat.parse_tool_calls has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 2 (4 pts), boolean chains 3, 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"68789a61064e93b226551b1d39b674d63642067c3ba93cc564f7e3d1e35bbe53"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.get_mcp_server (cognitive 25): mcp.get_mcp_server has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 7, loops 1 (2 pts), ternaries 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":3301}}}],"partialFingerprints":{"codehealthFindingId/v1":"be26891cc3486e6732b4988a8036abbc9fb7e96d2573f62370fa163075f9c1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.get_session_runs_window (cognitive 25): sessions.get_session_runs_window has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (4 pts), boolean chains 2, ternaries 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":"libs/agno/agno/os/services/sessions.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66cdfa70682b993e2efc516a15fc46f0c5259f726f56452bf4c163fe45af92d"}},{"ruleId":"D2","level":"warning","message":{"text":"status_persist.apersist_run_transition (cognitive 25): status_persist.apersist_run_transition has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6 (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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e32b7f03c0a21f1a385b50e294d74cfb0fd89cb99310a050ef350610112727f"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamSession.get_tool_calls (cognitive 25): TeamSession.get_tool_calls has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (9 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":"libs/agno/agno/session/team.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc0401faa59eb6ffec749e083b3fc775798fea8308fd55bf329f67995ac9c1"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._truncate_team_run_to_checkpoint (cognitive 25): _run._truncate_team_run_to_checkpoint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 2 (3 pts), ternaries 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6987}}}],"partialFingerprints":{"codehealthFindingId/v1":"85560af9567b25914b6ef541877d0fc07ab7b3126620bc77f034b9e3a668c47f"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._acontinue_run_background_stream (cognitive 25): _run._acontinue_run_background_stream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, ternaries 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":8760}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921e68998f51f6da222657e4c6519b20691023d6fea89463709d518a5314cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.save_session (cognitive 25): _session.save_session has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (4 pts), ternaries 1 (4 pts), boolean chains 2 (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":"libs/agno/agno/team/_session.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e5264970c0e12472374d152532138f5ab36043621bafa2472393045c0a07e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChartTools._build_spec (cognitive 25): ChartTools._build_spec has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 1 (2 pts), ternaries 1 (2 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":"libs/agno/agno/tools/chart.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6ba455163d35b6cd3b21c7c143fbbb75eb04e75c703ea2f8d7c0ca12efc5f6"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge._stub_doc (cognitive 25): bridge._stub_doc has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (9 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f5a9db7e38e41604bfc7727d0ef10862496a83f8f35b18b68d9a038e725f10"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleSlidesTools.add_slide (cognitive 25): GoogleSlidesTools.add_slide has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f1c070e186a6b19293a7cfe869883021eb136492fbc5193620207bc32aa57d"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._edit_component (cognitive 25): StudioTools._edit_component has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 7 (9 pts), boolean chains 3, ternaries 1 (2 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2927}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a0dc2711c19dbad64ea94407cbad5ad40517bb4d8283d7f772ac114a7d7fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._require_faithful_rebuild (cognitive 25): StudioRunnerTools._require_faithful_rebuild has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 9, 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b20a08cc07d315d0f0cda62f20785dd75aeeeaba9393f128e25e0b22c9ffdc5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.wait_for_thread_tasks_stream (cognitive 25): agent.wait_for_thread_tasks_stream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 3 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/agent.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b618b620feac2cac65a2a63f40daddc2d5387138f89c834c6bc51a65c3a9a7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"callables._close_cached_resources_sync (cognitive 25): callables._close_cached_resources_sync has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/callables.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a9f8f9d89c7b48b2e8447988a30440da09ae512e3380df3236e6740c517fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"media.reconstruct_file_from_dict (cognitive 25): media.reconstruct_file_from_dict has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, error handling 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":"libs/agno/agno/utils/media.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9234e0516669c9c4fdd2478a05ee218a76bdff545d6bd9cd1a02631dd40e8441"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_responses.sanitize_response_schema (cognitive 25): openai_responses.sanitize_response_schema has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 15). 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":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"755a052672f5dd5d634b824006a84e53ac006fb2b7a96225f04b826e4355d7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch.insert (cognitive 25): CouchbaseSearch.insert has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (4 pts), ternaries 1 (3 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2353c0177d24cc88966eef3ae164dfe3384d0e96ab9f2b7f296baddfc952fbb6"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.async_upsert (cognitive 25): MongoDb.async_upsert has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 3 (7 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c820777c715aacc779b60e6f0503afd31ee644f8ed76466d43ec2b607fead5"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetGroup._create (cognitive 25): TargetGroup._create has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (21 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/elb/target_group.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b30be369b0342e956417a184f7c5095938bc8121bcede8a32acb278d21022c"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerApp.get_container_env (cognitive 25): DockerApp.get_container_env has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 5 (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":"libs/agno_infra/agno/docker/app/base.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebc752898e51056dea5edb4fbcf8ea39ce5732459e98b66fec279863664a7a5"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAdapter._replace_section (cognitive 25): CodexAdapter._replace_section has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/clients/codex.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a183bee25c3e72311d76ea2d04541be43687df89a49bd8ccf090b78bd8f79c74"}},{"ruleId":"D2","level":"warning","message":{"text":"cancel_run.long_running_task (cognitive 25): cancel_run.long_running_task has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (9 pts), boolean chains 2, error handling 1, 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":"cookbook/03_teams/14_run_control/cancel_run.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20ba3fb3c3aa9ecd52347dbf0448e81a2bcdadb0627180375a9c2fa921e53dc"}},{"ruleId":"D2","level":"warning","message":{"text":"save_hitl_condition_loop_router.run_workflow (cognitive 25): save_hitl_condition_loop_router.run_workflow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (9 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":"cookbook/93_components/workflows/save_hitl_condition_loop_router.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe276f7c699454cc2f3dad97c673df2758a0aa65b0b27fe546c0bf339233545"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._build_continue_run_messages (cognitive 24): _messages._build_continue_run_messages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3, ternaries 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2356}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f1682f9e13904a35bcc38c199e579c6ffdcd82477cd4abf08fa5e7e42120ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.resolve_run_dependencies (cognitive 24): _run.resolve_run_dependencies has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 1 (3 pts), boolean chains 1, 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4410eb23056fba6a02d1babb238e789cacef448c1c00758e3ac66954959ca"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.get_tools (cognitive 24): _tools.get_tools has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5, ternaries 2 (4 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de0dc1f5e5322950d334109dbf70db27b6c76da318523b9443f79043aadaec7"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_user_memories (cognitive 24): DynamoDb.get_user_memories has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 3 (6 pts), loops 1 (2 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"22388441d637737766bb24a893016c73f05738d821dec2329f1959b41e58d832"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_user_memory_stats (cognitive 24): DynamoDb.get_user_memory_stats has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 2, 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ef039785b3fb2994832ce81728586d4420f5a7d47611c235dd6e76b0ec927e"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_eval_runs (cognitive 24): DynamoDb.get_eval_runs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 4 (5 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd36a62a978f7ddb064eabf6c5072533ff2717f1c79a9339394048c89c40c11"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb._release_metrics_refresh (cognitive 24): GcsJsonDb._release_metrics_refresh has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (6 pts), error handling 2 (3 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eddcd2a22e8a5881dfad303b498ece289590f6ced42dd571e3ae425f49905b"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.upsert_knowledge_content (cognitive 24): AsyncMySQLDb.upsert_knowledge_content has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f8e7f7d064b750184ee4fbea8c2f0439b447a095d3262bd820c2ae3e15068"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.upsert_knowledge_content (cognitive 24): MySQLDb.upsert_knowledge_content has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3624}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab963a51d78c341b1750be68dc85ef651fbe8f3fba9a3bc2e540debfb10c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_runs (cognitive 24): RedisDb.get_runs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (5 pts), error handling 2 (3 pts), loops 1 (2 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"60423dadfe3d9267bdcd8891d6f6accc9618c9a9fa84fdcefc65ca8bf0f24ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._release_metrics_refresh (cognitive 24): RedisDb._release_metrics_refresh has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 3 (5 pts), error handling 2 (3 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"638d0e66a827c4cd30f20de7ef96fd1e5189aa7732114e472b3bc78800cefcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_eval_runs (cognitive 24): AsyncSqliteDb.get_eval_runs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4369}}}],"partialFingerprints":{"codehealthFindingId/v1":"852777c514c7223f883e73667c0a160c5210ac9dd4d0b001e0b7418342bc66b5"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.build_metrics_by_owner_from_rows (cognitive 24): utils.build_metrics_by_owner_from_rows has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, loops 4 (8 pts), if/else 2 (6 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9022a4727a2dd0c266fc4a858eb63072a8680c9c2acbea1bb748633ef92b20"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.build_component_metrics_totals (cognitive 24): utils.build_component_metrics_totals has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 6 (7 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/utils.py"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"14788a29c517f9b4bc6432345adc8b16f15e1908de1f83f22d586571c0e89fe5"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._mcp_tool_names (cognitive 24): runner._mcp_tool_names has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (5 pts), boolean chains 2, 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ac1362e874aa18ec3f73c120affc6a406ebff3f925af100215263b1dd2b597"}},{"ruleId":"D2","level":"warning","message":{"text":"PerformanceEval.run (cognitive 24): PerformanceEval.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (2 pts) (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. This shape REPEATS in the file: one other method here (PerformanceEval.arun) 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"45915806832e582805bfb715bffc5150902cbae7d9dcb742ab959232748a2c51"}},{"ruleId":"D2","level":"warning","message":{"text":"PerformanceEval.arun (cognitive 24): PerformanceEval.arun has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (2 pts) (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. This shape REPEATS in the file: one other method here (PerformanceEval.run) 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"32121eb8ebf2fbba32b0021339b71138489d8320838350626f023cd57655dacc"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Loader._load_from_s3 (cognitive 24): S3Loader._load_from_s3 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (7 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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"125d9b4d355f8e81770e6ae8b51352e59d2c3d1d28e1e01a2e8f8fa0edf011c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Groq.parse_tool_calls (cognitive 24): Groq.parse_tool_calls has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f381c9c04d8d3ade48f2170b2fd408a015b4d2ce08acfb4c9750e28fbe3e63"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFace.parse_tool_calls (cognitive 24): HuggingFace.parse_tool_calls has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"490a737a067d1758f0298c9d6ab4ed53ad8833b28286c648872bcdbb4d016189"}},{"ruleId":"D2","level":"warning","message":{"text":"input.extract_user_input (cognitive 24): input.extract_user_input has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (5 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":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e631c11300d3b45d8996aa7bf14d210b0133a72b5e16da3a9bf0ec97a4e400d4"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker._areconcile_swept_job (cognitive 24): QueueWorker._areconcile_swept_job has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"085276007fc03144da2bb9b72e5f4588c9b3bf7cd5f0d7613772da76baea50f7"}},{"ruleId":"D2","level":"warning","message":{"text":"manager._build_manager (cognitive 24): manager._build_manager has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (6 pts), boolean chains 5, error handling 1 (2 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":"libs/agno/agno/os/manager/manager.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1197b7c7c8bf15265a28af2fe0b6ec4d921e85b60804e2248e2adab99fce530b"}},{"ruleId":"D2","level":"warning","message":{"text":"router.team_continue_response_streamer (cognitive 24): router.team_continue_response_streamer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), boolean chains 5, error handling 3, 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"915abdf1ee8f411bb2aff4effea2bcfe4e7322e9aa725c44055e14d54a6df6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.queued_run_tail_streamer (cognitive 24): utils.queued_run_tail_streamer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, ternaries 1 (3 pts), 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"645d1560fc4fb9cb78d18a1452b13eeb5db763532dd46713b4feacc7fdf411d9"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleCalendarTools.__init__ (cognitive 24): GoogleCalendarTools.__init__ has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ca0ea4ba3962839bb84001c6d5689d0c3a5a176bad082b0ae4b0b43bc9d921"}},{"ruleId":"D2","level":"warning","message":{"text":"Toolkit._check_tools_filters (cognitive 24): Toolkit._check_tools_filters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (23 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":"libs/agno/agno/tools/toolkit.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d7e0b7b718dc0b12c07203a5ccef0becc4c463557d5cbf30503ad46977e8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.store_media_util (cognitive 24): agent.store_media_util has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (8 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. This shape REPEATS in the file: one other method here (agent.validate_media_object_id) 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0974ab24049767f9472cc0336625789cdf20b199012dd627b8105b76c647fa2f"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validate_media_object_id (cognitive 24): agent.validate_media_object_id has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (8 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. This shape REPEATS in the file: one other method here (agent.store_media_util) 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec55664207c79a000d51810fbca65dcf5aa38a0239b04bec3ea72c726b62b349"}},{"ruleId":"D2","level":"warning","message":{"text":"cohere.format_messages (cognitive 24): cohere.format_messages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 4, 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":"libs/agno/agno/utils/models/cohere.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db0da855bb86350032ff410911d50ba897ffdf8c871212ca0064d04afdacda9"}},{"ruleId":"D2","level":"warning","message":{"text":"string.parse_response_model_str (cognitive 24): string.parse_response_model_str has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 5 (10 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":"libs/agno/agno/utils/string.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e6e71357e8b7c7be33a3a73abdd8679e3cfd74709a0b4dc2f1ad2a8dff0e23"}},{"ruleId":"D2","level":"warning","message":{"text":"Milvus.async_upsert (cognitive 24): Milvus.async_upsert has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (5 pts), ternaries 1 (4 pts), loops 1 (2 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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb620f83d23bfcc0b7fd331ab7cb2b0c9f5926e44628cc7be86e02baf5bad9e0"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector.vector_search (cognitive 24): PgVector.vector_search has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 2 (5 pts), error handling 3, 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c164e81f16bf0be41c5c3056926f896a5e66f6a7dac9a4fc023b9acf2c2ee12"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition.from_dict (cognitive 24): Condition.from_dict has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c454c81d00f50ea0a32bf599668b53e25015be03e30a35ac7c0cadb009e9282"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.from_dict (cognitive 24): Router.from_dict has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/router.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"203f4a35e25eb73a1aaf509d421d41adb0665a67fa32223123422ab62e7c6048"}},{"ruleId":"D2","level":"warning","message":{"text":"StepRequirement._validate_user_input (cognitive 24): StepRequirement._validate_user_input has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, 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":"libs/agno/agno/workflow/types.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db18f181d754ef6860cc833f63109ad61c46790ab436134b4f4d53c0abd4cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"ContinueExecutionState.__init__ (cognitive 24): ContinueExecutionState.__init__ has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 18, if/else 2 (4 pts), loops 2 (nesting depth added 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":"libs/agno/agno/workflow/utils/hitl.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea546d0ee016b3a1fac28a3fac006179021b784d3dbffa0d94c08b772a21696"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._propagate_debug_to_step (cognitive 24): Workflow._propagate_debug_to_step has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (8 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c13637448a861767f85aff886c83fdd3c1f33eb32d94f31a2ba58a919f6f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate_sentinel_vectordbs._indexed_vector_dimensions (cognitive 24): migrate_sentinel_vectordbs._indexed_vector_dimensions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (6 pts), ternaries 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":"libs/agno/migrations/v2_to_v3/migrate_sentinel_vectordbs.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"50501c40b748ca2b80cb1926e3f2839f622b1c8450bfe55b9092664c98b2cbbf"}},{"ruleId":"D2","level":"warning","message":{"text":"EcsContainer.build_container_environment (cognitive 24): EcsContainer.build_container_environment has cognitive complexity 24 (threshold 15). Drivers by points: error handling 3 (11 pts), if/else 5 (9 pts), loops 2 (4 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":"libs/agno_infra/agno/aws/resource/ecs/container.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"528ced2fe39b7183e8d647de316e1d19fcebe86639ea4ffb9f3b910e95650082"}},{"ruleId":"D2","level":"warning","message":{"text":"02_tool_error_persistence.scenario_b_model_call_fails (cognitive 24): 02_tool_error_persistence.scenario_b_model_call_fails has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (4 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e2ec1b9be93d6a5582e0e538bd32462539ed74416eb753128512e1a848083c"}},{"ruleId":"D2","level":"warning","message":{"text":"DictPolicyEngine.accessible_resource_ids (cognitive 24): DictPolicyEngine.accessible_resource_ids has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 5, loops 2 (3 pts), ternaries 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":"cookbook/05_agent_os/26_authorization/14_custom_policy_engine.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8754b8af01b6d6c82646a2155772e9bbf953ca448daf4897430c9628fe96d700"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._annotate_run_output (cognitive 23): ClaudeAgent._annotate_run_output has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"d876a3c014d52a5c77a0f76d93bc7d803b135d57d24efdfb04f30c5b50a1f99e"}},{"ruleId":"D2","level":"warning","message":{"text":"LangGraphAgent._arun_adapter_stream (cognitive 23): LangGraphAgent._arun_adapter_stream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (6 pts), boolean chains 4, 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":"libs/agno/agno/agents/langgraph/agent.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"22860cea90ba7184efdad96962395224df4a602d981b94c62dbffd2aa7f29474"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AClient._parse_stream_event (cognitive 23): A2AClient._parse_stream_event has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (10 pts), 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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8483379c54a57062b24430d5d2965c40b890af417f47f6725e942ba0ffd36d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Compaction.__post_init__ (cognitive 23): Compaction.__post_init__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 10. 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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d244a976f3804e77859b4e050ac37d4cf42a1f14978458b3fa1c90e0700f0f73"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.upsert_session (cognitive 23): FirestoreDb.upsert_session has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, ternaries 2, error handling 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f31cac652c695d39008196f44cd120382d29286b4da017567ea451b58ae53af"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb._get_metrics_dates_to_calculate (cognitive 23): AsyncMongoDb._get_metrics_dates_to_calculate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82efd6af65f7180c1646f82cfe411603fd526f6344e5f1121aed788a362f262"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.get_eval_runs (cognitive 23): AsyncMongoDb.get_eval_runs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e678a9d3cb09a50813c7839b23234a6367faeb0854f3c68bb6d64623da588ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._get_metrics_dates_to_calculate (cognitive 23): MongoDb._get_metrics_dates_to_calculate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"644c09109a984514abd3a22510c5e6b6ec0b5eac59e5bc73f5806d681d2180b1"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.get_eval_runs (cognitive 23): MongoDb.get_eval_runs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3296}}}],"partialFingerprints":{"codehealthFindingId/v1":"323393606b98566e304ac2bec0c02018a8136dd460aca44debd94d0bb3e572ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.get_eval_runs (cognitive 23): MySQLDb.get_eval_runs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3828}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df5540eb1f9876ddc5ae65c624c2328132df5dcb1a091ecf8d2b24ecd2a3c49"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_eval_runs (cognitive 23): PostgresDb.get_eval_runs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4702}}}],"partialFingerprints":{"codehealthFindingId/v1":"717c4011e0932ec5d59cc825319bab0e6c6dbeb45a212a0cb2c2b492ad04793f"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.restore_component (cognitive 23): PostgresDb.restore_component has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2018b9eed41e0b69889153dca4c386e6c9e2becb28c8a2bf3b1b86457dc695"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.get_eval_runs (cognitive 23): SingleStoreDb.get_eval_runs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39febc75a59bcce1cc695d7cf64f9c6464abac0c54abd26a00f5bbe81b5e3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_eval_runs (cognitive 23): SqliteDb.get_eval_runs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd98b596c8abe35dd4780afb36b7bcaf38e274c73dd278526d9cc32a50646bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.restore_component (cognitive 23): SqliteDb.restore_component has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5996}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e167fce65129822fd784987c54474176247bf17fdedd4cdcc3bb71c839ade59"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb._get_metrics_dates_to_calculate (cognitive 23): SurrealDb._get_metrics_dates_to_calculate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a18fdd307eb7fe33fbce1d041a5e55a8462cb856b67fc80be0f7795e4ed5a"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.build_metrics_by_owner (cognitive 23): utils.build_metrics_by_owner has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (6 pts), ternaries 2 (6 pts), loops 3 (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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bb45f38defb9a942fb31c7bae7085278ad558e42c6ffdedefe1b6e25f432ff"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiEmbedder.async_get_embeddings_batch_and_usage (cognitive 23): GeminiEmbedder.async_get_embeddings_batch_and_usage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 1 (2 pts), ternaries 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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce9fce40ed6bb23de2629f80ab22224ec75eb783954e0366c9cb0c0597dce3c"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemKnowledge._list_files (cognitive 23): FileSystemKnowledge._list_files has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/filesystem.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02f0d16ddb6d9f875114aaac53b688ccf1d66ad719f2942d8f244bc1c19fd66"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBlobLoader._aload_from_azure_blob (cognitive 23): AzureBlobLoader._aload_from_azure_blob has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 5 (7 pts), ternaries 1 (2 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. This shape REPEATS in the file: one other method here (AzureBlobLoader._load_from_azure_blob) 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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"15420a8a6a0aaa99dedceb3c6dfdb846e4e47e5667041e601c4443261f4a82c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBlobLoader._load_from_azure_blob (cognitive 23): AzureBlobLoader._load_from_azure_blob has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 5 (7 pts), ternaries 1 (2 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. This shape REPEATS in the file: one other method here (AzureBlobLoader._aload_from_azure_blob) 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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d8c07ad5f774e706c741eabce21e9fb1692d3b43022b19186570b7f5688849"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator._setup_complete (cognitive 23): PageCoordinator._setup_complete has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c232297f3affeb3d8347c10ccf710e2bb6ca79b0cc0a7cd91c3a71285675905"}},{"ruleId":"D2","level":"warning","message":{"text":"CSVReader.async_read (cognitive 23): CSVReader.async_read has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2 (4 pts), error handling 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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b9be9e9f7f41414726f43e2854083f4abb2331fb52ec8cf4a790ab88247adb"}},{"ruleId":"D2","level":"warning","message":{"text":"public_fetch._fetch (cognitive 23): public_fetch._fetch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (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":"libs/agno/agno/knowledge/reader/utils/public_fetch.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"37db94f0dd352a13cd2151b6a9327a4160b3923e46b7f282949dc1c3c2df5b82"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionContextStore._get_system_message (cognitive 23): SessionContextStore._get_system_message has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef95eeaf057960b3985b81cb2935e772a27763d06b2d7a3e60065c114e04a36"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager._search_user_memories_agentic (cognitive 23): MemoryManager._search_user_memories_agentic has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (6 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"053e1ec91ec0a7c163d2d6fbf2aed87d034d517d09d8ff7d9070312002ad6969"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.accumulate_model_metrics (cognitive 23): metrics.accumulate_model_metrics has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (8 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 3). 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":"libs/agno/agno/metrics.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48eaf3b9bd6203f7695bf2b1d5a117b28057bfa97ddde39e4bf60f042410fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"Claude._ensure_additional_properties_false (cognitive 23): Claude._ensure_additional_properties_false has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (7 pts) (nesting depth added 16). 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90debf4679d2f0b12319d3a60e3ac6554d59d4feff32a1bbaf7326c40951771"}},{"ruleId":"D2","level":"warning","message":{"text":"minimax._strip_inline_think_tags (cognitive 23): minimax._strip_inline_think_tags has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 1, ternaries 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":"libs/agno/agno/models/minimax/minimax.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"483ac94c72706930f8c9921dec9c065d14b1a610f408b41dd0078e670ca92187"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._add_auth_middleware (cognitive 23): AgentOS._add_auth_middleware has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c2185ddaca7972d179a1ff0f4cafc9855811e150b17e62cb7bd2933af934c6"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AExecutor._continue_task (cognitive 23): A2AExecutor._continue_task has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, ternaries 2 (3 pts), error handling 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":"libs/agno/agno/os/interfaces/a2a/executor.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fce6c7aa3ac349d2c0a76d4ab78f8c67a4121362b3c2f1ce983af4bc5e58a1"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDelivery._deliver (cognitive 23): TaskDelivery._deliver has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 2 (4 pts), error handling 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":"libs/agno/agno/os/interfaces/slack/company.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f697d4c906ebc802889bcdb35fef3fc93cb0bf84c48913cdfa611832d663063"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker.acancel_queued (cognitive 23): QueueWorker.acancel_queued has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, error handling 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d223f24c08c3242fbce6d22719eef336af3eb9e776986ee4a47e0e1f94b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_run_input (cognitive 23): utils.get_run_input has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc8ad5e41aaa226b012f89f034117e66415cce257cf202ee5172bd92580645"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_team (cognitive 23): utils.resolve_team has cognitive complexity 23 (threshold 15). Drivers by points: error handling 7 (14 pts), if/else 6 (7 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. This shape REPEATS in the file: one other method here (utils.resolve_workflow) 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0fe500eb6791982b04fa3ce1501c9fd3eb13fe10e89a6d17f2c6cfc61dc9a5"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_workflow (cognitive 23): utils.resolve_workflow has cognitive complexity 23 (threshold 15). Drivers by points: error handling 7 (14 pts), if/else 6 (7 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. This shape REPEATS in the file: one other method here (utils.resolve_team) 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3371}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fe93e3d148e095803e4cc7bf6b768c5bea6bbd1df987ccb44c0f9a6da36043"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._ahandle_team_tool_call_updates (cognitive 23): _run._ahandle_team_tool_call_updates has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, loops 3 (8 pts), if/else 4 (7 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. This shape REPEATS in the file: one other method here (_run._ahandle_team_tool_call_updates_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cd790801dcce9540377af1e70af5abeaf1d9a1eece29f77fd00a4a89245191"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._ahandle_team_tool_call_updates_stream (cognitive 23): _run._ahandle_team_tool_call_updates_stream has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, loops 3 (8 pts), if/else 4 (7 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. This shape REPEATS in the file: one other method here (_run._ahandle_team_tool_call_updates) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa31512da1e6f67caf1cc7b14a0a5970ea5e7f9a8bf759cd19f73e6af92441a"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools._check_and_refresh_mcp_tools (cognitive 23): _tools._check_and_refresh_mcp_tools has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (5 pts), boolean chains 2, loops 1 (2 pts) (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":"libs/agno/agno/team/_tools.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc42cd9a14b08487981b860ba987dc53174a2fca5917f6a1e96cd96c244e85af"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelSession._run_silent (cognitive 23): KernelSession._run_silent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (7 pts), boolean chains 2, error handling 1 (2 pts), 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":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97dd953752e107db08e60f3668f56242182fd0a5ad9046d9f9a0c1ea88954cb"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingTools.ls (cognitive 23): CodingTools.ls has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 3 (5 pts), boolean chains 3, ternaries 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6ca125ac1de96d660981d4980b4b2669200f5601fdd52176fc3aa9c4f9cfe8"}},{"ruleId":"D2","level":"warning","message":{"text":"DaytonaTools._get_or_create_sandbox (cognitive 23): DaytonaTools._get_or_create_sandbox has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (6 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":"libs/agno/agno/tools/daytona.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4c40a04e1faa63cc0d3a2a904c7d53a4f239d14ed0ca82c92311e63344db33"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleCalendarTools.update_event (cognitive 23): GoogleCalendarTools.update_event has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 3 (5 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, 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"db26ddb174cb46e48cf3f26960bdf8fd43bee62d8c4a7dc1a7e5a596d1529a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelsLabTools.generate_media (cognitive 23): ModelsLabTools.generate_media has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 3, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models_labs.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"809e6317eb14e774569551d122d4e7b68203823300f8092db0b55e66d9957a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"OxylabsTools.get_amazon_product (cognitive 23): OxylabsTools.get_amazon_product has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (7 pts), boolean chains 6, 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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bd3cd3cd4f4652e55eb46ab67a08cd8acb8d82b68a5b86ee6c06da1a664911"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelTools.parallel_search (cognitive 23): ParallelTools.parallel_search has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, ternaries 3, boolean chains 2, error handling 2, 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":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd38624c143f572bc3eb31f8a227f51fba88aaeca9e8cc84cd0a235a84fa7679"}},{"ruleId":"D2","level":"warning","message":{"text":"RedmineTools.search_issues (cognitive 23): RedmineTools.search_issues has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (8 pts), error handling 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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"42384fcd441f14bfd53843a660c5ef64a643a298f67c1537456ac3a2fafdb637"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackTools._resolve_channel (cognitive 23): SlackTools._resolve_channel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/slack.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa487ff8abaf6edfd65559d22be2f2e89db3b8eed2f11c19ba1743e817c303e0"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.create_schedule (cognitive 23): StudioTools.create_schedule has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (7 pts), boolean chains 3, ternaries 2 (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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4565}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d3b7c4be2d10138327191f88381640e1b4956a18b79c3aa0dbec1709c3975c"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._step_list_divergence (cognitive 23): StudioRunnerTools._step_list_divergence has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94de41cb81884cbc4012f2ee1e769a7fe91adf647137eb2ae25f144aa0f2d94"}},{"ruleId":"D2","level":"warning","message":{"text":"Milvus.async_insert (cognitive 23): Milvus.async_insert has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (5 pts), ternaries 1 (4 pts), loops 1 (2 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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"567678770795b1e1203fa1cdf919e6f6d2441ea327dd53d1a2f56d5b4aaef887"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop.from_dict (cognitive 23): Loop.from_dict has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 1 (3 pts), boolean chains 2 (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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5890400feb9d2d84382d3b9e07383d721c46338ca03f79a91f3bdf9b17cf1a1b"}},{"ruleId":"D2","level":"warning","message":{"text":"Step._enrich_event_with_context (cognitive 23): Step._enrich_event_with_context has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5 (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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24f934dfd8cc638fbfb7db2f9c502715085e6648f0859817e7bb400a7b93399"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._handle_event (cognitive 23): Workflow._handle_event has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"9721c89bd971fbe3c055fc8db9a47484fb7065ff93de141e61896a7ac05a08c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow._propagate_hooks_to_step (cognitive 23): Workflow._propagate_hooks_to_step has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7268ca6a2509d8d2e242fabf0a60dfa92ffd32d8268681a3fa8ca2b8ef80c010"}},{"ruleId":"D2","level":"warning","message":{"text":"confirmation_required_mcp_toolkit.main (cognitive 23): confirmation_required_mcp_toolkit.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (7 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":"cookbook/02_agents/10_human_in_the_loop/confirmation_required_mcp_toolkit.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dd95c36b7f8c0bcc0b6182227323991f9272568ca61ab27886eea6d8e050d4"}},{"ruleId":"D2","level":"warning","message":{"text":"02_tool_error_persistence.scenario_a_tool_error (cognitive 23): 02_tool_error_persistence.scenario_a_tool_error has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, ternaries 2 (8 pts), loops 2 (5 pts), error handling 1, if/else 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":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4d1457f5af0078baa5a1659904306a4ab1225c2c8f415912155e394a74cb24"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks_stream.main (cognitive 23): tasks_stream.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (5 pts), ternaries 1 (5 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":"cookbook/03_teams/02_modes/tasks_stream.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b3a8f6076804091046f0ce90ab0c8ee8f00e69977ad7a9a2eb70a37898ed2e"}},{"ruleId":"D2","level":"warning","message":{"text":"websocket_server.websocket_endpoint (cognitive 23): websocket_server.websocket_endpoint has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 3 (5 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":"cookbook/04_workflows/06_advanced_concepts/background_execution/websocket_server.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e82077d5d74807159903daab95df9dd3043dc6b9dc608da58454aafc57c71b"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.arun_dispatch (cognitive 22): _run.arun_dispatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, ternaries 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2b68187ba6123fbaea4fe7a6992b49edb247cc65bc0672e5e63ef67d6a1521"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._tool_batches (cognitive 22): ClaudeAgent._tool_batches has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 8, 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"318a2229335f62af857ebbd534468e98b41024c4bc79763c770941af19a4b6de"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AClient._parse_task_result (cognitive 22): A2AClient._parse_task_result has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (3 pts), boolean chains 2, ternaries 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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cdd0afc4ac10e53de4ffadc8b3111a0ad58be8974fd679d407532f9a28b749"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.validate_google_credentials (cognitive 22): utils.validate_google_credentials has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 3 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/context/google/utils.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a137b2c1a748d85fe7f79a7d6c14b050c2259d8a854a6ab9735e0a52dbd822"}},{"ruleId":"D2","level":"warning","message":{"text":"notion_ops.blocks_to_markdown (cognitive 22): notion_ops.blocks_to_markdown has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (6 pts), boolean chains 4, 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":"libs/agno/agno/context/wiki/notion_ops.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c33e149586b9ff8fe3144b83ecd464b244d41faf3e5d55372686edba3ada1b1"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb._get_metrics_legacy_runs (cognitive 22): DynamoDb._get_metrics_legacy_runs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), boolean chains 3 (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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"708f7592dc4020a366ba1f1cd6f1e5c8a16781f184e27606b89b5a4121c78ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_metrics (cognitive 22): DynamoDb.get_metrics has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d93c094e7e23a712472cb29bfdf549902c4e3dfb2d184682cce4496ba10f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.upsert_run (cognitive 22): InMemoryDb.upsert_run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, ternaries 2 (3 pts), error handling 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e2c9a301c528ab57fa2e5fcafed4c53f6a87bddec5b2c7242cebb3eb6d65e"}},{"ruleId":"D2","level":"warning","message":{"text":"v1_to_v2.migrate_table_in_batches (cognitive 22): v1_to_v2.migrate_table_in_batches has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (21 pts), 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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72826ad73b3583050335097ac9b834439b16fd83a6b60f60360fe5db36e22f1"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_sqlite_user_id (cognitive 22): v3_0_0._migrate_sqlite_user_id has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (5 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. This shape REPEATS in the file: one other method here (v3_0_0._migrate_async_sqlite_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3661}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab0d1b5820983b642c3887d464146c1cd9e487535c59210ed9c457d171d57a7"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._migrate_async_sqlite_user_id (cognitive 22): v3_0_0._migrate_async_sqlite_user_id has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (5 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. This shape REPEATS in the file: one other method here (v3_0_0._migrate_sqlite_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3734}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bab3aa9e19eb5912484b3f6484d5b225d361fed847a6851ed9f1893e81cef3"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_runs (cognitive 22): AsyncSqliteDb.get_runs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1, 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"052abe57ac438ab9760536d1be7f2f616012800a53a602729be107e7c9d4eec5"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_runs (cognitive 22): SqliteDb.get_runs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (15 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e3b140a9b2559ec932d6579cee82826629d47463c3ce2190768f9b0bb5c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb.get_traces (cognitive 22): SurrealDb.get_traces has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (8 pts), boolean chains 1, error handling 1, 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6819b5fc76a78cec47b31925a87f93e5ec0b5eeff7af4e8e4ee01b44479b454"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._mcp_tool_instances (cognitive 22): runner._mcp_tool_instances has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (5 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f060074ac13d7b852a9fd761f94cb68df0b7dff5e0045c869780342ebce1604d"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelPageFetcher.afetch_many (cognitive 22): ParallelPageFetcher.afetch_many has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (7 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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c5bd54b02dcdc6053e2a92655347cebb0bb312d2210431ad3245b112d09a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._process_model_response (cognitive 22): Model._process_model_response has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (Model._aprocess_model_response) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea0e66ec7790a5d34cf8d41ad28de5ea3688a51bd5f01cab36e4a4802363ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._aprocess_model_response (cognitive 22): Model._aprocess_model_response has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (Model._process_model_response) 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc46c93cb69f315c2d64ae61b44f20b137c81eb7fc2725e43e71c47a4739cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Cerebras._parse_provider_response_delta (cognitive 22): Cerebras._parse_provider_response_delta has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 5 (10 pts) (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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fa30bdaf3bde6d2cf516aa06bd4d916da133c50528bd032778377910814ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini.count_tokens (cognitive 22): Gemini.count_tokens has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (5 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (Gemini.acount_tokens) 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7c8b798dbc052f12ac2248afecfa36c11879fde3f66dc302ffa74a0dba61b0"}},{"ruleId":"D2","level":"warning","message":{"text":"Gemini.acount_tokens (cognitive 22): Gemini.acount_tokens has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (5 pts), boolean chains 2, 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. This shape REPEATS in the file: one other method here (Gemini.count_tokens) 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aecbe0ce7e0b0aee1ffcf6adb9d37d9f6c2958ae58483f3868bee006187a98"}},{"ruleId":"D2","level":"warning","message":{"text":"Llama.parse_tool_calls (cognitive 22): Llama.parse_tool_calls has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 4, 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":"libs/agno/agno/models/meta/llama.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c943cf7d615167c9c476d1824a0b76a6a7ba8c1a5b387b23306f17c029a193"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses.invoke_stream (cognitive 22): OpenAIResponses.invoke_stream has cognitive complexity 22 (threshold 15). Drivers by points: error handling 8 (10 pts), ternaries 3 (6 pts), if/else 3 (5 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. This shape REPEATS in the file: one other method here (OpenAIResponses.ainvoke_stream) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e967b4578c1db58b242bb7f0c13514035562f8b026d1d3fc2cfc4717712ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses.ainvoke_stream (cognitive 22): OpenAIResponses.ainvoke_stream has cognitive complexity 22 (threshold 15). Drivers by points: error handling 8 (10 pts), ternaries 3 (6 pts), if/else 3 (5 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. This shape REPEATS in the file: one other method here (OpenAIResponses.invoke_stream) 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb43535d4b51973df31b1a6fa78a74a2aa8a09666517e98f7ee6312bf4086d8"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._raise_if_duplicate_ids (cognitive 22): AgentOS._raise_if_duplicate_ids has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 2 (3 pts), 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"63544c7cb78d106eeed561a913f16f35a37104d954e79de240dccb9e0909d756"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._get_filesystem_config (cognitive 22): AgentOS._get_filesystem_config has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (5 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c74594bfca1fb3a38d5b6b13572483f33edef18e16389421e1d48000d2c5b8"}},{"ruleId":"D2","level":"warning","message":{"text":"RoleStore.patch_role_scopes (cognitive 22): RoleStore.patch_role_scopes has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 6, if/else 4 (5 pts), loops 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RoleStore.apatch_role_scopes) 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9587bc7e537a2551cd5163591d48b6dd849230992cbdcefb2397f6908089938"}},{"ruleId":"D2","level":"warning","message":{"text":"RoleStore.apatch_role_scopes (cognitive 22): RoleStore.apatch_role_scopes has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 6, if/else 4 (5 pts), loops 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RoleStore.patch_role_scopes) 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71c1170cc5b7540f377439fa204a63a23d81d73e5fa4acb6b1c8a2db9e88182"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConfig._check_has_tools (cognitive 22): MCPConfig._check_has_tools has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (8 pts), boolean chains 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":"libs/agno/agno/os/config.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a70efa2a5bfca730d3ae9e44079c7a3bc8eb9ca9e91cf99ec031ec1a426c9d2"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.extract_message_payload (cognitive 22): helpers.extract_message_payload has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5 (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":"libs/agno/agno/os/interfaces/telegram/helpers.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38f523208ac47f03305c8d4fad784979d1ea71c230b8aaed7ca404966ad64e0"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker._poll_loop (cognitive 22): QueueWorker._poll_loop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 5, error handling 2 (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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a260598548f4515bba1fd0443c8461359eb39f793533660461b4ff3a5226d2"}},{"ruleId":"D2","level":"warning","message":{"text":"user_scope.verify_run_belongs_to_component (cognitive 22): user_scope.verify_run_belongs_to_component has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/user_scope.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ac3439c652a0d5cea76778f0c051a39b37a8412b8da069cc5d98a0fcb9b331"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.run_performance_eval (cognitive 22): utils.run_performance_eval has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 5, if/else 4 (5 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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb7639bd2a464c5ced171ed68064bbd034cc84ff22daf682d82aa0b9043598d"}},{"ruleId":"D2","level":"warning","message":{"text":"router._merge_entries (cognitive 22): router._merge_entries has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 3, 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":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc67f02ead8e7c9fe8273750a836ee8c92abe98372f466381b5403a9e0b9e93"}},{"ruleId":"D2","level":"warning","message":{"text":"run_permissions._require_endpoint_permission (cognitive 22): run_permissions._require_endpoint_permission has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (7 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":"libs/agno/agno/os/routers/run_permissions.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f79f61c0c1f34d0150762783708851ec6b9f00527629cb5ad26de9c2753edc"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.update_cors_middleware (cognitive 22): utils.update_cors_middleware has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 2 (3 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0003b165efa073d4a03d6e8f5cec5584b2cd651f7a0b50aabf10203e79dd06ca"}},{"ruleId":"D2","level":"warning","message":{"text":"TeamSession.get_team_history (cognitive 22): TeamSession.get_team_history has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 1 (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":"libs/agno/agno/session/team.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c28ba6c93bf1e56c5107625c754115a98291aeb2b30ce6a278f1a8fa0d5de3"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.drop_opted_out_member_media (cognitive 22): _run.drop_opted_out_member_media has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 2 (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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5145}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b9799c8073e60a9b019a1987897bd357de478ef7d034db96cc8d195d6ee503"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage._aread_or_create_session (cognitive 22): _storage._aread_or_create_session has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"188b4b59da7d3fe9ae27769cc65ea2a18dce2609291081a9cfbbf93c59f04b34"}},{"ruleId":"D2","level":"warning","message":{"text":"toolkit._clean (cognitive 22): toolkit._clean has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (2 pts) (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":"libs/agno/agno/tools/finance/toolkit.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbd4f40f4ff56a22add00d9999026a168536aa2235a6e4ff5191e47169bc08a"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._resolve_db_id_by_name (cognitive 22): StudioRunnerTools._resolve_db_id_by_name has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b13d1ecfce95a1a24b2a9073e3eb98425b3e2a37167dce959dc0a87a5aa4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ValyuTools._parse_results (cognitive 22): ValyuTools._parse_results has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, 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":"libs/agno/agno/tools/valyu.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"11359ee922e4b64e5245ff500c3d438bd3e6e2c05fcbd6c7896a349649246992"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatsAppTools.__init__ (cognitive 22): WhatsAppTools.__init__ has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, if/else 10. 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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d2dc613a28f27a220d783bfcda26c76432a134ddb49eaabc5201fdb941627e"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowTools.__init__ (cognitive 22): WorkflowTools.__init__ has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 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":"libs/agno/agno/tools/workflow.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d68cdcd9390b265f828d57cde29214f27a816083d44faa41e495f6fe80414af"}},{"ruleId":"D2","level":"warning","message":{"text":"json_schema.get_json_schema (cognitive 22): json_schema.get_json_schema has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, error handling 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":"libs/agno/agno/utils/json_schema.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7729109bcda8a032a02a5bb8c277c66ef69e598039289b205b0318eb00d481"}},{"ruleId":"D2","level":"warning","message":{"text":"Parallel._aggregate_results (cognitive 22): Parallel._aggregate_results has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (7 pts), ternaries 4, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7383423a28601e39119f243a8b53666687cb10b4aeb5c8c8740850c4736894"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheCluster._update (cognitive 22): CacheCluster._update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, error handling 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d46ead1a3088715d2dbbe49de894611df70b9c6ee2e93fdeb46ac3f93c7c8f"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_container_env (cognitive 22): PostgresDb.get_container_env has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (20 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":"libs/agno_infra/agno/docker/app/postgres/postgres.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a10e770bb99f440fd2ffcd836f284a15bd761cd37721c348963f12d54aa467"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp_client._parse_jsonrpc_body (cognitive 22): mcp_client._parse_jsonrpc_body has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), error handling 2 (6 pts), loops 1 (2 pts), ternaries 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":"libs/agnoctl/agnoctl/mcp_client.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"652aad5cb70afda91fa866929ea42933ff17b8a88ff3e900765884af9e2913f4"}},{"ruleId":"D2","level":"warning","message":{"text":"cancel_run.long_running_task (cognitive 22): cancel_run.long_running_task has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (9 pts), boolean chains 2, error handling 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":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"faba93d1577075c69e4698e671875a1b92d5038420ebc512eafff304ed5ebce5"}},{"ruleId":"D2","level":"warning","message":{"text":"11_streaming_events.streaming_with_events (cognitive 22): 11_streaming_events.streaming_with_events has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 2 (6 pts), boolean chains 1, 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":"cookbook/03_teams/02_modes/tasks/11_streaming_events.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9653eec1bb7b0418754085f45b69ef43a5d833f01b526014ebb665ab33860a4"}},{"ruleId":"D2","level":"warning","message":{"text":"cancel_run.long_running_task (cognitive 22): cancel_run.long_running_task has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4 (6 pts), boolean chains 2, error handling 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":"cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf724cf66c680edb99677cd9cadd6ccc9b3b418044283543790ae0ff91789df"}},{"ruleId":"D2","level":"warning","message":{"text":"soak.main (cognitive 22): soak.main has cognitive complexity 22 (threshold 15). Drivers by points: loops 10 (15 pts), if/else 3 (4 pts), boolean chains 2, error handling 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":"cookbook/frameworks/reliability/soak.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"576209ee3d32d8cdf698acc19288f5409027fed1d039b3c72bf7e06c2a6802ed"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.get_response_format (cognitive 21): _response.get_response_format has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2de58f6835d2606992fa422fa15aeb586a6f0c4f558478ac7bfe98d6315e6e0"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.get_session (cognitive 21): _session.get_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7 (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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5079d69de3b2b95078b6c6ed01fe99a2f21c066740d3ae92b2571af969666508"}},{"ruleId":"D2","level":"warning","message":{"text":"_storage.aread_or_create_session (cognitive 21): _storage.aread_or_create_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5052a4ec2fce0e5228584a00405d40cf35d18a3a60a00db26a7eacd1b38953"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAgent._tool_from_item (cognitive 21): CodexAgent._tool_from_item has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (7 pts), ternaries 1 (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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3d932fc3146a709587abb802d4416b01e332947d04a0038c32d88ae3ee4a03"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoAccept.read_saved_executor (cognitive 21): AutoAccept.read_saved_executor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/declarations.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f47eb36c5a0b48b161b7b64a5c6149d0db44ab9adf6f58218f6cd0b79941f"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._validate_executor_tools (cognitive 21): execution._validate_executor_tools has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), boolean chains 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"70036c94f1668b243544ec352e943126b3d18a149656b268621948a9dffd95bc"}},{"ruleId":"D2","level":"warning","message":{"text":"sources._documents (cognitive 21): sources._documents has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (4 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":"libs/agno/agno/company/sources.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4871baa66f312a04ec6d2bff686ffcd98c3c9d67c280f063b82299656883e20a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncBaseDb.search_sessions (cognitive 21): AsyncBaseDb.search_sessions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 2 (3 pts), 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":"libs/agno/agno/db/base.py"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ef9713574b5e64dcaf17c75bc739748ae72e7f00a7f37cd93d958ae943f01"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.delete_sessions (cognitive 21): DynamoDb.delete_sessions has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (8 pts), error handling 3 (6 pts), if/else 4 (6 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9383b97c1b683c388c7ebd9c872586767a23dd6b4a355fc7fc5e9331920447"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.upsert_session (cognitive 21): GcsJsonDb.upsert_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4f94a576f957a4532112b4d9ca208a7d11483405c20277e2d582ddcd737e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb._write_metrics_rows (cognitive 21): GcsJsonDb._write_metrics_rows has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (4 pts), loops 2 (3 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c2bff4ca1699cfcee10ebac618fa1967c3ddd29a9db4469b5e3968ec631bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_metrics (cognitive 21): GcsJsonDb.get_metrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, error handling 1, 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f3ab85c84c54a2f6bf04bad20cd8b9c1b8d9cec2bc05e17a6006f9e4be040"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.upsert_session (cognitive 21): JsonDb.upsert_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f88567e0b60a39b851f05fe091376dc14fc2e95081a7397ff54a41a31480b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_metrics (cognitive 21): JsonDb.get_metrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, error handling 1, 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"af85af7fddb9c9b9a282d4e2a9ad250b911dea045ffce0f21ed7085571fcc8bd"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_dynamodb (cognitive 21): v3_0_0._revert_dynamodb has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 4 (7 pts), loops 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b4a8fd417e8716842beb23ee8be4918b5f53d6815db8268bea29963eb0a1f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.upsert_session (cognitive 21): AsyncMongoDb.upsert_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, error handling 2, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7554d093049741fbd98fc6a6e8f0e39380162025476f832464b8e7086df2d4b5"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb._get_metrics_legacy_runs (cognitive 21): AsyncMongoDb._get_metrics_legacy_runs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a40a81e10aeb8ece483bca82fee8c277a6f7957e3e89ef164a310d34124d39"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.upsert_session (cognitive 21): MongoDb.upsert_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, error handling 2, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"2544f9f6df2e2e06dc0faaee25cafbb167feb88bc65d1e720363f0a8dbf03a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._get_metrics_legacy_runs (cognitive 21): MongoDb._get_metrics_legacy_runs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":2086}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c12ca5968e236a8b1e5b0325a25f79f3b25ab5d07a003760a7d4bcdea98a905"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.get_runs (cognitive 21): AsyncMySQLDb.get_runs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aea6ff233a2c6d463b5c5d928500419895dfa2de42fe8253eab7d998329af8"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.get_user_memories (cognitive 21): AsyncMySQLDb.get_user_memories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (6 pts), loops 1 (2 pts), boolean chains 1, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ac001133792a3e9afc138bcb285cec937a13955bef05da168f47fa73af9707"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.upsert_memories (cognitive 21): AsyncMySQLDb.upsert_memories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a783c223eaccaad8f5b4875d73615fac17cc100e887272375d84ce1ff0407a97"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.upsert_memories (cognitive 21): MySQLDb.upsert_memories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a72006426c9d1066e46eb7cddedf5950a86bb83900311cadf32e4732ed0175"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_runs (cognitive 21): AsyncPostgresDb.get_runs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"02395db86dfc37d70b139e66b0c360e220098c172a186f625b7ae2aa8215b044"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_user_memories (cognitive 21): AsyncPostgresDb.get_user_memories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (6 pts), loops 1 (2 pts), boolean chains 1, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdece4e50a7949598998ae76ed7d7af3287f0c8b0f387f5e9d3ee1d35a9d8715"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.update_run_in_session (cognitive 21): AsyncPostgresDb.update_run_in_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, error handling 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6041}}}],"partialFingerprints":{"codehealthFindingId/v1":"075bdcc74f7517dc6689eab6c62f573b0580c15c619ac2851286095d9d6b1663"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.update_run_in_session (cognitive 21): PostgresDb.update_run_in_session has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8777}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d4c2ef51eede14cf276fca8b5d3b4d555495b4b12c9841302b455edc686f61"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.get_trace (cognitive 21): RedisDb.get_trace has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 pts), 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bde6864194f9ca8fd8be717133646fa5e5b2752df94faaf1e2d2db1bec6f879"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.upsert_memories (cognitive 21): AsyncSqliteDb.upsert_memories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedb358a2f9ac737808ce142a9bddbbfa4312cd22ddac4324d342ba73bf2912e"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.upsert_memories (cognitive 21): SqliteDb.upsert_memories has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"88164402f03af09d8c016c37921f5e558dafea0a8b272f9b5329403719587e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.merge_runs_table_with_legacy_blob (cognitive 21): utils.merge_runs_table_with_legacy_blob has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3, boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/utils.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc43a932e9af28584dfa8f307eb3b08e264e4a444ac8f996e52e1f4218cdb536"}},{"ruleId":"D2","level":"warning","message":{"text":"DbFileSystem.append (cognitive 21): DbFileSystem.append has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (7 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":"libs/agno/agno/fs/db.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b5b35e5d876b80fda1116e7a5a3b60e57c21f44ca604cb79d336c72b60cf50"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemTools.list_files (cognitive 21): FileSystemTools.list_files has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 2, ternaries 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. This shape REPEATS in the file: one other method here (FileSystemTools.alist_files) 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8cd4f05ab90ab828780f96da06fb6622309a1fa3150798aaf4e7b3d4ba1af2"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemTools.alist_files (cognitive 21): FileSystemTools.alist_files has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 2, ternaries 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. This shape REPEATS in the file: one other method here (FileSystemTools.list_files) 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eea9e3a0ecc1539aa5926e837d10a6b2a125e584aa5fbba9b56f35324d76b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._build_content_hash (cognitive 21): Knowledge._build_content_hash has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3 (8 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"737f9e783ba9f1abccaf8d892128b3bf9cce068e0473655b395a37a5a158a0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator.__init__ (cognitive 21): PageCoordinator.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da168cb27262281cb46e02f13e137dfe5ff91b22c4f10dd3c7213d7030c33a8"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator._embeddings (cognitive 21): PageCoordinator._embeddings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9445ced133644f6f4686abba088d330ed39c78e6924cbe4609a66d6ca5f5537"}},{"ruleId":"D2","level":"warning","message":{"text":"CSVReader.read (cognitive 21): CSVReader.read has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, ternaries 2 (4 pts), error handling 3, loops 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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49aca6b10e85625d8d697917fdb14f963cf35205757d4d2a4de4eaf9f0f358c"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldLabeledCSVReader.read (cognitive 21): FieldLabeledCSVReader.read has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (3 pts), error handling 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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f54adcd832e4a0a5ffe66247e3f576f0361204bfe743cfe201556d884014eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_readers_availability (cognitive 21): utils.get_readers_availability has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (6 pts), loops 2 (4 pts), ternaries 1 (3 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":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb899a580a043293b9b05c0a16808aa97eaa5c7a77ee09e9b310d31465a98e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelMetrics.accumulate (cognitive 21): ModelMetrics.accumulate has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (8 pts), loops 1 (2 pts) (nesting depth added 4). 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":"libs/agno/agno/metrics.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac1207d15f58f7c64788e0b25f704326d7316ca9b3902dcd269f53831c023c"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageMetrics.__add__ (cognitive 21): MessageMetrics.__add__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 1 (3 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":"libs/agno/agno/metrics.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"036ee805824d92b6517804a52395a804413ad77ccdf08d3364c206dc8db0b25a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionMetrics.from_dict (cognitive 21): SessionMetrics.from_dict has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (8 pts), loops 1 (3 pts), boolean chains 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":"libs/agno/agno/metrics.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c1193be2c449247cf84b6038f94716b1c7be15b87af06a7d12e4ce55d0439f"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._handle_function_call_media (cognitive 21): Model._handle_function_call_media has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (8 pts), boolean chains 2, 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":"libs/agno/agno/models/base.py"},"region":{"startLine":3188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da682533504f892b0b370904dbfc7d283ca2687c4ba0d1d104513dbd5a30bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"A2ARequestContextBuilder.build (cognitive 21): A2ARequestContextBuilder.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, 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":"libs/agno/agno/os/interfaces/a2a/context.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fb31a6c2cd4167b9a7959dbea6006c6daaeb790195acb172005d45a614deb7"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDelivery.sweep (cognitive 21): TaskDelivery.sweep has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/company.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1737baa52e1b0c96411685ba676ed164519706e44b44ca0bc6f6559251dad31b"}},{"ruleId":"D2","level":"warning","message":{"text":"interactions.confirmation_row_summary (cognitive 21): interactions.confirmation_row_summary has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 4, 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":"libs/agno/agno/os/interfaces/slack/interactions.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f4c0fdab9cd032bbd0b7df076f07eb19bd30524352ce8a31a9a2dba7c1cdfd"}},{"ruleId":"D2","level":"warning","message":{"text":"components._normalize_link_versions (cognitive 21): components._normalize_link_versions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 1 (3 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83f34280a3b5996ce13d265a0714516aff8b850f8e7776bc146604e89d20aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"router.workflow_continue_response_streamer (cognitive 21): router.workflow_continue_response_streamer has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (6 pts), boolean chains 3, error handling 3, 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb42d0c416bbe0b7d32dabeb6a63615ad7de2d3230b2c35cef2f71fd4e5519d"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.get_accessible_resource_ids (cognitive 21): scopes.get_accessible_resource_ids has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/scopes.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca48bba0013240825422b3d8f1badc390e93a0fba3724da79b0ed34aebe404e"}},{"ruleId":"D2","level":"warning","message":{"text":"Registry._rehydrate_function (cognitive 21): Registry._rehydrate_function has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 1 (2 pts), ternaries 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":"libs/agno/agno/registry/registry.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"9099e3e58efca51c0c3c9cc70c32ffd849d6011e86bb601c47f8d96ee8d62963"}},{"ruleId":"D2","level":"warning","message":{"text":"status_persist.apersist_worker_owned_run (cognitive 21): status_persist.apersist_worker_owned_run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b238aee83145319b43126f9f3f15a61fd722bedd2e2a9b0b1a0b14821fd3b17"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSkills.load (cognitive 21): LocalSkills.load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (2 pts), boolean chains 1 (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":"libs/agno/agno/skills/loaders/local.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"671d54451fd080541b63d0372483aace2d6861f10ea89a05fc689e6ca3c172f4"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.run_dispatch (cognitive 21): _run.run_dispatch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, ternaries 4, error handling 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7c1772d6dcbdf42e6c189df6ed47909da86535329a5c000f6729c1e5fdd48a"}},{"ruleId":"D2","level":"warning","message":{"text":"DoclingTools.__init__ (cognitive 21): DoclingTools.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 10. 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":"libs/agno/agno/tools/docling.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cd00fb49d83d9ce3bb419441fa9c0cd52a2a568580b32c2e5eedd76eddf947"}},{"ruleId":"D2","level":"warning","message":{"text":"YFinance.get_analyst_recommendations (cognitive 21): YFinance.get_analyst_recommendations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/finance/providers/yfinance.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4951335e05e8b41239b78050fa74f52b36b6c8459acda688f2e770d2c7a6619e"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleDriveTools.__init__ (cognitive 21): GoogleDriveTools.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3 (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":"libs/agno/agno/tools/google/drive.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab260e5ea74f0040ec0e1f41a02397dd8188ee3fd51a5921b723f95eee4ee49b"}},{"ruleId":"D2","level":"warning","message":{"text":"JiraTools.__init__ (cognitive 21): JiraTools.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 10. 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":"libs/agno/agno/tools/jira.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18c8205e330e57baf12f10828ff11efc8d10686e9cb50081a7fff009ad6dbcc"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTools.build_tools (cognitive 21): MCPTools.build_tools has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (4 pts), boolean chains 3, error handling 2 (3 pts), 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":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb226967fe5707baae2ab6f5247e6525006f4545ddb9499bb9984b9783a15d52"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresTools.summarize_table (cognitive 21): PostgresTools.summarize_table has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 pts), ternaries 1 (5 pts), boolean chains 1, 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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"69220d678b0dbf6c936b878e6089d4c328cc0c0891a11c746d7ce037b11797b1"}},{"ruleId":"D2","level":"warning","message":{"text":"RedshiftTools.summarize_table (cognitive 21): RedshiftTools.summarize_table has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 pts), ternaries 1 (5 pts), boolean chains 1, 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":"libs/agno/agno/tools/redshift.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb481818a54d56c6e04fbe5f69e4b4a113cf747a3d2ff669e8f37fd016579f4"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._build_steps (cognitive 21): StudioTools._build_steps has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 1, 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5213}}}],"partialFingerprints":{"codehealthFindingId/v1":"68994d71779ea2586c7af20dbc03d26476d1845581cf70b2b848ec880897e018"}},{"ruleId":"D2","level":"warning","message":{"text":"TwilioTools.__init__ (cognitive 21): TwilioTools.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 7. 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":"libs/agno/agno/tools/twilio.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b32fe19ef3b98c29bca4aebb1a7ba1d77c9a1d4764c81002c1ea81b2d414248"}},{"ruleId":"D2","level":"warning","message":{"text":"message.normalize_tool_messages (cognitive 21): message.normalize_tool_messages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/message.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28ae809812d0353e01f210de6ad149d2f159d08067f3c97b258c4e601d41bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"tokens.count_file_tokens (cognitive 21): tokens.count_file_tokens has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (6 pts), error handling 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":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"361146a6fb035f6588f852ae14c71c36e6f11cc74427c850d61b61aa99adf862"}},{"ruleId":"D2","level":"warning","message":{"text":"Milvus.insert (cognitive 21): Milvus.insert has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eb0d3aa9501af4c6f57e6f2cf298bdd4c231b3a4a174c477c05963cd2dd39a"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.drop (cognitive 21): MongoDb.drop has cognitive complexity 21 (threshold 15). Drivers by points: error handling 3 (10 pts), if/else 5 (10 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44baf41fd4673e208091eb1d0150af1cbdd3563a583a1b5a2677f0c1241b20a"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector.__init__ (cognitive 21): PgVector.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 1 (2 pts), ternaries 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ad0aca6b13764fd5f19cdecdb8257fab69819649dc43010621492bf0b950d"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector.async_insert (cognitive 21): PgVector.async_insert has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 3 (6 pts), loops 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcc2eb445d1b6a44e64b10035b9681683ce4a17214f0506eb4b7afe45d8dfd6"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector.hybrid_search (cognitive 21): PgVector.hybrid_search has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 3, ternaries 1 (3 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a0f02864c1868e27cd3d2c5ebb8226be9eb54e6959b2cb2cda39cde3de94d"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._parse_hash (cognitive 21): ValkeyDb._parse_hash has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, 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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"70caac3c5f8a09e460e17467410d0be144283fe3e6d91b41454dd97517505e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.to_dict (cognitive 21): Workflow.to_dict has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 3 (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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"491961d5c67c7a4be28dee0dccd0baa28c9397fc2505a3394a9b746f51aae3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsApp.get_container_env (cognitive 21): AwsApp.get_container_env has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b1475161e6dcdd808cc9cf670dd16706fe11386f5787346d7ea992125e9035"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsApp.security_group_definition (cognitive 21): AwsApp.security_group_definition has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3ab3a405955dc953c1facfa7e8a68d6da02bcda1a46b1051d54c00aeac7418"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadBalancer._create (cognitive 21): LoadBalancer._create has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 2 (4 pts), error handling 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":"libs/agno_infra/agno/aws/resource/elb/load_balancer.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c210a31383955111f7d86bd065fdc225b839a9347e7f2d3f559a3bfc8a7ce366"}},{"ruleId":"D2","level":"warning","message":{"text":"02_tool_error_persistence.scenario_a_tool_error (cognitive 21): 02_tool_error_persistence.scenario_a_tool_error has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 2 (8 pts), boolean chains 6, loops 2 (5 pts), error handling 1, if/else 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":"cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b59d1e483b7b52640fa4dd6352077afb88bf3e73ec4518596cba9677ba73a4"}},{"ruleId":"D2","level":"warning","message":{"text":"03_step_confirmation_streaming.main (cognitive 21): 03_step_confirmation_streaming.main has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (11 pts), loops 2 (4 pts), boolean chains 3, if/else 2 (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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79b54fadd0cf097d91db2b48dd1527d63a774e642ce8e2b45d1716e54fd544e"}},{"ruleId":"D2","level":"warning","message":{"text":"07_cascading_archive.main (cognitive 21): 07_cascading_archive.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (9 pts), 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":"cookbook/05_agent_os/30_company/07_cascading_archive.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6c5f5b70f05c12e348aa830eb29cc936a6e9bc8b1b403f96a66fa03dc62d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"_init.get_models (cognitive 20): _init.get_models has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3c041f6afc28d76535c487ba94eac7115d27f95b2f984e015c9bfea409c804"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.acontinue_run_dispatch (cognitive 20): _run.acontinue_run_dispatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 3 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8b890a45da0cd0488536df57a3367e94264b3f4f3bf070234c6ff43dc8a444"}},{"ruleId":"D2","level":"warning","message":{"text":"_run_options.resolve_run_options (cognitive 20): _run_options.resolve_run_options has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5, boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb24a9cf9de5124226f0bcc83b2000eee7f5a92ecd3be621d9486e4d57b406a"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.aget_session (cognitive 20): _session.aget_session has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7 (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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee52fe29af998cc5321e64c98477f13ac941683e7c00ddbfbc8cfee5052ffc88"}},{"ruleId":"D2","level":"warning","message":{"text":"_media.stage_prior_media (cognitive 20): _media.stage_prior_media has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 3, 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":"libs/agno/agno/agents/_media.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"293e9e275bf2b61d2c410c59fa0a22db5575fed4268f5d5f7af26fee7fd02f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._recover_task (cognitive 20): execution._recover_task has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d369df2d82d96a07a9c7f65db9162e9fc90c80763f853fa1a8c989ba6b1791f2"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._project_run (cognitive 20): execution._project_run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c92311fa1fee3f731ee7f9a7d1a85382411164a78270e0fed546429a282288a"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._mount_executors (cognitive 20): execution._mount_executors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (4 pts), loops 2 (3 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f8f6167ff3db69acad13f383134e5c7677f0815be8613d7fe261097443a37b"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.delete_user_memories (cognitive 20): FirestoreDb.delete_user_memories has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6 (9 pts), error handling 1 (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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2334c4065cabf81564aa5c3e67b3f18a645a6fe4f8cdae8529c5d2c64c59dae"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb._write_metrics_rows (cognitive 20): JsonDb._write_metrics_rows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0629eef2574711d4de72a3311e6d34986a4600cf134bab4ab085f27ec954de3"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_firestore (cognitive 20): v3_0_0._revert_firestore has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (5 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d585815dfb77d49240b47240d4feab8e8c4c44fdb0bc8298366d921129899e"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_sqlite_user_id (cognitive 20): v3_0_0._revert_sqlite_user_id has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), error handling 1 (2 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. This shape REPEATS in the file: one other method here (v3_0_0._revert_async_sqlite_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8185f8511d6a1bb4fe69e1dce20f80af233ab59cb25d0c350d3ebcf9682b24f3"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_async_sqlite_user_id (cognitive 20): v3_0_0._revert_async_sqlite_user_id has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), error handling 1 (2 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. This shape REPEATS in the file: one other method here (v3_0_0._revert_sqlite_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec68ac817a795831779e3a5ad228bf04608002042b2ee00f8876c2acf4e70c15"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.get_traces (cognitive 20): AsyncMongoDb.get_traces has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4763f46f98c2b29605e23c30dc9d159df6e807fb511978770a4a395cf43cdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.get_traces (cognitive 20): MongoDb.get_traces has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91f9243535a59e869d08fed6c8aeae12f8b7c669f748dcb3176f77752286d18"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.transition_project (cognitive 20): AsyncPostgresDb.transition_project has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 3, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8020}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf88b94851302527952e522950efa393ca7735a9b1fe2c0ef01de1f2ab98491"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.transition_project (cognitive 20): PostgresDb.transition_project has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 3, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10755}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d75a5d6cb7c1e484538adca4b30e2e72f9b180d0d0a439db00a416e4bccc8"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.transition_project (cognitive 20): AsyncSqliteDb.transition_project has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 3, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7568cb278963e1793ce78ecf841dfc7cf92f678a8313ebbef9e24e9b200d898"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.transition_project (cognitive 20): SqliteDb.transition_project has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 3, boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":9696}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a74840f90a25e309c7d90b82b1d1403163981fa5f538bcf0841456c62a6ee32"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._add_metrics_tool_calls (cognitive 20): utils._add_metrics_tool_calls has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, ternaries 1 (2 pts), 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b188626beb69c4dfbfb6b37cde0beee7bf47cac8c2ae45bd6a0fe61c728a9162"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.get_learnings_user_stats (cognitive 20): ValkeyDb.get_learnings_user_stats has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1, 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":4656}}}],"partialFingerprints":{"codehealthFindingId/v1":"941968e7229ca92a5ea7502fa27e0d3cbdfd2891f483ff5b2c028c723fa7e54d"}},{"ruleId":"D2","level":"warning","message":{"text":"_engine._attempt_body (cognitive 20): _engine._attempt_body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/environments/_engine.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49d7e710795dc3cbb5faf31580c3f775f09c1c1d98f7692fb19f3045578d136"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAsJudgeEval.run (cognitive 20): AgentAsJudgeEval.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, boolean chains 7, 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e6a9cf5d4f41d66909a0a54d378dcefbd66d1c42c378219491fdafaf88582c"}},{"ruleId":"D2","level":"warning","message":{"text":"PageMarkdownChunking.chunk_pairs (cognitive 20): PageMarkdownChunking.chunk_pairs has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (5 pts), loops 2 (3 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":"libs/agno/agno/knowledge/chunking/page.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d745fb0ff49d9ed9e6f615f400b4b0b5f45da272208d0635f9e3d288ab100dc4"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf_reader._clean_page_numbers (cognitive 20): pdf_reader._clean_page_numbers has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (11 pts), boolean chains 4, if/else 3, 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":"libs/agno/agno/knowledge/reader/pdf_reader.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc72470ed72c78fc23a514763ace887f5acf798d2d23d35f8e04b5b9a1ef223e"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore.asearch (cognitive 20): EntityMemoryStore.asearch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1, 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3221}}}],"partialFingerprints":{"codehealthFindingId/v1":"27338089190f5110bc439957e216d1b4483e747bfb5493e92fe4105da01e856c"}},{"ruleId":"D2","level":"warning","message":{"text":"File._normalise_content (cognitive 20): File._normalise_content has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (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":"libs/agno/agno/media/media.py"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d9893ff6d9d753f05aa643abd611ae37724af57f50b7548df548ba544736f8"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsBedrock._format_tools_for_request (cognitive 20): AwsBedrock._format_tools_for_request has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac430d86ca61290b10ed6d05ccad6f5da7d5144a26120aaae432d13b9a6df439"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsBedrock._parse_provider_response (cognitive 20): AwsBedrock._parse_provider_response has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e9d0fda1538451530835d2c77a2b3149afe5e28da045be13d0a7e8a3584219"}},{"ruleId":"D2","level":"warning","message":{"text":"base._handle_agent_exception (cognitive 20): base._handle_agent_exception has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 1 (4 pts), loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6349e0c0f67c024dc7692b43cee1f8564934cfbbea3353fe66ee4c37650de148"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.media_to_content_item (cognitive 20): utils.media_to_content_item has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, error handling 2 (4 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":"libs/agno/agno/models/google/utils.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f53fdf12ad0428ca8d2409f58169477122921ea017a5052513ab2097887296"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonX.parse_tool_calls (cognitive 20): WatsonX.parse_tool_calls has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, 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":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f2f6a27ddc6b922723c5e87dc69bb7375f7c0c3f2864a347fcc88283f7128"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._warn_on_foreign_studio_registries (cognitive 20): AgentOS._warn_on_foreign_studio_registries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bd10edeabea41f184604678f78375a87dd2b0d5e7a229b9881317a9bba6d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryEventStream.tail (cognitive 20): InMemoryEventStream.tail has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/event_streams/in_memory.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46375bdd0873a3daf83c726c51e405ab044d70b5353ff82e3efed46b0a16ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"A2ATaskStore.save (cognitive 20): A2ATaskStore.save has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, 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":"libs/agno/agno/os/interfaces/a2a/task_store.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a579cd6dcbe1c84fc0507388a2fe8931b09825d40140c5aa38c85676624b7c"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackStream._send (cognitive 20): SlackStream._send has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1, 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":"libs/agno/agno/os/interfaces/slack/stream.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e04597ed5533eced535714d4ba8c2d1cc2ec3487378faa500fbad63494e9ec"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._require_tool_scopes (cognitive 20): mcp._require_tool_scopes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23b1da962afce07fe76b1c8e478ddf28b5b90b8cee83b1675a2686fab90f384"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._consume_workflow_stream (cognitive 20): mcp._consume_workflow_stream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, error handling 1 (2 pts), ternaries 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fb7c3de59151e53c878efa5b992e876e23a5f7b07149f373ab4fc488a2622b"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.run_reliability_eval (cognitive 20): utils.run_reliability_eval has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ee6d337989f69250003f7eb71c3e9c4e84e0a2e35a4d9513e4e18530a35f7"}},{"ruleId":"D2","level":"warning","message":{"text":"router._list_entries (cognitive 20): router._list_entries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 3 (6 pts), boolean chains 3, 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":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"13198f9423f7b72433006968a737cabac371dc4519ec7f39f9be76c58776d29c"}},{"ruleId":"D2","level":"warning","message":{"text":"router._get_global_files (cognitive 20): router._get_global_files has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b7ca834a1163f77ec4e2b75842d28b1df7bc601be5dab37db1b0b9d0d789c3"}},{"ruleId":"D2","level":"warning","message":{"text":"RunRequirement.provide_user_input (cognitive 20): RunRequirement.provide_user_input has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 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":"libs/agno/agno/run/requirement.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6345f223f8b64acecc58bff4a80c82a4ad31707b79f98ff786af3dfe08530c9"}},{"ruleId":"D2","level":"warning","message":{"text":"status_persist.persist_worker_owned_run (cognitive 20): status_persist.persist_worker_owned_run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6884e8cca494776ec1b6f000a246bc17797039b1e7286fd4d27102a3047f00ec"}},{"ruleId":"D2","level":"warning","message":{"text":"_init.__init__ (cognitive 20): _init.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, loops 1 (2 pts), ternaries 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8d539c50b911f38f025ec8590c3f20c1bc464d45ea772fb03201d28b71df5"}},{"ruleId":"D2","level":"warning","message":{"text":"_init._bind_member_result_store (cognitive 20): _init._bind_member_result_store has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7832d77966478b1a7f93638beefcbcf41bf0a3d4b71820f0f0dfd76443df4955"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.arun_dispatch (cognitive 20): _run.arun_dispatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, ternaries 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4133}}}],"partialFingerprints":{"codehealthFindingId/v1":"017ac961aa586c127b46dc465d5771cafd2ea80e1e591918a0ec4b7a6beadc99"}},{"ruleId":"D2","level":"warning","message":{"text":"_run_options.resolve_run_options (cognitive 20): _run_options.resolve_run_options has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5, boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run_options.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a762b0f988e25e24008da75883cd9b03f3af4a660bb3c24afa5b3765a75993c0"}},{"ruleId":"D2","level":"warning","message":{"text":"team.get_team_by_id (cognitive 20): team.get_team_by_id has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (4 pts), error handling 3, 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, 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":"libs/agno/agno/team/team.py"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"a080555f15649601a625e43a9ce0320589021a9349f118da15e1301a07a61458"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelSession._evict_loop (cognitive 20): KernelSession._evict_loop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (6 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":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7926809e66d2678b056b2c8d7012ebd3040374b3c1a5c051f3f51aa248e016c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingTools.grep (cognitive 20): CodingTools.grep has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 3, 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0724bb6b8c0ce3fb5026e2faa5539bf71e3655419d4d8d6da814c35a6bf0f6"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingTools.find (cognitive 20): CodingTools.find has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2 (3 pts), ternaries 1 (2 pts), boolean chains 1, 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c120721d13dc1f996b6a7d9376e9c93a2d5d581bab6af0312fc0cacb153751c8"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryTools.__init__ (cognitive 20): MemoryTools.__init__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6 (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":"libs/agno/agno/tools/memory.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c46b78b012b5bb8459950dc805133bc662a3c5078319991ed3aacd5cc917ff"}},{"ruleId":"D2","level":"warning","message":{"text":"RedmineTools.update_issue (cognitive 20): RedmineTools.update_issue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (19 pts), error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f554e07e1929afe9a8488f0ae8e1ea331188988231bf1e321285b8a07de345"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools.validate_component (cognitive 20): StudioTools.validate_component has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3770}}}],"partialFingerprints":{"codehealthFindingId/v1":"727a20752bb945390b8868e011d830134796ac03a7a42d92b2fc6808a5852146"}},{"ruleId":"D2","level":"warning","message":{"text":"TrafilaturaTools.crawl_website (cognitive 20): TrafilaturaTools.crawl_website has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 pts), ternaries 4, loops 1 (2 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":"libs/agno/agno/tools/trafilatura.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fecf2524ef1fff6e6ebd7e66685ef1e7365672c81470dac0ada1fec871c2f23"}},{"ruleId":"D2","level":"warning","message":{"text":"YouTools.you_search (cognitive 20): YouTools.you_search has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), error handling 2, 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":"libs/agno/agno/tools/youcom.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ffc829e5f76cd0d217fee4a51523033bcb0b1306114cf356236867f6f0d460"}},{"ruleId":"D2","level":"warning","message":{"text":"schema.annotation_reaches (cognitive 20): schema.annotation_reaches has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, error handling 1 (2 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":"libs/agno/agno/utils/schema.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"db57096f393ff437fedf1e19c2ce5edf5f9aade198225f5ebecdf65a54000d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"PineconeDb.update_metadata (cognitive 20): PineconeDb.update_metadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3, boolean chains 1, error handling 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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40caaf4f529b406045de79ff587b6e16f482ee494737257cabf5743a22c2452"}},{"ruleId":"D2","level":"warning","message":{"text":"Qdrant.insert (cognitive 20): Qdrant.insert has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2dde37ec15a4e4f2b26ba8cd8e3c224244cf39958be59e4fabeafb2dc402ce"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.get_workflow_by_id (cognitive 20): workflow.get_workflow_by_id has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (4 pts), error handling 3, 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, 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11940}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e0d0290af96ed17610a272cb724691c54994b2e34854392a7348db6114f28d"}},{"ruleId":"D2","level":"warning","message":{"text":"GlueCrawler.get_glue_crawler_targets (cognitive 20): GlueCrawler.get_glue_crawler_targets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 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":"libs/agno_infra/agno/aws/resource/glue/crawler.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d783fabe275a07420f979f178f02aa69fac5f33753591c7fc06887b36013d17"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.read_secrets (cognitive 20): reader.read_secrets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 1 (3 pts), boolean chains 2 (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":"libs/agno_infra/agno/aws/resource/secret/reader.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5045234df0a634c5bd6b52b38e0f0e43c80ed85dc8638b9026bb60b4b6890450"}},{"ruleId":"D2","level":"warning","message":{"text":"InfraSettings._validate_and_set_keys (cognitive 20): InfraSettings._validate_and_set_keys has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (20 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":"libs/agno_infra/agno/infra/settings.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a4fab492032ceb87b131df9d06a47deb6173778808a8d25dc3abf48ddc12e"}},{"ruleId":"D2","level":"warning","message":{"text":"connect._mint (cognitive 20): connect._mint has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 1, 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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6514bd21556621227860935c2cd12472ee3c30a7e72d072ea53b7472292aa0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowWebSocketClient.run_interactive (cognitive 20): WorkflowWebSocketClient.run_interactive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 2 (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":"cookbook/04_workflows/06_advanced_concepts/background_execution/websocket_client.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc36f776f9f354f5151c0549bdf0d2850c1b172bfec8af0e3ea45d90919537c5"}},{"ruleId":"D2","level":"warning","message":{"text":"01_error_retry_skip.main (cognitive 20): 01_error_retry_skip.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), ternaries 2 (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":"cookbook/04_workflows/08_human_in_the_loop/error/01_error_retry_skip.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f3eb27b8a4054837357a54b6204f9f86853633d6b5f73b2ea901efb0ea51ba"}},{"ruleId":"D2","level":"warning","message":{"text":"basic.krippendorff_alpha (cognitive 20): basic.krippendorff_alpha has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (6 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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e94534f5dc5546aeb5072250aceb42c46383b6fbd417e7361a3760ab50b39fd"}},{"ruleId":"D2","level":"warning","message":{"text":"jury_votes.krippendorff_alpha (cognitive 20): jury_votes.krippendorff_alpha has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (6 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":"cookbook/data_labeling/_19_inter_annotator_agreement/jury_votes.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2599a30fe1e3a3aad20d1f539eb3f3e6830d86e8185f8a63b256ab2b73a844"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.update_reasoning_content_from_tool_call (cognitive 19): _response.update_reasoning_content_from_tool_call has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"8694dcecd5bbbca6330ecba3ad2c172595635e13a96cc0143155aee4c2ff12be"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.adelete_session (cognitive 19): _session.adelete_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cd6dc8dc1a03c83763084af37f83528feb1239eaf8a1c31578a9175a2ef8d0"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.determine_tools_for_model (cognitive 19): _tools.determine_tools_for_model has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), boolean chains 2, 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"770223069f487043b0207daf3cbd133dd66095b4b4d568d9e02191056ed692e7"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.handle_tool_call_updates (cognitive 19): _tools.handle_tool_call_updates has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), ternaries 1 (3 pts), 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. This shape REPEATS in the file: one other method here (_tools.handle_tool_call_updates_stream) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"616f052b82f8d0d6edcc5168fa6657103af656d17817f348f7e8fadd51d4ae41"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.handle_tool_call_updates_stream (cognitive 19): _tools.handle_tool_call_updates_stream has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), ternaries 1 (3 pts), 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. This shape REPEATS in the file: one other method here (_tools.handle_tool_call_updates) 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f54a308f855d7283ebcb488145e266283b7d2da721bc65d749c6c7920a780e"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.get_agent_by_id (cognitive 19): agent.get_agent_by_id has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (3 pts), boolean chains 2, error handling 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, 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f880f380c7b9976cc0b6fca50ae47ac7d46fce7ca774b20361e174b70f48c"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityAgent._arun_adapter_stream (cognitive 19): AntigravityAgent._arun_adapter_stream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (2 pts), 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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"760e648c23752e02f16c39d35872bd68ebecf88272428ec2c545a648f29ced1b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseExternalAgent._apersist_run_in_session (cognitive 19): BaseExternalAgent._apersist_run_in_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, error handling 2 (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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a06943b94980fc19a69157c902b10e2cd22849e87c8e7e69d2b872a73b8d17"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseExternalAgent._input_text (cognitive 19): BaseExternalAgent._input_text has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 5 (7 pts), boolean chains 2, 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a594296f561fe75d9027289a1eb96d98ef732bf41e5c0b249a19b1bdae693771"}},{"ruleId":"D2","level":"warning","message":{"text":"base.session_branch (cognitive 19): base.session_branch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (3 pts), loops 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"949243eddd3dff372cb99d4add0abd39f59cf76855b7fc2275d1570086b314bb"}},{"ruleId":"D2","level":"warning","message":{"text":"_TelemetryDispatcher.close (cognitive 19): _TelemetryDispatcher.close has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 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":"libs/agno/agno/api/api.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a2268d786bf6d248392c33e4e04d5b783ffe49f386dfe9e4c5a9437a8164df"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._enqueue_ticket (cognitive 19): execution._enqueue_ticket has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 2, error handling 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b753554aa01ae309074efef99ac9c091059d87c64e99e024be3743b595984b"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelMCPBackend._pages_from_fetch_payload (cognitive 19): ParallelMCPBackend._pages_from_fetch_payload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, loops 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":"libs/agno/agno/context/web/parallel_mcp.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5acf3468fd2eefc79b8da6285d75603e7095152d1386c378f547cb02b4397a"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.get_runs (cognitive 19): FirestoreDb.get_runs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, ternaries 2 (4 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acf8269c109716b43e924679887fe6fded8f31c447c9873cd1e89b96bf7da3f"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.upsert_session (cognitive 19): InMemoryDb.upsert_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (7 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4783e45215ecdac90082b0b25b7526575213ae491ad08fff288bae0fd2687ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb._write_metrics_rows (cognitive 19): InMemoryDb._write_metrics_rows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2 (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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bdb1d0437d6c023264bd2e6202f9b15e319f04257171dc90427e98e6be9254"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb._write_json_file (cognitive 19): JsonDb._write_json_file has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, error handling 2, ternaries 1 (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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e40ab92ec68acd6926ecce57d3667442b5215a1cbd200a488e174e7694c160"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.get_runs (cognitive 19): MySQLDb.get_runs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0bc451d02d289abc60d72c9b21051bb47b06bdb564e78ede9f112c0c0bd429"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_traces (cognitive 19): AsyncPostgresDb.get_traces has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7653118e59764f4a37b0f048774bbc25cd56fb296f1b8fdd45775d0b05e7e6"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_runs (cognitive 19): PostgresDb.get_runs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1baca65e586c787ae03c945d4416c89eff1c6e006f91af3e03f6f6c0ed1713"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_traces (cognitive 19): PostgresDb.get_traces has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4575d6f28584805138eba0e674fd48cf3c11727f2ca37a565a16a967233c98"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.get_runs (cognitive 19): SingleStoreDb.get_runs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6c57fe2e560d6bbc791f6608bf6986471186de8cdbdf005c0c532363d3a6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_user_memories (cognitive 19): AsyncSqliteDb.get_user_memories has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d52d3740079fbca2adc5ea4ccfd55f7aa174d3065c6c3361494f017c4a1a654"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_traces (cognitive 19): AsyncSqliteDb.get_traces has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4789}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ffa72eb6500cdc3d89a90184a2346495c431dba7d000b5cf108c927bb3e29"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_traces (cognitive 19): SqliteDb.get_traces has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":4942}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc53827853cfa096843939c969e73c8b2b41caf6b2baa98917b6a9ede8831986"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentAsJudgeEval.arun (cognitive 19): AgentAsJudgeEval.arun has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 7, 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0fc72d89a449c31a42d4122909cebd2952b91e28488b79a66d72a0aea046ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DbFileSystem.__init__ (cognitive 19): DbFileSystem.__init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/fs/db.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6350e5e7b691cb93d978c8bf48ffa11770d13719d1c1005a112382ae7b458434"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystem.from_dict (cognitive 19): FileSystem.from_dict has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 2 (4 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd21f7ab1b4fc69b630a4bc3e5bf1429476fec7bf182f0491288d87d0630f29"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsBedrockEmbedder._extract_embeddings (cognitive 19): AwsBedrockEmbedder._extract_embeddings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (3 pts), 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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0e5d2f6f543246c359f990562f7794996ff3d95bf0d417579b4abc948482f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge.ainsert_many (cognitive 19): Knowledge.ainsert_many has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 5 (7 pts), ternaries 1 (3 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. This shape REPEATS in the file: one other method here (Knowledge.insert_many) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"d221d560348da34cf7fbfabc91a1e92fca7d2f28b3b10c8ea5e06e144e9699d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge.insert_many (cognitive 19): Knowledge.insert_many has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 5 (7 pts), ternaries 1 (3 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. This shape REPEATS in the file: one other method here (Knowledge.ainsert_many) 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ee009273d4ab2da37183b3057bd74c2610f106ba3c1df945d8da9fa3430e48"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._build_remote_content_identity (cognitive 19): Knowledge._build_remote_content_identity has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, ternaries 3 (6 pts), if/else 2 (nesting depth added 3). 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ab15ea200b50896136e849f5accd8b0272a46cef8fbd7cbda96f03fac568db"}},{"ruleId":"D2","level":"warning","message":{"text":"_commands._execute_command (cognitive 19): _commands._execute_command has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (4 pts), error handling 3, loops 1 (3 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":"libs/agno/agno/knowledge/page/_commands.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"817c3211b2e90e314be9084409b95d0261e5dab5cad49c432ac1b95382883c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Config._process_list_response (cognitive 19): S3Config._process_list_response has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), ternaries 1 (2 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":"libs/agno/agno/knowledge/remote_content/s3.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"769ba0974664e9715cb4dba2c7ecc28acb94f7296338670aadb3c62bf42bd8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionLogStore.build_context (cognitive 19): DecisionLogStore.build_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1, ternaries 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02eea9a842eb6bc04a7edd3646cc246f7d82dc07ca91a0bf97eaa2419f448fe"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._apply_forget (cognitive 19): EntityMemoryStore._apply_forget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 1 (2 pts), ternaries 2 (nesting depth added 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d06a863df74c1133493f8082d3402788730115c4cb8f071e73d8cc785b36fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._aname_candidates (cognitive 19): EntityMemoryStore._aname_candidates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (6 pts), loops 2 (3 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5fc4402360c51ecc645c23abcecae3652685719ea24ff3746e5de8aed2a839"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore.alist_entities (cognitive 19): EntityMemoryStore.alist_entities has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1, 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3008}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39849663d3fcb18e36d17c6bc7f8cb4ffde1376ae85bca821354e32bc1c47ba"}},{"ruleId":"D2","level":"warning","message":{"text":"LearnedKnowledgeStore.print (cognitive 19): LearnedKnowledgeStore.print has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"562902dd54b379c5c4da242fc5c16a1cd94b40c60da3c2e36c8f979787c38781"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.build_learning_id (cognitive 19): utils.build_learning_id has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (6 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":"libs/agno/agno/learn/utils.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b511913bbbcb6900b06e99d7e527b28e0512bada16cf38ff760c4e0883d9e61d"}},{"ruleId":"D2","level":"warning","message":{"text":"Claude.get_request_params (cognitive 19): Claude.get_request_params has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"c132a345f88cea02e69e211db1a7e55a45dd92f8b89527c0c9837a0eaf7fbad8"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._ainvoke_stream_with_retry (cognitive 19): Model._ainvoke_stream_with_retry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 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":"libs/agno/agno/models/base.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fabaccb932e5e4352710f7910e24477554a25b1b27c446ecf7911492d11f85"}},{"ruleId":"D2","level":"warning","message":{"text":"runs.offload_run_for_storage (cognitive 19): runs.offload_run_for_storage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (runs.aoffload_run_for_storage) 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":"libs/agno/agno/offload/runs.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a292528e33474e98eb33b1eeaf0f9305de9ed591702f7b051797288a9d668d"}},{"ruleId":"D2","level":"warning","message":{"text":"runs.aoffload_run_for_storage (cognitive 19): runs.aoffload_run_for_storage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (runs.offload_run_for_storage) 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":"libs/agno/agno/offload/runs.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"da24f42bbf82ba0b3349d875b3389f1c38980cc18458a32f989d4b7315580991"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._setup_tracing (cognitive 19): AgentOS._setup_tracing has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0589ac8fbebf92512f55a839fb61827d68f7f2f0de28c8e70fae5ceecea6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.on_run_completed (cognitive 19): handlers.on_run_completed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 2, ternaries 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":"libs/agno/agno/os/interfaces/agui/handlers.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26beee5c6a2c8030e626fcfca692018e14a85288ac863de8f2a788ee20b0c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"router.run_entity (cognitive 19): router.run_entity has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, error handling 1, loops 1 (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":"libs/agno/agno/os/interfaces/agui/router.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d99e8d27bd428ab7039ac77e3aa20fb6b300475ee73c43c304385d26051d9a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDelivery._message_author (cognitive 19): TaskDelivery._message_author has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7 (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":"libs/agno/agno/os/interfaces/slack/company.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23d374cd2fc96affef11e2dfec5536c65198ab970e3b260174fb2a161eb12b7"}},{"ruleId":"D2","level":"warning","message":{"text":"executor._run_non_streaming (cognitive 19): executor._run_non_streaming has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, error handling 2, loops 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":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c061c9c62bf23b34812b3affac00ff600f8a3149b2f58433801290d36afa9f45"}},{"ruleId":"D2","level":"warning","message":{"text":"formatting._merge_blockquote_lines (cognitive 19): formatting._merge_blockquote_lines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/formatting.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc5859d631ae3df0567340508ccf5caaccca54c2643e53e45d9928df124de69"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker.stop (cognitive 19): QueueWorker.stop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7704cb9da22bb2ffdf5e58ba733e2adf31c31cde13631dc48024af917d7019"}},{"ruleId":"D2","level":"warning","message":{"text":"job_queue.resolve_queue_scope (cognitive 19): job_queue.resolve_queue_scope has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"721c871413178119d8ecb5aba46e31a6d918b140e14e5bedf3c3a54b3c4cacea"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._split_tool_entries (cognitive 19): mcp._split_tool_entries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"9730a97c19a1bbafd109597446a447bfa01cb8eaba5aabee81665c066f01b22b"}},{"ruleId":"D2","level":"warning","message":{"text":"router.agent_resumable_response_streamer (cognitive 19): router.agent_resumable_response_streamer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 3, loops 1 (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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"30821146e35d016d142f3585bb0ac5da52f75714ba6a381c41ccb4dc0e957ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"components._validate_pinned_versions_readable (cognitive 19): components._validate_pinned_versions_readable has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 1 (2 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"753df18ce26d6b7de70bbc6eeb780f996be564770ae0222c5e0ffef5fdad82ec"}},{"ruleId":"D2","level":"warning","message":{"text":"router._resolve_filesystem (cognitive 19): router._resolve_filesystem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09719ba6fdbc933e566d0e88f1195009ba01744348c80562b29bcb4c8dd12bc"}},{"ruleId":"D2","level":"warning","message":{"text":"router._get_global_filesystem_agent_ids (cognitive 19): router._get_global_filesystem_agent_ids has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, 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":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5576217b2826b66f89bc84512c721169ce8476b88d3fa8f847cc2b356ab209"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_ws_deployment_scope_config (cognitive 19): utils.resolve_ws_deployment_scope_config has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 3, 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"756cea205ba73478ba0704b245fb24da5ebbf6971a08e3f6f4b0a8a1c12c4065"}},{"ruleId":"D2","level":"warning","message":{"text":"background.map_background_stream_to_run_events (cognitive 19): background.map_background_stream_to_run_events has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"libs/agno/agno/run/background.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2433b5383e444d89852872a34fec5c501b6459c0e014a13e24331e4eafa94cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"concurrency.background_run_slot (cognitive 19): concurrency.background_run_slot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 1, 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":"libs/agno/agno/run/concurrency.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3683b1f065922b5524600b1eceb7abede76a48470e847d041495766b4ebe3c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleExecutor._poll_run (cognitive 19): ScheduleExecutor._poll_run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), error handling 2 (4 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":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0131a40d2ba1332fb64563cdfcb12e507bb1658bd2ae5dd7b8b80f907e78b67"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.get_response_format (cognitive 19): _response.get_response_format has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_response.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb44c044cf45ab7e95ef2cb0a624c7bcc39971b32491bbaf5e72fc93c41bc99"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.update_reasoning_content_from_tool_call (cognitive 19): _response.update_reasoning_content_from_tool_call has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"7530039f4672bf718b17da40b70784426486c204ca76d451ec3e295c55165871"}},{"ruleId":"D2","level":"warning","message":{"text":"_session._scrub_tool_results_keeping_unresolved (cognitive 19): _session._scrub_tool_results_keeping_unresolved has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b0c3f14c1792cb7c1edc6e490c7da67e9322d9edd1e474292b3fcbe7c8b1ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.adelete_session (cognitive 19): _session.adelete_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1eab20d3a5a505dfde5d84c8f46aa643fc100dcf96d0abffa508159b320ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskList.get_summary_string (cognitive 19): TaskList.get_summary_string has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (5 pts), ternaries 2 (5 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":"libs/agno/agno/team/task.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5064d34e0d4600d9b6f18b523468d2e93f9e933fcdf004a7da965e5ac0077457"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityTools._load_agent_directory (cognitive 19): AntigravityTools._load_agent_directory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, error handling 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":"libs/agno/agno/tools/antigravity.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df88a0e99392f6fc1de67b34d562911413b681650495c3a2034d395528e898"}},{"ruleId":"D2","level":"warning","message":{"text":"company._scoped_user (cognitive 19): company._scoped_user has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7 (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":"libs/agno/agno/tools/company.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e3b0b1e009aff0751cedbe5423eade98f5a20ec2711fc2c88c23311ac690e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxTools.generate_video (cognitive 19): MiniMaxTools.generate_video has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 2, 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. This shape REPEATS in the file: one other method here (MiniMaxTools.agenerate_video) 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":"libs/agno/agno/tools/minimax.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2117772f703a2209da3f19d44dbd727110efa684a9533f4ff74d15a77c0cd6da"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniMaxTools.agenerate_video (cognitive 19): MiniMaxTools.agenerate_video has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 2, 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. This shape REPEATS in the file: one other method here (MiniMaxTools.generate_video) 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":"libs/agno/agno/tools/minimax.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa95f5e3b75aa04abe4cd9dce8f28b8e10845950e8831eeb59e9219035fced"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenCVTools.capture_image (cognitive 19): OpenCVTools.capture_image has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (2 pts), error handling 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":"libs/agno/agno/tools/opencv.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813695b1f7a56c9638ee528f1d95b91eb0603be0252d95981b1d2e6975eb49b"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._require_registry_for (cognitive 19): StudioRunnerTools._require_registry_for has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (4 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c78731e186429d619d809bfe14525f4c99ac7c24dbc8548b50e88ada39979e"}},{"ruleId":"D2","level":"warning","message":{"text":"VisualizationTools.create_scatter_plot (cognitive 19): VisualizationTools.create_scatter_plot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"17078eda92ce96b42e9a078a379db66b8859a6e631ce56b66dad59db10e753aa"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.scrub_tool_results_from_run_output (cognitive 19): agent.scrub_tool_results_from_run_output has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f70d70b49b6709b7c3d94bd98710e243a682112c0ebd4d1099a8d522679cca"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.validate_input (cognitive 19): agent.validate_input has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 3 (7 pts) (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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aa9352b9c8082a1a401bc77da93626fc9d8e8361f0eabde65ae5657f8f1d86"}},{"ruleId":"D2","level":"warning","message":{"text":"message.safe_truncation_index (cognitive 19): message.safe_truncation_index has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3, ternaries 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":"libs/agno/agno/utils/message.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f00a128ef35e47bf66d59130e6e6738d9ee797d1243b3f58e5089f1222b3e1"}},{"ruleId":"D2","level":"warning","message":{"text":"response.get_paused_content (cognitive 19): response.get_paused_content has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, 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":"libs/agno/agno/utils/response.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a433e8ca30e35e4550166a87b1a472d955f11b5d9ff30273c3fd5a754c416f62"}},{"ruleId":"D2","level":"warning","message":{"text":"Milvus.upsert (cognitive 19): Milvus.upsert has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), loops 2 (4 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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22b645eb3ecbc5ab060ab1be94c8cf7aee42ab95de93d6a8fa4e79342099133"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.adelete_session (cognitive 19): Workflow.adelete_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a50fc3e9e871496c6ff8f97927e6529f034bccc5fd58183e8e0b830f790d916"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.run (cognitive 19): Workflow.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 7, 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b46bf64b6413133f782912750364f0768b8d2264d88092fb9f2a6f6c95fed7b"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheCluster.get_cache_endpoint (cognitive 19): CacheCluster.get_cache_endpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 3, error handling 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. This shape REPEATS in the file: one other method here (CacheCluster.get_cache_port) 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fdd492f602f00fc9b4b5b6233ff89ec0f1581f62a58ce98e2ff2c6bb8c82a3"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheCluster.get_cache_port (cognitive 19): CacheCluster.get_cache_port has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 3, error handling 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. This shape REPEATS in the file: one other method here (CacheCluster.get_cache_endpoint) 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d71036c1b3876b741988c3be24d65241823014967d49ad34c430f0161a9a260"}},{"ruleId":"D2","level":"warning","message":{"text":"InfraResource.get_input_file_path (cognitive 19): InfraResource.get_input_file_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (19 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (InfraResource.get_output_file_path) 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":"libs/agno_infra/agno/base/resource.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b19a6e4d0ed9e52116be0317c071b11725ab6ec4118cce8a1bc9cf9c385d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"InfraResource.get_output_file_path (cognitive 19): InfraResource.get_output_file_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (19 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (InfraResource.get_input_file_path) 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":"libs/agno_infra/agno/base/resource.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"995ba632be06318f024fdba4d0d3c180462d3e033e243f26fffdac377418f51b"}},{"ruleId":"D2","level":"warning","message":{"text":"DockerImage.buildx (cognitive 19): DockerImage.buildx has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 2, loops 1 (2 pts), error handling 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":"libs/agno_infra/agno/docker/resource/image.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf376c2f4df25b2047dad016f8085727773b33ae515fb30940a1478ce08d663"}},{"ruleId":"D2","level":"warning","message":{"text":"check_style.check_style (cognitive 19): check_style.check_style has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, 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":"cookbook/02_agents/16_skills/sample_skills/code-review/scripts/check_style.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2235dc8e7c7c48282bfdeb45eb0ad77c8cb763e068eb763604c5ff00596d45c"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowWebSocketClient.listen_for_events (cognitive 19): WorkflowWebSocketClient.listen_for_events has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 3 (4 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":"cookbook/04_workflows/06_advanced_concepts/background_execution/websocket_client.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"42edd7fd5b736ee1d9cd694a6745d6791b5c5549bb4ca787a9b83620a4b3aa1c"}},{"ruleId":"D2","level":"warning","message":{"text":"step_history.analyze_food_preferences (cognitive 19): step_history.analyze_food_preferences has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 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":"cookbook/04_workflows/06_advanced_concepts/history/step_history.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a076e35881c961facaf1026b2e9e832f05a5ae0035b50140a6ccdb888c31fe21"}},{"ruleId":"D2","level":"warning","message":{"text":"03_step_confirmation_streaming.process_event_stream (cognitive 19): 03_step_confirmation_streaming.process_event_stream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 1 (4 pts), 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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ef42a6b08d686b66ce4dfa4f3fc32ff9e522e7bc06192b19634a01418ffd53"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectNotesStore.print (cognitive 19): ProjectNotesStore.print has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (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":"cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"469505a9dde655e06d1397a42ce14a7d5e3bc5884521397f28f0c7dfd41d6689"}},{"ruleId":"D2","level":"warning","message":{"text":"cookbook_runner.main (cognitive 19): cookbook_runner.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (6 pts), boolean chains 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":"cookbook/scripts/cookbook_runner.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"86566cc5f58f68ec131bc36e314f055ddd8100842d8951e62215c565408b57dd"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._plan_overflow_fold (cognitive 18): _messages._plan_overflow_fold has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"14284c19949664d26041350168bb74c427a864575154b340258547d4ba514300"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.run_dispatch (cognitive 18): _run.run_dispatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 3 (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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9afca5bd52c649b8efe173b17e3c0282416b1e03c55639bb9b9383ab1e88484"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools.raise_if_async_tools (cognitive 18): _tools.raise_if_async_tools has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c5ba9cbccc2bb2c2219ed3d69b3c483b1f90560cc394bdd57a3d10491350bb"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAgent._native_approval_settings (cognitive 18): CodexAgent._native_approval_settings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (7 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1f673bb24c2ba589bcb85daf8c2fa7001a9245fe446d09a632648b1b833f12"}},{"ruleId":"D2","level":"warning","message":{"text":"execution._cancel_ticketless_pending_run (cognitive 18): execution._cancel_ticketless_pending_run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 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":"libs/agno/agno/company/execution.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f5678dbfd5f7e6708b81ff747bb505d182dfbd0f8f25f89daa2a2ba5a6e894"}},{"ruleId":"D2","level":"warning","message":{"text":"files._always_loaded (cognitive 18): files._always_loaded has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (4 pts), loops 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":"libs/agno/agno/company/files.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec315dc903c949b6d318219019a0da7cdc527bb6da39f906a574466748b8119"}},{"ruleId":"D2","level":"warning","message":{"text":"GitBackend.setup (cognitive 18): GitBackend.setup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"libs/agno/agno/context/wiki/backend.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6ea3b83722a79a365fed3c5bee83276892021c8cabe6e3707bc4931784acba"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.__init__ (cognitive 18): DynamoDb.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b91ef0bc94eaa667d1a041d361e2403b31d50c065e833d329fbd6d932ca33f"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb._release_metrics_refresh (cognitive 18): DynamoDb._release_metrics_refresh has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 4 (6 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f4a27ee1fa3be864666f2550d541cb809dcaefdaead366bbdf976beb09ecee"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb._calculate_date_metrics (cognitive 18): DynamoDb._calculate_date_metrics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, loops 2, ternaries 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a56e7cd483495dd5b2376b47434a83a9a556ed93f1ca293da2dca634e2779f"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.create_spans (cognitive 18): DynamoDb.create_spans has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (3 pts), loops 2 (3 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad62ceea2568ded6fb267a86fe7e6f7f2a05819454e8e5898cede98a9f5834"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.cleanup_legacy_runs_field (cognitive 18): FirestoreDb.cleanup_legacy_runs_field 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac502bc34630c53286bbda8b6c9c68dcbbeab436d8da80be48f816e3d164e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._create_composite_indexes (cognitive 18): utils._create_composite_indexes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (5 pts), error handling 2 (3 pts), loops 2 (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":"libs/agno/agno/db/firestore/utils.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77822f164b0e8ed164a92c04c64110d98b33c9003754092ffb238e68637c462"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_mysql_like_user_id (cognitive 18): v3_0_0._revert_mysql_like_user_id has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 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. This shape REPEATS in the file: one other method here (v3_0_0._revert_async_mysql_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfacb6a80150dc7b1cdfab33947b8d741bb68c224c384d28a02260e96cc4fc00"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._revert_async_mysql_user_id (cognitive 18): v3_0_0._revert_async_mysql_user_id has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 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. This shape REPEATS in the file: one other method here (v3_0_0._revert_mysql_like_user_id) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4220}}}],"partialFingerprints":{"codehealthFindingId/v1":"17599c54cf981ceaaf44f5db57f2a2e3a5db9c9b820e4f65c6aa95e74ed816d3"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.create_collection_indexes (cognitive 18): utils.create_collection_indexes has cognitive complexity 18 (threshold 15). Drivers by points: error handling 4 (7 pts), if/else 4 (7 pts), ternaries 1 (2 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. This shape REPEATS in the file: one other method here (utils.create_collection_indexes_async) 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":"libs/agno/agno/db/mongo/utils.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e700af472c45cb612e886e4eebbd78fd4ae53021ee12c5dcb7babcd4ee91eef1"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.create_collection_indexes_async (cognitive 18): utils.create_collection_indexes_async has cognitive complexity 18 (threshold 15). Drivers by points: error handling 4 (7 pts), if/else 4 (7 pts), ternaries 1 (2 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. This shape REPEATS in the file: one other method here (utils.create_collection_indexes) 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":"libs/agno/agno/db/mongo/utils.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f0c53451d9f90adfd97915f52e388998377a0a19965413b44835135c357f82"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb._get_metrics_dates_to_calculate (cognitive 18): AsyncMySQLDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e10926d19f36b7e6eff2d3ba99b1d82ebb448a1437f687f7b26cbd3dafd3c47"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb.get_user_memories (cognitive 18): MySQLDb.get_user_memories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0cceb07d8cad1703d7f096a38cc0332a75ca008f182e30f71e1737eea5ca61"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb._get_metrics_dates_to_calculate (cognitive 18): MySQLDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9b3b2345bfce76632f3c92ace02a83759bd22c36a53e469a21bb8d69af152"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb._get_metrics_dates_to_calculate (cognitive 18): AsyncPostgresDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b73d7b3ed24795175cfcbe1df93988c07fa2788d292579f6406d42aebec125"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.enqueue_job (cognitive 18): AsyncPostgresDb.enqueue_job has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86008232378d4344102b607eb753ebcafbe8336b18d12ad32106901f1e6dc01"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_user_memories (cognitive 18): PostgresDb.get_user_memories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"4322c0613d5fc3739ac0ccea197329a7c825811ab28799eded7eb6af8d45ef77"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb._get_metrics_dates_to_calculate (cognitive 18): PostgresDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e561203c25ddf8aa883989c8154e1eb470fb4cf76fc4ee1ebcd6e47e25c847"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.enqueue_job (cognitive 18): PostgresDb.enqueue_job has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8997}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8930b083bdae8260cf31073681799d3926947b46dbed95b620e47df5de5c055"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb.upsert_session (cognitive 18): RedisDb.upsert_session has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 2, error handling 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00ca2d3410024c2a3925bf12e2e86c04fa06639905cc616248b831507aad360"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._q_try_claim (cognitive 18): RedisDb._q_try_claim has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, error handling 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4119}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bdad55d8575103ec6bc778552532807c4623b83c196a6b1f9eceb7f5bc9bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.get_user_memories (cognitive 18): SingleStoreDb.get_user_memories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e40102805552987ab7acab7798af00d711bdd6b7b6df5ac5b26a18722b03e"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb._get_metrics_dates_to_calculate (cognitive 18): SingleStoreDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe16bd54803e93e5ff06e35721a48218a032f318422f509c7c4448460255dd8"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb._get_metrics_dates_to_calculate (cognitive 18): AsyncSqliteDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0a6112f18b84abc8d4d1fcd51df76408e1cd373a7436d6673ebc94d5876910"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_user_memories (cognitive 18): SqliteDb.get_user_memories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2685}}}],"partialFingerprints":{"codehealthFindingId/v1":"855e2a4d2b5f9087fd4ea99878c3d8aa88975ef5bd84302681f526c7faa12058"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb._get_metrics_dates_to_calculate (cognitive 18): SqliteDb._get_metrics_dates_to_calculate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":3295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae31517b52e6737e0b75a8afa1e7c1692c34bb22d96579d7e7b7409dc04e86d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.upsert_session (cognitive 18): ValkeyDb.upsert_session has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 2, error handling 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62ad2cdb4b8b0bd2c8f8494e88ba405fdd9c2b3b29719580e812a37646b9897"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._get_span_stats_for_trace (cognitive 18): ValkeyDb._get_span_stats_for_trace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (6 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":3845}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac15982676aebd3d489e530303d31db62595101b04b6debf3634818cf1eb7817"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveGrid._refresh (cognitive 18): LiveGrid._refresh has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 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":"libs/agno/agno/environments/_render.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a18796ac02fbb1975dfee1025dcf5c1f4d9681d071863953a858b62a02d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownChunking._split_by_headings (cognitive 18): MarkdownChunking._split_by_headings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 2, 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":"libs/agno/agno/knowledge/chunking/markdown.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db0f55b9347e3fc896332c0cbfda294fa7924cd9ddb177fb8081b4f8b520b66"}},{"ruleId":"D2","level":"warning","message":{"text":"page._sections (cognitive 18): page._sections has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 2, loops 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":"libs/agno/agno/knowledge/chunking/page.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d86b4dc3062cb593ec59d3cc2689277adc4586feac6813260962350e3b08a"}},{"ruleId":"D2","level":"warning","message":{"text":"SharePointLoader._aload_from_sharepoint (cognitive 18): SharePointLoader._aload_from_sharepoint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 1 (2 pts), boolean chains 1, 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. This shape REPEATS in the file: one other method here (SharePointLoader._load_from_sharepoint) 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d427862eedaac549e06c6d58580296c57fed43fe68131fe1d67f522b8ef162"}},{"ruleId":"D2","level":"warning","message":{"text":"SharePointLoader._load_from_sharepoint (cognitive 18): SharePointLoader._load_from_sharepoint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 1 (2 pts), boolean chains 1, 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. This shape REPEATS in the file: one other method here (SharePointLoader._aload_from_sharepoint) 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"35082c2f2f9d7d46e6cd50f4b4b013de8f13192c8fd9022e586403452ab2ad58"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningMachine._serialize_store_input (cognitive 18): LearningMachine._serialize_store_input has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, error handling 1 (3 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac1524fb5404a70ce512eb321756d7245f2fc62d0ecdeb8a7f2242fc8ac79d7"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._related_names (cognitive 18): EntityMemoryStore._related_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 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. This shape REPEATS in the file: one other method here (EntityMemoryStore._arelated_names) 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"471881edcf40b008948b85b36a9c16932682d8fb314b12a23bbba3037b2f6991"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._arelated_names (cognitive 18): EntityMemoryStore._arelated_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 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. This shape REPEATS in the file: one other method here (EntityMemoryStore._related_names) 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d598910326c0dce67e71b8cb610494f004844868ad273bb7fe764ce78f5dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"Model._populate_assistant_message_from_stream_data (cognitive 18): Model._populate_assistant_message_from_stream_data has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6200ce01f563be75e161e8900175549c7ded10451e8ede607bcecb438cbb1b1b"}},{"ruleId":"D2","level":"warning","message":{"text":"Cerebras._ensure_additional_properties_false (cognitive 18): Cerebras._ensure_additional_properties_false has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 6 (7 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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"12451053a79136d3ffe6e2e1493ca597e32a93333bd7ed40b45a2b425e49dd9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Cerebras.get_request_params (cognitive 18): Cerebras.get_request_params has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"89910bd14eed8a316a00c8f522a3bdc3e0123ebe554cc26aaf3585d3e216b5b1"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFace.get_request_params (cognitive 18): HuggingFace.get_request_params has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (17 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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff040c1ab36e55ca515b96e2dbd31a8137dc159a8d97fadb0523c27a55990d79"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat.invoke_stream (cognitive 18): OpenAIChat.invoke_stream has cognitive complexity 18 (threshold 15). Drivers by points: error handling 7 (9 pts), ternaries 3 (6 pts), if/else 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. This shape REPEATS in the file: one other method here (OpenAIChat.ainvoke_stream) 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52ed7ac215f44dc72437ff8d0329980e1b0bf17e1f1aea10678a145c0e3b914"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat.ainvoke_stream (cognitive 18): OpenAIChat.ainvoke_stream has cognitive complexity 18 (threshold 15). Drivers by points: error handling 7 (9 pts), ternaries 3 (6 pts), if/else 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. This shape REPEATS in the file: one other method here (OpenAIChat.invoke_stream) 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3233e9aaf720f75ffc3bb549d8a6f30f82fda9f37a54408fe3a4429ac2bed73"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponses._format_file_for_input (cognitive 18): OpenAIResponses._format_file_for_input has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe2f4befc542c3702202b76c78d9da1c92b34d7eba51190609b33d381dfc835"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._seed_authorization_provider (cognitive 18): AgentOS._seed_authorization_provider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), ternaries 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":"libs/agno/agno/os/app.py"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd88662b308875a332dda3fdae69fe548e5d4ee3978b7895e4e700bb821ccaf"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._get_knowledge_config (cognitive 18): AgentOS._get_knowledge_config has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 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":"libs/agno/agno/os/app.py"},"region":{"startLine":3373}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1026cd961ebdfe614daa0efe4feee6bca8a88b44f93ce7185c5aeee37a6b607"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.map_a2a_message_to_run_input (cognitive 18): utils.map_a2a_message_to_run_input has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 5, boolean chains 1, 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":"libs/agno/agno/os/interfaces/a2a/utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6c40489d350ac69b4af925e4283bd4800b55c02cd7c27ecd72a31322f41f21"}},{"ruleId":"D2","level":"warning","message":{"text":"builders.response_blocks (cognitive 18): builders.response_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 2 (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":"libs/agno/agno/os/interfaces/slack/builders.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a72d63b433159517032a6a0049ddd005ee679557eb4c431d4efef5dbf220a05"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp._register_custom_tool (cognitive 18): mcp._register_custom_tool has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (7 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed56427819ec097a9d56b64d3583731e57dc894bac3e682b8ba746c10968af29"}},{"ruleId":"D2","level":"warning","message":{"text":"scopes.has_required_scopes (cognitive 18): scopes.has_required_scopes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (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":"libs/agno/agno/os/scopes.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d501305aa3b02a5f864a6c1bb4139e324e4e80a917673e9c58881ef08342c9"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_ws_jwt_config (cognitive 18): utils.resolve_ws_jwt_config has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"68465bebc1ec7a50f883568a5f688fcfb2097c9027b00fbc3fd9ded094131115"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._get_python_type_from_json_schema (cognitive 18): utils._get_python_type_from_json_schema has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5995739fe8235dbf7719c31b109afcffbf905795e927c33f926910468bd88b8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowSession.get_workflow_history (cognitive 18): WorkflowSession.get_workflow_history has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (6 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":"libs/agno/agno/session/workflow.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddca7b820c4dab064a212b0d86a04d7b9e99dcdc0a76fed38ddd604809b5373"}},{"ruleId":"D2","level":"warning","message":{"text":"_init.initialize_team (cognitive 18): _init.initialize_team has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e56f1fce4701b75997eba2b888b11e367e581afb23fb6b0058584e9280d0066"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._get_tool_names (cognitive 18): _messages._get_tool_names has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (4 pts), boolean chains 3, ternaries 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10b9d29081d096dd173298b4cbe39c8b1d9985187734adf9ff8fecde86042d5"}},{"ruleId":"D2","level":"warning","message":{"text":"annotations.validate_tool_annotations (cognitive 18): annotations.validate_tool_annotations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/tools/annotations.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb254387321b5d3c41533db3b8b9899b3a6aa157a72dcf2ee0b4588dc9dc8191"}},{"ruleId":"D2","level":"warning","message":{"text":"CalComTools.__init__ (cognitive 18): CalComTools.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 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":"libs/agno/agno/tools/calcom.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"80071983c92242b8982148cf1d1de9727121034e9391fe6264163822750d05b0"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingTools.__init__ (cognitive 18): CodingTools.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 7, 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"46617f55f60dfdebc20ac165089703db414a34794f7e0206a0572752910dde11"}},{"ruleId":"D2","level":"warning","message":{"text":"FalTools.generate_media (cognitive 18): FalTools.generate_media has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 2, 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":"libs/agno/agno/tools/fal.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8741841a388875dbbbc28f80961157dcf031be120f2aa65f0b0a6b196ac4b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTools.__init__ (cognitive 18): FileTools.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8, ternaries 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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"97656e08cff998191ad36184c9c5d23eed58faa6a83fbdce6a8e838268a0377e"}},{"ruleId":"D2","level":"warning","message":{"text":"YFinance.get_earnings (cognitive 18): YFinance.get_earnings has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (5 pts), loops 2 (3 pts), boolean chains 2, error handling 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":"libs/agno/agno/tools/finance/providers/yfinance.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb803c3ed2bf0d83a6931a59f07c253644d6bc363b440b1b0514e54d082ccbb"}},{"ruleId":"D2","level":"warning","message":{"text":"yfinance._news_item (cognitive 18): yfinance._news_item has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (5 pts), boolean chains 3, 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":"libs/agno/agno/tools/finance/providers/yfinance.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"447e52de12a1b52a287593df957a35dce1a789be46e09c8ce0c3dfc497c60f43"}},{"ruleId":"D2","level":"warning","message":{"text":"Function._cached_value (cognitive 18): Function._cached_value has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (7 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2287969b85b104a6ee7e0df139f94d4750a236943750c599238c6a589c05cb"}},{"ruleId":"D2","level":"warning","message":{"text":"GmailTools.update_draft (cognitive 18): GmailTools.update_draft has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (5 pts), if/else 3 (5 pts), ternaries 3 (4 pts), boolean chains 2, 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea3243bcfe0e386cac9938fe445f7dce2d91f47f41c9bcf12dd835188571247"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleSlidesTools.add_table (cognitive 18): GoogleSlidesTools.add_table has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (5 pts), boolean chains 3, error handling 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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6caca80be95c580e463f429fb061b14fec96d8e2a698079f53404df9314ea55"}},{"ruleId":"D2","level":"warning","message":{"text":"Mem0Tools.__init__ (cognitive 18): Mem0Tools.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, error handling 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":"libs/agno/agno/tools/mem0.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"684c5abcbe72f8e174177444c70a1527f628dc8f8e0892ff93a0a3b4f38825af"}},{"ruleId":"D2","level":"warning","message":{"text":"SmallestTools.get_voices (cognitive 18): SmallestTools.get_voices has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 1 (2 pts), error handling 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":"libs/agno/agno/tools/smallest.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f56739c51b8112904150da6dc6ed8ae3d2282d3d77f41e9caca6fdf2292abe"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._find_tool (cognitive 18): StudioTools._find_tool has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2dc87015e369c01366c58945dd5c963fe921cfb263271a47feca071436b00f"}},{"ruleId":"D2","level":"warning","message":{"text":"YFinanceTools.__init__ (cognitive 18): YFinanceTools.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 9. 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":"libs/agno/agno/tools/yfinance.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f737f0a07a48ef2045c0117c49eb15ae1c70e1b985cc28bd518d0c0d9abe270"}},{"ruleId":"D2","level":"warning","message":{"text":"claude.build_system_blocks (cognitive 18): claude.build_system_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (6 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"960675e7b6195b126a5f5188843d82feef35c9a29fec668d65ebadcdc0fe97ef"}},{"ruleId":"D2","level":"warning","message":{"text":"claude.format_tools_for_model (cognitive 18): claude.format_tools_for_model has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2 (3 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"2766522e4baf22d0ede135733ccf9cec1fbea5c009652dac0d02e390764ef4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"response.create_paused_run_output_panel (cognitive 18): response.create_paused_run_output_panel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 3 (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":"libs/agno/agno/utils/response.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a8cc31658381516306098d4e5aa81f53bfcf0042e82f2222c390576023b70"}},{"ruleId":"D2","level":"warning","message":{"text":"streamlit.display_response (cognitive 18): streamlit.display_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, error handling 3 (4 pts), 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":"libs/agno/agno/utils/streamlit.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d267963b9274ebaa81264aa5c6daf63e449d95328f997a2cad662a49e59c61"}},{"ruleId":"D2","level":"warning","message":{"text":"LanceDb.insert (cognitive 18): LanceDb.insert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (3 pts), 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b006056ac8a8d486d6b30dca2ce3f73729b4eb9e20a3d7bdb62352b866d5187c"}},{"ruleId":"D2","level":"warning","message":{"text":"PgVector._upsert (cognitive 18): PgVector._upsert has cognitive complexity 18 (threshold 15). Drivers by points: error handling 4 (9 pts), if/else 3 (6 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"859432ff6ce66dfa1840b87379b9fc8dce9d3adcf0a20e64921fab9a59b15447"}},{"ruleId":"D2","level":"warning","message":{"text":"UpstashVectorDb.search (cognitive 18): UpstashVectorDb.search has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57f8a7779b56bee3637a487ba0366fcbe4ec1646ff3ad416f5687abc72ddb2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._parse_search_results (cognitive 18): ValkeyDb._parse_search_results has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts), boolean chains 1, ternaries 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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"88395f5b4ddaded7169c5ba0cc781ebd4bc024399db360b204d62d9150e07868"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition._update_step_input_from_outputs (cognitive 18): Condition._update_step_input_from_outputs has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 1 (2 pts) (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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97fc98266fa5ba43ab90b5ddaee76c649fd493d3eafa9d4f58fed489b9fb816"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop._update_step_input_from_outputs (cognitive 18): Loop._update_step_input_from_outputs has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 1 (2 pts) (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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a54c3138ae1688252e1e4ed111d7b1a33bf6d8faa32ff112461d83324da6085"}},{"ruleId":"D2","level":"warning","message":{"text":"Parallel.execute (cognitive 18): Parallel.execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 3 (6 pts), loops 3, 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae01cebbc887a1c6c191f63b586bea722bca8863db8f54a9d6996d0a19718065"}},{"ruleId":"D2","level":"warning","message":{"text":"Router._update_step_input_from_outputs (cognitive 18): Router._update_step_input_from_outputs has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 1 (2 pts) (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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4b27582463f5e9f9c4976e1afdaafa4c04b0ffa946d2f8a650d092d90410a5"}},{"ruleId":"D2","level":"warning","message":{"text":"Steps._update_step_input_from_outputs (cognitive 18): Steps._update_step_input_from_outputs has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 4, ternaries 1 (2 pts) (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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2627374c288186be5c1b73743c6dafc0d2d95dcbf307b3f81d34acc0bc3c8c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp_client._verify_mcp (cognitive 18): mcp_client._verify_mcp has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/mcp_client.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee0bf592050779332632b61caa939ac2a0f9bf47d1e333b9dde52ca7b1b91ad"}},{"ruleId":"D2","level":"warning","message":{"text":"followup_suggestions_streaming.main (cognitive 18): followup_suggestions_streaming.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (5 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":"cookbook/02_agents/02_input_output/followup_suggestions_streaming.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b18583f8d0ef7890cc2c75e399e6e6aa27a57ffb9a6d331183ef7a4d9dace3"}},{"ruleId":"D2","level":"warning","message":{"text":"background_execution_structured.example_multiple_background_runs (cognitive 18): background_execution_structured.example_multiple_background_runs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 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":"cookbook/02_agents/14_advanced/background_execution_structured.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9e208fc8c106852e2a85095fc45d712b893eae9b9ddfd6d8b67d778f2ffd77"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowWebSocketTester._phase2_reconnect (cognitive 18): WorkflowWebSocketTester._phase2_reconnect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2, ternaries 1 (2 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":"cookbook/04_workflows/06_advanced_concepts/long_running/websocket_reconnect.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8cf9a71988505c20d01f91736429368dddbb2504f8c4b00db42dc84ec1063f"}},{"ruleId":"D2","level":"warning","message":{"text":"user_input.provide_values (cognitive 18): user_input.provide_values has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 3 (6 pts), boolean chains 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":"cookbook/05_agent_os/05_human_in_the_loop/user_input.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e346ff0576f0897e907d2a1caba52aaa10b9b7e1d3be54d41f13680ea2f931"}},{"ruleId":"D2","level":"warning","message":{"text":"studio_hitl_agent.resolve_feedback (cognitive 18): studio_hitl_agent.resolve_feedback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"cookbook/05_agent_os/22_studio/studio_hitl_agent.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"150e785aff44f17acaa1e83ea83a2c701c9aa54bf06474e79cb30c5f39032d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"studio_hitl_agent.run_console_demo (cognitive 18): studio_hitl_agent.run_console_demo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 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":"cookbook/05_agent_os/22_studio/studio_hitl_agent.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e653be6645a3f58c6c3b80a43bbc70ff890846271e95a5e3b641831ec4fd69"}},{"ruleId":"D2","level":"warning","message":{"text":"jury_calibrated.main (cognitive 18): jury_calibrated.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 6 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_05_text_pairwise_preference/jury_calibrated.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"78035f0113c31b410852bb3da5c24104ff227765600cbc090201872c0b6996ea"}},{"ruleId":"D2","level":"warning","message":{"text":"report.render_comparison_table (cognitive 18): report.render_comparison_table has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 1 (4 pts), loops 2 (3 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":"cookbook/performance/report.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8ca04a2dc6e062fea31e98cf13271a2d5d0b5fd527e6f7adb61a0e39b0b572"}},{"ruleId":"D2","level":"warning","message":{"text":"agno.agnoAGUIAdapter.parse (cognitive 18): agno.agnoAGUIAdapter.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 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":"cookbook/05_agent_os/16_agui/openui/frontend/src/agno.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"365c8fae2006c17078ba848b22abcb751cac5844021503c260be8c52cfc7c8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"_init.set_filesystem (cognitive 17): _init.set_filesystem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, 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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87cc019bad6166e4b297825270e917e2b71d15af5a81abc178aa8a70c4a21ae"}},{"ruleId":"D2","level":"warning","message":{"text":"_messages._learning_message_text (cognitive 17): _messages._learning_message_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141fea7d5cdeed08622b139737fdef974255a7f345844d6d4aa5cfbb2bd5dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.delete_session (cognitive 17): _session.delete_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae4f687495bbe69dd58af8af0bb9f312afeea709e807830fd6770671d59f292"}},{"ruleId":"D2","level":"warning","message":{"text":"_media.prior_attachments (cognitive 17): _media.prior_attachments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, loops 2 (3 pts), ternaries 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":"libs/agno/agno/agents/_media.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6dfca0847626d8812231bd1187953f46c4fb844bfcb4232aa6196ab7b713ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityAgent._extract_final_text (cognitive 17): AntigravityAgent._extract_final_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 3 (4 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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6849e85c5e61dfb69a2db03e581bfa4d1810bd511a5078a3473befbcdea140"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeAgent._record_message_ref (cognitive 17): ClaudeAgent._record_message_ref has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), ternaries 1 (2 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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55c4893a929806aa6337e2c59c3aa0d88d41e740f07e88e76ba6c1d6b6fef16"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOSClient.upload_knowledge_content (cognitive 17): AgentOSClient.upload_knowledge_content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4 (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":"libs/agno/agno/client/os.py"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cb189a845097b41715abb33051b6dd838441400b63ba9915c23028ccfda617"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction._grep (cognitive 17): compaction._grep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3, ternaries 1 (2 pts), boolean chains 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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c5be49fcd5bcb3725aadfd7ad95c3eb860236eac1f9e4280769a215591454d"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanyManager.update_task (cognitive 17): CompanyManager.update_task has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 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. This shape REPEATS in the file: one other method here (AsyncCompanyManager.update_task) 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ec69e2b551f76b336cc743d3fbde0bc2e7e34ca4e8fec777df7aa7bddd4ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncCompanyManager.update_task (cognitive 17): AsyncCompanyManager.update_task has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 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. This shape REPEATS in the file: one other method here (CompanyManager.update_task) 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"313ece7741bf704fb9fb734920b14ed63474b473da2515d410a31e60c41ae808"}},{"ruleId":"D2","level":"warning","message":{"text":"routines._ensure_automation_schedule (cognitive 17): routines._ensure_automation_schedule has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 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":"libs/agno/agno/company/routines.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef7c332679b2441b61d3a6debe31b0eb70f23ebfffe5b8d1f65844b58e8e809"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb._get_metrics_dates_to_calculate (cognitive 17): DynamoDb._get_metrics_dates_to_calculate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, loops 1 (2 pts), ternaries 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfdcaa05c7a66c39d51a6f7b53e14c2b1621d5819bf7f932b48191f8c593d66"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb._get_component_metrics_totals_by_date (cognitive 17): DynamoDb._get_component_metrics_totals_by_date has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (4 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3108}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6b5a4e7e2eb84c20e11d95e22faf9c818d7c0132edcc54b2312a0738e3564"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDb.get_knowledge_contents (cognitive 17): DynamoDb.get_knowledge_contents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 2 (3 pts), loops 2, boolean chains 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfe41a3db90c35a8594ca73fb0dfae04bb9bd69c1fdbc0e90b89904266a97c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.get_runs (cognitive 17): AsyncMongoDb.get_runs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, ternaries 2 (4 pts), error handling 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0a9907d0f8d64493c8937819aa482d32d21badf7ca14590922942799edc585"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.get_trace_stats (cognitive 17): AsyncMongoDb.get_trace_stats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, error handling 1, loops 1, 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4058}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f4dfe41850db4210b38d68bec09c0734f18987cf0d697889dfd908b07a95ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.get_runs (cognitive 17): MongoDb.get_runs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, ternaries 2 (4 pts), error handling 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad614ea0a1480d9b9b8812cc949fa423f25b9a704c3f8a8c5bc17b0055363be"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.get_trace_stats (cognitive 17): MongoDb.get_trace_stats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, error handling 1, loops 1, 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"c343af6e34f8321b3b339e67ea65e69a11a77b61532bb9dbf4dc8fbb9371f744"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb.upsert_session (cognitive 17): AsyncMySQLDb.upsert_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, error handling 1, 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e165ba6336172d327fa2b4104c1f67f2bcd712d566602c4d7f05dd3b99aae61"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.upsert_session (cognitive 17): AsyncPostgresDb.upsert_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, ternaries 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"be10591eddc57c4ebd43554d4e9ee7716a4af63f18bf6222f446bbeb95f7a793"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.upsert_session (cognitive 17): PostgresDb.upsert_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, ternaries 1 (2 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9935cc32ee0a40ec253814aaf10a5d287fddfc07670f340b4332e0b9517680c"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.upsert_memories (cognitive 17): SingleStoreDb.upsert_memories has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), ternaries 1 (2 pts), error handling 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"88283088e765e851c5e4d42b6d95b9ac893f2cdd4efd4a7ed56783e0dd671bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb.get_trace_stats (cognitive 17): SingleStoreDb.get_trace_stats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, error handling 1, loops 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":4233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe2572808ff0e12e0a88bd8c1f6e0bed4a201250e046cb96ad08b3eb4212efb"}},{"ruleId":"D2","level":"warning","message":{"text":"company.create_company_source (cognitive 17): company.create_company_source has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"libs/agno/agno/db/sql/company.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb78fb5ab0eeb5c3a5e8a6c03260b9fe0372df4dd00a54edae2e9987d24ec6e0"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.bulk_upsert_metrics_rows (cognitive 17): metrics.bulk_upsert_metrics_rows has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/metrics.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb0a84e3cf295998f6799b7cab3d9064b588e818b1f60053ae88d720e492f79"}},{"ruleId":"D2","level":"warning","message":{"text":"Task.from_jsonl (cognitive 17): Task.from_jsonl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, error handling 1 (2 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":"libs/agno/agno/environments/environment.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9f83ca1adb202f3c2df64654dbd69a51d43a31b1112f81df14126248ba429f"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvironmentRunResult.diff (cognitive 17): EnvironmentRunResult.diff has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 4 (6 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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d9fd79ddd1ac8afa5bab3b319a01cf970b3258935cd4eea1e2a380a5f8e299"}},{"ruleId":"D2","level":"warning","message":{"text":"session.session_blocker (cognitive 17): session.session_blocker has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 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":"libs/agno/agno/job_queue/session.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5d77b52db05f6fc239e87bad7493a4d3ace13adfa92e5a5f2c2a2aa6e6a7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticChunking.chunk (cognitive 17): AgenticChunking.chunk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 1 (2 pts), boolean chains 1, 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":"libs/agno/agno/knowledge/chunking/agentic.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c390f1a300df8ecd53e1fa2c273452967f650eb95ed1af09c928cc597331e5"}},{"ruleId":"D2","level":"warning","message":{"text":"page._split_long (cognitive 17): page._split_long has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, 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":"libs/agno/agno/knowledge/chunking/page.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea051d266eda7d661060351f3f0e2bed09477e9ad5e4e09627ce3ebcebb35b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge._prepare_page_child (cognitive 17): Knowledge._prepare_page_child has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bccf5f1846531fc7f66089475f1e32f0756984364df96b831fc9861c46b50b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.get_missing_read_time_packages (cognitive 17): Reader.get_missing_read_time_packages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (5 pts), loops 2 (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":"libs/agno/agno/knowledge/reader/base.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96ffc2b73d0ac2e8b635705e1d783237620753b7b1f62c9cee4d78773c44abf"}},{"ruleId":"D2","level":"warning","message":{"text":"FirecrawlReader.crawl (cognitive 17): FirecrawlReader.crawl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 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":"libs/agno/agno/knowledge/reader/firecrawl_reader.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3158fcbb2e6762053d2508c764eec2cb4e23f5767c9c1a72b4aaa31701badb"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownReader.async_read (cognitive 17): MarkdownReader.async_read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, error handling 2 (3 pts), 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":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd285b45a47f98401ec8634fd790a2a87ad5c23312f8acc5889e5a771720ceeb"}},{"ruleId":"D2","level":"warning","message":{"text":"TavilyReader._extract (cognitive 17): TavilyReader._extract has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7, error handling 1, ternaries 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":"libs/agno/agno/knowledge/reader/tavily_reader.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"407f578248ad218c3566597410453e5aa7e33fe41ee91d0c214bd646b4643f52"}},{"ruleId":"D2","level":"warning","message":{"text":"TextReader.async_read (cognitive 17): TextReader.async_read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, error handling 2 (3 pts), 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":"libs/agno/agno/knowledge/reader/text_reader.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cef0ea576da5571828cf792b43b62b132305b37d18e022ec1d981cdd389ff79"}},{"ruleId":"D2","level":"warning","message":{"text":"MMRReranker._select (cognitive 17): MMRReranker._select has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reranker/mmr.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f102e57dc07bbb27b3fe1a2ce51cacc15ee328e9156ecba3206086eb68b5ba0b"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore.aremember_about (cognitive 17): EntityMemoryStore.aremember_about has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e87e08e3856c2334516371b7e87aeae732a99c45770f0d09f6ccbb9b9d0b53"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityMemoryStore._apply_supersessions (cognitive 17): EntityMemoryStore._apply_supersessions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb89f64869e18eec754fa4e40091634fd5d5388ef36a0b040632f4954b39e5cb"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryManager.aoptimize_memories (cognitive 17): MemoryManager.aoptimize_memories has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"772488f65f40b9b8ee657f73be4a02e7d4f1488f40913008f738a731dc46af49"}},{"ruleId":"D2","level":"warning","message":{"text":"Claude._get_client_params (cognitive 17): Claude._get_client_params has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7 (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":"libs/agno/agno/models/aws/claude.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d1342da53494c4b69f4f4339434dcde888bde2ba95a17c90f14861671f15ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Cerebras.parse_tool_calls (cognitive 17): Cerebras.parse_tool_calls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa76d411a5a4e609242ee1e6e4c37d770080503f51537e1d41a42340c9358c0"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions.invoke_stream (cognitive 17): GeminiInteractions.invoke_stream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), 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. This shape REPEATS in the file: one other method here (GeminiInteractions.ainvoke_stream) 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6254008a82f1e1f597182820b50bd04083039b9858948a99857e77f4484b0"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiInteractions.ainvoke_stream (cognitive 17): GeminiInteractions.ainvoke_stream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), 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. This shape REPEATS in the file: one other method here (GeminiInteractions.invoke_stream) 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f13db127faf76c83a5a915c65cdc27e40672808f5fb680f187f011ac4b3805"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralChat.get_request_params (cognitive 17): MistralChat.get_request_params has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbc2d3ad3fa7677d0b87ec8ba206517f99146a4d874a9641266f978afc96e09"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat.invoke (cognitive 17): OpenAIChat.invoke has cognitive complexity 17 (threshold 15). Drivers by points: error handling 7 (9 pts), ternaries 3 (6 pts), if/else 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. This shape REPEATS in the file: one other method here (OpenAIChat.ainvoke) 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b1043e9a3f5eb3ad1bb71f9898ba738f3e8025b021f34c08a8bb050a6e7287"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIChat.ainvoke (cognitive 17): OpenAIChat.ainvoke has cognitive complexity 17 (threshold 15). Drivers by points: error handling 7 (9 pts), ternaries 3 (6 pts), if/else 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. This shape REPEATS in the file: one other method here (OpenAIChat.invoke) 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03b03859e02500cda28a4e93c80f3f840a3d5b2d3ee170211c7cc5469bd22cd"}},{"ruleId":"D2","level":"warning","message":{"text":"store._render_matches (cognitive 17): store._render_matches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 1 (3 pts), 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":"libs/agno/agno/offload/store.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b7f0578fdc5ac14b055fef08cc58b104eb92b275f26288acf27ba52402fdd2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentOS._reprovision_routers (cognitive 17): AgentOS._reprovision_routers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc07e0aeb28aa56435e282cc7f6e6342b560e1b6982ce5cf5388f14e40d5a46"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventStream.reopen_run (cognitive 17): RedisEventStream.reopen_run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (4 pts), error handling 1 (2 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":"libs/agno/agno/os/event_streams/redis.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e535759549ec601a03bb6ecb8f304cb4e163872e1c77a5b6ffb884e8ae8c8487"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers._extract_team_response_chunk_content (cognitive 17): handlers._extract_team_response_chunk_content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (2 pts), ternaries 2, 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":"libs/agno/agno/os/interfaces/agui/handlers.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee219d0c55f1ddfc3df1d31af2b2125e8724ea4c7e0d0e9d230ca471b13eee0"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskDelivery._marked (cognitive 17): TaskDelivery._marked has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, loops 2 (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":"libs/agno/agno/os/interfaces/slack/company.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3657dd639fe55e310d5e62f705d81d47a797c20576ea2b16736b1d21c3adabbc"}},{"ruleId":"D2","level":"warning","message":{"text":"context.event_context_from_run (cognitive 17): context.event_context_from_run has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 pts), error handling 1 (2 pts) (nesting depth added 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":"libs/agno/agno/os/interfaces/slack/context.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fc24ec8775771dd5a8abd23843ba6a6855f06a47077fc8d46fe25e68336628"}},{"ruleId":"D2","level":"warning","message":{"text":"executor._finish (cognitive 17): executor._finish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f441e5f4a06e7d4b258e7f107bfbf1bc2ca107dcdea48c75c219affca58a9b38"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.download_event_files_async (cognitive 17): helpers.download_event_files_async has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (4 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":"libs/agno/agno/os/interfaces/slack/helpers.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"74da598bffbc9f54c5e50aeb6c8fdd2d9461502136ddebb2146c72fe711f48f2"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackStream._flush (cognitive 17): SlackStream._flush has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, 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":"libs/agno/agno/os/interfaces/slack/stream.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"214b7a0c90feffe9c5566e9650dfefece7d80940c7c3e53a9f5deb5c31fc7f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueWorker._sweep_job (cognitive 17): QueueWorker._sweep_job has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d786788fd8922f30d1a634c77b4d7d33fa84f130af0d4f98524e982d9f7b509"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.run_agent_as_judge_eval (cognitive 17): utils.run_agent_as_judge_eval has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4 (6 pts), boolean chains 4 (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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc7e36ebdd69dff5324b2738e6265ea550bcd4d129f0ca458f8cce85a43283d"}},{"ruleId":"D2","level":"warning","message":{"text":"router._get_agent_filesystems (cognitive 17): router._get_agent_filesystems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 4 (5 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf90f1d4174a739dd39be9961b9da92985d12bef8bade2795e42f9e44355e24"}},{"ruleId":"D2","level":"warning","message":{"text":"groq.get_groq_reasoning_stream (cognitive 17): groq.get_groq_reasoning_stream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (groq.aget_groq_reasoning_stream) 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":"libs/agno/agno/reasoning/groq.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc60162d79ab27e09c81afa57d66df26a0359bd251ff67be6f73a42376d6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"groq.aget_groq_reasoning_stream (cognitive 17): groq.aget_groq_reasoning_stream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (groq.get_groq_reasoning_stream) 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":"libs/agno/agno/reasoning/groq.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"495088417b2d2460a184ee7579fc749737e39a6b3b506bff6457234e925d945a"}},{"ruleId":"D2","level":"warning","message":{"text":"Registry._is_duplicate_tool (cognitive 17): Registry._is_duplicate_tool has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), error handling 1 (2 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":"libs/agno/agno/registry/registry.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82ae6066504d6ccece167de6acc411b22b50f50b7a915b50bdc054a40e5eea3"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.aget_session (cognitive 17): _session.aget_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97f9d3d3bf10812107933b862348c6a8ba14201105e029c3208802b843fb1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"_session.delete_session (cognitive 17): _session.delete_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"723868d3869db65fa483f42663da4f9a22c953dbe1ca0ffe87d1951ac6182441"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityTools._extract_final_text (cognitive 17): AntigravityTools._extract_final_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 3 (4 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":"libs/agno/agno/tools/antigravity.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb922bba08d4f8f2ade7b56ee2a3f41f746e74fa9d0fde3f72af3fb47d0d1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelSession.ensure_started (cognitive 17): KernelSession.ensure_started has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, error handling 3 (4 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 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":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb2c84c45d2e199b574e74915d3a2537e8dd0e0f17726882b2e575b0c742261"}},{"ruleId":"D2","level":"warning","message":{"text":"CsvTools.__init__ (cognitive 17): CsvTools.__init__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (2 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":"libs/agno/agno/tools/csv_toolkit.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"13acceaba1922dbf7b16c48d394cdcac5a8f62bc0cf6c90edf61174e2bf12cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"decorator._is_async_function (cognitive 17): decorator._is_async_function has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 2 (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":"libs/agno/agno/tools/decorator.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"592c78ab2653f6ee3aafb49aa2a3af694cc8fb3998e05923573a39883c8d89dd"}},{"ruleId":"D2","level":"warning","message":{"text":"DoclingTools._resolve_allowed_input_formats (cognitive 17): DoclingTools._resolve_allowed_input_formats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/docling.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4c90615817d6d9209d8aca7fa86e7d700b7a85a7750431c4a65132893af5af"}},{"ruleId":"D2","level":"warning","message":{"text":"ExaTools._parse_results (cognitive 17): ExaTools._parse_results has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 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":"libs/agno/agno/tools/exa.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5897b3b9c1d578b86592afd192da298a03b18de5dc2ba8aa216125e8d5d3fe5a"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleCalendarTools.list_events (cognitive 17): GoogleCalendarTools.list_events has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 3 (5 pts), boolean chains 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0258c3619c5c7f83e218a09c12d67b55b2174dd1d891e3ff3e0d63da446df5e"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleDriveTools.read_file (cognitive 17): GoogleDriveTools.read_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 3 (4 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":"libs/agno/agno/tools/google/drive.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"4044d1a1d02542159fae0a6cacc8318faa58d8280ca3d491f42bd441ac0d6f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleSlidesTools.get_presentation_metadata (cognitive 17): GoogleSlidesTools.get_presentation_metadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), 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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0836e95701f66f5419cfb3b54bb72358fbf1a54afaae9c58a5cce3b940977a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlivoTools.__init__ (cognitive 17): PlivoTools.__init__ has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. 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":"libs/agno/agno/tools/plivo.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae722d258429d1aab35653fb04e61f70b7191834813e825755b50003b6ce9f16"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._component_row (cognitive 17): StudioTools._component_row has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (3 pts), boolean chains 2, error handling 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0f9bd76e24ee6d9605fb8b00bd86593fb640705ce9eda5f1bd4ae7bcddc479"}},{"ruleId":"D2","level":"warning","message":{"text":"gemini.has_additional_properties (cognitive 17): gemini.has_additional_properties has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8f28739576e745fd94baf7c6df54f88faa5244431159d8d2d75d3621d0ba66"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.prepare_command (cognitive 17): mcp.prepare_command has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 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":"libs/agno/agno/utils/mcp.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ed99f10d86150901306d7792230f9a3cd8c91b6f5c87a2c956f9cf63511716"}},{"ruleId":"D2","level":"warning","message":{"text":"message.get_conversation_text (cognitive 17): message.get_conversation_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/message.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"961327ad4df7d63602e10f894cd98fdb7d9bc42b97d6544d883cd106a63398b5"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.async_search (cognitive 17): MongoDb.async_search has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2 (3 pts), boolean chains 1, error handling 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbf7980b618d49db47459d66c9990f3b32614df2450c202cee00c96ccf47eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"Qdrant._format_filters (cognitive 17): Qdrant._format_filters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (6 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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"23455439e4e01be3a3010c023af0d06881739036ec15785705099856e92e5944"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStore.search (cognitive 17): SingleStore.search has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 2 (4 pts), error handling 1 (3 pts), boolean chains 1, 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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49ceb00fe24f326a4418139f1e055af8f71f09266440d65b7c8e9760364d71a"}},{"ruleId":"D2","level":"warning","message":{"text":"Parallel.aexecute (cognitive 17): Parallel.aexecute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3, 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd1bd72821f402450e5b376d9316261bc0f18fee77ce3e1a26fbc12c68e6999"}},{"ruleId":"D2","level":"warning","message":{"text":"StepRequirement.to_dict (cognitive 17): StepRequirement.to_dict has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 6 (8 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":"libs/agno/agno/workflow/types.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820dbf25ca07a6654edbc99286e4690a1ee0c1d7cdaf35b3e043feaf2a96433"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.delete_session (cognitive 17): Workflow.delete_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c4747bd00181f927e7ea72d10c092104aac33f893f8fb29f2af733676e179"}},{"ruleId":"D2","level":"warning","message":{"text":"EbsVolume._create (cognitive 17): EbsVolume._create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1, error handling 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":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cbd642b3745b3aa9b117e93fcf997f89044694aa7c11d840abf817e813fda4"}},{"ruleId":"D2","level":"warning","message":{"text":"EbsVolume._read (cognitive 17): EbsVolume._read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 pts), boolean chains 2, error handling 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":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b08204a10d9918bd662ac5dbe189699c6b46373ccf26e8149ebd5f03a82239"}},{"ruleId":"D2","level":"warning","message":{"text":"GlueCrawler._create (cognitive 17): GlueCrawler._create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, error handling 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":"libs/agno_infra/agno/aws/resource/glue/crawler.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec167ec731055fe5ceaf10841b61fb6a3e450184769b32b6a4d55201ca97251d"}},{"ruleId":"D2","level":"warning","message":{"text":"SecretsManager.read_secrets_from_files (cognitive 17): SecretsManager.read_secrets_from_files has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/secret/manager.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ebd096b12b87e0ef1a6fbb1f8573615c20f86a8e43ade3ea426c2f8bcb291e"}},{"ruleId":"D2","level":"warning","message":{"text":"status.status (cognitive 17): status.status has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 5 (6 pts), loops 2, error handling 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":"libs/agnoctl/agnoctl/commands/status.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"517b8b6ed79d6265aebcf3a08919c60c840af523ff0d553572bbc00f2f6aa276"}},{"ruleId":"D2","level":"warning","message":{"text":"team_events.run_team_with_events (cognitive 17): team_events.run_team_with_events 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":"cookbook/03_teams/08_streaming/team_events.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9590596a3cc7bf2d58eb2371c4a60f674b80f742a1995a5edf356c0cda4e934a"}},{"ruleId":"D2","level":"warning","message":{"text":"post_hook_output.add_collaboration_summary (cognitive 17): post_hook_output.add_collaboration_summary has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 2 (4 pts), boolean chains 2, 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":"cookbook/03_teams/13_hooks/post_hook_output.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ebd09f98322100af4c5f04666dc1eddd877a6cae2e5b9e593bb9d59cef0406"}},{"ruleId":"D2","level":"warning","message":{"text":"background_execution_metrics.main (cognitive 17): background_execution_metrics.main has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 5 (6 pts), boolean chains 3 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/14_run_control/background_execution_metrics.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5a881aaf73cd218f47c167957d974f42a53882386f4b13b9fff5875587da1b"}},{"ruleId":"D2","level":"warning","message":{"text":"history_in_function.analyze_content_strategy (cognitive 17): history_in_function.analyze_content_strategy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 5, boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/history/history_in_function.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b734cfd107876e04613a9207aaf89dafb8a9b0a28d66c21e701a6b061295f9d"}},{"ruleId":"D2","level":"warning","message":{"text":"02_condition_on_error.run_pause_example (cognitive 17): 02_condition_on_error.run_pause_example has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/condition/02_condition_on_error.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cef525ac3468eb63167d2a99674158124d2bad16dc3761f844708bf317196ae"}},{"ruleId":"D2","level":"warning","message":{"text":"05_output_review_and_tool_confirmation.resolve_output_review (cognitive 17): 05_output_review_and_tool_confirmation.resolve_output_review has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 1 (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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c62a42bbe0d2099229c3e232ba221b47a515bd9074cb3b929b64fc8c05011"}},{"ruleId":"D2","level":"warning","message":{"text":"unpack_archives.unpack_archives (cognitive 17): unpack_archives.unpack_archives has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 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":"cookbook/05_agent_os/04_run_lifecycle/unpack_archives.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3d88aaefd8d4b51d475317e9db3b27d88e3aa42e6bbf2d71340f5a0a6fd434"}},{"ruleId":"D2","level":"warning","message":{"text":"jury_hardened.main (cognitive 17): jury_hardened.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), loops 3, 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":"cookbook/data_labeling/_05_text_pairwise_preference/jury_hardened.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8868ee5cb73bdeab1103167af539f13b8cb5c5a91bdcadd368845b4e90724508"}},{"ruleId":"D2","level":"warning","message":{"text":"_bench.print_summary_table (cognitive 17): _bench.print_summary_table has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 5, ternaries 2 (5 pts), 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":"cookbook/performance/_bench.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8533fce542b86e718a3a23851455191ebaa3be166855f285bec0c0250dc679"}},{"ruleId":"D2","level":"warning","message":{"text":"report.render_group (cognitive 17): report.render_group has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 3 (4 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/performance/report.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"47162a434d0d194bfd74d3c68f285e934b95ed49fb88d41e1787c8dd69adf636"}},{"ruleId":"D2","level":"warning","message":{"text":"_cli.cli_app (cognitive 16): _cli.cli_app has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (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":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f4b2f661eccdff0e74e294038eda3ad7e4ecf2ee2b305c83a41f03e4d151e"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.handle_reasoning_event (cognitive 16): _response.handle_reasoning_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac4cf1a6d7bbaea2ed9a92d54edb233b663e913818b8b905f787ce8284452a1"}},{"ruleId":"D2","level":"warning","message":{"text":"_run.aresolve_run_dependencies (cognitive 16): _run.aresolve_run_dependencies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (2 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3d0a202a75d4a7ffdf35bc7467181752d397b397528c0974372b9a8bfe7baf"}},{"ruleId":"D2","level":"warning","message":{"text":"_tools._raise_if_async_tools_in_list (cognitive 16): _tools._raise_if_async_tools_in_list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"11794e47427a8596f6e65fd7d677541516aa7c5e4b42e8e4bcfe994cd7b252c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.__init__ (cognitive 16): Agent.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe339fa6b18f3d9098e0dc8c9eba5e52b22cba7e6d8e2f491060d0918e33e61b"}},{"ruleId":"D2","level":"warning","message":{"text":"A2AClient._parse_artifacts (cognitive 16): A2AClient._parse_artifacts has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), boolean chains 4, if/else 1 (3 pts), loops 2 (3 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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd09767340f5a5bebf806ecb5a2a3c19b80452d6ddc0e6fc60518123715d54"}},{"ruleId":"D2","level":"warning","message":{"text":"_cut.choose_boundary (cognitive 16): _cut.choose_boundary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, ternaries 1 (3 pts), 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":"libs/agno/agno/compaction/_cut.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f055d6066716a318d364788a4813b43e0ea5d7c892f87c14c6681e304c3488"}},{"ruleId":"D2","level":"warning","message":{"text":"_view.build_view (cognitive 16): _view.build_view has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 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":"libs/agno/agno/compaction/_view.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d428ab216bd2ce09237fb0db3a6177125aa5806185b436c9e0a6db503272b1d"}},{"ruleId":"D2","level":"warning","message":{"text":"files._locate (cognitive 16): files._locate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 4 (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":"libs/agno/agno/company/files.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3408a2ef11b7a9798392a8ff4f9a15a1e1763a98f931c9b3d466e440c47407"}},{"ruleId":"D2","level":"warning","message":{"text":"routines._recovered_status_conflict (cognitive 16): routines._recovered_status_conflict has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), error handling 1 (2 pts), loops 1 (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":"libs/agno/agno/company/routines.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a311ec2adb0aed4a72ae12f36e3df7fdfdb65760212ae2a407eea90cb6e21699"}},{"ruleId":"D2","level":"warning","message":{"text":"notion_ops._rich_text_to_md (cognitive 16): notion_ops._rich_text_to_md has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 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":"libs/agno/agno/context/wiki/notion_ops.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"753b727330b458e47ef6b79ab39fa5968c6f239e8387e0e8181b731f15c79dde"}},{"ruleId":"D2","level":"warning","message":{"text":"ClickhouseDb.get_trace_stats (cognitive 16): ClickhouseDb.get_trace_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), error handling 3 (5 pts), boolean chains 2, loops 2 (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":"libs/agno/agno/db/clickhouse/clickhouse.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bcd8993df473ee37296ec9d54ed2b04f6b1231cc4603d3823a07105712fc68"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.rename_session (cognitive 16): FirestoreDb.rename_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 1, error handling 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d8dba9e44521aef981b594ebccaefcf47683a0ee240d2e9db9c67e92e0199d"}},{"ruleId":"D2","level":"warning","message":{"text":"FirestoreDb.create_spans (cognitive 16): FirestoreDb.create_spans has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3874}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbb5570fca80c57fa48e7addc78bb496c89a8a459057b19e77f9cd6820a6bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"GcsJsonDb.get_user_memory_stats (cognitive 16): GcsJsonDb.get_user_memory_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edbf2a3c20e187ea86105af454a482f6cf23ad56c3d829740e06f0c9afdea6a"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDb.get_user_memory_stats (cognitive 16): InMemoryDb.get_user_memory_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e7957f7c653da3693e779b73c6be3305f2d544a82e52846a3eadd26c7e2093"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDb.get_user_memory_stats (cognitive 16): JsonDb.get_user_memory_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 1, error handling 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a20f8c32dca7b1677bd65b94d78d3d40e7f62900e0f80efa04863a66af55de"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._swap_mysql_like_metrics_unique (cognitive 16): v3_0_0._swap_mysql_like_metrics_unique has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 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. This shape REPEATS in the file: one other method here (v3_0_0._swap_async_mysql_metrics_unique) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"813a56ab048ce4de587012c96df4bdeda8464eefd93517b11a96f1609d3d7478"}},{"ruleId":"D2","level":"warning","message":{"text":"v3_0_0._swap_async_mysql_metrics_unique (cognitive 16): v3_0_0._swap_async_mysql_metrics_unique has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 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. This shape REPEATS in the file: one other method here (v3_0_0._swap_mysql_like_metrics_unique) 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6678c54c2f14e2da315ac25e77e96bfe0234fcc0dea0809ba67a8d5a2afdd4"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMongoDb.list_learnings (cognitive 16): AsyncMongoDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 1, error handling 1, loops 1, 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff225eb4c82c1b1c78bd6f61a3e15a21999e6beeea55f52f6065045730f1ce9c"}},{"ruleId":"D2","level":"warning","message":{"text":"async_mongo._detect_client_type (cognitive 16): async_mongo._detect_client_type has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd40949cd4620a24a8b7b560ae408363b0e4aecf913c6f9b7257ea2083dd78bb"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.list_learnings (cognitive 16): MongoDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 1, error handling 1, loops 1, 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":4678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c1e15fb0380b153bbcd542d14cc42ac19b986e954703bf0faa0158e8ef82fc"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncMySQLDb._ascrub_run_ids_from_legacy_blob (cognitive 16): AsyncMySQLDb._ascrub_run_ids_from_legacy_blob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5aebf2ce2f0f0f2838aace8f549931e299a5b82e9db707b55da0a5a68f5f413"}},{"ruleId":"D2","level":"warning","message":{"text":"MySQLDb._scrub_run_ids_from_legacy_blob (cognitive 16): MySQLDb._scrub_run_ids_from_legacy_blob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2751411f37eadc4634b5ec25836fdc270579071f5a275e52c6865f029e315f21"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.list_learnings (cognitive 16): AsyncPostgresDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5496}}}],"partialFingerprints":{"codehealthFindingId/v1":"11046be325f77e0a0dda4e5b2ce0cfa2de6c60f831c1807f5c976ef6825dbd64"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncPostgresDb.get_tasks (cognitive 16): AsyncPostgresDb.get_tasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 4 (5 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3384f0cf7863c1a83a736a8ab0cf777367002babe27f1e367dfe4761c474a1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.upsert_memories (cognitive 16): PostgresDb.upsert_memories has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe1c07f2d19c78fdc1568f73a41bb325c55005e0f2ccf62fe40799f7d92558b"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.list_learnings (cognitive 16): PostgresDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4526beb1cf0b83b9eef6de577f09a7b335f279ea18810c379df2c5961c2c0eba"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresDb.get_tasks (cognitive 16): PostgresDb.get_tasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 4 (5 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10908}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef06d43364193ac5d35ae74db34b27723f14b88ec24501bbf0ced220e9b50ce"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._get_metrics_dates_to_calculate (cognitive 16): RedisDb._get_metrics_dates_to_calculate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 1 (2 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba10a467c66ab8bc9b1e7529b6340bf2dd455ee263883c2f5823862dd05a43c2"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._get_aggregate_metrics_rows (cognitive 16): RedisDb._get_aggregate_metrics_rows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7 (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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"01705dbc250c93f851f68fadfb1322fca5ea51e6cc483dc2c0db436d1dac1dae"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisDb._q_fenced_update (cognitive 16): RedisDb._q_fenced_update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 2, error handling 1 (2 pts), ternaries 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4183}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5e73c5851c9fe0ef92aaab07245603f39ba5aee4fe8a5a1c2e69b4462b631"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks.validate_task_fields (cognitive 16): tasks.validate_task_fields has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 7. 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":"libs/agno/agno/db/schemas/tasks.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42dbccfef09a63df1c12aee27b09627b5576e3c0288ca083bd4bdde22a8d60d"}},{"ruleId":"D2","level":"warning","message":{"text":"tasks.task_transition_blocker (cognitive 16): tasks.task_transition_blocker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, 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":"libs/agno/agno/db/schemas/tasks.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a306cd6e364496988959675a208db6e1c3b37562ddfb33b432a0a744f2cfda1"}},{"ruleId":"D2","level":"warning","message":{"text":"session_filters.session_filter_to_mongo (cognitive 16): session_filters.session_filter_to_mongo has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 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":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef48ea72eb572936d050ccb5794f6584a43dbc6e918d4d132ed3e1e18db11765"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleStoreDb._scrub_run_ids_from_legacy_blob (cognitive 16): SingleStoreDb._scrub_run_ids_from_legacy_blob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e7dc3cbe737eb506cce4adeed2e764841d1c2984b5b486fc191af792394e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb._ascrub_run_ids_from_legacy_blob (cognitive 16): AsyncSqliteDb._ascrub_run_ids_from_legacy_blob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8263e78a3ff507026f6f5251278c879547abfa9e07532b06a60a0bdad099aff"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_session (cognitive 16): AsyncSqliteDb.get_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 1 (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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96699183e2269e955338882e6ed7ae8353719f07f9173af6e365f591d1f32ee"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.list_learnings (cognitive 16): AsyncSqliteDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":5620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10f8e125902ab124c65fbcfec279783262e5c52d9c8032d27ca2df3898fa229"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncSqliteDb.get_tasks (cognitive 16): AsyncSqliteDb.get_tasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 4 (5 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e33cecb834cdf7f6f274d5a2761fcfd403cef249daaf4d1bb15c2939dd7dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb._scrub_run_ids_from_legacy_blob (cognitive 16): SqliteDb._scrub_run_ids_from_legacy_blob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 1 (3 pts), boolean chains 2, 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85cf049756585027f2e0e8b78ab8743f1c1cccc3df01efe3c2d7d87faf0a149"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_session (cognitive 16): SqliteDb.get_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, error handling 1 (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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686b2bf860600799ca18c2d7d01862964017d7345f1fd0f20250ecb575ec18e"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.list_learnings (cognitive 16): SqliteDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":8006}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5459538b64d213ecdb9bd46ea9d73e43ca9735198bcc04658443e35b8cc6cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteDb.get_tasks (cognitive 16): SqliteDb.get_tasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 4 (5 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":9849}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc298fd5b65fc6944d51793a7fed2a4d4d976ad71f5ae09b957d70c90996314"}},{"ruleId":"D2","level":"warning","message":{"text":"SurrealDb.upsert_session (cognitive 16): SurrealDb.upsert_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6dcef6b3799634e6628d57f48fa9f20ed943642612ef3f54c9a835d38bd139"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._metrics_row_field (cognitive 16): utils._metrics_row_field has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/utils.py"},"region":{"startLine":2614}}}],"partialFingerprints":{"codehealthFindingId/v1":"342fe32ec0ab8c68d40d92aa75b236fe415b9be031f7f44d88daaa4d38a6ec31"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._get_metrics_dates_to_calculate (cognitive 16): ValkeyDb._get_metrics_dates_to_calculate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 1 (2 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c098a6a5eaf1ff3778a7a2cc4ae649f8b93eaecc8be25019ce43517b975a34"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._get_aggregate_metrics_rows (cognitive 16): ValkeyDb._get_aggregate_metrics_rows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7 (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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5eae1af482e666778dc4542480ab83b78953d12d2ba28615f3dcf1554d239c"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb.list_learnings (cognitive 16): ValkeyDb.list_learnings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, error handling 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":4587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d022d354919763e1736b3f47e79d1d99c3c8b8926205b26bdc21983c3f901b59"}},{"ruleId":"D2","level":"warning","message":{"text":"_render._attempt_lines (cognitive 16): _render._attempt_lines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (5 pts), 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":"libs/agno/agno/environments/_render.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2991e5fb551b7d926665203af33174ac736027973cede3e0207b36d786e593f3"}},{"ruleId":"D2","level":"warning","message":{"text":"sft.to_sft_jsonl (cognitive 16): sft.to_sft_jsonl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (3 pts), ternaries 1 (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":"libs/agno/agno/environments/exporters/sft.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21a1660203e61f90d976489afefbbcd594c8f6b732fdf5674724ca762f240d0"}},{"ruleId":"D2","level":"warning","message":{"text":"runner._read_only_learning_machine (cognitive 16): runner._read_only_learning_machine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3eeeae43d81d24ec7a71d60f10faf56777ccffc30f26ed0e6f79b5cd34c720"}},{"ruleId":"D2","level":"warning","message":{"text":"_paths.normalize_path (cognitive 16): _paths.normalize_path has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3 (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":"libs/agno/agno/fs/_paths.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5cd81fdead0f5ab97471b0f897f62e29dfe723cac9249eb00f33b110c0017f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemTools.__init__ (cognitive 16): FileSystemTools.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd727b4e6a130d296c8f541e52c79044c0ae4f33e3664d94a6c55f871c0d49d"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryQueueStore.enqueue_job (cognitive 16): InMemoryQueueStore.enqueue_job has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, 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":"libs/agno/agno/job_queue/store.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"990c27ae1e2f3eef9a9f8aab5d7d97f86d1c26b6872b1fde6b0583d6914e94ca"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownChunking._partition_markdown_content (cognitive 16): MarkdownChunking._partition_markdown_content has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (3 pts), error handling 1, 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":"libs/agno/agno/knowledge/chunking/markdown.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f09892f54fcea4230d988ba4044b1ec9d53010d9d0fe3a66749cec9aac66940"}},{"ruleId":"D2","level":"warning","message":{"text":"Knowledge.get_readers (cognitive 16): Knowledge.get_readers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"519922913433fe348304bc53bd367b46c5142d370212eae8bc7a54c5589e73a6"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCoordinator.list (cognitive 16): PageCoordinator.list 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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"78642d4ffde1c62e7bafcc9723307b4d8e1ec7a56f5a755b5dc71fba7f26c504"}},{"ruleId":"D2","level":"warning","message":{"text":"PageCorpus._list (cognitive 16): PageCorpus._list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/filesystem.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a3b171d54bc57b03a4073835809641e728151582abc919117a38ac12a05925"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownReader.read (cognitive 16): MarkdownReader.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts), error handling 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":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc916735e74a65315256d1b689783982ffaa7e923100d4c3c4899f970bfd16fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SitemapReader._build_documents (cognitive 16): SitemapReader._build_documents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, 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":"libs/agno/agno/knowledge/reader/sitemap_reader.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"490614df3931df3747ce0db3438ba851a8725140cd5e0701e552891986ce681e"}},{"ruleId":"D2","level":"warning","message":{"text":"TextReader.read (cognitive 16): TextReader.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts), error handling 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":"libs/agno/agno/knowledge/reader/text_reader.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c01e040d179939ceb89a5bbe46e6b4fb6df90d390703dd11a18f7c2b1cbf038"}},{"ruleId":"D2","level":"warning","message":{"text":"RecencyReranker.rerank (cognitive 16): RecencyReranker.rerank has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 pts), loops 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":"libs/agno/agno/knowledge/reranker/recency.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7159b016c6c54216d1045a38556386782200ef9b289f8bbced224ff5b338b9f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionLogStore.asearch (cognitive 16): DecisionLogStore.asearch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 1 (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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d262bd89812a324b40079c07e83aeb7bee34490200f407234b51f718c1afec"}},{"ruleId":"D2","level":"warning","message":{"text":"HuggingFace._format_message (cognitive 16): HuggingFace._format_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"07670ab36936a016691e3db1e772ca348069ab1f1c56bd4f15697a865f59bac5"}},{"ruleId":"D2","level":"warning","message":{"text":"Llama._parse_provider_response (cognitive 16): Llama._parse_provider_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, error handling 1 (2 pts), 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":"libs/agno/agno/models/meta/llama.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6330bd60257b7e5b5da04d0732e5bd24b2e56e885a5fa6e644ce108e2433d1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"MistralChat._get_metrics (cognitive 16): MistralChat._get_metrics has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts) (nesting depth added 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":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3b9800808db5cb13f119bfee8860b8966417e54136b58b318c4419f502dc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonShot._upload_media (cognitive 16): MoonShot._upload_media has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, error handling 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":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a11f863d4d316baae709fce4463020371ee8b8e83f90f077129ca768a8b0cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"MoonShot._extract_file_content (cognitive 16): MoonShot._extract_file_content has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (5 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":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af277298997f21712aaff3af12a9b1c14aae366d1e0b3d5c7a0a3f0e8455a00"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenRouter._parse_provider_response (cognitive 16): OpenRouter._parse_provider_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3 (nesting depth added 8). 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":"libs/agno/agno/models/openrouter/openrouter.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7a00530ac25a39b793a5ce840f0db57992913f2489d0c8c912e225ec0d3a1"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.map_paused_run_to_parts (cognitive 16): utils.map_paused_run_to_parts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (4 pts), boolean chains 3, 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":"libs/agno/agno/os/interfaces/a2a/utils.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6742f88765869c790fd41bfa134a3f80f49fb07da58715bf087c10821417d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamState.collect_media (cognitive 16): StreamState.collect_media has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/state.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"762a8b9ca4450c1c11109f3a97bc07f01da6f1b4f83d82dac78395e2d39e1adb"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackStream._call (cognitive 16): SlackStream._call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, 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":"libs/agno/agno/os/interfaces/slack/stream.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed5237514ed3f84712bc36098c11d1d2175dffad610b97439e8d0448b40a1ba"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.send_response_media (cognitive 16): helpers.send_response_media has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, loops 5, error handling 1 (2 pts), if/else 1 (2 pts), ternaries 1 (2 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":"libs/agno/agno/os/interfaces/telegram/helpers.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"358588cd844155881d316ebd66531a5d571faf37f6beed6b985363c84af46c7a"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamState.collect_media (cognitive 16): StreamState.collect_media has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/state.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c34a79425de08213cacbe5a472db9d05238fdf3d1fa5cedc61202fe47c7710d"}},{"ruleId":"D2","level":"warning","message":{"text":"job_queue._apply_coordination (cognitive 16): job_queue._apply_coordination has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (5 pts), boolean chains 1, error handling 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c450db3ca03534b14c12b35992e0365681f9875141fa089387a22ac384796e64"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.build_mcp_server (cognitive 16): mcp.build_mcp_server has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 3, if/else 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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2960ebfe806ca836b90d3247d4a03374486fb90989ee5f64b721655e3e1a209"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicLimiter._consume (cognitive 16): PublicLimiter._consume has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, error handling 1, loops 1 (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":"libs/agno/agno/os/public/_limits.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f3d1b20568a7e738c9bfc039a5000e8cbb72614a84177c58a8ab8eed4ecec8"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicMiddleware._identity (cognitive 16): PublicMiddleware._identity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, ternaries 2 (3 pts), error handling 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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a234e7b29b6af9e839914d8a10feb543464c3bf8fe6dbef007203ae42abf2d7"}},{"ruleId":"D2","level":"warning","message":{"text":"components._related_component_ids (cognitive 16): components._related_component_ids has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (2 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ed1f15da0aecfdd055d1734a8b2d3c43f970508e5eb11414f057e49a528f85"}},{"ruleId":"D2","level":"warning","message":{"text":"components._resolve_db_in_config (cognitive 16): components._resolve_db_in_config has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2 (nesting depth added 8). 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c034f27774a6f8fd5856e15ad0b3e7c6819fb625fe9f41525b6b07941cbf14df"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_db (cognitive 16): utils.get_db has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"7decc6582691d82c9a678618532f6297c23089dac7a5273c4d8ec9ff371723ad"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek.get_deepseek_reasoning_stream (cognitive 16): deepseek.get_deepseek_reasoning_stream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2, 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. This shape REPEATS in the file: one other method here (deepseek.aget_deepseek_reasoning_stream) 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"903240eb67625ff18833ac766848d4f56b573c191a0cb5203606046770338cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek.aget_deepseek_reasoning_stream (cognitive 16): deepseek.aget_deepseek_reasoning_stream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2, 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. This shape REPEATS in the file: one other method here (deepseek.get_deepseek_reasoning_stream) 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"060d685ee5202f3f2a6cc597f30413edc6037585d8cf9e784c044b93da7244c5"}},{"ruleId":"D2","level":"warning","message":{"text":"moonshot.get_moonshot_reasoning_stream (cognitive 16): moonshot.get_moonshot_reasoning_stream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2, 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. This shape REPEATS in the file: one other method here (moonshot.aget_moonshot_reasoning_stream) 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":"libs/agno/agno/reasoning/moonshot.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"318ff85557951a9840ca4f128ddd298fc6c9b06fa0d728de4580546110df1506"}},{"ruleId":"D2","level":"warning","message":{"text":"moonshot.aget_moonshot_reasoning_stream (cognitive 16): moonshot.aget_moonshot_reasoning_stream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2, 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. This shape REPEATS in the file: one other method here (moonshot.get_moonshot_reasoning_stream) 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":"libs/agno/agno/reasoning/moonshot.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e9b721dd35c3469f4067d5479200156da2b12dc3514d89269b23ab3f1e1287"}},{"ruleId":"D2","level":"warning","message":{"text":"background._execute_background (cognitive 16): background._execute_background has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 5 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/background.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"577897cf18bc3ff888db52c640ecb3c1fef5a0d9d836ef101b34944e15ac88c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleManager.create (cognitive 16): ScheduleManager.create 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. This shape REPEATS in the file: one other method here (ScheduleManager.acreate) 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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2babad02f7a1045dd45312655c2cd7532dc5c424467e4f3f6020c9b3e1cd098"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleManager.acreate (cognitive 16): ScheduleManager.acreate 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. This shape REPEATS in the file: one other method here (ScheduleManager.create) 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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1199babe99eb78e1c4b302b4e284392543abeb18418a8ff6d50fbcb06c45cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"_cli._get_member_name (cognitive 16): _cli._get_member_name has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_cli.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10fd7863e5cbf3f716e737e196279c8999ed37992d2ea530b6e2e5ae05ec2fb"}},{"ruleId":"D2","level":"warning","message":{"text":"_cli.cli_app (cognitive 16): _cli.cli_app has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (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":"libs/agno/agno/team/_cli.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5f7806f8fe3f99cd02d573b6e2d3b809fbe8a08dceef0d6e9ffcb408289e47"}},{"ruleId":"D2","level":"warning","message":{"text":"_init._resolve_models (cognitive 16): _init._resolve_models has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18d725c118a026fbc4951c41e1988642a3f83508c7335be4971575c5c8b69c2"}},{"ruleId":"D2","level":"warning","message":{"text":"_response.handle_reasoning_event (cognitive 16): _response.handle_reasoning_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d8a503b6dd0720ca9417376d4231a92a6c855388a7f2c2830fe428b1397ec1"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._sync_team_run_response_with_model_response (cognitive 16): _run._sync_team_run_response_with_model_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 1 (3 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5006}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf073840c9eb82279f29c9a9b36e290628a923e1156d28ecc66d438dbdce6c"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._aresolve_run_dependencies (cognitive 16): _run._aresolve_run_dependencies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (2 pts), ternaries 1 (2 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cedbd08be2738f56aeceb040d744f1fc78894c9f5626e0ea01e7154d6f819f"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._handle_team_tool_call_updates (cognitive 16): _run._handle_team_tool_call_updates has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 1 (nesting depth added 3). 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. This shape REPEATS in the file: one other method here (_run._handle_team_tool_call_updates_stream) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5416}}}],"partialFingerprints":{"codehealthFindingId/v1":"120dd94afab67ca8d4748d595ca4f0837d7b97d26f56b12299f3cde0f80a6cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"_run._handle_team_tool_call_updates_stream (cognitive 16): _run._handle_team_tool_call_updates_stream has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 1 (nesting depth added 3). 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. This shape REPEATS in the file: one other method here (_run._handle_team_tool_call_updates) 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5477}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c3a2ddde0d889aebdb22d64274c6e05ee9c1deb28eda6f757132585eb73d41"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolBridge._call_tool (cognitive 16): ToolBridge._call_tool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 5, ternaries 2 (3 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":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a85b7eb4dc875d1c4445a1debad7284d10633f31727204566a25521d1247a37"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeMode._evict_past_the_cap (cognitive 16): CodeMode._evict_past_the_cap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, error handling 1 (3 pts), loops 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":"libs/agno/agno/tools/code/code_mode.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd29098b433d2889f011bb891e37a7c3613ff1bdfd2339cf20ac4febf9070ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"FinanceTools.__init__ (cognitive 16): FinanceTools.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 2 (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":"libs/agno/agno/tools/finance/toolkit.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca7cf6335548c15cec7cfc0ac9a8e180aab5ff54f7e46859974f55015895379"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleCalendarTools.search_events (cognitive 16): GoogleCalendarTools.search_events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3 (5 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c5e18fdb50534fffa3edfe0240cfefe87b9dc645758e8fcb7264022c018a49"}},{"ruleId":"D2","level":"warning","message":{"text":"GmailTools._create_message (cognitive 16): GmailTools._create_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e32b90997141d51fa5232862f6f9db59acbe5fe51edeb9d63e1153871ec93d2"}},{"ruleId":"D2","level":"warning","message":{"text":"AIMLAPITools._transcript (cognitive 16): AIMLAPITools._transcript has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (4 pts), boolean chains 3, 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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f46fcb96d1903c636be89d5ca46b2fb67022635b865d13d308fac53c62ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"RedditTools.__init__ (cognitive 16): RedditTools.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 1 (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":"libs/agno/agno/tools/reddit.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1b97935d006a7f37073f48437ff552d894ede091afd18e125b5dfd6de41094"}},{"ruleId":"D2","level":"warning","message":{"text":"ScavioTools.__init__ (cognitive 16): ScavioTools.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. 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":"libs/agno/agno/tools/scavio.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd7efd16e9b7ad4fb55598186e540023538669da3ca702d7034b701e9f492c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ShopifyTools.get_products_bought_together (cognitive 16): ShopifyTools.get_products_bought_together has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e64c5f4f3be50d47fc3d5110248c40a424de70accc5f9011d457ced7e92f4d7"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioTools._preserve_unresolved_keys (cognitive 16): StudioTools._preserve_unresolved_keys has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5353}}}],"partialFingerprints":{"codehealthFindingId/v1":"23489b16286a5970c90912b567b7238b671579350e74e0f9129df05902f5cb1e"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._copy_lost_identity (cognitive 16): StudioRunnerTools._copy_lost_identity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d6d5b977880d22cbb89201f3857ad7e832226be4a520346ac8f938bed3698"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._member_divergence (cognitive 16): StudioRunnerTools._member_divergence has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, ternaries 1 (2 pts), 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c42c69ea4574c5670de924c1ebdd3d92fc7607495b29ecf7d9d6a741468bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"StudioRunnerTools._unresolved_below (cognitive 16): StudioRunnerTools._unresolved_below has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 2 (3 pts), loops 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc48db0f5427bb991a8874197fb5fa69616d1006542972e31de99faf0a55f1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ValyuTools._valyu_search (cognitive 16): ValyuTools._valyu_search has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 5, error handling 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":"libs/agno/agno/tools/valyu.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b3f74ba568a3bcacf6e6806cfafe86393f9f7218df822ef2f4ba59f95beaca"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.collect_joint_images (cognitive 16): agent.collect_joint_images has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 1 (2 pts), error handling 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. This shape REPEATS in the file: 2 other methods here (agent.collect_joint_videos, agent.collect_joint_audios) 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40495106810152e518e5fa7ca361ef01195720efa6621f326e50adab94939d"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.collect_joint_videos (cognitive 16): agent.collect_joint_videos has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 1 (2 pts), error handling 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. This shape REPEATS in the file: 2 other methods here (agent.collect_joint_images, agent.collect_joint_audios) 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc62a3290906a186203993749f81a6ec677e46b61259c3a22b022eb971756c2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.collect_joint_audios (cognitive 16): agent.collect_joint_audios has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 1 (2 pts), error handling 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. This shape REPEATS in the file: 2 other methods here (agent.collect_joint_images, agent.collect_joint_videos) 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"add43ff733638a4e3007990585c2ded64f32056366bd51c82ec385d04f56ad46"}},{"ruleId":"D2","level":"warning","message":{"text":"media_offload.offload_run_media (cognitive 16): media_offload.offload_run_media has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 6, error handling 1 (2 pts) (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (media_offload.aoffload_run_media) 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2030af88da66aa3703474b134b18f06a260f2cd9183cc9f3bd0ce2f8116ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"media_offload.aoffload_run_media (cognitive 16): media_offload.aoffload_run_media has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 6, error handling 1 (2 pts) (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (media_offload.offload_run_media) 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c5a806a8bb656432f441b7b6fc96f291f8bccde5024bc67e8811cbd5914e27"}},{"ruleId":"D2","level":"warning","message":{"text":"media_offload.iter_step_outputs (cognitive 16): media_offload.iter_step_outputs has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 2 (4 pts), boolean chains 3, 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0a7603fee42c920f8399aa449a021d91088c76cb9d25dccb0f6e4134cb2fc4"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch._create_collection_and_scope (cognitive 16): CouchbaseSearch._create_collection_and_scope has cognitive complexity 16 (threshold 15). Drivers by points: error handling 8 (14 pts), if/else 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. This shape REPEATS in the file: one other method here (CouchbaseSearch._async_create_collection_and_scope) 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c15730abce84f4d090f368501705038e41dbaea5f7dc6b87979072703ab4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch._async_create_collection_and_scope (cognitive 16): CouchbaseSearch._async_create_collection_and_scope has cognitive complexity 16 (threshold 15). Drivers by points: error handling 8 (14 pts), if/else 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. This shape REPEATS in the file: one other method here (CouchbaseSearch._create_collection_and_scope) 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dd0c7343010c9da9f2f91545e7b89d4a6c5c66b1500f8bb8b0894613c24ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"CouchbaseSearch.__async_get_doc_from_kv (cognitive 16): CouchbaseSearch.__async_get_doc_from_kv has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 1 (3 pts), loops 2 (3 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1cc3dbbde533a61c2a692903368d4856099b72cab36a24f513c7966980e109"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb._get_client (cognitive 16): MongoDb._get_client has cognitive complexity 16 (threshold 15). Drivers by points: error handling 4 (12 pts), if/else 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5240d406d0151a95e17cf19ce13441c852ff5dae72ae06d040b67ee08ec1db7"}},{"ruleId":"D2","level":"warning","message":{"text":"MongoDb.hybrid_search (cognitive 16): MongoDb.hybrid_search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba529d72f0278bd651b7c1d17469479b285491c9a7f7d6a2ddeb12e269906012"}},{"ruleId":"D2","level":"warning","message":{"text":"ValkeyDb._filter_exprs_to_dict (cognitive 16): ValkeyDb._filter_exprs_to_dict 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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0b6fc89a43814f40ead5ade1ec23e58db43d345e4a6c926e32a72c946a205c"}},{"ruleId":"D2","level":"warning","message":{"text":"Condition._aevaluate_condition (cognitive 16): Condition._aevaluate_condition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea21cb430705ce9d6647e16bd08d4f922c384494a11d2b98651cc20c15b165"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteWorkflow.acontinue_run (cognitive 16): RemoteWorkflow.acontinue_run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/remote.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73398af3fc456148b714090d40dea68ca4e3623a456ddc8dfda34cdefb36064"}},{"ruleId":"D2","level":"warning","message":{"text":"Step._get_deepest_content_from_step_output (cognitive 16): Step._get_deepest_content_from_step_output has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 3, loops 1 (3 pts), ternaries 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef75e3ec86d1d5264d15a56e1626bb0c12d2108ef79cbf4161139443679ba3da"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.aget_run (cognitive 16): Workflow.aget_run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5658}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c8f51816ba6528124103f05503a8f094953a428a99a328f486021f01d0b0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorAdapter.list_entries (cognitive 16): CursorAdapter.list_entries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 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":"libs/agnoctl/agnoctl/clients/cursor.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1ae8fa1ca85ec99dcfbd3ab89dd3af13b75e11588b031a3fda2402e6c8f215"}},{"ruleId":"D2","level":"warning","message":{"text":"09_multi_step_mixed_hitl.resolve_output_review (cognitive 16): 09_multi_step_mixed_hitl.resolve_output_review has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 1 (4 pts), boolean chains 2, 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6f89fefc705cdcad9e649b6a9935c8ca277984e2e29ec758faeb82e2385b53"}},{"ruleId":"D2","level":"warning","message":{"text":"sse_reconnect.iter_sse (cognitive 16): sse_reconnect.iter_sse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (14 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/04_run_lifecycle/sse_reconnect.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8a94f4ea1b3b847636ddddf46e91cc5644fe535aea62ac068b9e20fa8a437d"}},{"ruleId":"D2","level":"warning","message":{"text":"15_policy_source_to_done.main (cognitive 16): 15_policy_source_to_done.main has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), loops 3 (5 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/30_company/15_policy_source_to_done.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e276576926201901da4b3957e86ed00d28d6989ce7abe8724a4caee39a3c6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"capture_reasoning_content_knowledge_tools.run_example (cognitive 16): capture_reasoning_content_knowledge_tools.run_example has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 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":"cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2affb2e672a278d5db26af29266715032b549633c68b47149ea4e832c41eb6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"save_hitl_condition_loop_router.save_and_verify (cognitive 16): save_hitl_condition_loop_router.save_and_verify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/93_components/workflows/save_hitl_condition_loop_router.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d114f5a725a077697e5b9bcf257c8e4c3b439a0545be44f6721ef9dd683ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/workflow.py: FileTooLong \u2014 8433 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7933 over it, 16.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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de1dd98e360ac521e655cd8e53bc967267a6a3ce732123d1128341da304ace"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postgres/postgres.py: FileTooLong \u2014 7559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7059 over it, 15.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b4a823bd8de7239f5456247cb8f21dec569c26c07bf58e9284b7e0f1831c4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_run.py: FileTooLong \u2014 7271 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6771 over it, 14.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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c932b82e2e41be60d200c5820b78d8000d8a63b92b8016fed64181471f571d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/sqlite.py: FileTooLong \u2014 6798 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6298 over it, 13.60\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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"703c3bd4a150cd3f7d9e757c66375f5cf0b7559fe62babb0c872182a078f2050"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postgres/async_postgres.py: FileTooLong \u2014 5907 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5407 over it, 11.81\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c2f7170de00c3db6af763371360cca277219e51ee6452df27c6f7338e43adb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/async_sqlite.py: FileTooLong \u2014 5332 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4832 over it, 10.66\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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ee4aba668e5ac154a6a1e7c7a7b9b5654ca71606236678bee520d15bf789e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PostgresDb: TooManyMethods \u2014 288 methods. The bar is 30 methods; this is 258 over it, 9.60\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a028ceacb1222adaf7af792cfcadb1150741baa6605447e12a6fbdc1d15aa65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/_run.py: FileTooLong \u2014 4390 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3890 over it, 8.78\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"018366b256a3f62893e6b99714fc3c845ab767a06f830c6d1b0ed84c326f89e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqliteDb: TooManyMethods \u2014 261 methods. The bar is 30 methods; this is 231 over it, 8.70\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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c997faa359b4b6dc8c9072febc56a532709dc0948e46fb911112f9c8e6eaf8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/knowledge.py: FileTooLong \u2014 4107 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3607 over it, 8.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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b575a5aa716cba019b8d3b9a76f6bd1394e3f2410a05d9f64c481c4f8a8b8c84"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncPostgresDb: TooManyMethods \u2014 241 methods. The bar is 30 methods; this is 211 over it, 8.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"56efa38cc8e508691bf0dcc9357ccf74fa642c22cd7781b4320240713155daee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/studio.py: FileTooLong \u2014 3848 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3348 over it, 7.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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa87ff163eb3442de31661b70bd4b1e880d0fb99218d194452fd5d167126987"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseDb: TooManyMethods \u2014 225 methods. The bar is 30 methods; this is 195 over it, 7.50\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":"libs/agno/agno/db/base.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba10cefcbddcb0f001b7d4e689d76b9887dee75234794afd1cf261dfd1d92338"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncSqliteDb: TooManyMethods \u2014 217 methods. The bar is 30 methods; this is 187 over it, 7.23\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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebf06f6c94eabc9b271f54765142d2825f49b05846ba4b712a6265e0df46ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncBaseDb: TooManyMethods \u2014 202 methods. The bar is 30 methods; this is 172 over it, 6.73\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":"libs/agno/agno/db/base.py"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"3404741e527fee8b68571b37bba9b57eda5748d4d891baafc3e061f8c7360df3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mongo/async_mongo.py: FileTooLong \u2014 3244 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2744 over it, 6.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5703ac1273849cb9f050f3573ab460eda4f244bd19bc915ded1ded5044dc4abe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mongo/mongo.py: FileTooLong \u2014 3080 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2580 over it, 6.16\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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fc6bee27dbd8a8041ef30a582db74838391340965e4a40d4f59dccbcd7f3d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamo/dynamo.py: FileTooLong \u2014 2970 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2470 over it, 5.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f14e70f65cbded624701b9d57bd992d6d58e8058871ffcf3e23f9581683979"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mysql/async_mysql.py: FileTooLong \u2014 2965 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2465 over it, 5.93\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b8a5fcee2aec3d672e1e4cd8cd17cbf0b455c316e9676def9029c863f4b7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: redis/redis.py: FileTooLong \u2014 2934 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2434 over it, 5.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe3f88577f6228864e77bb0e295865d74b9aef49cf988396e59dbcdd3949ec3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: valkey/valkey.py: FileTooLong \u2014 2896 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2396 over it, 5.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdafb1c7df82df8a26a61495cbe361ace74be2c404da045b979f9ba32ff14b1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mysql/mysql.py: FileTooLong \u2014 2876 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2376 over it, 5.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c18b65e8d252cd9f44e628bb55f7f1a5a13e7fab1c4e4a620c44ad1d8179eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: singlestore/singlestore.py: FileTooLong \u2014 2840 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2340 over it, 5.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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61377456849f102ecd0b47ad48ad4e196a98f07a337f5fac9c0f2ecedec0e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/step.py: FileTooLong \u2014 2656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2156 over it, 5.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c276e564fd89fbfadf7684efbc42abbf7f44c448d773d071522696d3417019c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/entity_memory.py: FileTooLong \u2014 2608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2108 over it, 5.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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0106bb4fd3e65b7f9a9885bb5c148cf33d6a5a4134ec00bd90d3332a1e862d4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/base.py: FileTooLong \u2014 2597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2097 over it, 5.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":"libs/agno/agno/db/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7e7ee1805ad892b95df93eb1abe4995c09a6b56cbb6beb24c2034a49384475"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: firestore/firestore.py: FileTooLong \u2014 2560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2060 over it, 5.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf45747b1f64a7382fede4fae900cad95bc22d03cb419c5e9474f54da976d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisDb: TooManyMethods \u2014 138 methods. The bar is 30 methods; this is 108 over it, 4.60\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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5314ebd98f264c97381142d50c5d2ad94aebca44ec50370931aef1127513aa0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StudioTools: TooManyMethods \u2014 133 methods. The bar is 30 methods; this is 103 over it, 4.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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"7774e464a46e6e4175e655dd1ac5e6f5a2e74de73812ea584d3b643ae7f80bf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/base.py: FileTooLong \u2014 2197 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1697 over it, 4.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":"libs/agno/agno/models/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8807942b9b2efe54123a996c899368fe62a4017cfd56bf0438446e37226fe86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/app.py: FileTooLong \u2014 2197 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1697 over it, 4.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":"libs/agno/agno/os/app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9132dcec831c715d244f65cce5734a88f7788437779dff616444be86a51d8c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/utils.py: FileTooLong \u2014 2135 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1635 over it, 4.27\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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c1eb957ac68edaf8740fca9bb8b2e6905ba44cac0c80aaa18319dc6f7703ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/job_queue.py: FileTooLong \u2014 2099 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1599 over it, 4.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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d438cd0733de4910175d504e02bf4f7d63e2aef910b1622c459bd6eb7e929ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/router.py: FileTooLong \u2014 2029 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1529 over it, 4.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"667719ffad4987cd991b3c1445c9981c672fe85cc2bdd209379670ebe442a9df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/router.py: FileTooLong \u2014 2011 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1511 over it, 4.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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b8e6a450d4b18c42c17b97c3cea199124b7fb80302979a89b1bcfd44054475"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ValkeyDb: TooManyMethods \u2014 119 methods. The bar is 30 methods; this is 89 over it, 3.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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"284c8e5358578e8732debc2b916530fe3df7c748225ca29f4bc2616b0ff637da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/base.py: FileTooLong \u2014 1983 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1483 over it, 3.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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a9e3ed3748e0ce684598f9e985bc4a4e46d4317e98a97f5bfe8d8e1f95711c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/mcp.py: FileTooLong \u2014 1948 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1448 over it, 3.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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17098beecbea62be8355dce307e3121b9bb6be53d218e6726e6bbfb1d8dbf0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/studio_runner.py: FileTooLong \u2014 1912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1412 over it, 3.82\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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648e3441de1655ef6eba60fc9e351b1f030b52f7e65467c50ce4e166e8fd4bf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: json/json_db.py: FileTooLong \u2014 1897 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1397 over it, 3.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"005bb2cd1fdae3672b7a549ef7b8a72b2d8ce04cad96cce33a433a50c3e4fcbe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncMongoDb: TooManyMethods \u2014 111 methods. The bar is 30 methods; this is 81 over it, 3.70\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ec37e02d2864bab1ec411f71cc4b8ab88b60e04e8b22a84b654b097f4a14e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gcs_json/gcs_json_db.py: FileTooLong \u2014 1820 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1320 over it, 3.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef28f0501aa2aa8cb54699d6c3947980af91940cb84f6d81d9967a70d376ba7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MongoDb: TooManyMethods \u2014 109 methods. The bar is 30 methods; this is 79 over it, 3.63\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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f3bf21cd35ff0e871ec95a42d160cc751cee9c357df6cb4e6c5f19c5139bde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/_messages.py: FileTooLong \u2014 1816 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1316 over it, 3.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7c1483367a28fabcd362611d9e19928ebd1e71ed14607a2282faaab4ef792"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: teams/router.py: FileTooLong \u2014 1802 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1302 over it, 3.60\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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1886d981f9e898558e7d8a4a18aeadba5fd7205db33adf5669cca18cd8667491"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/utils.py: FileTooLong \u2014 1791 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1291 over it, 3.58\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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34605f65924a3c311d44f727c306b19aa407a7e7ff211157531d594ebbb365eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/os.py: FileTooLong \u2014 1763 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1263 over it, 3.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":"libs/agno/agno/client/os.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7b83bb873ff3daf1e0e8b62c81febf11ff8f40a565ed9d257b30b4e0b65601"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseExternalAgent: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.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":"libs/agno/agno/agents/base.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dbadea624c98c427b7863953b94e1b1891b5ae25cb29e1e0532315b72876d7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Elasticsearch: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6c72d4455654c259211e9cb5ad90c4271f47b17841c107b9cba42763ba7469"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/function.py: FileTooLong \u2014 1733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1233 over it, 3.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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"253e9654db068673dcb127d960cdb77dfb70596d28ccb13efdf1a2f184b8224f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metrics/metrics.py: FileTooLong \u2014 1707 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1207 over it, 3.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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ef301cbe555beb636439bfd1842ee0220981fb6bc69aaee07ef0d9d4742f63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: company/manager.py: FileTooLong \u2014 1677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1177 over it, 3.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":"libs/agno/agno/company/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a17060b0def14f10cf7e34323d6de0b0fb6ced898755c0cead6308c5e915fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StudioRunnerTools: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 over it, 3.30\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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c921aa94e44906da0bee52a040628c25451aa8368063a4bdb04c492af64ca610"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SurrealDb: 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"97356150ac9dba97479b91e996396d2bb8078410c5c975565fbb2383c165aa52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/team.py: FileTooLong \u2014 1545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1045 over it, 3.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":"libs/agno/agno/team/team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed01ab3320d2a946dcce2ae64d648c490a1f72d8712ce6a46398bd6866559c23"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentOSClient: TooManyMethods \u2014 92 methods. The bar is 30 methods; this is 62 over it, 3.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":"libs/agno/agno/client/os.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1d47e345ed79b6e56ffb46ea084a5a09558094633425c751ad82ebb90f60b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DynamoDb: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd8b38353d7a25be9d20a0ab6d1fc50bfe4637767f245f58cebef26e5a00c25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncMySQLDb: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e057f424013cf41eb124e03514609e8d02f76afcaa5692e02d5993d57915fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MySQLDb: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"72eab0e1664203bc362a775b21cb234265f1e3b3f8e7cdab7b13ab8790b180d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SingleStoreDb: TooManyMethods \u2014 91 methods. The bar is 30 methods; this is 61 over it, 3.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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad533def2c62771277ca6533cbedba569dcf284ddaf7cf7c78650131862a1158"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenSearch: TooManyMethods \u2014 89 methods. The bar is 30 methods; this is 59 over it, 2.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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d8c1aafa96a340c6331699ccd34694ade03d8bea57c44d9224a6d60c8f740"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/agent.py: FileTooLong \u2014 1480 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 980 over it, 2.96\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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe68c4abe57234f7644dfa3ffe6f37a07336836d37a6f94d13ea65219cc53f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonDb: TooManyMethods \u2014 88 methods. The bar is 30 methods; this is 58 over it, 2.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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9e5323a1b2cb64243a458660f4b2e7630ae0e61cab8be8bd4b7a545a6c56cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: google/gemini.py: FileTooLong \u2014 1445 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 945 over it, 2.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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96925f8ace50d018336d10dd6f3afa791d966b4b7b6a55c70a0a02aa3337eea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirestoreDb: TooManyMethods \u2014 86 methods. The bar is 30 methods; this is 56 over it, 2.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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5590006a6c309abf019881667de8524a6714bfa4decc740e1e27794a05fdab6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/_response.py: FileTooLong \u2014 1421 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 921 over it, 2.84\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7406d574586b18402730e27ef168e105e3c9918578f19c14d5dd77472da6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: print_response/team.py: FileTooLong \u2014 1416 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 916 over it, 2.83\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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dcf912a8f01170afe0c99c02130fa2671c8ebe744342eacf2e25e49bf80f0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: page/_coordinator.py: FileTooLong \u2014 1415 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 915 over it, 2.83\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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d337bc0476db16620958d47e886d283fbebab10832e39f84006d97cf8983860"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GcsJsonDb: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d5a270fe9fbe6a389aa92488f7ffdc303ec56ed01cf400902bfc167e990a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: knowledge/knowledge.py: FileTooLong \u2014 1372 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 872 over it, 2.74\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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f6ff9b7af1d3d3b462d8324bb051e833a6ead89f9d5a484402ad9726638608"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: in_memory/in_memory_db.py: FileTooLong \u2014 1369 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 869 over it, 2.74\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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6048281f4f3178d5c7a8e035f96057dbaa8f33e6e5c7912b52e93407812631"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surrealdb/surrealdb.py: FileTooLong \u2014 1362 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 862 over it, 2.72\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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6165c7c2e9713cb5e8555912191b4fabced03dccb7b708f5e576932750a3367"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_default_tools.py: FileTooLong \u2014 1353 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 853 over it, 2.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa55e25219872abf7acab7e388247e6faea053a959116ecc66154c754b61612e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_response.py: FileTooLong \u2014 1330 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 830 over it, 2.66\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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"614d64636f1881000a6a89e8a1d748cbadf912efa747848f644d39e9a9b01473"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_messages.py: FileTooLong \u2014 1286 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 786 over it, 2.57\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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9deb27b4f8632bdb6979b7d5238ae646b2df536983f4136792949a84f75506"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RoleStore: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d457baa1ba80feef4a1ec2a5ff92077cd61c1eb19e662692ac287f68f95b6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: elasticsearch/elasticsearch.py: FileTooLong \u2014 1258 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 758 over it, 2.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff4914b3569049ebc43f3f5c37296dd8d046d19a46dfa5af25687c5ea2df8c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/company.py: FileTooLong \u2014 1238 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 738 over it, 2.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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be1fa68a7b933862b972fbfe2d67ee11dd2f94797092811f938fc614e113dab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/session.py: FileTooLong \u2014 1224 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 724 over it, 2.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2629ee6c6b78274240429cba2222efcee62c9bab66d334125351fd940dfd29be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InMemoryDb: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c38699e9a5285dac53ea548c98dd004ef1601df9b3696a0b7cd71ca423e6b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: print_response/workflow.py: FileTooLong \u2014 1205 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 705 over it, 2.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35f39fc8d159c809631d1ae1a9d228a89880e803e8d3ba3d6d3df5cfe8d69d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: google/gmail.py: FileTooLong \u2014 1179 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 679 over it, 2.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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a8c4611aa6a978d2e8588e0faa7126483d08777acb5e0845ae323fdd65469a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: middleware/jwt.py: FileTooLong \u2014 1164 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 664 over it, 2.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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30050808f87a39c2520e6a9ff9ef02fc05df49ff41c41c4f8ce7316fbb5c0dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Authorization: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.30\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":"libs/agno/agno/os/authz/authorization.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea89984a18558ecd0d2ea6bc1a6e1d17f347a1ad07056e008898b752cba31f46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: couchbase/couchbase.py: FileTooLong \u2014 1134 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 634 over it, 2.27\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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d93cc63766adb4f04a6cc2b8b142eef13ea637f5599c9538c98e197d6350241"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pgvector/pgvector.py: FileTooLong \u2014 1125 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 625 over it, 2.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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df42c459dff45908425a6d537366071456a181d598b33fe44d059293fe2cbef9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chroma/chromadb.py: FileTooLong \u2014 1124 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 624 over it, 2.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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d95f096fda71df511821455cc531dbbc00a85020ed4d0c57a0af62b122e05d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentOS: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\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":"libs/agno/agno/os/app.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f971cb39952868f71fca210a220e707757f77e3190821b4ca072cafcff4dafa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/github.py: FileTooLong \u2014 1092 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 592 over it, 2.18\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":"libs/agno/agno/tools/github.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9252ed7e6fe63c8a407f542918f18360406931717f457332f02fac2bc7edcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_storage.py: FileTooLong \u2014 1085 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 585 over it, 2.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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a93c28ac9c84e618fe37f08d911bc88eaee85c7be17df2071340119eabcb1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/responses.py: FileTooLong \u2014 1084 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 584 over it, 2.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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b04d5ab8d2d784f894c54cb4367cb721c15777f4283d9b8c9cfcc824b014f51"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativePolicyEngine: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5274d7cab89d6113ec580c33705c88e9fede40174eab5a07dbbba4cfd1c897"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: opensearch/opensearch.py: FileTooLong \u2014 1083 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 583 over it, 2.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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0211df1e2720cabe61bd03658c37950f0e5280bd3824e4a5ee710b050605d2d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/manager.py: FileTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 575 over it, 2.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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df58d5cfa55cb9edf0afe4a84b52607793a3aa6be3a429566c7b89c983ac979"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: claude/agent.py: FileTooLong \u2014 1067 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 567 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013223926423a7c317406f03091cacd1cfac901a97713ebf9e399dcbe0396705"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/components.py: FileTooLong \u2014 1052 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 552 over it, 2.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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee983150f3fa42d996b849734de450d8947f9585af0360b454f68c328803b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mongodb/mongodb.py: FileTooLong \u2014 1052 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 552 over it, 2.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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549d0179b8f9f026c24da9feffb0dfe60e9202e8fdea51b1494270da8cdf999f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: company/routines.py: FileTooLong \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 549 over it, 2.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bf896486f97412e4263c7c2b668cdb2ffefb8eaed7c90de3acffda49ece438"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/_storage.py: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 518 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"500441a66756f5b0bbf1a640c03dc4040454a7309ce45f922e7fd46d68be7669"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/schema.py: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\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":"libs/agno/agno/os/schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77040f67a4204effc99565e942d46c5d815251c3207739dd226d925f78b27287"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/condition.py: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 493 over it, 1.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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78478185c23b2123bd66905c285b24241ca95a0cd5296966f51a0564b78e675d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: google/gemini_interactions.py: FileTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 485 over it, 1.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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcb3420598a44341306a6cdfc0839d2234f61f7ae1abfd4dae334a174a59802"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/router.py: FileTooLong \u2014 954 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 454 over it, 1.91\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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ec9577c34ce4bca633b6a2409f747022ed40aeb139d861722c1273a0e00002"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PgVector: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e1d92e2091697ea2fb844cf978886dfa0b490f40d262169f7aee0349c030f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/events.py: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 441 over it, 1.88\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":"libs/agno/agno/utils/events.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a0fa8f43f3453ce0eb0cb3d833d8bc6070aa78bb0d6c89c2d7db0b465f7aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClickhouseDb: 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":"libs/agno/agno/db/clickhouse/clickhouse.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7e7490f36709b5b5115bdcaa78c74c5d39bfde4d8402762175460c4cd69f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/_tools.py: FileTooLong \u2014 932 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 432 over it, 1.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bd3b5b28679ce5b3fdf71f95d9d8b2aa46ef875f536105dfa95be92b99e6bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/agent.py: FileTooLong \u2014 927 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 427 over it, 1.85\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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4dc2026800064c9c2b3b7d30ef222ad98e9a5b4e16ec9235d92627687df840"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: milvus/milvus.py: FileTooLong \u2014 927 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 427 over it, 1.85\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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cd0292bb50f13a69814bba33b44e45a91237a24a2218feaa4b5f39b68d7138"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/learned_knowledge.py: FileTooLong \u2014 923 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 423 over it, 1.85\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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4142f27ca51790eaf794e4e576f2f700a3cc13b68b4562ca66438f843df97e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_task_tools.py: FileTooLong \u2014 922 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 422 over it, 1.84\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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86d259e2dede631aabd8bdc76f1ade18b26b29a71569f66b6da004c0d1562d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompanyTools: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"libs/agno/agno/tools/company.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24b4b1dd3b12129f9474053e9b7186276cb4c35fc402967e250957576e498be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/loop.py: FileTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 404 over it, 1.81\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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a465d04cdc209066eb6e0441b4e6afe87afebf5b14468c8cfb6e01415ffb4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: codex/agent.py: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 403 over it, 1.81\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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4d11dc9a0ac4523dd7b51f469ffd656682296391c843496fa89131661722cc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CouchbaseSearch: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe56583987e4528af59ea949d73cc7abb07dbf395c0ce09e46d379cd0cb8c7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Milvus: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f42070dbbf9152bc3feef4f93c77f5bf948987bf7f8c958183fb690a9c0137"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anthropic/claude.py: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"299230bbf706a5e3fd477a8941fa30baf31206c5cf43f0321cc671f637e713c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexAgent: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c75b9c4a34d5d53a12ef02923eddfcdd217c7d48ec8d591da50e61d52a46b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/user_memory.py: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cc0f6aaaef53ec60213a6a6efff17e26490dcfe9d3d15819376e3fead2058d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learn/machine.py: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 323 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a551a790e6e3ab382403e8c1d5c2a8f684a42d81c2c007e11e93fd301693ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: qdrant/qdrant.py: FileTooLong \u2014 817 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 317 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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6f3dc2b5cd3ab58bba42f29136533a01b9e21ba685245d0978a3cb221dfeb0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FinancialDatasets: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"libs/agno/agno/tools/finance/providers/financial_datasets.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4c71057161c86225af2f09eb06e6f70e78c1158f4b8effe79249165f79699a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.html.imageSearch: FunctionTooLong \u2014 imageSearch runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.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":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d04e7aebe121e89376a724d6e5f46f460e50d374876bcb3b1e9a66dbf434b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/scheduler.py: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189e17e48e2252c4176f66b748caee4b4814fe7aee2077c19b519b22004b774e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lancedb/lance_db.py: FileTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 305 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bf62d2bee01b09f06a35a812dee30f653d7038c052c86e1e5e8944413ae96b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/types.py: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 301 over it, 1.60\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":"libs/agno/agno/workflow/types.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48377b0d89095df749c81817618354fd027f66a62a39a0cd18c78bab2904992c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: environments/runner.py: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 293 over it, 1.59\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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df348408f311e8199a8bd6394379e284ea74c423179120c6cd6c35c56b8509c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/team.py: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 290 over it, 1.58\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":"libs/agno/agno/run/team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03609add7331d3ad1ad3697993b91220c16bf5c09b2b953220944a32e5c8ac14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/parallel.py: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 over it, 1.58\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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8449622989bd3dc94b14e8514a88562ad10d44e620a6c670763985494213424b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompanyManager: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f074eef6c171fbf21f2e5584329d22042160fba7c0ef016d17884ac21e3ebec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncCompanyManager: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d744134f7395d5afa37bc064b0d52b16919fe295fb51cfcf08d882e123f6ed1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: weaviate/weaviate.py: FileTooLong \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 273 over it, 1.55\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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9707076c8aee029c4cfdbc90e6475e935c45df5db9bf1f8a25b202c28d4db4c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QueueWorker: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff2b1a2e770e1aadbca38c6a4591ce3838c7202147be33920f9b84f2a23e6d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentOSBuiltinAuth: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"libs/agno/agno/os/mcp_auth_builtin.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f02ff178f9920145bb4fe5d058fbc1914773d4a40f51557314c79556f6e3cde"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LanceDb: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98b04cf07e2f47a2d722dac0b99d6693976a0a1dfc28adea7132313eee29513"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MongoDb: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d296d07ce90dd664f2e483b3df595ab20018e16191124e98a609f52b4a268ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ValkeyDb: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea243b7a8d397472888b2d289675b930836609c4a3cb84b2d44c3743bc3be96"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Weaviate: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee83b3278cb8a324a7c3c683f933b7571ab0fe0156425dd55e9fd19dee3f819"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authz/_role_store.py: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 254 over it, 1.51\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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc586789edb339008291cac42b430812c6bf04d9c9a36597a515eb66f99c2a1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/workflow.py: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 252 over it, 1.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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3007be45ac16c7a78a8e7ce15590efe7d49886110cf6d5157136d85de6088780"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GmailTools: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5a5fc38123c83aa4d00d5133be3438cbc8b5033354a551adb47d5def438d75"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChromaDb: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"707ac89dcb3ad830c045bde83e3c8d436bd94c589801aa61010a56a998395ad9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Qdrant: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc72bcc3fd4387b6ec376611980b55a6ac079fe8a8b6fc3132fa0f4a7c39f30b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: print_response/agent.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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f744343ddb7942c69a6f28b0732439b6306c0d148c4cb1aad30e2a953983cddf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/agent.py: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 236 over it, 1.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":"libs/agno/agno/run/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd7d77c3b13402c47512323a551e15697785972021a7c036c9f82f2228ecad0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/connect.py: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 236 over it, 1.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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2821c2360221784a7289af1f08abd39f396925bb673fce099a402ffa3f1035cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reasoning/manager.py: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8edd85bcb73325d854ba5ce393610fa46a56b7a076c81d762ae44b11820ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: slack/executor.py: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfefbfafdd3d8417ffcf2b84b3327e44fea3e43063c3b07d20ec6205500c4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/chat.py: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 222 over it, 1.44\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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5676803ea09afaa017cefa022aef0e45a4cac29e0c8ff72fc1c30cd51e74cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/toolkit.py: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 218 over it, 1.44\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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f14aa6c8dd731924712547309b5f0a48d323be8891c5dc534fac2c1706f9564"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResultStore: 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":"libs/agno/agno/offload/store.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f72ce3d2c93e74c48a52d55150ab83d7170e168c05b443b730860bb770a78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/decision_log.py: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 216 over it, 1.43\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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e255cfdce8e7dad52343c2a7d9e6013cdd0fc8557502d9f96df3a22048fc5098"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: google/calendar.py: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 214 over it, 1.43\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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f03d24a2633d32203abc843f76de66d8d3f7cdf840664d135b715ec358f2845"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: performance/report.py: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 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":"cookbook/performance/report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108b7e0633511553d16caafd606fdbdef3c10618dca87566f03c69f01ea4c31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_init.py: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 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":"libs/agno/agno/team/_init.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3bc347a2ec669916660d7d9da13ff7602464a1674a326bb21fbaae21bb887d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SuperserveTools: 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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3130724e9ca57b313766b96aadaa45bb1738c046c33f6e9b1bb48f4db8e3790a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: clickhouse/clickhousedb.py: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 199 over it, 1.40\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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"188e4576ea4241546a21577ebc2be160c8ea4fdd49439a38175be14898bc3aa0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/approval.py: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 197 over it, 1.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":"libs/agno/agno/run/approval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"882f37b481506e642a2724f052f95dcd642486866fde1ce3a0ea51381ccaa09e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: valkey/valkeydb.py: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 194 over it, 1.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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df3fdb97966b276c5e93aea16085615867ffe1dc0579e52298042dd4ea59d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/suite.py: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 190 over it, 1.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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61811d48dd1ae79ffab16e7e4a5bdf9a65a6163d69df6c1f6ad02b914ded6b01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: google/slides.py: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 188 over it, 1.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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eee3f1b029c2cf9af3e51490519f4f74c2af433841b6a4d2579bb0980de4e22"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AtomicMailTools: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46b6bbbced33a934dd03259dafff39550984b27c0085e8a47cd2606f3020c8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GithubTools: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"libs/agno/agno/tools/github.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b611f6a3cc0d669572179225e98ae2936f62d8585430b70e865de33a00f86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: offload/store.py: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 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":"libs/agno/agno/offload/store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812cb604c78639dc2c75c405044670d59340a0f17ade57eec926669c7110f60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/mcp_auth_builtin.py: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 162 over it, 1.32\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":"libs/agno/agno/os/mcp_auth_builtin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d4cb336d78d8d9c37b6a7b167c28e04f6e7909c06acd19c663081d226556d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: media/media.py: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/media.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"623d7bde0e09efadc9a612eb6d2db62f0cd9124d359176743ddd059227009b31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compaction/compaction.py: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 153 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f300a43e6c7d131fdd65a9f7bd02aea5f8edb57403d2bd3c62101822e6c16a10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/session_context.py: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"292da8882395f1c37ce39c3c4a0d8cced9065f5546ba7bde9f7136585a62644d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/slack.py: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf01b9308583250ebae9c21482e725c544345c68b1cd929eba9928c8e818110"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflow/steps.py: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa8d3a2ae227e4b589692648c1cd761a7c7009149a977f110a2d4d2695aa035"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClaudeAgent: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6536fc8f3e155cf3190b309d57289a0ec93a37e90bffda1184c74743c05984a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileSystem: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c2060cec2525d4d91ea7f30df3f1db9d8cb483fd0092361b00ff0e1577884"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PageCoordinator: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56e356708df0b9f8b1591148415ada9318bf60a851faf3272fd1f718b084300"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserDirectory: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fd437e9f9c8594e24467689501426c03a2c1352cfd1c2c0b06df56eab92129"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeMode: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"libs/agno/agno/tools/code/code_mode.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3335aa0100f7704c9e61563862ddb2572e1b99a090f9145ce168500b1527fab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Clickhouse: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"450337912f9978d371cc6fb75f47135b91d668352b17614ed2d3a9acfe4f6b43"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FinanceTools: 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":"libs/agno/agno/tools/finance/toolkit.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6917c2106a27ee85f5ca7236dd6a7523b1d8844eec7219fdbdbaecb5bbd65fc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PineconeDb: 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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d981cbb2e5d9e748f336c3bc060dd8e3621dce856d64655a6257af4a38f4381"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: company/execution.py: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\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":"libs/agno/agno/company/execution.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"970bdc8fe6f4111466102583dae0a7da8d91d60a003c2d9437c878e83e00bebb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/kernel.py: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 129 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2631eda35637a576d5af83c7989a5d406b8e5384df81fdc65beb446acf2f402"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/memory.py: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 125 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":"libs/agno/agno/os/routers/memory/memory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb13ef3f3b2cd341e460ebc08f2f2e9c9c1da9204e0d2f72cd5cd6ad2d8b3db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SurrealDb: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a108be7afde519afda82f9c39e74689f7d32361cf0be125571c964d285c657c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/agent_as_judge.py: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525abf3fdd8e770a05db7fff8bf62c7c4c81e36ab1a04b9e0dedeabfc2d1bb02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: company/runs.py: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 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":"libs/agno/agno/os/routers/company/runs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46a3350977872dc0de7da7d6034a548d06da4b15efa4f23a8c06654ca14c808"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/workspace.py: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8142185432b3789771ed38b624e77a05246696edb23f24a738b2b2b23f3ea143"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agno/metrics.py: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 113 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":"libs/agno/agno/metrics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3b9c69269858dab6d3b8324a8a4951bb45880199c4d52c51e46102a3028a76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: traces/traces.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":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be69988c82150182952a1320232a607452aa954f3e3b46b91c084c5f7750eaa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postgres/schemas.py: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 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":"libs/agno/agno/db/postgres/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59ec548237f697d4bcd663080aa453a7aa7a885d67fd11df964a0b961d7d04d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: team/_session.py: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32607ca0124d45da094a53140c4aa3fd915fa89a7ab0013a8a9d68edf642faca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/claude.py: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53f1bb5d2c423d9db1f06d264c1607edda5edcc53dc395de6954927b74711fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SingleStore: 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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"39948de59a6b8620f5a6fd506d69cdec8b8b38f21e82e74983c17752dcb6c8d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/agentos.py: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a276a2c7540c6327eed1bbdfa088b198d21a929b25f58bd76b6ae46382a171f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: valkey/utils.py: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12d738b3e3faa0bde36d5b1f772af4a7690ed519c794ff297ce64526889277e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/mcp.py: FileTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 96 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":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef891cd4d98c161c9e648c9557a685b0652ab5a384aba537176c780125a56817"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/fs.py: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 95 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b28d57b4cd0fd37159486b4b183219e561d906b72e23741bc9dcee8276030"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mysql/utils.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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3057da611658bc9858bcc7667f63bfa8de0eaaa7ddaf981f0035da3566bb121"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/media_offload.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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e89588b486ca132c98f558ddbe9cf0e3dc7e78f4761bdce8860c466986006f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/user_profile.py: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 over it, 1.18\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":"libs/agno/agno/learn/stores/user_profile.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe5ea5831ee4c323a0f07e0f618f154669fe1edbc880f28c43208849478b1de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/db.py: FileTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 90 over it, 1.18\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":"libs/agno/agno/fs/db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed40d913f80ee674b71a17002ceecae85c6b8cbb32808c9647c4c131a6479d2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reliability/verify.py: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 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":"cookbook/frameworks/reliability/verify.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d3284afb44132ac9f6779eb8f4fcb2ff2d9cb50c691eb7d0d11fe105606ee3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cassandra: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"916582acaa771139936f49a66f197695deb3963d64037120ff468a5abd98798a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightRag: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 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":"libs/agno/agno/vectordb/lightrag/lightrag.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"82253eee28bb64bd346d409495644a300240c8d57a7d76882150a2b05bc51c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wiki/backend.py: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\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":"libs/agno/agno/context/wiki/backend.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f63825dede24f6ba94ff1e8b2591fc0ad8ddbd758cac9b1c087ff10eb470ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: learn/schemas.py: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9406e35c12c9decb009fb9b592db2566ec82b43cbe74df17bf8f225b433f9be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: singlestore/singlestore.py: 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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a647e61fa795c5dfdc0065a6c178956c35e49df50ba7e8c49af193742cbaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote/base.py: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 71 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":"libs/agno/agno/remote/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbb3286c34ed97500674da409267b5b03223b190b42d87187823b7c04c02a55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: clickhouse/clickhouse.py: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/clickhouse/clickhouse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb68a1b39841c2e851b7d7164557c399f937e40bad78822cd0f8d57f2ef0810"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/router.py: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9ce1e37a19752d21eb41d9a89e98cf5ed8b2a265b0fb8ddf761cb2fa3f587"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScavioTools: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.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":"libs/agno/agno/tools/scavio.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"32573daacbbf1627753d6e2d0c14608c25c2d11f573ac6cc4f60a96b840e3149"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: page/_commands.py: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 65 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":"libs/agno/agno/knowledge/page/_commands.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08084d2c59240d1beaa6cefb1f6968c0ce3dc79d65394e68c01e5d81ea53e34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/code_mode.py: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 60 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":"libs/agno/agno/tools/code/code_mode.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d9c574d884a5b78a256e7d35a9aa66a557231812bfe7635f4b4c05e69f517c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aws/bedrock.py: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 58 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b304d3eedfb7667558151daf9f09874cf4b278e04bc1ecabef8a9a7aa120dd74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/authz.py: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29f320978f0548e1e3f4a78c5e09ec6e559ab20831f731a945da1728bbc4a37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rds/db_instance.py: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.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":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefc823e979f7ce66e4cd75d69c783383f96f3d791fc95b2d5dff3b06a48f0d7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UpstashVectorDb: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae4324f0841fb20ac6858e1518bbc7a668df0e9cdd41cacd59ccd423a29f1a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pineconedb/pineconedb.py: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 49 over it, 1.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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36107bc61fa55f72e5e8d8c42f2ad8b2f4c8ff0bb1a1e5a64b88229d387ab207"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manager/company_tasks.py: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\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":"libs/agno/agno/os/manager/company_tasks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6278bcdec3c0e92ad02a19f18bbc68df35cfef6a01d6cfa9408b1582a2bcdde2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/base.py: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 40 over it, 1.08\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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df39a4c94372c14555674b32ac85195a592baa28d8467a370c799934b69a7c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/utils.py: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 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":"libs/agno/agno/db/sqlite/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c83666808e8f098f6cb0981a6cf597e2a755eb2ec81a3d47ca33e8a40aeb8a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToolBridge: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 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":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66b6760ee1befd42ae8ba86fa6bc8014bf75865099eea03349eec906788c18c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sqlite/schemas.py: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 33 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":"libs/agno/agno/db/sqlite/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f0b8592df34b1a84fa52f8a3e63ab452d3228ef3fe9f88197870083e921b3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/coding.py: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 over it, 1.05\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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7ed79939c18a5540e3e85aca50d5317e0e8a835c8ff6e9ee0be206f4efb94a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postgres/utils.py: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698ec192a913ef0d51ede943d8c6f4978cbca395304feee641040b7658404588"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompanyFiles: 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":"libs/agno/agno/company/files.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c04f585d2382ea15576c571f16f9ea3b800654a1c4a94fe0caa14c1b104b219"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PolicyEngine: 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":"libs/agno/agno/os/authz/engine.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d834c8ed26f5b81c65e15c95b91d76ecdbc4a3a6c4c5bb9ef56d92d747c0f90"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AIMLAPITools: 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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"41737b54e15c6259b290c3f1a36725352e5f06ee2a9ca4ea7562cd710b5d7f40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Workspace: 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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"52370aab170b2fb13ab02e160c9eda557b758f12d1b1c3658a9d2d729db0c70a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rds/db_cluster.py: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99d7ec8c4dd715122e15a1a060977441b88f6aa661f9aa27d068bf3a4a18de0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: registry/registry.py: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 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":"libs/agno/agno/registry/registry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e35cc55116e6945ef3e63f7dc05885d8c1d9a76ccc2fccea5e4e0259cbc458c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scheduler/executor.py: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 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":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e270c721805069e0cef31e2cbf71125b50228d4c30249f1e098021146bdd24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/_hitl.py: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agents/_hitl.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e06b00b1ff1d306e6c13ba968093b6ef9af2fad33308042bea55c30436d4db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/atomic_mail.py: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10 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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8054140e1957f9a3ecf0fc32589b2bff7dd7c5dd5430758942adbdc20e529df0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: a2a/utils.py: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21163724a43d56efa96f67cbbbe1dd95ef1197ce95c19fe168157f3e74730963"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: upstashdb/upstashdb.py: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8811484c865c3b840cd5ddf3980ef1d95026fe3ab7c7c1bbcb7a0ea5bd47be5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authz/admin_router.py: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/admin_router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8d9fd9eec71ac14f722eb2d76927c04c4257c1d0802044872305e990863b85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: os/auth.py: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\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":"libs/agno/agno/os/auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"760bd9f91c8ca16e9f21be27c3f0e0caa681ce6e7adac08166f1e55a485a09df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: filesystem/router.py: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1 over it, 1.00\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":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1211c5188fef649358a3304498ec823825b1ce85365429bf328074c79f756ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (15 members, 21 shared lines): libs/agno/agno/vectordb/cassandra/cassandra.py:247-310 | libs/agno/agno/vectordb/chroma/chromadb.py:461-555 | libs/agno/agno/vectordb/chroma/chromadb.py:662-761 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:402-485 | libs/agno/agno/vectordb/couchbase/couchbase.py:1081-1170 | libs/agno/agno/vectordb/couchbase/couchbase.py:1197-1285 | libs/agno/agno/vectordb/milvus/milvus.py:605-694 | libs/agno/agno/vectordb/milvus/milvus.py:777-873 | libs/agno/agno/vectordb/mongodb/mongodb.py:1148-1213 | libs/agno/agno/vectordb/mongodb/mongodb.py:1222-1285 | libs/agno/agno/vectordb/pgvector/pgvector.py:719-769 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:377-446 | libs/agno/agno/vectordb/singlestore/singlestore.py:671-744 | libs/agno/agno/vectordb/singlestore/singlestore.py:753-842 | libs/agno/agno/vectordb/weaviate/weaviate.py:371-469 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4156f05324ad8d9ecaa8211444378cc410444cc227a3440ceb4f8bb3dfd92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 43 shared lines): libs/agno/agno/db/mysql/mysql.py:1873-1945 | libs/agno/agno/db/mysql/mysql.py:3843-3925 | libs/agno/agno/db/postgres/postgres.py:2763-2832 | libs/agno/agno/db/postgres/postgres.py:4717-4799 | libs/agno/agno/db/singlestore/singlestore.py:1896-1966 | libs/agno/agno/db/singlestore/singlestore.py:3803-3885 | libs/agno/agno/db/sqlite/sqlite.py:2698-2768 | libs/agno/agno/db/sqlite/sqlite.py:4596-4677 \u2014 These 8 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 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc786e7595dab8a63ced2af0972ccbd40bb92518de696af0bfcd8160c967562d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 34 shared lines): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py:93-131 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py:104-142 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py:122-161 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.py:129-168 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py:86-125 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py:105-145 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py:123-160 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:213-250 \u2014 These 8 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 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"041e764298070ede06645b9e082211a8472d0fafdf9775f4a45cf1e33a25b003"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 48 shared lines): libs/agno/agno/db/mysql/async_mysql.py:2719-2891 | libs/agno/agno/db/mysql/mysql.py:2703-2843 | libs/agno/agno/db/postgres/async_postgres.py:2971-3135 | libs/agno/agno/db/postgres/postgres.py:3534-3666 | libs/agno/agno/db/singlestore/singlestore.py:2711-2842 | libs/agno/agno/db/sqlite/async_sqlite.py:3211-3375 | libs/agno/agno/db/sqlite/sqlite.py:3472-3602 \u2014 These 7 members are variants of one another: a block of 48 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2719}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e06f9b8657a1fa7e2dee1e21b89ae3d5e45dc9012ccd4034a47935d3ff2f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 33 shared lines): libs/agno/agno/db/mysql/async_mysql.py:672-708 | libs/agno/agno/db/mysql/mysql.py:667-701 | libs/agno/agno/db/postgres/async_postgres.py:975-1011 | libs/agno/agno/db/postgres/postgres.py:1131-1165 | libs/agno/agno/db/singlestore/singlestore.py:744-778 | libs/agno/agno/db/sqlite/async_sqlite.py:926-962 | libs/agno/agno/db/sqlite/sqlite.py:1095-1132 \u2014 These 7 members are variants of one another: a block of 33 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6d3db942b226497423ea16adcbe60d27c6a7c8aa4bc5be0e006755cacfb75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 29 shared lines): libs/agno/agno/db/mysql/async_mysql.py:1340-1456 | libs/agno/agno/db/mysql/mysql.py:1352-1464 | libs/agno/agno/db/postgres/async_postgres.py:1980-2101 | libs/agno/agno/db/postgres/postgres.py:2213-2334 | libs/agno/agno/db/singlestore/singlestore.py:1404-1512 | libs/agno/agno/db/sqlite/async_sqlite.py:1876-1979 | libs/agno/agno/db/sqlite/sqlite.py:2144-2247 \u2014 These 7 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 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c443d4ac6c6998a9be0e7737561d1498b80127fc83eba66d249ff437c01ee074"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 28 shared lines): libs/agno/agno/db/mysql/async_mysql.py:3900-3983 | libs/agno/agno/db/mysql/mysql.py:3843-3925 | libs/agno/agno/db/postgres/async_postgres.py:4181-4264 | libs/agno/agno/db/postgres/postgres.py:4717-4799 | libs/agno/agno/db/singlestore/singlestore.py:3803-3885 | libs/agno/agno/db/sqlite/async_sqlite.py:4384-4465 | libs/agno/agno/db/sqlite/sqlite.py:4596-4677 \u2014 These 7 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 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3900}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd79704193ab885238bb2f4742f200c88535745c0524fd7925be4e02cf293b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 25 shared lines): libs/agno/agno/db/mysql/async_mysql.py:860-903 | libs/agno/agno/db/mysql/mysql.py:854-899 | libs/agno/agno/db/postgres/async_postgres.py:1224-1288 | libs/agno/agno/db/postgres/postgres.py:1378-1442 | libs/agno/agno/db/singlestore/singlestore.py:902-944 | libs/agno/agno/db/sqlite/async_sqlite.py:1179-1249 | libs/agno/agno/db/sqlite/sqlite.py:1374-1443 \u2014 These 7 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 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0ffcf30845f12de609d82bd3c980b13434afac223dff8ed82aff700016a44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 25 shared lines): libs/agno/agno/db/mysql/async_mysql.py:1156-1261 | libs/agno/agno/db/mysql/mysql.py:1171-1277 | libs/agno/agno/db/postgres/async_postgres.py:1782-1894 | libs/agno/agno/db/postgres/postgres.py:2017-2129 | libs/agno/agno/db/singlestore/singlestore.py:1217-1327 | libs/agno/agno/db/sqlite/async_sqlite.py:1713-1826 | libs/agno/agno/db/sqlite/sqlite.py:1982-2093 \u2014 These 7 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 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d470dd53e90e04e0e9a8489c34d5bdec9bec00b2f0b93fb7ee8f94449239cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 13 shared lines): libs/agno/agno/db/mysql/async_mysql.py:253-391 | libs/agno/agno/db/mysql/mysql.py:248-384 | libs/agno/agno/db/postgres/async_postgres.py:424-584 | libs/agno/agno/db/postgres/postgres.py:460-674 | libs/agno/agno/db/singlestore/singlestore.py:317-487 | libs/agno/agno/db/sqlite/async_sqlite.py:408-558 | libs/agno/agno/db/sqlite/sqlite.py:460-668 \u2014 These 7 members are variants of one another: a block of 13 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7fcc7f4b9e6f328ad15b971e88793ce722e361b61b16c7e514f93b2704c255"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 36 shared lines): libs/agno_infra/agno/aws/resources.py:83-234 | libs/agno_infra/agno/aws/resources.py:245-389 | libs/agno_infra/agno/aws/resources.py:401-537 | libs/agno_infra/agno/docker/resources.py:41-189 | libs/agno_infra/agno/docker/resources.py:200-353 | libs/agno_infra/agno/docker/resources.py:365-511 \u2014 These 6 members are variants of one another: a block of 36 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83305dc902792f62fd89c6bf46226eb4e4d66c474bf692016b14f52a1411e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 36 shared lines): libs/agno_infra/agno/cli/operator.py:75-136 | libs/agno_infra/agno/cli/operator.py:150-209 | libs/agno_infra/agno/cli/operator.py:223-281 | libs/agno_infra/agno/infra/operator.py:226-286 | libs/agno_infra/agno/infra/operator.py:300-357 | libs/agno_infra/agno/infra/operator.py:372-430 \u2014 These 6 members are variants of one another: a block of 36 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":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff5f23c566637809adaee036ed1b0fffc80be3784580422d6aebffc6c9e48b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 24 shared lines): libs/agno/agno/tools/studio_runner.py:2765-2820 | libs/agno/agno/tools/studio_runner.py:2831-2886 | libs/agno/agno/tools/studio_runner.py:2897-2952 | libs/agno/agno/tools/studio_runner.py:2963-3021 | libs/agno/agno/tools/studio_runner.py:3032-3087 | libs/agno/agno/tools/studio_runner.py:3098-3155 \u2014 These 6 members are variants of one another: a block of 24 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f157eb9c29ee449b2f45c58174b83a269dfc18529cca868630396217f5dd02"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 11 shared lines): libs/agno/agno/db/postgres/async_postgres.py:7809-7831 | libs/agno/agno/db/postgres/async_postgres.py:7929-7957 | libs/agno/agno/db/postgres/async_postgres.py:8189-8233 | libs/agno/agno/db/sqlite/async_sqlite.py:7023-7045 | libs/agno/agno/db/sqlite/async_sqlite.py:7143-7171 | libs/agno/agno/db/sqlite/async_sqlite.py:7403-7447 \u2014 These 6 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 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edfba5fc64a4846842fa0f0291ef5a39a60599357bee4f1379f8b9e506496ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 69 shared lines): libs/agno/agno/db/mysql/async_mysql.py:1461-1716 | libs/agno/agno/db/mysql/mysql.py:1469-1720 | libs/agno/agno/db/singlestore/singlestore.py:1517-1748 | libs/agno/agno/db/sqlite/async_sqlite.py:1987-2273 | libs/agno/agno/db/sqlite/sqlite.py:2255-2541 \u2014 These 5 members are variants of one another: a block of 69 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f216a3ead924f20685e5bd376001598ab5cc31368635a14641055119632d661"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 36 shared lines): libs/agno/agno/db/mysql/async_mysql.py:2109-2204 | libs/agno/agno/db/mysql/mysql.py:2103-2198 | libs/agno/agno/db/singlestore/singlestore.py:2112-2193 | libs/agno/agno/db/sqlite/async_sqlite.py:2654-2752 | libs/agno/agno/db/sqlite/sqlite.py:2920-3018 \u2014 These 5 members are variants of one another: a block of 36 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8323c3cd36359f5af44085c4f95d89a34c55810c179495ccb1973bf676967cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 32 shared lines): libs/agno/agno/db/mysql/async_mysql.py:2277-2312 | libs/agno/agno/db/mysql/mysql.py:2265-2299 | libs/agno/agno/db/postgres/async_postgres.py:2578-2613 | libs/agno/agno/db/postgres/postgres.py:3141-3175 | libs/agno/agno/db/singlestore/singlestore.py:2271-2307 \u2014 These 5 members are variants of one another: a block of 32 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"440fec52aea23969f2367c2d9c76c7cbd10e764ba98de6eea345d9eb587c3b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 201 shared lines): libs/agno/agno/workflow/workflow.py:6992-7521 | libs/agno/agno/workflow/workflow.py:7836-8604 | libs/agno/agno/workflow/workflow.py:9057-9586 | libs/agno/agno/workflow/workflow.py:9599-10373 \u2014 These 4 members are variants of one another: a block of 201 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6992}}}],"partialFingerprints":{"codehealthFindingId/v1":"802918a56175939928ca7abd191ff38e49161b83bf9f8cac17ab6588f47a9d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 198 shared lines): libs/agno/agno/workflow/workflow.py:3303-3866 | libs/agno/agno/workflow/workflow.py:4308-4924 | libs/agno/agno/workflow/workflow.py:7836-8604 | libs/agno/agno/workflow/workflow.py:9599-10373 \u2014 These 4 members are variants of one another: a block of 198 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3303}}}],"partialFingerprints":{"codehealthFindingId/v1":"613b3c63a9ef3ea6f1c71819bcd44efe94bd466af331f5962b17e04f36c6b4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 129 shared lines): libs/agno/agno/db/postgres/async_postgres.py:4708-4885 | libs/agno/agno/db/postgres/postgres.py:5241-5418 | libs/agno/agno/db/sqlite/async_sqlite.py:4905-5084 | libs/agno/agno/db/sqlite/sqlite.py:5063-5243 \u2014 These 4 members are variants of one another: a block of 129 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4708}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b616fc9613824de2f6e3fa97a85d7487b5ec2847ba03bb0755470351cf4ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 119 shared lines): libs/agno/agno/agent/_messages.py:972-1257 | libs/agno/agno/agent/_messages.py:1268-1560 | libs/agno/agno/team/_messages.py:439-682 | libs/agno/agno/team/_messages.py:697-938 \u2014 These 4 members are variants of one another: a block of 119 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"620c885502f0abd9870897d1d8ea8059d5dd027855b1c8029a464bb720c1fcb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 93 shared lines): libs/agno/agno/utils/print_response/team.py:49-356 | libs/agno/agno/utils/print_response/team.py:387-954 | libs/agno/agno/utils/print_response/team.py:984-1289 | libs/agno/agno/utils/print_response/team.py:1320-1903 \u2014 These 4 members are variants of one another: a block of 93 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a523004cf0e1df383a9d4693a3db6b7853305ccda30abb94fd0f96a245f745"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 88 shared lines): libs/agno/agno/workflow/step.py:1168-1415 | libs/agno/agno/workflow/step.py:1497-1834 | libs/agno/agno/workflow/step.py:1853-2138 | libs/agno/agno/workflow/step.py:2161-2563 \u2014 These 4 members are variants of one another: a block of 88 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d210ab7b2f84dc361e2e11732004842edb101d6781f1c6e9ab1898902f13d6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 83 shared lines): libs/agno/agno/workflow/workflow.py:2954-3289 | libs/agno/agno/workflow/workflow.py:3944-4293 | libs/agno/agno/workflow/workflow.py:6992-7521 | libs/agno/agno/workflow/workflow.py:9057-9586 \u2014 These 4 members are variants of one another: a block of 83 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2954}}}],"partialFingerprints":{"codehealthFindingId/v1":"24159dbfae855e9d3cf3339a65d1bc031099e26d736800cc00f75120d6596570"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 62 shared lines): libs/agno/agno/session/agent.py:151-262 | libs/agno/agno/session/team.py:141-273 | libs/agno/agno/session/workflow.py:239-333 | libs/agno/agno/session/workflow.py:346-445 \u2014 These 4 members are variants of one another: a block of 62 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9029133d266b54d4cb32432728b11279c4c1317de77c80b3ec82118a4864922c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 59 shared lines): libs/agno/agno/db/mysql/mysql.py:1962-2028 | libs/agno/agno/db/postgres/postgres.py:2855-2920 | libs/agno/agno/db/singlestore/singlestore.py:1971-2036 | libs/agno/agno/db/sqlite/sqlite.py:2776-2841 \u2014 These 4 members are variants of one another: a block of 59 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"616933a9c2524b89ee9a65e22e6be7bb6a5aaa7abdcb763896eb180fa64df793"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 48 shared lines): libs/agno/agno/db/mysql/async_mysql.py:1870-1942 | libs/agno/agno/db/mysql/async_mysql.py:3900-3983 | libs/agno/agno/db/postgres/async_postgres.py:2273-2342 | libs/agno/agno/db/postgres/async_postgres.py:4181-4264 \u2014 These 4 members are variants of one another: a block of 48 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4824404388bd91fbbacff78ed008af5140fe52647877e7d28c71f0d471c874"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 47 shared lines): libs/agno/agno/agent/_messages.py:1585-1739 | libs/agno/agno/agent/_messages.py:1755-1909 | libs/agno/agno/team/_messages.py:1311-1453 | libs/agno/agno/team/_messages.py:1470-1612 \u2014 These 4 members are variants of one another: a block of 47 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"540333c177b3e1bbee72f658659d0bfc289e23aedf778a678a348b3f5f791751"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 42 shared lines): libs/agno/agno/db/mysql/async_mysql.py:253-391 | libs/agno/agno/db/mysql/mysql.py:248-384 | libs/agno/agno/db/postgres/async_postgres.py:424-584 | libs/agno/agno/db/singlestore/singlestore.py:317-487 \u2014 These 4 members are variants of one another: a block of 42 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffc87970826a04379f408ac02ef0e83bd4c9c264e825d5e32c53a6ef7bfe37a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 36 shared lines): libs/agno/agno/models/base.py:664-882 | libs/agno/agno/models/base.py:897-1105 | libs/agno/agno/models/base.py:1381-1611 | libs/agno/agno/models/base.py:1662-1892 \u2014 These 4 members are variants of one another: a block of 36 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":"libs/agno/agno/models/base.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc15682923ff5091c1c379eb3758243c0ce97f0d913acddf7d6c588f3d2af1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 35 shared lines): libs/agno/agno/db/mysql/mysql.py:248-384 | libs/agno/agno/db/postgres/async_postgres.py:424-584 | libs/agno/agno/db/singlestore/singlestore.py:317-487 | libs/agno/agno/db/sqlite/async_sqlite.py:408-558 \u2014 These 4 members are variants of one another: a block of 35 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b0319e815220b1faa2ae73c66b13e447cdb70c1fe087f58f8a11e083eb4c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 34 shared lines): libs/agno/agno/workflow/condition.py:333-369 | libs/agno/agno/workflow/loop.py:384-421 | libs/agno/agno/workflow/router.py:429-463 | libs/agno/agno/workflow/steps.py:207-243 \u2014 These 4 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 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"106c1a5b30d12d6af6d6cbb063cbeffed6846cf2ead2f4e2a943f159899347fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 32 shared lines): libs/agno/agno/db/postgres/async_postgres.py:8446-8521 | libs/agno/agno/db/postgres/postgres.py:11171-11244 | libs/agno/agno/db/sqlite/async_sqlite.py:7660-7732 | libs/agno/agno/db/sqlite/sqlite.py:10112-10182 \u2014 These 4 members are variants of one another: a block of 32 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8446}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3a95a948c78583e9dab1c06924d5c565a4cd494d8bc6cb46e65259967fcd8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 30 shared lines): libs/agno/agno/db/postgres/async_postgres.py:8189-8233 | libs/agno/agno/db/postgres/postgres.py:10922-10966 | libs/agno/agno/db/sqlite/async_sqlite.py:7403-7447 | libs/agno/agno/db/sqlite/sqlite.py:9863-9907 \u2014 These 4 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 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41998332cdb44f029d147f6044525c7ec5c2a0596f434ff19a30a371127b038"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 28 shared lines): libs/agno/agno/db/postgres/async_postgres.py:2578-2613 | libs/agno/agno/db/postgres/postgres.py:3141-3175 | libs/agno/agno/db/sqlite/async_sqlite.py:2826-2859 | libs/agno/agno/db/sqlite/sqlite.py:3088-3120 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f676c3d5f23f21e7c4cf7718825e4a2dd6c5538784ba6a987751db89930057"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 26 shared lines): libs/agno/agno/models/base.py:227-272 | libs/agno/agno/models/base.py:275-321 | libs/agno/agno/models/base.py:324-373 | libs/agno/agno/models/base.py:376-427 \u2014 These 4 members are variants of one another: a block of 26 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":"libs/agno/agno/models/base.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad525e9eaa2d156319a707cffa45fdc09303b0daede60185cc9f7fc47424b797"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 25 shared lines): libs/agno/agno/db/postgres/async_postgres.py:8030-8104 | libs/agno/agno/db/postgres/postgres.py:10765-10837 | libs/agno/agno/db/sqlite/async_sqlite.py:7244-7318 | libs/agno/agno/db/sqlite/sqlite.py:9706-9778 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8030}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba187515d6740d17d880eff45f86f86a6d4de76de1759ea7246aac54d0e70cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 24 shared lines): libs/agno/agno/models/aws/bedrock.py:561-595 | libs/agno/agno/models/aws/bedrock.py:607-645 | libs/agno/agno/models/aws/bedrock.py:657-694 | libs/agno/agno/models/aws/bedrock.py:706-744 \u2014 These 4 members are variants of one another: a block of 24 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"315537d75fe3d9f634bfe670db0024791b01776548df3194831cadadbdc64b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 23 shared lines): libs/agno/agno/db/mongo/async_mongo.py:1724-1789 | libs/agno/agno/db/mongo/async_mongo.py:3561-3642 | libs/agno/agno/db/mongo/mongo.py:1533-1596 | libs/agno/agno/db/mongo/mongo.py:3311-3392 \u2014 These 4 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 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae655af58eddc7f5f217279d6e5104e80005592936db624cf32b31845f15580"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2277-2329 | libs/agno/agno/db/json/json_db.py:2431-2483 | libs/agno/agno/db/redis/redis.py:3220-3282 | libs/agno/agno/db/valkey/valkey.py:3613-3679 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1c749f471bb9ad8d672e3ee43a725f48c317d78e931ed8189226cccd22db22"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): libs/agno/agno/db/postgres/postgres.py:10666-10694 | libs/agno/agno/db/postgres/postgres.py:10922-10966 | libs/agno/agno/db/sqlite/sqlite.py:9607-9635 | libs/agno/agno/db/sqlite/sqlite.py:9863-9907 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10666}}}],"partialFingerprints":{"codehealthFindingId/v1":"01269795472bc28f3cee669313e8261c0248735c59887caca06c2baf7e3e1e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 19 shared lines): libs/agno/agno/db/mysql/mysql.py:3567-3622 | libs/agno/agno/db/postgres/postgres.py:4400-4452 | libs/agno/agno/db/singlestore/singlestore.py:3554-3610 | libs/agno/agno/db/sqlite/sqlite.py:4343-4395 \u2014 These 4 members are variants of one another: a block of 19 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"49236fa4a3bff6c6c49f78504737c4a89afc667eedcf35da274e658e8ccf8567"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 15 shared lines): libs/agno/agno/db/postgres/async_postgres.py:7929-7957 | libs/agno/agno/db/postgres/postgres.py:10666-10694 | libs/agno/agno/db/sqlite/async_sqlite.py:7143-7171 | libs/agno/agno/db/sqlite/sqlite.py:9607-9635 \u2014 These 4 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7929}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d440275ba4462ac0abf4e6f7c35ab13bee3d21c29a178a5c9c67370c60af591"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 14 shared lines): libs/agno/agno/db/postgres/async_postgres.py:7293-7321 | libs/agno/agno/db/postgres/postgres.py:10045-10074 | libs/agno/agno/db/sqlite/async_sqlite.py:6507-6537 | libs/agno/agno/db/sqlite/sqlite.py:8988-9017 \u2014 These 4 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 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7293}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b187c81b01f1a8f53db2df3d24680ce76ef7f4a11e6fb3871ab726b38acdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 14 shared lines): libs/agno/agno/db/postgres/async_postgres.py:7693-7717 | libs/agno/agno/db/postgres/postgres.py:10436-10458 | libs/agno/agno/db/sqlite/async_sqlite.py:6907-6931 | libs/agno/agno/db/sqlite/sqlite.py:9377-9399 \u2014 These 4 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 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7693}}}],"partialFingerprints":{"codehealthFindingId/v1":"6254c8b244a883ed8a92b566d2506f4ea3001afa04f1ec662affe4bb5e6f50cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 13 shared lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1895-1935 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1988-2028 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2082-2106 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2149-2172 \u2014 These 4 members are variants of one another: a block of 13 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"6445b11a8a7ffadcb5976e479386db7678942f47f6cfb72249112f30bb474ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 13 shared lines): libs/agno/agno/db/postgres/async_postgres.py:7809-7831 | libs/agno/agno/db/postgres/postgres.py:10548-10570 | libs/agno/agno/db/sqlite/async_sqlite.py:7023-7045 | libs/agno/agno/db/sqlite/sqlite.py:9489-9511 \u2014 These 4 members are variants of one another: a block of 13 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"0052bc8ed17604723e9bacbb2ebd6c74ab618aaffd32b2837d7e3f2e697c90bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 90 shared lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1524-1712 | libs/agno/agno/db/in_memory/in_memory_db.py:1296-1445 | libs/agno/agno/db/json/json_db.py:1632-1817 \u2014 These 3 members are variants of one another: a block of 90 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d85f16541778a422473aaffeb6178e4d16e5776f9bcfde17e09c8d88648fa68"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 49 shared lines): libs/agno/agno/os/utils.py:3208-3287 | libs/agno/agno/os/utils.py:3303-3368 | libs/agno/agno/os/utils.py:3384-3449 \u2014 These 3 members are variants of one another: a block of 49 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2237decf407594f7a6b6affd0ea0613e19eb8725c9baaf962b1562b83de47ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (621 shared lines): libs/agno/agno/os/routers/agents/router.py:652-2700 | libs/agno/agno/os/routers/teams/router.py:551-2385 \u2014 These two members are variants of one another: 621 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51632b5d9c5d926c4f3edc853dad7242ab13d5d83a993c6107c2324d61c59fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (314 shared lines): libs/agno/agno/team/_run.py:593-1081 | libs/agno/agno/team/_run.py:1460-1900 \u2014 These two members are variants of one another: 314 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c587866d78d2fe0b65554c40176a659686758a0cb67b1d805bfeae4e528e7d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (293 shared lines): libs/agno/agno/team/_run.py:2508-3043 | libs/agno/agno/team/_run.py:3634-4130 \u2014 These two members are variants of one another: 293 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"882cc47b4471f3e8cd6bcfb4d4fec45c3ac1eacacf610d30c4e5e76c8bce5793"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (265 shared lines): libs/agno/agno/agent/_run.py:2141-2709 | libs/agno/agno/agent/_run.py:5248-5863 \u2014 These two members are variants of one another: 265 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee05398f326da715f886a84be758493197085f1d9fd50533752ffe4641abdad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (256 shared lines): libs/agno/agno/agent/_run.py:4720-5224 | libs/agno/agno/agent/_run.py:5248-5863 \u2014 These two members are variants of one another: 256 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4720}}}],"partialFingerprints":{"codehealthFindingId/v1":"791bf0bdf99b58461de42e7d6f6b2056c1d8a0812d5a864fcb402e4d69483fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (249 shared lines): libs/agno/agno/workflow/workflow.py:6607-6980 | libs/agno/agno/workflow/workflow.py:8650-9045 \u2014 These two members are variants of one another: 249 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f1ce4afeddbd165027a0d6c475d79a701978ed58e9e2e8b21a1ac13d80565b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (244 shared lines): libs/agno/agno/team/_run.py:9444-9905 | libs/agno/agno/team/_run.py:9930-10626 \u2014 These two members are variants of one another: 244 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde123e46a348248672b4639b320216e9a95469767930b9a5c9227ef96daa030"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (188 shared lines): libs/agno/agno/db/postgres/postgres.py:7065-7272 | libs/agno/agno/db/sqlite/sqlite.py:6873-7081 \u2014 These two members are variants of one another: 188 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7065}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fff41311459e5b268256eb7eec6f68b94314a07bb05ef41ce4e6a9d6a116bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (173 shared lines): libs/agno/agno/agent/_run.py:795-1319 | libs/agno/agno/agent/_run.py:2141-2709 \u2014 These two members are variants of one another: 173 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"185231818122f20418866b8d40031ca3489f64f5fd0db79ddcd7fc57a7b55af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (168 shared lines): libs/agno/agno/team/_run.py:3634-4130 | libs/agno/agno/team/_run.py:9930-10626 \u2014 These two members are variants of one another: 168 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d619c0249522db7f4ac80a8cc6c30b580bbe3bdf3eac96e0901a29d36ed4662"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (166 shared lines): libs/agno/agno/agent/_run.py:1529-1955 | libs/agno/agno/agent/_run.py:4720-5224 \u2014 These two members are variants of one another: 166 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d0192816075e09726695805497af06b7fb0f224bed268e974c42b5ccd3cd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (158 shared lines): libs/agno/agno/team/_run.py:1460-1900 | libs/agno/agno/team/_run.py:8477-8746 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3c323d338de5a1bed4d95edc3070de4bb4020580f09d31a2e2da4e88695d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (155 shared lines): libs/agno/agno/agent/_run.py:1529-1955 | libs/agno/agno/agent/_run.py:2141-2709 \u2014 These two members are variants of one another: 155 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"96374a2d1104efdd394dc998f0b199c2e6ea0c6bfa185193104df3d1ee759614"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (153 shared lines): libs/agno/agno/reasoning/manager.py:382-617 | libs/agno/agno/reasoning/manager.py:622-857 \u2014 These two members are variants of one another: 153 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eab2af76ad8602d3520c4cf94e20c3af20dd90da1da9a53f3b8578e7c2076bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (147 shared lines): libs/agno/agno/agent/_default_tools.py:91-266 | libs/agno/agno/team/_default_tools.py:1607-1771 \u2014 These two members are variants of one another: 147 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf8f7e966b95ab4a9abd67377765936762377192d2f1b67b07cee47fb472f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (140 shared lines): libs/agno/agno/team/_run.py:2133-2489 | libs/agno/agno/team/_run.py:2508-3043 \u2014 These two members are variants of one another: 140 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee90447b209527b0f4c838d9016d05b8ea2cf5ddad97f5250acf2649efad807"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (137 shared lines): libs/agno/agno/team/_run.py:3060-3451 | libs/agno/agno/team/_run.py:3634-4130 \u2014 These two members are variants of one another: 137 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3060}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cf7604367ed5d3b1ae78166873751ac2ac5eced8131811adf79384d6a5923e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (137 shared lines): libs/agno/agno/team/_run.py:593-1081 | libs/agno/agno/team/_run.py:2508-3043 \u2014 These two members are variants of one another: 137 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e76391ec4bba2c4ebd54cfdb820b379032bdb58d0cc110d49d3b39578c6db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (136 shared lines): libs/agno/agno/os/routers/agents/schema.py:94-346 | libs/agno/agno/os/routers/teams/schema.py:78-328 \u2014 These two members are variants of one another: 136 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":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6846e1221ed6c273c9051b6ad7e67738e7c955be5686f75745b563d58d8f1c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (136 shared lines): libs/agno/agno/db/postgres/postgres.py:5761-5912 | libs/agno/agno/db/sqlite/sqlite.py:5621-5773 \u2014 These two members are variants of one another: 136 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5761}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c7cf5d12a219121142bb2f88eb1a16df310490c09a2cad543f681c5c76ab5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (132 shared lines): libs/agno/agno/agent/_messages.py:1944-2138 | libs/agno/agno/agent/_messages.py:2159-2353 \u2014 These two members are variants of one another: 132 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"481027d996ec6ae0cd96e365dd4dd21683981cbd77d0e4ebddd92ed199eb8d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (128 shared lines): libs/agno/agno/team/_run.py:252-574 | libs/agno/agno/team/_run.py:593-1081 \u2014 These two members are variants of one another: 128 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a949b99f1df96174aa713f3b89836a30dc51d89e35a14fe7f45169e21f829d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (127 shared lines): libs/agno/agno/agent/_run.py:383-775 | libs/agno/agno/agent/_run.py:795-1319 \u2014 These two members are variants of one another: 127 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9849366d618136c20b548c53e2d8d2478b989aeee3e83878975e843fa530f209"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (127 shared lines): libs/agno/agno/team/_run.py:1098-1441 | libs/agno/agno/team/_run.py:1460-1900 \u2014 These two members are variants of one another: 127 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2daccdfae9d49691c8feb7b091cfc83952a629f94aa63101cb108270090523a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (127 shared lines): libs/agno/agno/agent/_storage.py:1202-1551 | libs/agno/agno/team/_storage.py:948-1433 \u2014 These two members are variants of one another: 127 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b495d5e7e659e38b81d466a1ed033e3b40c0f211f2105605a2819cda1270d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (126 shared lines): libs/agno/agno/team/_run.py:2508-3043 | libs/agno/agno/team/_run.py:9930-10626 \u2014 These two members are variants of one another: 126 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2508}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff70b6d3da66232e58d0a8e51d2e6c6226a769a15b171ada90544f7062226b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (125 shared lines): libs/agno/agno/knowledge/knowledge.py:3391-3591 | libs/agno/agno/knowledge/knowledge.py:3604-3782 \u2014 These two members are variants of one another: 125 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a2c5cd8872469f18a696ac00ee6eca3a08482db48dca8b81f5e3984f221cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (124 shared lines): libs/agno/agno/models/base.py:2433-2592 | libs/agno/agno/models/base.py:2647-3153 \u2014 These two members are variants of one another: 124 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae01558a79d03e45a7503c562c4c72d5d33e48b6bb19946d3c840a523c7b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (116 shared lines): libs/agno/agno/agent/_response.py:1040-1190 | libs/agno/agno/agent/_response.py:1204-1356 \u2014 These two members are variants of one another: 116 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1340943cc0a4d0317c24b81b18477f28f00b0067ba95af7aed4a4204846dc84"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (111 shared lines): libs/agno/agno/models/base.py:2242-2422 | libs/agno/agno/models/base.py:2647-3153 \u2014 These two members are variants of one another: 111 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4095fbdadfc6eb5ae54182c89f3f2fda065298dd776be764615f26e2852a160c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (110 shared lines): libs/agno/agno/agent/_storage.py:807-1196 | libs/agno/agno/team/_storage.py:482-846 \u2014 These two members are variants of one another: 110 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f6437f4d850a35af4a2f378fd7d9e2d9bd694720697ebd50b1fa7465e4b293"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (110 shared lines): libs/agno/agno/team/_response.py:998-1145 | libs/agno/agno/team/_response.py:1159-1308 \u2014 These two members are variants of one another: 110 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70164e463ee16a3d2dd74c11d16199bef51d886654999caea2035264c7049b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (109 shared lines): libs/agno/agno/eval/accuracy.py:365-502 | libs/agno/agno/eval/accuracy.py:510-646 \u2014 These two members are variants of one another: 109 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7ef0693cdfefe5f094316477c286706c2feda429e6002149af9f058bc56828"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (107 shared lines): libs/agno/agno/utils/print_response/agent.py:54-232 | libs/agno/agno/utils/print_response/agent.py:261-439 \u2014 These two members are variants of one another: 107 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d490a8b0f4c134712b608dd06a232c70370600961d15097df66a6cd079a742"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (106 shared lines): libs/agno_infra/agno/aws/resource/ec2/security_group.py:331-463 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:466-588 \u2014 These two members are variants of one another: 106 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f106e3e92fe0eb83800336721122e7fd272bb0e3a82ecadf4f709ba4af89235d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (102 shared lines): libs/agno/agno/eval/performance.py:500-632 | libs/agno/agno/eval/performance.py:637-774 \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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f03de98bb758746ba5646edc6f737cc27343609450bd10812d7c42d0e473de"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (95 shared lines): libs/agno/agno/eval/accuracy.py:655-762 | libs/agno/agno/eval/accuracy.py:771-876 \u2014 These two members are variants of one another: 95 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8127266ecd4bc5bc2357ca908fcd614e26567ed053d95fbb43236f3c940c30dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (92 shared lines): libs/agno/agno/knowledge/loaders/github.py:343-493 | libs/agno/agno/knowledge/loaders/github.py:502-652 \u2014 These two members are variants of one another: 92 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b4a548d504b02c3d1b213d98669b7d212e96c1f18ea0f613f1c338d8231b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (92 shared lines): libs/agno/agno/knowledge/knowledge.py:2548-2729 | libs/agno/agno/knowledge/knowledge.py:2737-2912 \u2014 These two members are variants of one another: 92 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d5c4e1ab5559629b2bbd177c1abd2e33bb4b16e2a51103dabb4559e4f75881"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (91 shared lines): libs/agno/agno/db/redis/redis.py:2244-2349 | libs/agno/agno/db/valkey/valkey.py:2576-2685 \u2014 These two members are variants of one another: 91 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ed6be4bb5771e0d4f921d2532ea1640b1affccb2078f916cae573b12b49510"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (90 shared lines): libs/agno/agno/agent/_tools.py:490-665 | libs/agno/agno/team/_tools.py:139-521 \u2014 These two members are variants of one another: 90 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9940547747caa8bf3c5d54e6dfbfc00d01078cefe520b76838d9f9c7c7dda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (89 shared lines): libs/agno/agno/agent/_response.py:1371-1713 | libs/agno/agno/team/_response.py:1323-1663 \u2014 These two members are variants of one another: 89 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee916b4df7c3bd318bc08b6191ffe82feee4424afccab2f61a97eab6cd5ff49"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (89 shared lines): libs/agno/agno/learn/stores/session_context.py:899-1030 | libs/agno/agno/learn/stores/session_context.py:1040-1171 \u2014 These two members are variants of one another: 89 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"505bfecddd1d2fe00416df7687883829e897e21ce729b898279a3a72a7925039"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (82 shared lines): libs/agno/agno/workflow/workflow.py:5800-5963 | libs/agno/agno/workflow/workflow.py:6200-6382 \u2014 These two members are variants of one another: 82 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7555df90495d3cf8a703d42c51c60f8cf9bc5404aadf7c4486c4a9958253ece7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (81 shared lines): libs/agno/agno/utils/media_offload.py:187-293 | libs/agno/agno/utils/media_offload.py:399-501 \u2014 These two members are variants of one another: 81 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb669a0fb402a384ee2a6ff89996c69d41add8705cfe75bd8d399fe463bfc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (80 shared lines): libs/agno/agno/team/_messages.py:1030-1152 | libs/agno/agno/team/_messages.py:1173-1294 \u2014 These two members are variants of one another: 80 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e7bd41f13a78a5749b74387b23569f55fe6dbf279bca7ea35b8bc128cb65f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (78 shared lines): libs/agno/agno/knowledge/reader/website_reader.py:156-288 | libs/agno/agno/knowledge/reader/website_reader.py:291-401 \u2014 These two members are variants of one another: 78 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":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"54283b9c4470f2959f4a416affce04ea3a06dd237a3946dd336334f66f0a4649"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (72 shared lines): libs/agno/agno/learn/migrations.py:291-451 | libs/agno/agno/learn/migrations.py:460-570 \u2014 These two members are variants of one another: 72 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"884dec57dd5caad59f35f46097e196790958e7cfd751e96452de5f8f9bed9413"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (72 shared lines): libs/agno/agno/db/mysql/mysql.py:4108-4184 | libs/agno/agno/db/singlestore/singlestore.py:4013-4088 \u2014 These two members are variants of one another: 72 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d349f4fb6118e6d16a793a4fad73912df82c6c442224039a1393627030199be"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): cookbook/02_agents/18_checkpointing/01_crash_recovery.py:86-165 | cookbook/03_teams/23_checkpointing/01_crash_recovery.py:85-161 \u2014 These two members are variants of one another: 71 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":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b762013d606518a91f659435c18a8b91966e9d2fc1c4677f9be2728b6f565a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): libs/agno/agno/agent/_run_options.py:94-186 | libs/agno/agno/team/_run_options.py:92-182 \u2014 These two members are variants of one another: 71 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":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f73743c593446587563d244d4a23c8ef712e5b2c5d56760aa52f70b3e3e83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): libs/agno/agno/os/middleware/jwt.py:1097-1206 | libs/agno/agno/os/middleware/jwt.py:1297-1390 \u2014 These two members are variants of one another: 71 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2316ed7e9f81e578c68cb20bcaa318c2d688ea3d8618e8309cf0717278680a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): libs/agno/agno/knowledge/knowledge.py:3790-3894 | libs/agno/agno/knowledge/knowledge.py:3902-4007 \u2014 These two members are variants of one another: 70 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd2178d133b7585f4b07156b1c7c9c9dd3bb2044adc13628c5c204265ebe7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (70 shared lines): libs/agno/agno/workflow/workflow.py:5973-6088 | libs/agno/agno/workflow/workflow.py:6392-6518 \u2014 These two members are variants of one another: 70 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5973}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39f31df21d7ebcce87935501f47c3bd1e4e7022e109b5563f94e3edc3e77a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): libs/agno/agno/scheduler/manager.py:175-271 | libs/agno/agno/scheduler/manager.py:425-521 \u2014 These two members are variants of one another: 69 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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8833bd5b6a6578c9b34e4fdbe4b20a94b9338710ff0a7742d90f0798658aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): libs/agno/agno/learn/stores/user_memory.py:1183-1323 | libs/agno/agno/learn/stores/user_memory.py:1333-1477 \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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c6fecfebaa8e56e4bdbafb262de2df1243a4a26ba9ee9ef855639607047ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): libs/agno/agno/knowledge/knowledge.py:2977-3089 | libs/agno/agno/knowledge/knowledge.py:3100-3201 \u2014 These two members are variants of one another: 63 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"937dcff1454162ac2237f08466edc20f7f76e60b51e1e7408d521a8079b87d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): libs/agno/agno/team/_messages.py:1741-1806 | libs/agno/agno/utils/prompts.py:10-95 \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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b533620d935fd81c8ed64b5000cc71de6b49855f6bad7bcf5e72395f5a575b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): libs/agno/agno/db/mongo/async_mongo.py:1098-1201 | libs/agno/agno/db/mongo/mongo.py:909-1012 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8d6842be16bd0837dabde1fedc10c7b2dd112aab703a81a382e08d834fe46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): libs/agno/agno/utils/print_response/agent.py:580-671 | libs/agno/agno/utils/print_response/agent.py:700-791 \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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24cee7d5a2f6c30d8b9ddb3c60db2840ea83406d5e7cd5c7e2332e8562d3b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): libs/agno/agno/db/mongo/async_mongo.py:2446-2611 | libs/agno/agno/db/mongo/mongo.py:2230-2378 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa0d84161ad7538ccd2d745e83a3437e70043d4813f87916de478945a53c29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): libs/agno/agno/vectordb/pgvector/pgvector.py:1051-1175 | libs/agno/agno/vectordb/pgvector/pgvector.py:1319-1478 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"2add9f95a6314915612dd7ec9631177db50f7a2bbc6f067b7b75388b354ea564"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): cookbook/frameworks/claude-agent-sdk/metrics_agentos.py:48-132 | cookbook/frameworks/codex/codex_metrics_agentos.py:49-129 \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":"cookbook/frameworks/claude-agent-sdk/metrics_agentos.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"959f8ce39326de27b90e89e3d74902c6365463b55d8b00021bb2573224c92a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): libs/agno/agno/knowledge/loaders/sharepoint.py:217-327 | libs/agno/agno/knowledge/loaders/sharepoint.py:336-446 \u2014 These two members are variants of one another: 55 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"abccf4ea3733562dccccc57b3d8dbecf26900472cb90b5e2853b871446ed4dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): libs/agno/agno/knowledge/knowledge.py:876-992 | libs/agno/agno/knowledge/knowledge.py:1023-1161 \u2014 These two members are variants of one another: 53 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52ad5acb5423d03c472601e7d52c8591d4899bd52ccce39bbbcd90d1ffc988"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): libs/agno/agno/db/mongo/async_mongo.py:2298-2362 | libs/agno/agno/db/mongo/mongo.py:2093-2156 \u2014 These two members are variants of one another: 51 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdaff577033390a9eb8aa2f9bec4864048017a63ce4b61b1e6d9f8f8c5308b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): libs/agno/agno/agent/_messages.py:2580-2690 | libs/agno/agno/agent/_messages.py:2703-2815 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3bf4596e67911b6f81af5452d810571ca6892119a443473de29aba0a821b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): libs/agno/agno/team/_default_tools.py:1784-1874 | libs/agno/agno/team/_default_tools.py:1887-1996 \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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"86608ea1161b4bc07a6f1656e923f9a3c1f9a3acb8bebda988fe8edbb5b84567"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): libs/agno/agno/knowledge/knowledge.py:4930-5099 | libs/agno/agno/knowledge/knowledge.py:5102-5283 \u2014 These two members are variants of one another: 48 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4930}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe597e758d75758e16e55f445e3f16a57b33bdd45a1d2531aa97398c78f80999"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): libs/agno/agno/utils/print_response/agent.py:453-551 | libs/agno/agno/utils/print_response/agent.py:804-937 \u2014 These two members are variants of one another: 48 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d69e7e8089ac39ce0243620c9754011e199d18f2f6bc5ea2dbfadb2c81c4f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): libs/agno/agno/agent/_response.py:174-249 | libs/agno/agno/team/_response.py:588-662 \u2014 These two members are variants of one another: 47 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5b92bdda95da14b809e082f5450c144a7d714f383cb8c3af8989679c4d426a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): libs/agno/agno/tools/minimax.py:79-156 | libs/agno/agno/tools/minimax.py:165-238 \u2014 These two members are variants of one another: 46 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":"libs/agno/agno/tools/minimax.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"665689abeac4c15712de51f0b2fae3bc60e7022aef5da259fbaa7a95da92e27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): libs/agno/agno/db/filter_converter.py:69-168 | libs/agno/agno/db/valkey/utils.py:261-357 \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":"libs/agno/agno/db/filter_converter.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcd2dc24a04708edcf495c44d3a52013a26ec0fbb38d8b2018844dee23d621f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): libs/agno/agno/run/agent.py:791-897 | libs/agno/agno/run/team.py:872-961 \u2014 These two members are variants of one another: 44 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47ad832d36cefb19a0132fcb4c9b62f323d6c0da1e576e55429f66c3ce9bc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): libs/agno/agno/db/postgres/async_postgres.py:6373-6449 | libs/agno/agno/db/postgres/postgres.py:9066-9139 \u2014 These two members are variants of one another: 43 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb926a1b0eecbc2dc1d70492afa1bc05409de71c9f5afb81080046559820d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): libs/agno/agno/knowledge/knowledge.py:2400-2465 | libs/agno/agno/knowledge/knowledge.py:2475-2540 \u2014 These two members are variants of one another: 42 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5af316c84173ecbeb2088ec9b6e5ddaf31286ccd1095663ab76f68f3950159"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): libs/agno/agno/agent/_response.py:755-837 | libs/agno/agno/team/_response.py:805-895 \u2014 These two members are variants of one another: 41 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d833442fe072b72bf0e4340c27cf06bcdb962f1988274cd4f2c2099b534ebbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): libs/agno/agno/tools/studio.py:3890-3958 | libs/agno/agno/tools/studio.py:3970-4043 \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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"780e0e2ca7c9d66eae5fd744cfee2c7cfbfc315b238ebf4989179d1d4ebc6f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:101-174 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:184-302 \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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf31382704ef2a1d483c0a94e9ee8cfd94a6256d6cdabab48d81623156ffb0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:8363-8408 | libs/agno/agno/db/sqlite/async_sqlite.py:7577-7622 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b917c44323dcbc8f9b6b1004ece87e70c36f7ea5f88bd57673b49b0080f929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): libs/agno/agno/db/postgres/postgres.py:11088-11133 | libs/agno/agno/db/sqlite/sqlite.py:10029-10074 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":11088}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62046799140536e7ce51e87fcb6a1ec2e467d9bf66642b4ee595132377537aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:434-468 | libs/agno/agno/db/json/json_db.py:489-526 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b62d6a0d1f72efdd09f102b6d413462f5f9ec114b719df1ac14b9151e6eb899"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): libs/agno/agno/models/base.py:1118-1175 | libs/agno/agno/models/base.py:1188-1245 \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":"libs/agno/agno/models/base.py"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cac77249296f41bdb88a6084f075e7257a475ec66fbaf3195a2fcfda41a5d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/redis/redis.py:622-671 | libs/agno/agno/db/valkey/valkey.py:737-776 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f50e564904ba9bc7dfdf0e47eed1d1c4c73fb4d5e2626c4192ba5a75d3cb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1018-1061 | libs/agno/agno/db/json/json_db.py:1104-1147 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"0683ac0f2a44c97e4b5478e09844fa5141a38ca20e3afdd8e02e4ae18e35629a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/tracing/schemas.py:47-83 | libs/agno/agno/tracing/schemas.py:114-147 \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":"libs/agno/agno/tracing/schemas.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66535f7c0d2cc5a04d8baa07b849aef175c8a904c1303a3e6e5d5869062bad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/surrealdb/surrealdb.py:3386-3412 | libs/agno/agno/db/surrealdb/surrealdb.py:3415-3445 \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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd75c348df82dd637caac2cd26a219728b86921aa13d87fa983564b2ca5d90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/models/huggingface/huggingface.py:265-284 | libs/agno/agno/models/huggingface/huggingface.py:296-315 \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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec99d4431ae580d833b080751dc10e5d3a1baa6c6a9fcc4a11a4a8635fa1c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno_infra/agno/docker/app/base.py:132-181 | libs/agno_infra/agno/docker/app/postgres/postgres.py:63-108 \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":"libs/agno_infra/agno/docker/app/base.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d90e20b16e84db59cd3ff908c1eec098600ab306944d63419b8532dc29e2d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (21 members, 50\u002B identical tokens): libs/agno/agno/agent/_cli.py:60-136 | libs/agno/agno/agent/_cli.py:167-236 | libs/agno/agno/agent/_run.py:4246-4429 | libs/agno/agno/agent/agent.py:1315-1343 | libs/agno/agno/agent/agent.py:1373-1401 | libs/agno/agno/agent/agent.py:1549-1573 | libs/agno/agno/agent/agent.py:1657-1682 | libs/agno/agno/agent/agent.py:1744-1766 | libs/agno/agno/agent/agent.py:1829-1852 | libs/agno/agno/agent/remote.py:286-360 | libs/agno/agno/team/_cli.py:76-155 | libs/agno/agno/team/_cli.py:187-261 | libs/agno/agno/team/_run.py:9255-9421 | libs/agno/agno/team/remote.py:279-353 | libs/agno/agno/team/team.py:943-967 | libs/agno/agno/team/team.py:1052-1077 | libs/agno/agno/team/team.py:1144-1166 | libs/agno/agno/team/team.py:1230-1253 | libs/agno/agno/team/team.py:1313-1342 | libs/agno/agno/team/team.py:1373-1402 | libs/agno/agno/workflow/workflow.py:10847-11060 \u2014 These 21 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 21 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 21 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0229f851fd29c096f416ec5a2fabcc119f2a25afca6e4e56e7ed31d257e1202"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (20 members, 50\u002B identical tokens): libs/agno/agno/workflow/condition.py:493-658 | libs/agno/agno/workflow/condition.py:682-928 | libs/agno/agno/workflow/condition.py:948-1111 | libs/agno/agno/workflow/condition.py:1135-1383 | libs/agno/agno/workflow/loop.py:442-582 | libs/agno/agno/workflow/loop.py:605-826 | libs/agno/agno/workflow/loop.py:847-979 | libs/agno/agno/workflow/loop.py:1002-1223 | libs/agno/agno/workflow/parallel.py:328-457 | libs/agno/agno/workflow/parallel.py:480-678 | libs/agno/agno/workflow/parallel.py:697-823 | libs/agno/agno/workflow/parallel.py:846-1031 | libs/agno/agno/workflow/router.py:639-761 | libs/agno/agno/workflow/router.py:784-951 | libs/agno/agno/workflow/router.py:970-1098 | libs/agno/agno/workflow/router.py:1121-1293 | libs/agno/agno/workflow/steps.py:262-374 | libs/agno/agno/workflow/steps.py:397-549 | libs/agno/agno/workflow/steps.py:568-679 | libs/agno/agno/workflow/steps.py:702-853 \u2014 These 20 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 20 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 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d5badf7bd309cf30804c908835a0e705f951ec62928715b763430f724ee861"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): libs/agno/agno/reasoning/anthropic.py:75-104 | libs/agno/agno/reasoning/anthropic.py:154-183 | libs/agno/agno/reasoning/azure_ai_foundry.py:24-50 | libs/agno/agno/reasoning/azure_ai_foundry.py:58-83 | libs/agno/agno/reasoning/deepseek.py:38-63 | libs/agno/agno/reasoning/deepseek.py:117-142 | libs/agno/agno/reasoning/gemini.py:62-84 | libs/agno/agno/reasoning/gemini.py:92-114 | libs/agno/agno/reasoning/groq.py:27-56 | libs/agno/agno/reasoning/groq.py:65-94 | libs/agno/agno/reasoning/moonshot.py:75-101 | libs/agno/agno/reasoning/moonshot.py:110-135 | libs/agno/agno/reasoning/ollama.py:81-107 | libs/agno/agno/reasoning/ollama.py:115-140 | libs/agno/agno/reasoning/openai.py:49-79 | libs/agno/agno/reasoning/openai.py:88-117 | libs/agno/agno/reasoning/vertexai.py:29-58 | libs/agno/agno/reasoning/vertexai.py:66-95 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc910bc0e015d16a85a57a83ce38b26eb7ccafa704053b4e17322998a8a47718"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): libs/agno/agno/reasoning/anthropic.py:111-146 | libs/agno/agno/reasoning/anthropic.py:190-225 | libs/agno/agno/reasoning/azure_ai_foundry.py:90-129 | libs/agno/agno/reasoning/azure_ai_foundry.py:136-175 | libs/agno/agno/reasoning/deepseek.py:70-108 | libs/agno/agno/reasoning/deepseek.py:149-187 | libs/agno/agno/reasoning/gemini.py:121-154 | libs/agno/agno/reasoning/gemini.py:161-194 | libs/agno/agno/reasoning/groq.py:101-145 | libs/agno/agno/reasoning/groq.py:152-196 | libs/agno/agno/reasoning/moonshot.py:142-180 | libs/agno/agno/reasoning/moonshot.py:187-225 | libs/agno/agno/reasoning/ollama.py:147-186 | libs/agno/agno/reasoning/ollama.py:193-232 | libs/agno/agno/reasoning/openai.py:124-173 | libs/agno/agno/reasoning/openai.py:180-229 | libs/agno/agno/reasoning/vertexai.py:102-137 | libs/agno/agno/reasoning/vertexai.py:144-179 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a5bbe1d6b560f9f14389f8921b6373c6fb9e03522836656bb229a062398b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:2941-2954 | libs/agno/agno/db/firestore/firestore.py:2649-2662 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1777-1790 | libs/agno/agno/db/in_memory/in_memory_db.py:1514-1527 | libs/agno/agno/db/json/json_db.py:1886-1899 | libs/agno/agno/db/mongo/async_mongo.py:2924-2937 | libs/agno/agno/db/mongo/mongo.py:2680-2693 | libs/agno/agno/db/mysql/async_mysql.py:3232-3245 | libs/agno/agno/db/mysql/mysql.py:3174-3187 | libs/agno/agno/db/postgres/async_postgres.py:3476-3489 | libs/agno/agno/db/postgres/postgres.py:3998-4011 | libs/agno/agno/db/redis/redis.py:2615-2628 | libs/agno/agno/db/singlestore/singlestore.py:3167-3180 | libs/agno/agno/db/sqlite/async_sqlite.py:3716-3729 | libs/agno/agno/db/sqlite/sqlite.py:3932-3945 | libs/agno/agno/db/surrealdb/surrealdb.py:2291-2304 | libs/agno/agno/db/valkey/valkey.py:2954-2967 \u2014 These 17 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 17 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 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"387690295f264cb15ca9263965717f8460964c92c03a98b6fef2ef94ea4b4281"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:2707-2869 | libs/agno/agno/db/firestore/firestore.py:2431-2582 | libs/agno/agno/db/mongo/async_mongo.py:2692-2840 | libs/agno/agno/db/mongo/mongo.py:2457-2598 | libs/agno/agno/db/mysql/async_mysql.py:2976-3135 | libs/agno/agno/db/mysql/mysql.py:2925-3076 | libs/agno/agno/db/postgres/async_postgres.py:3217-3379 | libs/agno/agno/db/postgres/postgres.py:3745-3900 | libs/agno/agno/db/redis/redis.py:2414-2537 | libs/agno/agno/db/singlestore/singlestore.py:2921-3069 | libs/agno/agno/db/sqlite/async_sqlite.py:3458-3619 | libs/agno/agno/db/sqlite/sqlite.py:3681-3834 | libs/agno/agno/db/surrealdb/surrealdb.py:2003-2169 | libs/agno/agno/db/valkey/valkey.py:2750-2876 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"2037a2884ad657583c506a842ac4a765519e6a87788bc823fce26acf5ae2a3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:2674-2702 | libs/agno/agno/db/firestore/firestore.py:2398-2426 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1492-1519 | libs/agno/agno/db/in_memory/in_memory_db.py:1264-1291 | libs/agno/agno/db/json/json_db.py:1600-1627 | libs/agno/agno/db/mongo/mongo.py:2424-2452 | libs/agno/agno/db/mysql/mysql.py:2892-2920 | libs/agno/agno/db/postgres/postgres.py:3712-3740 | libs/agno/agno/db/redis/redis.py:2381-2409 | libs/agno/agno/db/singlestore/singlestore.py:2888-2916 | libs/agno/agno/db/sqlite/sqlite.py:3648-3676 | libs/agno/agno/db/surrealdb/surrealdb.py:1970-1998 | libs/agno/agno/db/valkey/valkey.py:2717-2745 \u2014 These 13 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 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"badd68bb9048009b76779842b34482d6243ac34369d910cbb658b6e95c194c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:3239-3265 | libs/agno/agno/db/firestore/firestore.py:2933-2960 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1998-2025 | libs/agno/agno/db/in_memory/in_memory_db.py:1712-1739 | libs/agno/agno/db/json/json_db.py:2120-2147 | libs/agno/agno/db/mongo/mongo.py:2950-2977 | libs/agno/agno/db/mysql/mysql.py:3435-3462 | libs/agno/agno/db/postgres/postgres.py:4271-4298 | libs/agno/agno/db/redis/redis.py:2876-2903 | libs/agno/agno/db/singlestore/singlestore.py:3426-3453 | libs/agno/agno/db/sqlite/sqlite.py:4207-4234 | libs/agno/agno/db/surrealdb/surrealdb.py:2591-2618 | libs/agno/agno/db/valkey/valkey.py:3223-3250 \u2014 These 13 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 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"462c6dfdb4bcb8cfb4e147413a5443157ceb5d616768ecb03cc58c060cee362a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:2551-2615 | libs/agno/agno/db/mysql/mysql.py:2535-2605 | libs/agno/agno/db/mysql/mysql.py:2608-2623 | libs/agno/agno/db/postgres/async_postgres.py:2803-2867 | libs/agno/agno/db/postgres/postgres.py:3366-3436 | libs/agno/agno/db/postgres/postgres.py:3439-3454 | libs/agno/agno/db/singlestore/singlestore.py:2527-2597 | libs/agno/agno/db/singlestore/singlestore.py:2600-2615 | libs/agno/agno/db/sqlite/async_sqlite.py:3041-3106 | libs/agno/agno/db/sqlite/sqlite.py:3303-3374 | libs/agno/agno/db/sqlite/sqlite.py:3377-3392 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3efc74f51d44d88f020035598d2eba94e090ab3314314d81d531247346f84a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:4313-4389 | libs/agno/agno/db/mysql/mysql.py:4253-4327 | libs/agno/agno/db/postgres/async_postgres.py:4606-4693 | libs/agno/agno/db/postgres/async_postgres.py:5029-5158 | libs/agno/agno/db/postgres/postgres.py:5141-5226 | libs/agno/agno/db/postgres/postgres.py:5560-5688 | libs/agno/agno/db/singlestore/singlestore.py:4157-4231 | libs/agno/agno/db/sqlite/async_sqlite.py:4804-4890 | libs/agno/agno/db/sqlite/async_sqlite.py:5212-5341 | libs/agno/agno/db/sqlite/sqlite.py:4957-5048 | libs/agno/agno/db/sqlite/sqlite.py:5365-5495 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4313}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a0686fb3e7c4cc5512b08ae42cac22e7ba43b8fdeca8726d66312a603c0dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): libs/agno/agno/models/dashscope/dashscope.py:43-68 | libs/agno/agno/models/deepseek/deepseek.py:113-139 | libs/agno/agno/models/groq/groq.py:73-95 | libs/agno/agno/models/minimax/minimax.py:38-63 | libs/agno/agno/models/moonshot/moonshot.py:105-131 | libs/agno/agno/models/n1n/n1n.py:31-57 | libs/agno/agno/models/nebius/nebius.py:30-53 | libs/agno/agno/models/openai/chat.py:107-132 | libs/agno/agno/models/openai/responses.py:199-234 | libs/agno/agno/models/synthorai/synthorai.py:31-57 | libs/agno/agno/models/trustedrouter/trustedrouter.py:30-53 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/dashscope/dashscope.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f40f4f2225ce5e3621fa19b6e2c9b03b877b1d78d78f03fe03cc6036f07953a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): libs/agno/agno/agent/_run.py:150-187 | libs/agno/agno/agent/_run.py:197-229 | libs/agno/agno/team/_run.py:5234-5262 | libs/agno/agno/team/_run.py:5266-5297 | libs/agno/agno/utils/agent.py:1239-1265 | libs/agno/agno/utils/agent.py:1299-1324 | libs/agno/agno/utils/callables.py:65-101 | libs/agno/agno/utils/callables.py:109-130 | libs/agno/agno/utils/callables.py:138-173 | libs/agno/agno/utils/callables.py:181-205 \u2014 These 10 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 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eff276e93fe929bf3047d148d407e3d91b1af04fc79dfaebc4c4224b38af99"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:2182-2199 | libs/agno/agno/db/mongo/mongo.py:1979-1994 | libs/agno/agno/db/mysql/async_mysql.py:2523-2541 | libs/agno/agno/db/mysql/mysql.py:2509-2525 | libs/agno/agno/db/postgres/async_postgres.py:2775-2793 | libs/agno/agno/db/postgres/postgres.py:3340-3356 | libs/agno/agno/db/singlestore/singlestore.py:2501-2517 | libs/agno/agno/db/sqlite/async_sqlite.py:3013-3031 | libs/agno/agno/db/sqlite/sqlite.py:3277-3293 | libs/agno/agno/db/utils.py:1868-1880 \u2014 These 10 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 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d40bfdb50408a91e4bde283cfbdbf4da7748aa700213aa9e9c4910c7fcc4e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py:95-106 | cookbook/07_knowledge/09_archive/vector_dbs/couchbase_db.py:221-234 | cookbook/07_knowledge/09_archive/vector_dbs/lance_db.py:60-73 | cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py:70-81 | cookbook/07_knowledge/09_archive/vector_dbs/pgvector_db.py:66-77 | cookbook/07_knowledge/09_archive/vector_dbs/pinecone_db.py:75-86 | cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py:78-91 | cookbook/07_knowledge/09_archive/vector_dbs/singlestore_db.py:86-97 | cookbook/07_knowledge/09_archive/vector_dbs/upstash_db.py:69-80 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa492c8ef5db7437897f9e01f011a5667a0cbe793bc6d184d827e696d44fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:1021-1081 | libs/agno/agno/db/mongo/mongo.py:832-892 | libs/agno/agno/db/mysql/async_mysql.py:1055-1139 | libs/agno/agno/db/mysql/mysql.py:1073-1154 | libs/agno/agno/db/postgres/async_postgres.py:1674-1764 | libs/agno/agno/db/postgres/postgres.py:1912-1999 | libs/agno/agno/db/singlestore/singlestore.py:1119-1200 | libs/agno/agno/db/sqlite/async_sqlite.py:1601-1695 | libs/agno/agno/db/sqlite/sqlite.py:1875-1964 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c102d226db52550114998d99c5ef74319c5b8ff8b9f4f005a91e8331adea2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:2972-3039 | libs/agno/agno/db/mongo/mongo.py:2728-2794 | libs/agno/agno/db/mysql/async_mysql.py:3277-3341 | libs/agno/agno/db/mysql/mysql.py:3219-3281 | libs/agno/agno/db/postgres/async_postgres.py:3532-3596 | libs/agno/agno/db/postgres/postgres.py:4054-4117 | libs/agno/agno/db/singlestore/singlestore.py:3212-3274 | libs/agno/agno/db/sqlite/async_sqlite.py:3772-3835 | libs/agno/agno/db/sqlite/sqlite.py:3988-4051 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"415434ec4eb1a8f7134382fdbcd5f3648af767e52507d1ab16b57d91a99e9728"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/agno/agno/agent/_hooks.py:56-151 | libs/agno/agno/agent/_hooks.py:167-259 | libs/agno/agno/agent/_hooks.py:274-360 | libs/agno/agno/agent/_hooks.py:375-461 | libs/agno/agno/team/_hooks.py:253-335 | libs/agno/agno/team/_hooks.py:351-438 | libs/agno/agno/team/_hooks.py:453-533 | libs/agno/agno/team/_hooks.py:548-633 \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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afdfeb11636b4defa5d11d77f44f8fe83a71169c6577c80ca08279b72eda3db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/agno/agno/agent/_tools.py:1097-1139 | libs/agno/agno/agent/_tools.py:1149-1193 | libs/agno/agno/agent/_tools.py:1199-1249 | libs/agno/agno/agent/_tools.py:1259-1313 | libs/agno/agno/team/_run.py:5422-5474 | libs/agno/agno/team/_run.py:5484-5550 | libs/agno/agno/team/_run.py:5559-5628 | libs/agno/agno/team/_run.py:5638-5727 \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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc59bdfe0cc01b7b59f10c073a6082a16490d47bf10aa636035c741111d0d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/agno/agno/db/migrations/v1_to_v2.py:390-450 | libs/agno/agno/db/mongo/mongo.py:3457-3512 | libs/agno/agno/db/mysql/async_mysql.py:4046-4101 | libs/agno/agno/db/mysql/mysql.py:3989-4042 | libs/agno/agno/db/postgres/async_postgres.py:4331-4384 | libs/agno/agno/db/postgres/postgres.py:4867-4920 | libs/agno/agno/db/sqlite/async_sqlite.py:4535-4588 | libs/agno/agno/db/sqlite/sqlite.py:5500-5553 \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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced4d34ea9570f3b36297c4c25fb041e22969996c0310fbf7ffaef7772f0fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7732-7742 | libs/agno/agno/db/postgres/async_postgres.py:8289-8307 | libs/agno/agno/db/postgres/postgres.py:10473-10481 | libs/agno/agno/db/postgres/postgres.py:11018-11034 | libs/agno/agno/db/sqlite/async_sqlite.py:6946-6956 | libs/agno/agno/db/sqlite/async_sqlite.py:7503-7521 | libs/agno/agno/db/sqlite/sqlite.py:9414-9422 | libs/agno/agno/db/sqlite/sqlite.py:9959-9975 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7732}}}],"partialFingerprints":{"codehealthFindingId/v1":"5206b97328eda7b6768b76e8e23573986a4019e2218187515815c972a3b224c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/agno/agno/tools/google/gmail.py:1419-1444 | libs/agno/agno/tools/google/gmail.py:1448-1472 | libs/agno/agno/tools/google/gmail.py:1517-1547 | libs/agno/agno/tools/google/gmail.py:1551-1568 | libs/agno/agno/tools/google/gmail.py:1572-1595 | libs/agno/agno/tools/google/gmail.py:1634-1657 | libs/agno/agno/tools/google/gmail.py:1770-1801 | libs/agno/agno/tools/google/gmail.py:1837-1855 \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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4df7d9c5970ca6e9905225a476a8144ccfe8b878872766276527beeda20124"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/agno/agno/tools/whatsapp.py:125-152 | libs/agno/agno/tools/whatsapp.py:161-192 | libs/agno/agno/tools/whatsapp.py:202-245 | libs/agno/agno/tools/whatsapp.py:256-320 | libs/agno/agno/tools/whatsapp.py:329-367 | libs/agno/agno/tools/whatsapp.py:377-418 | libs/agno/agno/tools/whatsapp.py:428-465 | libs/agno/agno/tools/whatsapp.py:473-502 \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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfd193859ef1000096d54b6e181acb421f718b458741061c15a46550bf82ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): cookbook/12_context/18_gmail.py:59-83 | cookbook/12_context/18_gmail.py:94-118 | cookbook/12_context/19_calendar.py:59-84 | cookbook/12_context/19_calendar.py:95-119 | cookbook/12_context/25_write_tools_restriction.py:46-81 | cookbook/12_context/25_write_tools_restriction.py:92-126 | cookbook/12_context/25_write_tools_restriction.py:137-173 \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":"cookbook/12_context/18_gmail.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31282d8255b98f111608315528734402c928f4ba8a25c6f17e6a0baafba9a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:3769-3879 | libs/agno/agno/db/firestore/firestore.py:3472-3559 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2378-2463 | libs/agno/agno/db/json/json_db.py:2536-2621 | libs/agno/agno/db/redis/redis.py:3347-3445 | libs/agno/agno/db/surrealdb/surrealdb.py:3004-3110 | libs/agno/agno/db/valkey/valkey.py:3744-3842 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3769}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f0afbf29e8cd7c2317dd0e4495761c59e1443a753d52eb6c12d8b0a5c685a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:713-727 | libs/agno/agno/db/mysql/mysql.py:706-719 | libs/agno/agno/db/postgres/async_postgres.py:1016-1028 | libs/agno/agno/db/postgres/postgres.py:1170-1181 | libs/agno/agno/db/singlestore/singlestore.py:783-795 | libs/agno/agno/db/sqlite/async_sqlite.py:967-981 | libs/agno/agno/db/sqlite/sqlite.py:1159-1172 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e82b72de8fcbeb34f7ea27a36796dff9ce332ed9fd2ce2fbfe9d612d82142d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:2452-2518 | libs/agno/agno/db/mysql/mysql.py:2440-2504 | libs/agno/agno/db/postgres/async_postgres.py:2719-2770 | libs/agno/agno/db/postgres/postgres.py:3284-3335 | libs/agno/agno/db/singlestore/singlestore.py:2432-2496 | libs/agno/agno/db/sqlite/async_sqlite.py:2957-3008 | libs/agno/agno/db/sqlite/sqlite.py:3221-3272 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a845b929328edaa26e59ddb0c64c5dd35adde5dd2c26ef2208a880af87d404d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:2635-2654 | libs/agno/agno/db/mysql/mysql.py:2626-2644 | libs/agno/agno/db/postgres/async_postgres.py:2887-2906 | libs/agno/agno/db/postgres/postgres.py:3457-3475 | libs/agno/agno/db/singlestore/singlestore.py:2618-2636 | libs/agno/agno/db/sqlite/async_sqlite.py:3126-3145 | libs/agno/agno/db/sqlite/sqlite.py:3395-3413 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c68692ff07adb00de0b4cfb349c8d04835e7f2efcb3dbabf38ce3274ee8936"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:3144-3161 | libs/agno/agno/db/mysql/mysql.py:3085-3102 | libs/agno/agno/db/postgres/async_postgres.py:3388-3405 | libs/agno/agno/db/postgres/postgres.py:3909-3926 | libs/agno/agno/db/singlestore/singlestore.py:3078-3095 | libs/agno/agno/db/sqlite/async_sqlite.py:3628-3645 | libs/agno/agno/db/sqlite/sqlite.py:3843-3860 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceee11b8823ef16b3b57eed9e507aa1eed58f3977307523ddf920ea97a284902"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:3166-3227 | libs/agno/agno/db/mysql/mysql.py:3107-3169 | libs/agno/agno/db/postgres/async_postgres.py:3410-3471 | libs/agno/agno/db/postgres/postgres.py:3931-3993 | libs/agno/agno/db/singlestore/singlestore.py:3100-3162 | libs/agno/agno/db/sqlite/async_sqlite.py:3650-3711 | libs/agno/agno/db/sqlite/sqlite.py:3865-3927 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"656dd480152113d249105fc74b7ebb9bf28c4dfeee99070c18012c30e5ef9382"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:3401-3447 | libs/agno/agno/db/mysql/mysql.py:3341-3390 | libs/agno/agno/db/postgres/async_postgres.py:3656-3702 | libs/agno/agno/db/postgres/postgres.py:4177-4226 | libs/agno/agno/db/singlestore/singlestore.py:3334-3381 | libs/agno/agno/db/sqlite/async_sqlite.py:3895-3948 | libs/agno/agno/db/sqlite/sqlite.py:4111-4162 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d1ccee13f137fd07ff3942dce40e7b98006d025a3e720be439504d1161f0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:3988-4021 | libs/agno/agno/db/mysql/mysql.py:3930-3964 | libs/agno/agno/db/postgres/async_postgres.py:4269-4306 | libs/agno/agno/db/postgres/postgres.py:4804-4842 | libs/agno/agno/db/singlestore/singlestore.py:3890-3927 | libs/agno/agno/db/sqlite/async_sqlite.py:4470-4510 | libs/agno/agno/db/sqlite/sqlite.py:4682-4722 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12077113251bea684e4af4d862cd017050ca7a3f6667ccfa46a79cd2acfa0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:4105-4131 | libs/agno/agno/db/mysql/mysql.py:4046-4072 | libs/agno/agno/db/postgres/async_postgres.py:4388-4414 | libs/agno/agno/db/postgres/postgres.py:4924-4950 | libs/agno/agno/db/singlestore/singlestore.py:3951-3977 | libs/agno/agno/db/sqlite/async_sqlite.py:4592-4618 | libs/agno/agno/db/sqlite/sqlite.py:4747-4773 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbce7b9f4ba7f8807ef466cde3546cb8e4728ae7c1893ed43297a7d9be701588"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:4134-4164 | libs/agno/agno/db/mysql/mysql.py:4075-4105 | libs/agno/agno/db/postgres/async_postgres.py:4417-4445 | libs/agno/agno/db/postgres/postgres.py:4953-4981 | libs/agno/agno/db/singlestore/singlestore.py:3980-4010 | libs/agno/agno/db/sqlite/async_sqlite.py:4621-4651 | libs/agno/agno/db/sqlite/sqlite.py:4776-4806 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4134}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c52d02e56174a11952bc985e1edf29c218cae0ee1e8b64f3deb0a5144f8404"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:4251-4297 | libs/agno/agno/db/mysql/mysql.py:4192-4237 | libs/agno/agno/db/postgres/async_postgres.py:4543-4589 | libs/agno/agno/db/postgres/postgres.py:5079-5124 | libs/agno/agno/db/singlestore/singlestore.py:4096-4141 | libs/agno/agno/db/sqlite/async_sqlite.py:4741-4787 | libs/agno/agno/db/sqlite/sqlite.py:4896-4940 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1909bfb97a51cbc33ae8e9a04bd2c2ef8bdb9c958ebc8f1eaaba463e63f7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/knowledge/embedder/aws_bedrock.py:332-356 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:393-424 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:430-469 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:472-491 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:494-515 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:518-543 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:549-575 \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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff20f58165a507683f92fd44939dfec00bf4484ee62c3c87456b8163f8abfe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): libs/agno/agno/tools/google/gmail.py:399-427 | libs/agno/agno/tools/google/gmail.py:431-461 | libs/agno/agno/tools/google/gmail.py:465-493 | libs/agno/agno/tools/google/gmail.py:518-546 | libs/agno/agno/tools/google/gmail.py:550-579 | libs/agno/agno/tools/google/gmail.py:589-626 | libs/agno/agno/tools/google/gmail.py:819-849 \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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"538276fd68544712b936fda0cb1269ae04c1bd02424c505d2d32e1bb343df6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): cookbook/91_tools/file_generation_tools.py:35-46 | cookbook/91_tools/file_generation_tools.py:50-61 | cookbook/91_tools/file_generation_tools.py:65-76 | cookbook/91_tools/file_generation_tools.py:80-91 | cookbook/91_tools/file_generation_tools.py:95-106 | cookbook/91_tools/file_generation_tools.py:110-121 \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":"cookbook/91_tools/file_generation_tools.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeec0a78a394e848ff4810db6df6ce1438ebc07db33aa3fe51682d10375dfd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/agent/_run.py:6060-6102 | libs/agno/agno/agent/_run.py:6112-6138 | libs/agno/agno/team/_run.py:4653-4725 | libs/agno/agno/team/_run.py:4734-4808 | libs/agno/agno/team/_run.py:4891-4943 | libs/agno/agno/team/_run.py:4952-5003 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6060}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bb4e8c92d303dfee22251f6f3dc073d9787e8e60d21479b26760fbeb64e162"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/agent/_session.py:364-404 | libs/agno/agno/agent/_session.py:408-443 | libs/agno/agno/team/_session.py:834-875 | libs/agno/agno/team/_session.py:879-914 | libs/agno/agno/workflow/workflow.py:1147-1181 | libs/agno/agno/workflow/workflow.py:1184-1225 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d822bf2ac6ee9c374e7794fb50a94e67cb468ef517053bbc142d522c1ee6bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/agent/remote.py:376-427 | libs/agno/agno/agent/remote.py:441-457 | libs/agno/agno/team/remote.py:369-419 | libs/agno/agno/team/remote.py:433-449 | libs/agno/agno/workflow/remote.py:275-318 | libs/agno/agno/workflow/remote.py:331-346 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd5880cc2c52a476048efd50784815485e806b9dd5196a0623907cd525e7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/client/os.py:576-623 | libs/agno/agno/client/os.py:638-682 | libs/agno/agno/client/os.py:839-881 | libs/agno/agno/client/os.py:896-940 | libs/agno/agno/client/os.py:1130-1171 | libs/agno/agno/client/os.py:1186-1230 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"829f44f7867c086a12280c0dd913e75e53b2e9e9f805fd025889080bc2a7cc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/base.py:521-556 | libs/agno/agno/db/base.py:2994-3021 | libs/agno/agno/db/postgres/async_postgres.py:339-369 | libs/agno/agno/db/postgres/postgres.py:375-404 | libs/agno/agno/db/sqlite/async_sqlite.py:325-353 | libs/agno/agno/db/sqlite/sqlite.py:376-404 \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":"libs/agno/agno/db/base.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaec9b99e3672a163fc39c1149dfa39a0750398ca96c9c8fd1235cc93fb6d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:1210-1242 | libs/agno/agno/db/firestore/firestore.py:1222-1254 | libs/agno/agno/db/gcs_json/gcs_json_db.py:852-884 | libs/agno/agno/db/in_memory/in_memory_db.py:480-509 | libs/agno/agno/db/json/json_db.py:924-956 | libs/agno/agno/db/redis/redis.py:1112-1144 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06c241fbb5462822aa38c0f053a0aa528b4062355d31d3040ddabd7b726275b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:1661-1693 | libs/agno/agno/db/firestore/firestore.py:1621-1652 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1152-1183 | libs/agno/agno/db/in_memory/in_memory_db.py:945-975 | libs/agno/agno/db/json/json_db.py:1238-1269 | libs/agno/agno/db/redis/redis.py:1445-1477 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"100c3f8a1c6ffe3cc8e46c1be35e76cb35bd5a6029fbd7ff1715a4547ff22fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/firestore/firestore.py:1515-1570 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1066-1113 | libs/agno/agno/db/in_memory/in_memory_db.py:855-904 | libs/agno/agno/db/json/json_db.py:1152-1199 | libs/agno/agno/db/redis/redis.py:1345-1396 | libs/agno/agno/db/valkey/valkey.py:1684-1735 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2879f3558c45526fa95b0fcf889c188c02b8a361cafc0f3b036eb73a82f0c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/migrations/versions/v2_3_0.py:139-270 | libs/agno/agno/db/migrations/versions/v2_3_0.py:478-566 | libs/agno/agno/db/migrations/versions/v2_3_0.py:695-774 | libs/agno/agno/db/migrations/versions/v2_3_0.py:778-810 | libs/agno/agno/db/migrations/versions/v2_3_0.py:851-915 | libs/agno/agno/db/migrations/versions/v2_3_0.py:933-966 \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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e53e5d5384759885645bee66d7c529a429d5148f22ae47ce2602c24f4ba3945"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/migrations/versions/v3_0_0.py:753-811 | libs/agno/agno/db/migrations/versions/v3_0_0.py:815-873 | libs/agno/agno/db/migrations/versions/v3_0_0.py:882-926 | libs/agno/agno/db/migrations/versions/v3_0_0.py:930-976 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1188-1262 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1266-1328 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dcb39913da9d62cd0848fe7900d1550ae728441b41ba4212a5e71897c2b962"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:1277-1398 | libs/agno/agno/db/mongo/mongo.py:1088-1209 | libs/agno/agno/db/mysql/mysql.py:1352-1464 | libs/agno/agno/db/redis/redis.py:991-1107 | libs/agno/agno/db/singlestore/singlestore.py:1404-1512 | libs/agno/agno/db/valkey/valkey.py:1141-1261 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da69d0e0553150a1280f47204ac93fcc58e32a2375b094b60e2afba2b9d2b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:1746-1772 | libs/agno/agno/db/mysql/async_mysql.py:3818-3841 | libs/agno/agno/db/postgres/async_postgres.py:2131-2158 | libs/agno/agno/db/postgres/async_postgres.py:4099-4122 | libs/agno/agno/db/sqlite/async_sqlite.py:2309-2333 | libs/agno/agno/db/sqlite/async_sqlite.py:4303-4326 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da3174d718581beeb76810ba4c482f0bfafc570d935368ad7d1b5777ef3ab3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:1818-1855 | libs/agno/agno/db/mysql/async_mysql.py:3846-3883 | libs/agno/agno/db/postgres/async_postgres.py:2220-2258 | libs/agno/agno/db/postgres/async_postgres.py:4127-4164 | libs/agno/agno/db/sqlite/async_sqlite.py:2379-2415 | libs/agno/agno/db/sqlite/async_sqlite.py:4331-4367 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c38723063f7547e13c5e4ed70c328337b9d468d90dc0d34d2357dea7ca45a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5697-5707 | libs/agno/agno/db/postgres/async_postgres.py:5936-5946 | libs/agno/agno/db/postgres/async_postgres.py:7214-7224 | libs/agno/agno/db/sqlite/async_sqlite.py:5822-5832 | libs/agno/agno/db/sqlite/async_sqlite.py:6078-6088 | libs/agno/agno/db/sqlite/async_sqlite.py:6426-6436 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5697}}}],"partialFingerprints":{"codehealthFindingId/v1":"278998b6f05102e745447659f0b572a3d15e63e7f6f52ff3ff30d8e7f6fa4024"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/postgres.py:8411-8420 | libs/agno/agno/db/postgres/postgres.py:8676-8685 | libs/agno/agno/db/postgres/postgres.py:9971-9980 | libs/agno/agno/db/sqlite/sqlite.py:8198-8207 | libs/agno/agno/db/sqlite/sqlite.py:8480-8489 | libs/agno/agno/db/sqlite/sqlite.py:8915-8924 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8411}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa28c4a701cff26887dca7ceb0a8aa0e9af5e056fcf317e1393bce4f937532c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/learn/schemas.py:119-146 | libs/agno/agno/learn/schemas.py:217-244 | libs/agno/agno/learn/schemas.py:384-407 | libs/agno/agno/learn/schemas.py:480-503 | libs/agno/agno/learn/schemas.py:622-645 | libs/agno/agno/learn/schemas.py:1112-1135 \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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4313f257ac4b49b6e7dd8165d87887bded0772438e3af61d283abe059209ac1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/learn/stores/session_context.py:280-304 | libs/agno/agno/learn/stores/session_context.py:307-330 | libs/agno/agno/learn/stores/user_memory.py:444-468 | libs/agno/agno/learn/stores/user_memory.py:471-494 | libs/agno/agno/learn/stores/user_profile.py:606-630 | libs/agno/agno/learn/stores/user_profile.py:633-656 \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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f05829bd82058d5ecfd8a239166059feb1f6ea0628f9ca8fb1a7d6b8141b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/team/_run.py:252-574 | libs/agno/agno/team/_run.py:1098-1441 | libs/agno/agno/team/_run.py:2133-2489 | libs/agno/agno/team/_run.py:3060-3451 | libs/agno/agno/team/_run.py:6919-6975 | libs/agno/agno/team/_run.py:8274-8459 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd847eb9f5a661d3ef84147e9998e3724637d70e8b494754571f256615e32109"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/tools/memory.py:67-95 | libs/agno/agno/tools/memory.py:310-336 | libs/agno/agno/tools/workflow.py:70-96 | libs/agno/agno/tools/workflow.py:99-125 | libs/agno/agno/tools/workflow.py:207-232 | libs/agno/agno/tools/workflow.py:235-260 \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":"libs/agno/agno/tools/memory.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b513ae93f39da148bb8da768ec86386f55cb8df34fc63b531cff5a959a8c1c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno/agno/tools/scheduler.py:756-783 | libs/agno/agno/tools/scheduler.py:809-891 | libs/agno/agno/tools/scheduler.py:895-920 | libs/agno/agno/tools/scheduler.py:1145-1172 | libs/agno/agno/tools/scheduler.py:1200-1282 | libs/agno/agno/tools/scheduler.py:1286-1313 \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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b0580ef06075bd6921972613aba38cf2f6a6f5834e6e7ee2ac9f73ef97f91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/agno_infra/agno/aws/resource/ecs/cluster.py:46-87 | libs/agno_infra/agno/aws/resource/ecs/service.py:122-224 | libs/agno_infra/agno/aws/resource/ecs/task_definition.py:96-181 | libs/agno_infra/agno/aws/resource/elb/listener.py:36-99 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:35-94 | libs/agno_infra/agno/aws/resource/elb/target_group.py:40-113 \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":"libs/agno_infra/agno/aws/resource/ecs/cluster.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d188344d0ab41bf68542b635e971e4fdb68f0eaea29c055f7d7ca71c00110c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py:25-47 | cookbook/02_agents/10_human_in_the_loop/confirmation_required.py:25-47 | cookbook/91_tools/python_function_as_tool.py:19-42 | cookbook/91_tools/tool_calls_accesing_agent.py:19-35 | cookbook/91_tools/tool_decorator/cache_tool_calls.py:22-36 \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":"cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"62607b52a3be1f7568a14ae639515ea6f8bc6a324eb4902627322c18fb9c14f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/db/gcs_json/gcs_json_db.py:950-971 | libs/agno/agno/db/in_memory/in_memory_db.py:738-761 | libs/agno/agno/db/json/json_db.py:1032-1054 | libs/agno/agno/db/redis/redis.py:1210-1233 | libs/agno/agno/db/valkey/valkey.py:1549-1572 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"8268e925b1c08b4da13f454902158aed2c0d1aa7b042705ae850d933074301e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:906-935 | libs/agno/agno/db/mysql/mysql.py:902-937 | libs/agno/agno/db/singlestore/singlestore.py:947-982 | libs/agno/agno/db/sqlite/async_sqlite.py:1252-1284 | libs/agno/agno/db/sqlite/sqlite.py:1446-1481 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"135f9b42348aada4e7dfeec57fe023c827485e6d030809f59d64106535f1954f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/tools/shopify.py:359-454 | libs/agno/agno/tools/shopify.py:463-551 | libs/agno/agno/tools/shopify.py:782-925 | libs/agno/agno/tools/shopify.py:1315-1411 | libs/agno/agno/tools/shopify.py:1420-1519 \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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"690debdae06f8241340299f1e42a460e02368c50d4b9ed8751c3138a11513896"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/tools/visualization.py:103-165 | libs/agno/agno/tools/visualization.py:175-238 | libs/agno/agno/tools/visualization.py:246-303 | libs/agno/agno/tools/visualization.py:318-392 | libs/agno/agno/tools/visualization.py:403-467 \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":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac705872aa56adf9c08bed84b5f00cf3e4206df04a5faab98b5db5259a563f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/vectordb/pgvector/pgvector.py:1749-1762 | libs/agno/agno/vectordb/pgvector/pgvector.py:1765-1778 | libs/agno/agno/vectordb/pgvector/pgvector.py:1781-1794 | libs/agno/agno/vectordb/pgvector/pgvector.py:1797-1816 | libs/agno/agno/vectordb/pgvector/pgvector.py:1819-1845 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed2be05ebf51623cac906715f990d9014d0a543a95b9df10ca52f7193169791"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/workflow/condition.py:209-289 | libs/agno/agno/workflow/loop.py:213-288 | libs/agno/agno/workflow/parallel.py:116-154 | libs/agno/agno/workflow/router.py:251-331 | libs/agno/agno/workflow/steps.py:124-170 \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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb43127c0f2b0b25bdfbd008b3f18b050fdca0dca496e5c6a5ef4443f59c336"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/agno/agno/workflow/utils/hitl.py:464-500 | libs/agno/agno/workflow/workflow.py:2954-3289 | libs/agno/agno/workflow/workflow.py:3303-3866 | libs/agno/agno/workflow/workflow.py:3944-4293 | libs/agno/agno/workflow/workflow.py:4308-4924 \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":"libs/agno/agno/workflow/utils/hitl.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4399cb8ad6560066bc621d873b5719b5905bd9c7c627a8d6e8ba6242df87484b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py:103-118 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py:88-101 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py:108-119 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:176-191 \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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e9214ed9173a10a04255bfb3fba9841aa18ef6421cb8a5cecb569287cd99d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cookbook/05_agent_os/05_human_in_the_loop/audit_record.py:70-124 | cookbook/05_agent_os/05_human_in_the_loop/basic.py:66-104 | cookbook/05_agent_os/05_human_in_the_loop/external_execution.py:95-131 | cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py:85-128 \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":"cookbook/05_agent_os/05_human_in_the_loop/audit_record.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b22de4b5ecddffa249506e07186b44f9e69c6dd5ba39f8c6f39482a3729605"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cookbook/05_agent_os/21_factories/01_basic.py:81-115 | cookbook/05_agent_os/21_factories/02_with_input_schema.py:74-123 | cookbook/05_agent_os/21_factories/05_team_factory.py:91-125 | cookbook/05_agent_os/21_factories/06_workflow_factory.py:95-128 \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":"cookbook/05_agent_os/21_factories/01_basic.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c617562c47c6eb807ed973afa482c1bc2d0e9cb2b2e82b385a6678122fc979"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py:110-123 | cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py:85-98 | cookbook/07_knowledge/09_archive/vector_dbs/mongo_db.py:114-127 | cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py:95-108 \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":"cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd389498eac5debb55ef6d617ed39c4b3b99291644c75ee3a7930b3d5fe22ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cookbook/91_tools/mcp/pipedream_auth.py:47-58 | cookbook/91_tools/mcp/pipedream_google_calendar.py:29-40 | cookbook/91_tools/mcp/pipedream_linkedin.py:29-40 | cookbook/91_tools/mcp/pipedream_slack.py:30-41 \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":"cookbook/91_tools/mcp/pipedream_auth.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f773903ac1a123cf4d53fd0aeefad328c5a232f756945099d03b129114c1d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_managers.py:34-81 | libs/agno/agno/agent/_managers.py:89-136 | libs/agno/agno/team/_managers.py:47-73 | libs/agno/agno/team/_managers.py:81-107 \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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e42846f727b4ea7651b6fe37c5034ed16fa060e13f74cd0fd34e0587edfcdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_response.py:259-286 | libs/agno/agno/agent/_response.py:296-324 | libs/agno/agno/team/_response.py:733-758 | libs/agno/agno/team/_response.py:768-794 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc26d8e2fa3a7f17fa141341bbfd78d66d38d3d6ccffed1f42c9b35e922f226b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_response.py:452-510 | libs/agno/agno/agent/_response.py:520-579 | libs/agno/agno/team/_response.py:241-302 | libs/agno/agno/team/_response.py:312-374 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad63ef8ae7bd94bb8b7a61f12e3342ac268477e92c4d5d28ce19c2dbd13b168"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_run.py:1348-1511 | libs/agno/agno/agent/_run.py:2739-2941 | libs/agno/agno/team/_run.py:1929-2116 | libs/agno/agno/team/_run.py:4160-4347 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc3ce7956c3e0edf66597521949c7fc273a45f9a5eefcd86b409dd64d5bad7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_run.py:1972-2023 | libs/agno/agno/agent/_run.py:2042-2121 | libs/agno/agno/team/_run.py:3468-3519 | libs/agno/agno/team/_run.py:3538-3615 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cf1ad6270fffad55f2e3639ac82e23b8042fbe6085b7245bb457beedb87161"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_storage.py:1629-1676 | libs/agno/agno/agents/_storage.py:447-466 | libs/agno/agno/team/_storage.py:1617-1648 | libs/agno/agno/workflow/workflow.py:1521-1579 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa945d43cf4a741da6f8c0046b06465e2b876afe37af6896af9d52bc16f6842e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/_storage.py:1686-1715 | libs/agno/agno/agents/_storage.py:533-543 | libs/agno/agno/team/_storage.py:1658-1686 | libs/agno/agno/workflow/workflow.py:1588-1608 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db8520c578dc38b440140fab9ebbbdf2574d6a25370399b6e1c1d9ffb948ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/agent/agent.py:1870-1949 | libs/agno/agno/team/team.py:1896-1982 | libs/agno/agno/workflow/workflow.py:1521-1579 | libs/agno/agno/workflow/workflow.py:11950-12036 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"610cf361ef26f4f20dd5fbaf6fd3f72cb6c228e6edb86acc824e35d04daa9029"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/client/os.py:147-196 | libs/agno/agno/client/os.py:207-256 | libs/agno/agno/client/os.py:374-408 | libs/agno/agno/client/os.py:2505-2547 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a56298926b53d47b3c8171dac3ac29f71266c9e79140e4945d16aba95d0f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/dynamo/dynamo.py:2155-2228 | libs/agno/agno/db/firestore/firestore.py:1913-1976 | libs/agno/agno/db/mongo/mongo.py:2004-2067 | libs/agno/agno/db/surrealdb/surrealdb.py:1625-1688 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf8fc0270e4db45eff0becccea66349e2f5943a0f4e05d2f9123a21c5a44f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/firestore/firestore.py:567-609 | libs/agno/agno/db/firestore/firestore.py:896-1004 | libs/agno/agno/db/firestore/firestore.py:1444-1507 | libs/agno/agno/db/firestore/firestore.py:3302-3393 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272b7f77eb1f20604fb756b8294cb9cf28401b461cd449109dcc663bad45f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/gcs_json/gcs_json_db.py:2534-2611 | libs/agno/agno/db/json/json_db.py:2688-2765 | libs/agno/agno/db/redis/redis.py:3517-3594 | libs/agno/agno/db/valkey/valkey.py:3959-4043 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7dd7badbb7067e2ce34e98de1cdcbcbd93190b46b02d3f988781cb4f804658"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/in_memory/in_memory_db.py:1535-1548 | libs/agno/agno/db/json/json_db.py:1907-1921 | libs/agno/agno/db/redis/redis.py:2637-2651 | libs/agno/agno/db/valkey/valkey.py:2975-2989 \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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c486249ce303e20f5f6f67d664dc1d7c23e21a491d94ef21eb1120070346b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/migrations/versions/v3_0_0.py:3503-3579 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3583-3658 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4290-4349 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4353-4408 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f0fb099b64d2eeeef6ff8a0e18f6afc5f49953cd1847f6104e3212b83618cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:2659-2687 | libs/agno/agno/db/mysql/async_mysql.py:2943-2971 | libs/agno/agno/db/postgres/async_postgres.py:3184-3212 | libs/agno/agno/db/sqlite/async_sqlite.py:3425-3453 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c694869b46f814a930ff77abab51aed41ae4c46ae239748d12eedebb893d3e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:2849-2877 | libs/agno/agno/db/mongo/async_mongo.py:2882-2919 | libs/agno/agno/db/mongo/mongo.py:2607-2635 | libs/agno/agno/db/mongo/mongo.py:2640-2675 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2849}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae09a813298ebcb5088f94247747e6e11e267a885bec2362144707def109c79f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:3199-3226 | libs/agno/agno/db/mysql/async_mysql.py:3492-3519 | libs/agno/agno/db/postgres/async_postgres.py:3747-3774 | libs/agno/agno/db/sqlite/async_sqlite.py:3993-4020 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9820884b7dd3cfab7b5ece28a51ede7d39c974bb9fd272e56ad1853b60cbb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:3973-4056 | libs/agno/agno/db/mongo/async_mongo.py:4070-4175 | libs/agno/agno/db/mongo/mongo.py:3781-3864 | libs/agno/agno/db/mongo/mongo.py:3878-3983 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3973}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14aee3bf6f2289803d6c2d45583bb4181f059d3efbe5398bf43f142e8352a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mongo/async_mongo.py:4070-4175 | libs/agno/agno/db/mongo/mongo.py:3878-3983 | libs/agno/agno/db/mysql/async_mysql.py:4403-4506 | libs/agno/agno/db/mysql/mysql.py:4341-4442 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4070}}}],"partialFingerprints":{"codehealthFindingId/v1":"03371581d3d982bd6d3791abc5379429ac129143d06137213ed7f363469ee3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/async_mysql.py:3678-3759 | libs/agno/agno/db/mysql/mysql.py:3625-3706 | libs/agno/agno/db/postgres/async_postgres.py:3932-4026 | libs/agno/agno/db/postgres/postgres.py:4470-4561 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3678}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfceb0b90896a0a4fce8cda354bf6ec23352b46cb35e97cd47293f3ae0d5770"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:940-963 | libs/agno/agno/db/postgres/postgres.py:1481-1509 | libs/agno/agno/db/singlestore/singlestore.py:985-1008 | libs/agno/agno/db/sqlite/sqlite.py:1484-1507 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"adea47e8435779770d8feddfb057b23bf7efaf4925994936b30dab63e529d317"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:966-984 | libs/agno/agno/db/postgres/postgres.py:1512-1534 | libs/agno/agno/db/singlestore/singlestore.py:1011-1029 | libs/agno/agno/db/sqlite/sqlite.py:1510-1528 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd032eb9e3d9ff1017d88885a4674a7abffc799a629dc350bb5ec99b4ae08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:1029-1063 | libs/agno/agno/db/postgres/postgres.py:1618-1682 | libs/agno/agno/db/singlestore/singlestore.py:1074-1109 | libs/agno/agno/db/sqlite/sqlite.py:1607-1669 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ce728b052a928e5beca858ad4aef444b959e5bb11b2ceeafef13e0df8ae47a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:1724-1751 | libs/agno/agno/db/postgres/postgres.py:2590-2620 | libs/agno/agno/db/singlestore/singlestore.py:1752-1780 | libs/agno/agno/db/sqlite/sqlite.py:2546-2574 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"175614a724498757d0b68559d4f9a8c8dd3ad8910b92d199fcaa71b508e367a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:2654-2688 | libs/agno/agno/db/postgres/postgres.py:3485-3519 | libs/agno/agno/db/singlestore/singlestore.py:2662-2696 | libs/agno/agno/db/sqlite/sqlite.py:3423-3457 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c6f7769ddf7d4fc3bd819edc2cfbf617ab0262249d3476b4b0bb84c19e19fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3288-3311 | libs/agno/agno/db/postgres/postgres.py:4124-4147 | libs/agno/agno/db/singlestore/singlestore.py:3281-3304 | libs/agno/agno/db/sqlite/sqlite.py:4058-4081 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0e06a51f9b92e644fd6ee1615333213aeff93240171433735b435a828c2170"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3465-3499 | libs/agno/agno/db/postgres/postgres.py:4301-4335 | libs/agno/agno/db/singlestore/singlestore.py:3456-3490 | libs/agno/agno/db/sqlite/sqlite.py:4237-4271 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7da94cf4c79a3716486a6a6cc66f24ef80b4aee55b60fad3a77d0e7c6b05072"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3504-3525 | libs/agno/agno/db/postgres/postgres.py:4339-4359 | libs/agno/agno/db/singlestore/singlestore.py:3495-3515 | libs/agno/agno/db/sqlite/sqlite.py:4278-4300 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89703ea473cb7ec914ce63d95931cc051e6b1e4acd564bccfc0b7db6413c587"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3528-3556 | libs/agno/agno/db/postgres/postgres.py:4362-4389 | libs/agno/agno/db/singlestore/singlestore.py:3518-3543 | libs/agno/agno/db/sqlite/sqlite.py:4303-4332 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46c72ccad979aaeb16de0b6e7ae8cbf1534aa47cece59d9eb3166209664b4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3625-3706 | libs/agno/agno/db/postgres/postgres.py:4470-4561 | libs/agno/agno/db/singlestore/singlestore.py:3613-3662 | libs/agno/agno/db/sqlite/sqlite.py:4398-4450 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3625}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c18eb7b8f50f1fe45b7abdefc88d62786e93e99f5725135d9a81b38f331daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3741-3760 | libs/agno/agno/db/postgres/postgres.py:4611-4632 | libs/agno/agno/db/singlestore/singlestore.py:3699-3719 | libs/agno/agno/db/sqlite/sqlite.py:4492-4512 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef675797e88ad0d503716ac57dc72ac1ec94b631be70861b019015da7a835212"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:3967-3984 | libs/agno/agno/db/postgres/postgres.py:4845-4862 | libs/agno/agno/db/singlestore/singlestore.py:3930-3947 | libs/agno/agno/db/sqlite/sqlite.py:4725-4742 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f44f4a06a66752cbf10bc8b25ed5de9e49c187b1e1b82d8d5d454b49f92da"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/mysql.py:4486-4510 | libs/agno/agno/db/postgres/postgres.py:5478-5502 | libs/agno/agno/db/singlestore/singlestore.py:4402-4426 | libs/agno/agno/db/sqlite/sqlite.py:5288-5312 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"befa9fd0e08bbf32ad2f52c0ea8fde8c4837b1634828cf412883575beae7cc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/utils.py:106-139 | libs/agno/agno/db/postgres/utils.py:95-128 | libs/agno/agno/db/singlestore/utils.py:62-95 | libs/agno/agno/db/sqlite/utils.py:67-99 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb07318cd51e905e3c68487a07248fb8acb4cffc4c9a781f89bda805347037d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/utils.py:697-793 | libs/agno/agno/db/postgres/utils.py:583-687 | libs/agno/agno/db/singlestore/utils.py:415-553 | libs/agno/agno/db/sqlite/utils.py:588-696 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"323840ec8ce226fe1f6a39ad95f7e8568464afa8a1650c2282d07c237e1185a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/utils.py:894-983 | libs/agno/agno/db/postgres/utils.py:835-920 | libs/agno/agno/db/singlestore/utils.py:624-651 | libs/agno/agno/db/sqlite/utils.py:845-932 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd4525ae2e43bea2384b4434253edb1cab94e882f9adc2a74ef324d2c635102"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/mysql/utils.py:989-1036 | libs/agno/agno/db/postgres/utils.py:926-973 | libs/agno/agno/db/singlestore/utils.py:657-704 | libs/agno/agno/db/sqlite/utils.py:938-985 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaadf36f5e932ad02f8d10d576389998e9b29ff2a622c3e7ae5e2f007942c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:1099-1130 | libs/agno/agno/db/postgres/postgres.py:1251-1281 | libs/agno/agno/db/sqlite/async_sqlite.py:1054-1092 | libs/agno/agno/db/sqlite/sqlite.py:1244-1281 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d9430cb8852589ef6e76e2d270ab630018f634b9f139e485b2fac3c594ce67"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:1373-1392 | libs/agno/agno/db/postgres/postgres.py:1538-1557 | libs/agno/agno/db/sqlite/async_sqlite.py:1332-1351 | libs/agno/agno/db/sqlite/sqlite.py:1533-1552 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4409d4ffd4c1343d2fa70d88d078ba5057fa666c612ecf44f087e3f709c2d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:1537-1601 | libs/agno/agno/db/postgres/postgres.py:1712-1775 | libs/agno/agno/db/sqlite/async_sqlite.py:1463-1527 | libs/agno/agno/db/sqlite/sqlite.py:1672-1735 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaad06274a4e545675bff34f92403448374e43686c63a2c8b73d29fb198aa3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:1635-1645 | libs/agno/agno/db/postgres/postgres.py:1808-1817 | libs/agno/agno/db/sqlite/async_sqlite.py:1562-1572 | libs/agno/agno/db/sqlite/sqlite.py:1771-1780 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81a70612cd9bfd3dc161b76a53f144eadc0a41a5ba7a1aba446b255795fe41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:2646-2680 | libs/agno/agno/db/postgres/postgres.py:3211-3245 | libs/agno/agno/db/sqlite/async_sqlite.py:2885-2919 | libs/agno/agno/db/sqlite/sqlite.py:3149-3183 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca51c1a12415e821f02c10ce73816f2f64bb7260e21f369b41e60ce46f9cfb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:4448-4535 | libs/agno/agno/db/postgres/postgres.py:4984-5071 | libs/agno/agno/db/sqlite/async_sqlite.py:4654-4733 | libs/agno/agno/db/sqlite/sqlite.py:4809-4888 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8947691dda311f6a6d06ff9b1b7fa99296c9819acb87d633a83834b4167a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5236-5287 | libs/agno/agno/db/postgres/postgres.py:7960-8011 | libs/agno/agno/db/sqlite/async_sqlite.py:5423-5474 | libs/agno/agno/db/sqlite/sqlite.py:7750-7801 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5236}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f64edf266d4d6886219c47057b0821010ba8c61f16aca25f77d2757f2af759"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5618-5631 | libs/agno/agno/db/postgres/async_postgres.py:5962-5975 | libs/agno/agno/db/sqlite/async_sqlite.py:5743-5756 | libs/agno/agno/db/sqlite/async_sqlite.py:6104-6117 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5618}}}],"partialFingerprints":{"codehealthFindingId/v1":"81935888e66902da3c4ac0f681acabf6c43cf13c292a39b12a25e3318dde7b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5634-5651 | libs/agno/agno/db/postgres/postgres.py:8350-8366 | libs/agno/agno/db/sqlite/async_sqlite.py:5759-5776 | libs/agno/agno/db/sqlite/sqlite.py:8137-8153 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5634}}}],"partialFingerprints":{"codehealthFindingId/v1":"97df74a7c247c84d3e48c6e3096be2ee3dc2ddc2a6317d48ede0914494a09d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5661-5694 | libs/agno/agno/db/postgres/postgres.py:8376-8408 | libs/agno/agno/db/sqlite/async_sqlite.py:5786-5819 | libs/agno/agno/db/sqlite/sqlite.py:8163-8195 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4cf04893c116663298205bd53dcf8f2275cb4f4e1f3d2a4c7a890f8aa461bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5712-5740 | libs/agno/agno/db/postgres/async_postgres.py:7066-7082 | libs/agno/agno/db/sqlite/async_sqlite.py:5837-5865 | libs/agno/agno/db/sqlite/async_sqlite.py:6278-6294 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5712}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f0ec89404764a4180ec6c5f408e6fffc34d1cb6c01e590be6febf1849a7bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5771-5814 | libs/agno/agno/db/postgres/postgres.py:8513-8554 | libs/agno/agno/db/sqlite/async_sqlite.py:5896-5939 | libs/agno/agno/db/sqlite/sqlite.py:8300-8341 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5771}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd17cfab781d951adc65ba9b0338d10f59df8a7493772c388482f0668002ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5847-5884 | libs/agno/agno/db/postgres/postgres.py:8589-8625 | libs/agno/agno/db/sqlite/async_sqlite.py:5972-6026 | libs/agno/agno/db/sqlite/sqlite.py:8376-8429 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5847}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4c0d5e8e4bb6529e56736a2b2014126e4f3d7a7fc9825ddd5d6685a8fb0ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5895-5919 | libs/agno/agno/db/postgres/postgres.py:8636-8659 | libs/agno/agno/db/sqlite/async_sqlite.py:6037-6061 | libs/agno/agno/db/sqlite/sqlite.py:8440-8463 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5895}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c0672974b77a889fd40fc92782e476172cb913e570378bc26754c6ac17ddf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5949-5959 | libs/agno/agno/db/postgres/async_postgres.py:7326-7339 | libs/agno/agno/db/sqlite/async_sqlite.py:6091-6101 | libs/agno/agno/db/sqlite/async_sqlite.py:6542-6555 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"6199fd4490ccfa2e3ff5c2a9368625bd93c97280316ecc26457d868155343635"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:5978-6000 | libs/agno/agno/db/postgres/postgres.py:8715-8737 | libs/agno/agno/db/sqlite/async_sqlite.py:6120-6142 | libs/agno/agno/db/sqlite/sqlite.py:8519-8541 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5978}}}],"partialFingerprints":{"codehealthFindingId/v1":"12974688e7682ddfbe966e116636405ce27d5855e2d9ab93c64ae85ab6ec1c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7011-7061 | libs/agno/agno/db/postgres/postgres.py:9674-9724 | libs/agno/agno/db/sqlite/async_sqlite.py:6223-6273 | libs/agno/agno/db/sqlite/sqlite.py:8618-8668 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7011}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1edb1323c4c4cbef4fa6d5fb9db8a21ce064452cab7e627d6de40053351288c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7085-7095 | libs/agno/agno/db/postgres/async_postgres.py:7342-7352 | libs/agno/agno/db/sqlite/async_sqlite.py:6297-6307 | libs/agno/agno/db/sqlite/async_sqlite.py:6558-6568 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7085}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f4519b235c21963e12c87b459b72e67ccdf079b1e4c258c92080a41da71e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7164-7189 | libs/agno/agno/db/postgres/postgres.py:9922-9947 | libs/agno/agno/db/sqlite/async_sqlite.py:6376-6401 | libs/agno/agno/db/sqlite/sqlite.py:8866-8891 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7d974b90fc59d32b2fe0c25a1a5ab43bb10b10f9e3421785fd97a42c5db7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7192-7209 | libs/agno/agno/db/postgres/postgres.py:9950-9966 | libs/agno/agno/db/sqlite/async_sqlite.py:6404-6421 | libs/agno/agno/db/sqlite/sqlite.py:8894-8910 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7192}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe5d8aa34702f90fb85ee236951ea54ed03bf8f08e6f222b9761513bee577a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7537-7564 | libs/agno/agno/db/postgres/postgres.py:10282-10309 | libs/agno/agno/db/sqlite/async_sqlite.py:6753-6778 | libs/agno/agno/db/sqlite/sqlite.py:9225-9250 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7537}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd998a42368f29c76aac57ef2c27dcfc2c6cac10a2780f816db6d9a8663f1e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7569-7586 | libs/agno/agno/db/postgres/postgres.py:10314-10331 | libs/agno/agno/db/sqlite/async_sqlite.py:6783-6800 | libs/agno/agno/db/sqlite/sqlite.py:9255-9272 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7569}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e205ba70f9b8ee221bfc6332defba7caa566a56156a9a3a2c54e4e79bdbffea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7602-7618 | libs/agno/agno/db/postgres/postgres.py:10347-10363 | libs/agno/agno/db/sqlite/async_sqlite.py:6816-6832 | libs/agno/agno/db/sqlite/sqlite.py:9288-9304 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7602}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3b44c3dca475800ba22206281a37062da37e3ce2e8059e68996a856e924324"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7623-7632 | libs/agno/agno/db/postgres/postgres.py:10368-10377 | libs/agno/agno/db/sqlite/async_sqlite.py:6837-6846 | libs/agno/agno/db/sqlite/sqlite.py:9309-9318 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5199f73da4eb81488de2fd9a7c8c0483f6baab24f826d4016879e2dd594c7759"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:7849-7857 | libs/agno/agno/db/postgres/async_postgres.py:7984-7992 | libs/agno/agno/db/sqlite/async_sqlite.py:7063-7071 | libs/agno/agno/db/sqlite/async_sqlite.py:7198-7206 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7849}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efcd0bd3a42d3c0abff62db7e0942c439a1d40824ea94c33ff683729c40fb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:8119-8158 | libs/agno/agno/db/postgres/postgres.py:10852-10891 | libs/agno/agno/db/sqlite/async_sqlite.py:7333-7372 | libs/agno/agno/db/sqlite/sqlite.py:9793-9832 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40d4c2e62834a0ed6df2771b328ade7e65d38f35e90bd01517eaae6ee6dfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:8319-8353 | libs/agno/agno/db/postgres/postgres.py:11046-11078 | libs/agno/agno/db/sqlite/async_sqlite.py:7533-7567 | libs/agno/agno/db/sqlite/sqlite.py:9987-10019 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f21cebe46d59bef640398262157f6898ca5473c2f1e841500be261914ffb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/async_postgres.py:8413-8430 | libs/agno/agno/db/postgres/postgres.py:11138-11155 | libs/agno/agno/db/sqlite/async_sqlite.py:7627-7644 | libs/agno/agno/db/sqlite/sqlite.py:10079-10096 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8413}}}],"partialFingerprints":{"codehealthFindingId/v1":"293f291648046e549dc9f8d197a7455c7dc9c09cfda928a1f481fdbe2c3ad45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/postgres.py:6141-6222 | libs/agno/agno/db/postgres/postgres.py:7343-7502 | libs/agno/agno/db/sqlite/sqlite.py:6001-6081 | libs/agno/agno/db/sqlite/sqlite.py:7151-7305 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6917fc85c5ef7c1c60403604321533faae8284b01ca38a159aaf8178581aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/postgres.py:6320-6505 | libs/agno/agno/db/postgres/postgres.py:6679-7057 | libs/agno/agno/db/sqlite/sqlite.py:6179-6363 | libs/agno/agno/db/sqlite/sqlite.py:6501-6865 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd8e231204e3783dc4102247529612a182d7549bdf48d1f54376656675ccf2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/postgres.py:8335-8347 | libs/agno/agno/db/postgres/postgres.py:8700-8712 | libs/agno/agno/db/sqlite/sqlite.py:8122-8134 | libs/agno/agno/db/sqlite/sqlite.py:8504-8516 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e32e12c1213558787bd5e13c0e585f484377b9764d9375dde2d19ef7851e6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/postgres.py:8688-8697 | libs/agno/agno/db/postgres/postgres.py:10079-10091 | libs/agno/agno/db/sqlite/sqlite.py:8492-8501 | libs/agno/agno/db/sqlite/sqlite.py:9022-9034 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8688}}}],"partialFingerprints":{"codehealthFindingId/v1":"297cacd15e6224f506fc6c8afac5a676b5736f63e098781f355d983100e1dee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/postgres.py:9747-9756 | libs/agno/agno/db/postgres/postgres.py:10094-10103 | libs/agno/agno/db/sqlite/sqlite.py:8691-8700 | libs/agno/agno/db/sqlite/sqlite.py:9037-9046 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9747}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce81a9808348cee2cd8dc52aff47f045a21e9b70a8ea4d34ce02495615c6204"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/postgres/utils.py:279-300 | libs/agno/agno/db/postgres/utils.py:306-327 | libs/agno/agno/db/sqlite/utils.py:219-240 | libs/agno/agno/db/sqlite/utils.py:246-267 \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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f06fe750522ed2f778971f25d95dd823ceb7ff13780bc90d630e569c791fa83"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/db/redis/redis.py:2078-2104 | libs/agno/agno/db/redis/redis.py:2109-2134 | libs/agno/agno/db/valkey/valkey.py:2411-2443 | libs/agno/agno/db/valkey/valkey.py:2448-2478 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b9ec59b3de6e3f3b4131db28e09a3b08e18c13888ca6fbbe4497b6a3cc55ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/eval/agent_as_judge.py:489-578 | libs/agno/agno/eval/agent_as_judge.py:590-678 | libs/agno/agno/eval/agent_as_judge.py:689-747 | libs/agno/agno/eval/agent_as_judge.py:758-816 \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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda0a3c963ab503e82fae3eaa620b8f65065021c0739b3f11a22d400bbbba588"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/knowledge/embedder/google.py:74-90 | libs/agno/agno/knowledge/embedder/google.py:128-156 | libs/agno/agno/knowledge/embedder/google.py:159-191 | libs/agno/agno/knowledge/embedder/google.py:196-263 \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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d90f954ee2da3de48c52a143aad1108b1b1d19236df682ffbbd6b0331097a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/knowledge/reader/markdown_reader.py:68-94 | libs/agno/agno/knowledge/reader/markdown_reader.py:97-133 | libs/agno/agno/knowledge/reader/text_reader.py:40-72 | libs/agno/agno/knowledge/reader/text_reader.py:75-111 \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":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc738c32b1141aa5194884dd34cddee37aa65716982dd4cba6e6a1e82328cec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/knowledge/reader/pdf_reader.py:395-411 | libs/agno/agno/knowledge/reader/pdf_reader.py:419-436 | libs/agno/agno/knowledge/reader/pdf_reader.py:445-461 | libs/agno/agno/knowledge/reader/pdf_reader.py:466-483 \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":"libs/agno/agno/knowledge/reader/pdf_reader.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3f841b5a8516c023a8151271ef9a330591ff8827e9f9bfc1fd96617d010f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/media/media.py:243-255 | libs/agno/agno/media/media.py:404-416 | libs/agno/agno/media/media.py:581-593 | libs/agno/agno/media/media.py:830-845 \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":"libs/agno/agno/media/media.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04921babfad547ab417567844465c3d015c5d17aa68fd8bbe1a540c15e77143"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/media/media.py:260-269 | libs/agno/agno/media/media.py:421-430 | libs/agno/agno/media/media.py:598-607 | libs/agno/agno/media/media.py:850-863 \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":"libs/agno/agno/media/media.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f6602cf740def99a0a2377931bcb8021a9f2b2cb738508cdfffcf2f2bd7a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/anthropic/claude.py:547-595 | libs/agno/agno/models/aws/claude.py:184-227 | libs/agno/agno/models/azure/claude.py:121-155 | libs/agno/agno/models/vertexai/claude.py:107-150 \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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb3a146583cbf3f6b5466b8fff9019b4cd0e47c2e1f4261f72580bbd67f89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/azure/ai_foundry.py:213-238 | libs/agno/agno/models/azure/ai_foundry.py:250-276 | libs/agno/agno/models/azure/ai_foundry.py:288-313 | libs/agno/agno/models/azure/ai_foundry.py:325-351 \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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"47076711b7edf53c222d7a8b75f103e1e5398d808387bdafc7e7c15fc93a4351"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/azure/openai_chat.py:152-175 | libs/agno/agno/models/cerebras/cerebras.py:152-172 | libs/agno/agno/models/groq/groq.py:121-142 | libs/agno/agno/models/meta/llama.py:120-141 \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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f1f242d344d50a2544f86c89860b5f2b4821450f3d74fcbf157b76e1631e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/cohere/chat.py:210-230 | libs/agno/agno/models/cohere/chat.py:276-296 | libs/agno/agno/models/ibm/watsonx.py:172-197 | libs/agno/agno/models/ibm/watsonx.py:209-234 \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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ae3fa53b5f89903259a43017012b575a5e23b5ad9928a348526ce5f6c9966e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/google/gemini.py:574-619 | libs/agno/agno/models/google/gemini.py:632-674 | libs/agno/agno/models/google/gemini.py:687-734 | libs/agno/agno/models/google/gemini.py:747-792 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"2230cc2e6cbf7f406295c6efbe95379e07faefe10e10edc6961ea0c99e643c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/groq/groq.py:286-316 | libs/agno/agno/models/groq/groq.py:328-358 | libs/agno/agno/models/groq/groq.py:370-400 | libs/agno/agno/models/groq/groq.py:412-443 \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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"767bad492c7345221da061d7cee4ed418bb3ab3ded90a6019625aa259bfd7c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/groq/groq.py:448-484 | libs/agno/agno/models/huggingface/huggingface.py:391-427 | libs/agno/agno/models/ibm/watsonx.py:313-349 | libs/agno/agno/models/openai/chat.py:751-787 \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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ac9235349d45b0523b24b41e1e0a52e0d7b7a8cdb6b2f98f9645878680feca"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/ibm/watsonx.py:133-160 | libs/agno/agno/models/ollama/chat.py:151-215 | libs/agno/agno/utils/models/ai_foundry.py:9-50 | libs/agno/agno/utils/models/mistral.py:50-105 \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":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9025de75bdaec509291ca8c833f217898ac57826e525f78a5304e78bb3576"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/ibm/watsonx.py:172-197 | libs/agno/agno/models/ibm/watsonx.py:209-234 | libs/agno/agno/models/ibm/watsonx.py:246-270 | libs/agno/agno/models/ibm/watsonx.py:282-308 \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":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7046a94197fa405003a95b9a32914964251d20bd50e539f40afc74c971eaed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/mistral/mistral.py:209-233 | libs/agno/agno/models/mistral/mistral.py:245-267 | libs/agno/agno/models/mistral/mistral.py:279-302 | libs/agno/agno/models/mistral/mistral.py:314-335 \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":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"969d5eb28fdaf5471db892ebcf257238bacfe531e0af0ad2f5e2455e6b4e4835"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/openai/chat.py:402-481 | libs/agno/agno/models/openai/chat.py:493-571 | libs/agno/agno/models/openai/chat.py:583-658 | libs/agno/agno/models/openai/chat.py:670-747 \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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"392f93fa40b7d70ceae206fd15d9d9a0d4b3c3252cfd15293b8302ac34c59357"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/models/openai/responses.py:876-985 | libs/agno/agno/models/openai/responses.py:997-1106 | libs/agno/agno/models/openai/responses.py:1118-1215 | libs/agno/agno/models/openai/responses.py:1227-1319 \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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a6318d90c638a83407f712159ef1637529678423811a3a67966ead133ce095"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/os/authz/native_engine.py:442-461 | libs/agno/agno/os/authz/native_engine.py:471-497 | libs/agno/agno/os/authz/native_engine.py:727-743 | libs/agno/agno/os/authz/native_engine.py:753-769 \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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d3dbeb7af27a0568f030f7455c2ebdd2f18a30b921fbd036033e588a655828"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/os/routers/agents/router.py:138-193 | libs/agno/agno/os/routers/agents/router.py:209-289 | libs/agno/agno/os/routers/agents/router.py:310-408 | libs/agno/agno/os/routers/agents/router.py:428-494 \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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb3cc615122c1be295b1ae35b7d6a076bb59a2e7b99051cb80601209bcf2ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/os/routers/teams/router.py:134-186 | libs/agno/agno/os/routers/teams/router.py:202-256 | libs/agno/agno/os/routers/teams/router.py:400-480 | libs/agno/agno/os/routers/teams/router.py:493-543 \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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"317cdafb76dccdf58732bd737551af33896a0a251fae7e5bc6be8dc98fcf935b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/reasoning/manager.py:959-982 | libs/agno/agno/reasoning/manager.py:985-1003 | libs/agno/agno/reasoning/manager.py:1008-1031 | libs/agno/agno/reasoning/manager.py:1036-1054 \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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"844d952ca4ef1ea25c2ff189caae956d060e6b9185048bb4162748ff64623ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/team/_run.py:6460-6531 | libs/agno/agno/team/_run.py:6542-6640 | libs/agno/agno/team/_run.py:6649-6736 | libs/agno/agno/team/_run.py:6747-6848 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6460}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe371e6a8818d1a5d611989b805a7e5b3e4f2a06a2c04bfa2e6b5009a834fc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/brandfetch.py:71-103 | libs/agno/agno/tools/brandfetch.py:106-139 | libs/agno/agno/tools/brandfetch.py:142-175 | libs/agno/agno/tools/brandfetch.py:178-211 \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":"libs/agno/agno/tools/brandfetch.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee74ba183ea261a0925a9cd8992d050548b2e1d9f5363f91ea78414be040880"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/gitlab.py:275-293 | libs/agno/agno/tools/gitlab.py:331-366 | libs/agno/agno/tools/gitlab.py:422-442 | libs/agno/agno/tools/gitlab.py:482-520 \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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c32eaf303c9b6dd4a23b7531edda25c8fdef052033d3cc7842e7e5c9507b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/gitlab.py:331-366 | libs/agno/agno/tools/gitlab.py:378-419 | libs/agno/agno/tools/gitlab.py:482-520 | libs/agno/agno/tools/gitlab.py:533-575 \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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a232f48f69c525cd08e52983807f38dfc3f90afc345eb2e71b88ace78285694d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/google/slides.py:605-661 | libs/agno/agno/tools/google/slides.py:734-774 | libs/agno/agno/tools/google/slides.py:984-1026 | libs/agno/agno/tools/google/slides.py:1039-1081 \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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4945551bd8eba3fe986fdcfd89f332d0e6b8d65bfa56f9519e2fed59fa11a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/scheduler.py:726-752 | libs/agno/agno/tools/scheduler.py:962-986 | libs/agno/agno/tools/scheduler.py:1115-1141 | libs/agno/agno/tools/scheduler.py:1357-1381 \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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e74f852fccd8b4fcf205b3aa8c998beddf5b67aab98620d3830dd91601489c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/serper.py:107-139 | libs/agno/agno/tools/serper.py:146-178 | libs/agno/agno/tools/serper.py:185-217 | libs/agno/agno/tools/serper.py:224-257 \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":"libs/agno/agno/tools/serper.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7ece2d0d2d683ca229c5bc1c7ae24cdb1c8bc6f042fe4dcc0966a819d10df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/shopify.py:137-223 | libs/agno/agno/tools/shopify.py:232-351 | libs/agno/agno/tools/shopify.py:1034-1097 | libs/agno/agno/tools/shopify.py:1104-1174 \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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"14df241253cbfa73e6e2156a5ede93114defd6a08c926c9abe94a58bbce52eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/spotify.py:207-247 | libs/agno/agno/tools/spotify.py:297-334 | libs/agno/agno/tools/spotify.py:342-382 | libs/agno/agno/tools/spotify.py:658-699 \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":"libs/agno/agno/tools/spotify.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66f03012e3d94c38cdf346efcedfe9a7f3986f6db7d44fd967e54e4eff38178"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/tools/superserve.py:391-406 | libs/agno/agno/tools/superserve.py:409-424 | libs/agno/agno/tools/superserve.py:666-683 | libs/agno/agno/tools/superserve.py:686-703 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7247b2f1c297e5a0f2add98424db0a7ada8ca80f57e6e814ddab9bc0b9c9feac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/utils/agent.py:1085-1108 | libs/agno/agno/utils/agent.py:1114-1134 | libs/agno/agno/workflow/workflow.py:1093-1116 | libs/agno/agno/workflow/workflow.py:1121-1144 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7facb7345652daf4748938971719bfb9552f7275b2844ced3d7a70d8702f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/utils/callables.py:214-248 | libs/agno/agno/utils/callables.py:252-286 | libs/agno/agno/utils/callables.py:375-408 | libs/agno/agno/utils/callables.py:412-445 \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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"95746b5209c5bc8f316b7721e5c416dbb576c23415f491aab440d2be9c142119"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/utils/print_response/workflow.py:60-192 | libs/agno/agno/utils/print_response/workflow.py:212-844 | libs/agno/agno/utils/print_response/workflow.py:921-1053 | libs/agno/agno/utils/print_response/workflow.py:1073-1708 \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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b17c61d19f0f514f7b41796888096bcce1d70788d9d2ac7a8c497c8da8fcf20"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/cassandra/cassandra.py:501-531 | libs/agno/agno/vectordb/cassandra/cassandra.py:534-568 | libs/agno/agno/vectordb/cassandra/cassandra.py:571-605 | libs/agno/agno/vectordb/cassandra/cassandra.py:636-681 \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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5b0e6ee7b11b59b1e70bf6821ee821c4ef652b7c74cd446a81fb5f647f966f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/chroma/chromadb.py:391-452 | libs/agno/agno/vectordb/chroma/chromadb.py:461-555 | libs/agno/agno/vectordb/chroma/chromadb.py:593-653 | libs/agno/agno/vectordb/chroma/chromadb.py:662-761 \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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bd87d8d976e74ebbb672424b2cff5b6047fb20dd074d181f35ce2f01181bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/milvus/milvus.py:553-596 | libs/agno/agno/vectordb/milvus/milvus.py:605-694 | libs/agno/agno/vectordb/milvus/milvus.py:712-768 | libs/agno/agno/vectordb/milvus/milvus.py:777-873 \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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4168c570b59aeee620cf9316a84aa6984d8641367ba7b9513eb38e34217e0759"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/milvus/milvus.py:912-976 | libs/agno/agno/vectordb/milvus/milvus.py:986-1045 | libs/agno/agno/vectordb/milvus/milvus.py:1054-1150 | libs/agno/agno/vectordb/milvus/milvus.py:1159-1251 \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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ba7156ec1aad9ac6476cf1d1d9cdab539c86a037c494f600117de92501bab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/pgvector/pgvector.py:427-472 | libs/agno/agno/vectordb/pgvector/pgvector.py:482-546 | libs/agno/agno/vectordb/pgvector/pgvector.py:598-667 | libs/agno/agno/vectordb/pgvector/pgvector.py:809-907 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff49d91d6b058e1cc32ad0c2f5fbd280382e1659cf076846800d31109d250a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/qdrant/qdrant.py:964-999 | libs/agno/agno/vectordb/qdrant/qdrant.py:1002-1043 | libs/agno/agno/vectordb/qdrant/qdrant.py:1046-1096 | libs/agno/agno/vectordb/qdrant/qdrant.py:1153-1194 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"1399967568fea279b6fc61a9cc522ee1623b612e84fc57709ad5bdde1f108031"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/singlestore/singlestore.py:259-305 | libs/agno/agno/vectordb/singlestore/singlestore.py:337-392 | libs/agno/agno/vectordb/singlestore/singlestore.py:671-744 | libs/agno/agno/vectordb/singlestore/singlestore.py:753-842 \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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79541309ddec12a66b29cfbe3330a1628c25e23c4d975557a69e7ce7dfd010c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/vectordb/surrealdb/surrealdb.py:390-417 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:426-467 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:768-796 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:805-846 \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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f461434d370511366cbe0f7c1d3baa89aad3ce0d5ca6bad044598fd218982a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/workflow/condition.py:292-325 | libs/agno/agno/workflow/loop.py:350-376 | libs/agno/agno/workflow/parallel.py:157-182 | libs/agno/agno/workflow/steps.py:173-199 \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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1ea6d76546000d1163e71293e742f12916a319d359fce6cfa44118d096344"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/workflow/step.py:2951-2978 | libs/agno/agno/workflow/step.py:3072-3100 | libs/agno/agno/workflow/step.py:3228-3255 | libs/agno/agno/workflow/step.py:3349-3378 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2951}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448bc8ea1a1a7a976a09e6792ba2de73ccc1d675ea37a2b067477f3a1089672"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/workflow/step.py:2991-3058 | libs/agno/agno/workflow/step.py:3114-3215 | libs/agno/agno/workflow/step.py:3268-3335 | libs/agno/agno/workflow/step.py:3392-3493 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"41763cd08e93173f663ad555cfe1692cf8337ad874cc0eb319a35e3692a09717"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/workflow/workflow.py:4943-5125 | libs/agno/agno/workflow/workflow.py:5146-5395 | libs/agno/agno/workflow/workflow.py:10621-10771 | libs/agno/agno/workflow/workflow.py:10847-11060 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4943}}}],"partialFingerprints":{"codehealthFindingId/v1":"7312314b9ebd1e51c00c1259aee3fd7825fb9b5089728217549488d90dc8abd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno/agno/workflow/workflow.py:7529-7583 | libs/agno/agno/workflow/workflow.py:7593-7672 | libs/agno/agno/workflow/workflow.py:7682-7761 | libs/agno/agno/workflow/workflow.py:7769-7817 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f5bc81436769671a27c84e7371b66109c30560798c2fe12cc16a0c4584618e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:287-298 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:301-312 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:209-220 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:223-234 \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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66e3d65e6b39253ae62b85fac13ca3c55f5de7bd3c4fbac9e9b3d049ef42e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:337-496 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:622-756 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:259-429 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:537-698 \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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69283f04249639867e0a3653fda381843f0566628537494bec2b4c81df3ddbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): libs/agno/agno/os/routers/company/products.py:24-131 | libs/agno/agno/os/routers/company/projects.py:25-170 \u2014 These two members are one piece of code written twice and then edited apart: 108 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/company/products.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7008b1a0acac5ac0dbaaebf27869d4a10d22c4a64c176f33e0b9ed1f78d13b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 206\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:587-807 | libs/agno/agno/db/postgres/postgres.py:715-974 | libs/agno/agno/db/sqlite/async_sqlite.py:561-766 | libs/agno/agno/db/sqlite/sqlite.py:709-963 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 206 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f06684d2495c68bc270553f29f07a6db21b55e47c78d966d15696df23b3e076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (166 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:456-625 | libs/agno/agno/db/mongo/mongo.py:261-426 \u2014 These two members are one piece of code written twice and then edited apart: 166 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7163af8a1576d5ad63eb932832937fae6eee6f73631f45b6e186847297b4f3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (140 corresponding lines): libs/agno/agno/models/google/gemini.py:1242-1413 | libs/agno/agno/models/google/gemini.py:1416-1555 \u2014 These two members are one piece of code written twice and then edited apart: 140 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5deafaf817a7c6b15f0a7fe9649974801345866948f734b3adc9246484c45af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (179 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1403-1581 | libs/agno/agno/db/mongo/mongo.py:1214-1393 \u2014 These two members are one piece of code written twice and then edited apart: 179 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69987d99b671f47d1f5ab7ccb71d13fbef559937774d51212c4e5293994953d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (139 corresponding lines): libs/agno/agno/knowledge/loaders/azure_blob.py:155-295 | libs/agno/agno/knowledge/loaders/azure_blob.py:304-442 \u2014 These two members are one piece of code written twice and then edited apart: 139 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b7cc99d43a4458734d9c371b5278666087ad252d22e8a47e3d05986b4c9f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (153 corresponding lines): cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py:37-217 | cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py:39-191 \u2014 These two members are one piece of code written twice and then edited apart: 153 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af97329b118627a0ad30485e7dd9df2d38de18b42c2a0e05ab60e541e5b1aac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (114 corresponding lines): libs/agno/agno/tools/function.py:2619-2732 | libs/agno/agno/tools/function.py:2897-3023 \u2014 These two members are one piece of code written twice and then edited apart: 114 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"7515866e400130311efa37809f85a07df37f4ce3464a8baac0ac6339c0e0b334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:3069-3158 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3162-3258 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cfe789abee165973862462d4b0cbcf4fa34e24318033ddf6e74b57638c5d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): libs/agno/agno/knowledge/loaders/s3.py:74-167 | libs/agno/agno/knowledge/loaders/s3.py:176-263 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fe5d8f1191e5f9c044ed3b6173f47379399005af75f730c69801ed458b1fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6051-6140 | libs/agno/agno/db/postgres/postgres.py:8787-8849 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ccb5c41b2144e9683f395ce8a1553861d5b17b7dc450d633c13e92612c6113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 116\u002B corresponding lines): libs/agno_infra/agno/cli/infra_cli.py:130-275 | libs/agno_infra/agno/cli/infra_cli.py:324-463 | libs/agno_infra/agno/cli/infra_cli.py:516-631 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 116 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb606dc20e406b9eb34049bd06bd6501a3e7eba9fb803e1d3fff023bbfb0d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): cookbook/02_agents/18_checkpointing/03_checkpoint_endpoints.py:34-123 | cookbook/03_teams/23_checkpointing/03_checkpoint_endpoints.py:36-125 \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":"cookbook/02_agents/18_checkpointing/03_checkpoint_endpoints.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98f8913582edcce1b97bc42125a4d2414ddcb2fd6fa893dcf650830fb19551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 146\u002B corresponding lines): libs/agno/agno/client/a2a/utils.py:222-368 | libs/agno/agno/client/a2a/utils.py:427-572 | libs/agno/agno/client/a2a/utils.py:630-776 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 146 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf436e4cde664306eb159e4314b61a492c965bbb15133cb33875a8877c5a7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (120 corresponding lines): libs/agno/agno/agent/_tools.py:209-328 | libs/agno/agno/agent/_tools.py:339-480 \u2014 These two members are one piece of code written twice and then edited apart: 120 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc41f661fa06d9272a711e4f944f38a232641527da29a72d744bfe7de76b36a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 121\u002B corresponding lines): libs/agno/agno/os/routers/agents/router.py:504-624 | libs/agno/agno/os/routers/teams/router.py:266-386 | libs/agno/agno/os/routers/workflows/router.py:1452-1572 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 121 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee4182ea4a089ea07450e1205d58ebf60a3800cf0dfba460cba990090c63e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): libs/agno/agno/knowledge/reader/page_fetcher.py:272-345 | libs/agno/agno/knowledge/reader/page_fetcher.py:350-415 \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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"666e7c2d174ae857123dab42c6ca6e1c14ee9f2601f5e06ba1ec185f5e3804b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): libs/agno/agno/knowledge/chunking/document.py:19-138 | libs/agno/agno/knowledge/chunking/markdown.py:239-329 \u2014 These two members are one piece of code written twice and then edited apart: 91 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"222ac3fb9d60ba4cc584ced919df2417b6baa0d6554f56eebeb626ac95f154d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): libs/agno/agno/utils/pprint.py:25-94 | libs/agno/agno/utils/pprint.py:109-178 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c20727d2c2262319d9bc0b61d434d8d982f8d21c0ab30e8fdb0dc96e28021d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (147 corresponding lines): libs/agno/agno/db/sqlite/async_sqlite.py:163-309 | libs/agno/agno/db/sqlite/sqlite.py:197-360 \u2014 These two members are one piece of code written twice and then edited apart: 147 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16f2d8dd8afb882a02a9611781f8d5e44d2b519bb903657e577dc146ed2455c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): libs/agno/agno/fs/toolkit.py:318-409 | libs/agno/agno/fs/toolkit.py:744-822 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eb4867b8ec731c150056a7940dbbe615afcd11f5e413f5aff551bdad9b9531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): libs/agno/agno/reasoning/manager.py:212-291 | libs/agno/agno/reasoning/manager.py:294-373 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"797b8bf5093486af412cdc34ede80f3499522089b12fb01706fff789d0beaa4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (110 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:1060-1169 | libs/agno/agno/learn/stores/entity_memory.py:1185-1298 \u2014 These two members are one piece of code written twice and then edited apart: 110 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bf2a125bab0d7a9b8bb838742893d291bb8109246431a4095148b32b801621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): libs/agno/agno/vectordb/chroma/chromadb.py:1214-1309 | libs/agno/agno/vectordb/chroma/chromadb.py:1312-1397 \u2014 These two members are one piece of code written twice and then edited apart: 86 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd491b746d6f8b4ab3c392a1084a3772516183d947657df9766581dd5093c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): libs/agno/agno/agent/_tools.py:884-975 | libs/agno/agno/agent/_tools.py:1000-1091 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63159e24b3678a5642ba900d8b250d990945b426998fcb9ff317a0e1970e02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): libs/agno/agno/knowledge/knowledge.py:4639-4720 | libs/agno/agno/knowledge/knowledge.py:4725-4802 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1978b844774e914e093356611835b8dc4f8e4227d3c6d078cec3a138254a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): libs/agno/agno/knowledge/loaders/gcs.py:91-172 | libs/agno/agno/knowledge/loaders/gcs.py:181-259 \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":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c250b4a03ab30783f96c8ea8f3c93197ca8871092af182c88974080ab34633cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6302-6368 | libs/agno/agno/db/postgres/postgres.py:8998-9061 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5007e42321a2eaeb1c425e02f76b085c13b2a5cd5c693cd23b0528bdd28901b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): libs/agno/agno/db/redis/redis.py:3608-3702 | libs/agno/agno/db/valkey/valkey.py:4058-4163 \u2014 These two members are one piece of code written twice and then edited apart: 95 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"3140d34275be9143060b421da18e8ca9d2bd4ef7fb3ce6509ed39e782acc8836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:3335-3407 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3411-3484 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0b1dcf4a225a0411062c0cea4679dd7680047487d449189941f0da83b85449"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2625-2722 | libs/agno/agno/db/json/json_db.py:2779-2871 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1529aef177f8d397630c25a1e48f52814ace9fd0df31795ebd737cc1936d295"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:345-425 | libs/agno/agno/vectordb/couchbase/couchbase.py:453-536 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"989e6489280409e454d7e69fc06142d42707dc392a4fd548ee8930eda1f34ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:736-823 | libs/agno/agno/db/mysql/mysql.py:728-815 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60d65f58634788c7931650c308a521867203dc8a253e1a6dea7821edc26ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/os/schema.py:832-877 | libs/agno/agno/os/schema.py:982-1017 \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":"libs/agno/agno/os/schema.py"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c392540450787a0d91fcd717f8dc04a380bd24f88947374238779d0d72748aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): libs/agno/agno/db/redis/redis.py:854-926 | libs/agno/agno/db/valkey/valkey.py:999-1076 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"a415d957371ef44843b0c3a01459bca90bb44d9b947cd3d6ce1a9c264d1d0354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): libs/agno/agno/db/base.py:343-431 | libs/agno/agno/db/base.py:2871-2956 \u2014 These two members are one piece of code written twice and then edited apart: 86 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/base.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"304a22cbe1703f3a4f1c05de39308bc68be5c702bf04d2ba290410584eaf0578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): libs/agno/agno/knowledge/knowledge.py:1465-1534 | libs/agno/agno/knowledge/knowledge.py:1578-1635 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a22e1d51d41f9cf57e3e152504c0598eca7eaddad4fcaa050b2c91b2b501ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): cookbook/02_agents/08_guardrails/pii_detection.py:20-134 | cookbook/03_teams/18_guardrails/pii_detection.py:39-123 \u2014 These two members are one piece of code written twice and then edited apart: 85 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/08_guardrails/pii_detection.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a193f788c7cf1aa05ff474040db244fc4fbfd8667f71c8d77d34950053b7600"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6204-6272 | libs/agno/agno/db/postgres/postgres.py:8900-8968 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c26351d9e291c8a194327ca169e417af025e8651d3c5ee1f8d9d15bdb765fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): libs/agno/agno/tools/parallel.py:135-225 | libs/agno/agno/tools/parallel.py:236-332 \u2014 These two members are one piece of code written twice and then edited apart: 91 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21d0ec2522eb4ae613426f82a15bb908bab32ef6c8514c242958a5cfa5c2eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): libs/agno/agno/company/manager.py:1071-1129 | libs/agno/agno/company/manager.py:2050-2108 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7dfbd6d33ceb8674a8473a9a41bf62924a2dbc5e0181d8bc6dbb33e4391f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:185-257 | libs/agno/agno/vectordb/couchbase/couchbase.py:909-988 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d2cfe857837defa8d2ee04a097b9a587b1b9ba5027977724c08e98d1ca0b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:96-166 | cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py:86-148 \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":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92a129f7749766fb5cf853c3f471570e548a2e823751314144fdf82a1d70d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 38\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:5512-5551 | libs/agno/agno/db/postgres/postgres.py:8235-8272 | libs/agno/agno/db/sqlite/async_sqlite.py:5636-5675 | libs/agno/agno/db/sqlite/sqlite.py:8022-8059 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a22fe20f1199df821322d92ea0484e03337a6c6cc2699daf33521f0d21879"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): libs/agno/agno/workflow/agent.py:88-192 | libs/agno/agno/workflow/agent.py:203-315 \u2014 These two members are one piece of code written twice and then edited apart: 105 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/agent.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f2d2c307f79177437ff99563d07800740ca6087e742fd13ce15ba4eed7cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/db/base.py:657-707 | libs/agno/agno/db/base.py:3152-3191 \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":"libs/agno/agno/db/base.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaeb659767d640e28222161719dc6f7549eea848163c307627f32ec6e669a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): libs/agno/agno/db/migrations/manager.py:35-138 | libs/agno/agno/db/migrations/manager.py:158-236 \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":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7f7bcaf6f5ec31d28ad59c3181e11e01f7823ec0c3104f93ad9bb2a036248b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): libs/agno/agno/models/google/gemini_interactions.py:1307-1367 | libs/agno/agno/models/google/gemini_interactions.py:1409-1466 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaee8b8b07299c8ede25c09d70270d422614be66b06aac484ee217b000baf04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): libs/agno/agno/offload/runs.py:36-99 | libs/agno/agno/offload/runs.py:109-163 \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":"libs/agno/agno/offload/runs.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e86c110f050851b421bf56452807a647f618c1276971791c152086cfadfe54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (98 corresponding lines): libs/agno/agno/memory/manager.py:1355-1452 | libs/agno/agno/memory/manager.py:1466-1595 \u2014 These two members are one piece of code written twice and then edited apart: 98 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8bf5ffba12416525f54b98e5859e98bf23a57edc78929f175662508cae6186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/db/postgres/postgres.py:8155-8205 | libs/agno/agno/db/sqlite/sqlite.py:7945-7992 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f871c4079c7bbb5e7cfa4c953cbc193ea273267f6ebc728b76d992865c1829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): libs/agno/agno/models/google/gemini.py:1035-1095 | libs/agno/agno/models/google/gemini.py:1098-1154 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"62073b2cea065c1e22f08793ec10f04548fe7ecb1e92f8d7defad19ca2e0b1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): cookbook/frameworks/claude-agent-sdk/claude_retries.py:59-146 | cookbook/frameworks/codex/codex_retries.py:62-135 \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":"cookbook/frameworks/claude-agent-sdk/claude_retries.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c334e41c8f25dc29846e5426658b8b3d96f032230d581c6466b4e9cd13aac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): libs/agno/agno/eval/reliability.py:274-349 | libs/agno/agno/eval/reliability.py:352-426 \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":"libs/agno/agno/eval/reliability.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5211ff95131b688fb65c8ec2bcf98f89d951923e07ddd9f4a40846a15423dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): libs/agno/agno/db/postgres/postgres.py:6515-6591 | libs/agno/agno/db/sqlite/sqlite.py:6373-6449 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ac6b4e8278d3a1143d0cbfdf3288aba8dcd0d0d4c57d21ba16e1a8f74143e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/utils/media_offload.py:342-384 | libs/agno/agno/utils/media_offload.py:548-587 \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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dff17993b0c6f86c1b4b5fd8303bdc830747378450efe17b9a968c45f081199"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): cookbook/performance/comparison/run_all.py:120-188 | cookbook/performance/run_all.py:53-116 \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":"cookbook/performance/comparison/run_all.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e189aee68209958715b755ccff4e6997d53752286992516e84cb103b10e17a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): libs/agno/agno/db/singlestore/utils.py:353-411 | libs/agno/agno/db/sqlite/utils.py:702-754 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/utils.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd86fa3f0fdb763543806d16ddf18e1789f2d23ec77c546a32cee155d2e66625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:8238-8262 | libs/agno/agno/db/sqlite/async_sqlite.py:7452-7476 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbc06342e898b1c0a11e5391c0152e07b546190203f7a63d3dd1ef8d34cff90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/run/approval.py:571-631 | libs/agno/agno/run/approval.py:635-690 \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":"libs/agno/agno/run/approval.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"79590d7ad2d915243d10cc26254b17d20ff562ec8e50795b72b955c0f4b20591"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1913-2001 | libs/agno/agno/db/mongo/mongo.py:1720-1807 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab2371037491f02a22bf999393b51661e15c27b0387416d3d22876f2dea5978"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): libs/agno/agno/tools/scheduler.py:615-722 | libs/agno/agno/tools/scheduler.py:1004-1111 \u2014 These two members are one piece of code written twice and then edited apart: 108 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1965c834d10cfe02f00185dbb3d1183baef1dbfc10fb5e4bce1683c9e49a7a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1588-1641 | libs/agno/agno/vectordb/opensearch/opensearch.py:1441-1503 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d79032bab941cc45cbfb6b9bd54f4444813107530cfe594bbbbc82acda88b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 78\u002B corresponding lines): libs/agno/agno/agent/agent.py:1968-2061 | libs/agno/agno/team/team.py:2001-2079 | libs/agno/agno/workflow/workflow.py:12055-12132 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 78 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9b9a075b866c9fe623244f491b999ba4f3d5d83825aaa644d193ac047f2649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): libs/agno/agno/tools/company.py:489-537 | libs/agno/agno/tools/company.py:594-644 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d34bcc3d9f2f60b8f23ae30800576b11a54328c49b6ad0c15f2802a6092a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (124 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:199-322 | libs/agno/agno/db/postgres/postgres.py:233-358 \u2014 These two members are one piece of code written twice and then edited apart: 124 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dc0eadb4a519a038a57e6d75d22b1cee2759c503ca41021f5580179f86c7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): libs/agno/agno/models/deepseek/deepseek.py:142-203 | libs/agno/agno/models/openai/chat.py:315-379 \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":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"260cf3ab61782893589dcf6a55355234af13a6fc612c995048f46355a69b55a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): libs/agno/agno/os/middleware/jwt.py:870-940 | libs/agno/agno/os/middleware/jwt.py:950-1003 \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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1925820b8b0bae19e3463126ff11c130ad0b88367aed4ed7dd404fbd7dbf60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): libs/agno/agno/knowledge/knowledge.py:1196-1256 | libs/agno/agno/knowledge/knowledge.py:1267-1330 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"409e6620416c50edea4fd50e33f5cf30d09aed342b7ce9da2455a80a02d3304c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/knowledge/knowledge.py:4807-4864 | libs/agno/agno/knowledge/knowledge.py:4868-4923 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4807}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad74c18cfa1993f54bf512e610ee3951192f6cc43977453cbe93b79fc40a029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): libs/agno/agno/knowledge/knowledge.py:4015-4067 | libs/agno/agno/knowledge/knowledge.py:4075-4128 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4015}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c07d4e4f2d76241541986b443db3e815cce94a4ed79bb2f3be9549d5ab3405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:3146-3219 | libs/agno/agno/learn/stores/entity_memory.py:3230-3302 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"565432b384597910fc4e251ab2db9b391bb648ff93c01318b58faac34bb7ad69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/utils/media_offload.py:628-660 | libs/agno/agno/utils/media_offload.py:669-697 \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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6e121cd0565186cd65cc52ba9a7ac6c44c5d1f7e88b93093673484634cba77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:49-92 | cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py:41-82 \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":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd52008b5bf448ff6d23eb2ab3bce5f77368bad388602ce2f689dfbbe75a0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): libs/agno/agno/memory/strategies/summarize.py:49-119 | libs/agno/agno/memory/strategies/summarize.py:126-196 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/memory/strategies/summarize.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3e4a3f9ef29f8758aa76b2fcee4303ac90d5f0fec577d10151db6953114234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): libs/agno/agno/agent/_utils.py:182-261 | libs/agno/agno/team/_utils.py:164-260 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"702a0537797f19bd91751c888a65ebd50f1ff21bd68811cfc0fc511ee8da5ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:1449-1506 | libs/agno/agno/db/sqlite/async_sqlite.py:1405-1460 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9751e97556438effc404b01239d260fedeeebbb288295c436318138dc47242eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): libs/agno/agno/tools/reddit.py:315-399 | libs/agno/agno/tools/reddit.py:402-477 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/reddit.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bac6cb795d76d594a347dea1f2f31a67d6b0d4a0309b7e8fe6af2a439b74b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6780-6811 | libs/agno/agno/db/postgres/postgres.py:9456-9487 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67e943b5388521f5eca6cc054a4ec8f66961e51dcf9ff78c792331522f2bd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/db/redis/redis.py:2020-2069 | libs/agno/agno/db/valkey/valkey.py:2353-2402 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e900739b2594448bc44f3da10ad1c707419b670ff7fe080123dd17b9a3ee16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/run/status_persist.py:261-334 | libs/agno/agno/run/status_persist.py:344-393 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e37e87e0b6659d213708b31f5ff2e9e831aa9fdec1dd20b159aa74aa574c916"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): libs/agno/agno/context/web/exa.py:49-103 | libs/agno/agno/context/web/parallel.py:134-194 \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":"libs/agno/agno/context/web/exa.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d20edd7baf5003c6c782fb957a3476aedc188584a8191c9de6393491f589b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:861-902 | libs/agno/agno/db/mongo/mongo.py:665-707 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775cb76f951b028de55aad431a7086ccb951a5624bb325d1a2a03d050552a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:1964-2031 | libs/agno/agno/db/postgres/async_postgres.py:2364-2431 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5470fe052b0d7935b60be2d384862541bec96a9bac910f7344e3b1085104d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:1728-1787 | libs/agno/agno/learn/stores/entity_memory.py:1799-1854 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c54384b6b130a60b8ca083b1b36b39bf41f3234710a506155f35ea2f792bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 67\u002B corresponding lines): libs/agno/agno/agent/_storage.py:697-765 | libs/agno/agno/team/_storage.py:289-355 | libs/agno/agno/team/_storage.py:359-434 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 67 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0636f6054331f292d10d00c5c6af0d525356f149cc6a480444cafc0006bd0d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/db/redis/redis.py:1763-1812 | libs/agno/agno/db/valkey/valkey.py:2078-2128 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ff78a6156005924030dbc06bc541ae753fb94a24a43611f61d1942f403931e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/tools/zep.py:87-134 | libs/agno/agno/tools/zep.py:297-344 \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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"04210c59c8de0f548975e730f1ee74e620466879d37cdb9ff270200bc9daf56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:5362-5414 | libs/agno/agno/db/sqlite/async_sqlite.py:5550-5605 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dfb749110176821d1fa3c1d2f20092b705d1a61776fd5203ecae17c4a4c286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): libs/agno/agno/tools/oxylabs.py:92-164 | libs/agno/agno/tools/oxylabs.py:264-352 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6023052154ce54e24188155d4cb4cda87ccd0258a1d8c00fe214793f404047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): libs/agno/agno/db/redis/redis.py:409-467 | libs/agno/agno/db/valkey/valkey.py:501-560 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4bc5829fb5a85f490cc6002988ebf7070fdbe32aa051af11b8dc61de1127a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:585-640 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:649-708 \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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ebf54a7b584aeda97c32406a44a1d54f3af2f4e6f1530695aab20e9dff8d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/fs/toolkit.py:253-305 | libs/agno/agno/fs/toolkit.py:690-731 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6002de2a5787ab3bec25d7e5b210dd7276d4d75a877015088e6567b78c3550d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_0.py:359-417 | libs/agno/agno/db/migrations/versions/v2_5_0.py:491-549 \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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ac59fe0f5d41b4efe55ae59b7f6872fc2ac507e091603cce4572e014d6d730"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): libs/agno/agno/vectordb/lancedb/lance_db.py:436-493 | libs/agno/agno/vectordb/lancedb/lance_db.py:530-573 \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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12c8f64473cf9137e5e535f22b4a943e952e727ad015c305c4638e99d028b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 57\u002B corresponding lines): libs/agno/agno/db/valkey/valkey.py:866-933 | libs/agno/agno/db/valkey/valkey.py:1490-1546 | libs/agno/agno/db/valkey/valkey.py:3492-3564 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 57 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a0a78a8383d3edda246ec3615fc911398cb3d59cf71ddd21e105ee68383f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/compaction/compaction.py:933-982 | libs/agno/agno/compaction/compaction.py:1003-1042 \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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"539e4d704a6ce35a5a80e511005da772d2ac8473e23a09712f54eac918654c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/os/authz/_role_store.py:504-540 | libs/agno/agno/os/authz/_role_store.py:1015-1044 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f590f51782e43e86526c4910ce1048b83de521e19e5742e598b44373c58b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6861-6919 | libs/agno/agno/db/postgres/postgres.py:9532-9587 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6861}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5b95c39e2bed528e4aec37c2f45272ed8d3e68a1389b904f7d83326693d0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): libs/agno/agno/agent/_messages.py:731-799 | libs/agno/agno/agent/_messages.py:813-870 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e5ab4384b60a82859cd727d4b976d440f8c3a7c8c189824590ac5c3bff4284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): libs/agno/agno/tools/postgres.py:175-245 | libs/agno/agno/tools/redshift.py:258-342 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaba41e59f39c95750e42e0f693624d1178e3259e2bd0f2ed61e4475f57de8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): libs/agno/agno/cloud/aws/s3/bucket.py:52-106 | libs/agno_infra/agno/aws/resource/s3/bucket.py:53-107 \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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8118df728e3f64bd53a871b1e82d12b93c5705d951d55ad975c8f07379ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 63\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:1139-1208 | libs/agno/agno/db/postgres/postgres.py:1290-1362 | libs/agno/agno/db/sqlite/async_sqlite.py:1101-1163 | libs/agno/agno/db/sqlite/sqlite.py:1290-1358 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 63 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8875926395a63eb735c988a82f99acadbbfae11714e19cffe6f5fd299a290a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/tools/studio_runner.py:2129-2176 | libs/agno/agno/tools/studio_runner.py:2181-2232 \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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd93953d58790f7e6132a018bf2e94decac8426037653aa6ee55eeced21f1b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:985-1031 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1035-1084 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf857cbd94d74a0e0c37a5425c9dab62a99c316e8739315d7170179dfe3d8ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): libs/agno/agno/tools/file/file.py:351-431 | libs/agno/agno/tools/workspace.py:816-864 \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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"617cb4567e2799455a5b590f30a9fd8b18e8e17caa4643f54fb119fe59f6b209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py:24-131 | cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.py:19-88 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5add715da7efbe15bd566f8b309843bd3bcae1ecc50da884b15fd05e88679d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): cookbook/05_agent_os/08_os_config/config_basics.py:100-132 | cookbook/05_agent_os/08_os_config/yaml_config.py:60-95 \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":"cookbook/05_agent_os/08_os_config/config_basics.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4785ec3818cfe0e391fb4c1d8a9b615657e4cf2bc4ec76b2ebb72264c12c6a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6148-6201 | libs/agno/agno/db/postgres/postgres.py:8857-8897 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fb9675f3f5fb63853e8c392f48176918bcac143cc58349b0248bbd8b9891f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_0.py:681-740 | libs/agno/agno/db/migrations/versions/v2_5_0.py:811-870 \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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f8df733ce72bc1be3bc3985c2ec616bf357a169ce3943c757aebd675b73a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): libs/agno/agno/utils/media.py:266-312 | libs/agno/agno/utils/media.py:365-411 | libs/agno/agno/utils/media.py:415-469 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"libs/agno/agno/utils/media.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"16616aed56ee30f4000fa1342fa366b4283ac1c7e035d4580e32f4511ab28865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:107-216 | libs/agno/agno/vectordb/opensearch/opensearch.py:85-180 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef542046207140f162b00c3eaa04d3e114f9ecf6db3e306428716f5877ebea9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): libs/agno_infra/agno/aws/resource/ec2/volume.py:96-161 | libs/agno_infra/agno/aws/resource/ec2/volume.py:268-327 \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":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bd14296ca8c2b78c4fb189ac1c05a3454f9346e5853b5ebdb7c0a929c9e55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:5172-5220 | libs/agno/agno/db/sqlite/async_sqlite.py:5356-5407 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5172}}}],"partialFingerprints":{"codehealthFindingId/v1":"97859cb8fd75bc366aee59e857febc2234b65b4cc8eaf331f5f5b88a20a7d129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6814-6858 | libs/agno/agno/db/postgres/postgres.py:9490-9529 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6814}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef4c058dc431861157263d2ab3074074d3b2b32e7ba1b15831691f22a5c0e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:4102-4151 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4155-4217 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4221-4286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fd39df15e9a081d3058658eb34fe97dcfd438829bfd0c956d97cd2e79fc074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): libs/agno/agno/tools/perplexity.py:61-118 | libs/agno/agno/tools/perplexity.py:121-179 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/perplexity.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fafa768b7b8e558c0b22545c2365a5fe1bc908d94084764a6975d149cd5875"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:170-221 | cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py:152-186 \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":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e228d673d71a9df002c00efedf0f767b89da1821f0833c52b17f3d3814b7710e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1132-1178 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1332-1390 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1394-1453 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e4ba87a8046fb64479c0c014f881fbe37affaa6276a12930e57388fb733c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 84\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:140-228 | libs/agno/agno/db/mysql/mysql.py:140-223 | libs/agno/agno/db/singlestore/singlestore.py:140-232 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 84 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f91da9bfcd79890a6b49db9d89ddfa377f8540d54507d0ecef3fa1120d4fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/vectordb/surrealdb/surrealdb.py:476-527 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:855-904 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4df3c31622ceb8d3cc4e0c4f93a724419887393077976638060a5edf2978e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): cookbook/02_agents/14_advanced/cancel_run.py:124-195 | cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py:123-203 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2521019220e0f36f05ca0508699675f9bb02c8c411938830ac6a5772876c64b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): cookbook/05_agent_os/26_authorization/05_managed_roles_audit.py:62-107 | cookbook/05_agent_os/26_authorization/11_custom_audit_sink.py:95-142 \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":"cookbook/05_agent_os/26_authorization/05_managed_roles_audit.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0719b6a875daf90404c9cce780a5da3c089113b4d3862f799fa83617567713ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): libs/agno/agno/agent/_session.py:81-152 | libs/agno/agno/agent/_session.py:161-228 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b2db88083d040ae0c587d86a1e2142d65701d1a249f210ceb8b8e282c06b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7669-7688 | libs/agno/agno/db/postgres/postgres.py:10414-10433 | libs/agno/agno/db/sqlite/async_sqlite.py:6883-6902 | libs/agno/agno/db/sqlite/sqlite.py:9355-9374 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7669}}}],"partialFingerprints":{"codehealthFindingId/v1":"675036b511f36c434c223a5e2baf3dbaaa23856cdaeb8847cc818e359750b339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): libs/agno/agno/db/postgres/postgres.py:7280-7334 | libs/agno/agno/db/sqlite/sqlite.py:7089-7142 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7280}}}],"partialFingerprints":{"codehealthFindingId/v1":"65335a648c06c826bf6cadeeb3b1d2b66487d621ed0342efa3c9c7898d676274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): libs/agno/agno/tools/google/calendar.py:466-533 | libs/agno/agno/tools/google/calendar.py:869-930 \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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacde532533adf7c07eca29e77c0cf4b5b3cdf5443110fff82a9e0ff3def1118"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): cookbook/02_agents/14_advanced/background_execution_metrics.py:46-92 | cookbook/03_teams/14_run_control/background_execution_metrics.py:55-111 \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":"cookbook/02_agents/14_advanced/background_execution_metrics.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"95406142a7292372cdab1ee1636f833bbbaa2cf4d87d7cf47126b7ef0ec79088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): libs/agno/agno/db/redis/redis.py:2659-2728 | libs/agno/agno/db/valkey/valkey.py:2997-3075 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7108b223dd8ba3f78f1d4f13095f21ffc73498c6e11e9d0a338e32fec654d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): libs/agno/agno/db/surrealdb/surrealdb.py:2178-2224 | libs/agno/agno/db/surrealdb/surrealdb.py:2229-2286 \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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39956ec9bb831d7affc4b2f908942b92633bf7ff3317597567d716ffee4abfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1211-1272 | libs/agno/agno/db/mongo/mongo.py:1022-1083 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd3a0015410a3d04c9e8a384a3fbe53e92dfa078d556800c8a757192c7b7c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): libs/agno/agno/tools/lumalab.py:66-128 | libs/agno/agno/tools/lumalab.py:138-183 \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":"libs/agno/agno/tools/lumalab.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5618134c0047dd62bca4e13f3ba3c5cb4265fcc49658023318df7f65161250"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 61\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:1271-1335 | libs/agno/agno/db/mysql/mysql.py:1287-1347 | libs/agno/agno/db/postgres/async_postgres.py:1904-1975 | libs/agno/agno/db/postgres/postgres.py:2139-2208 | libs/agno/agno/db/singlestore/singlestore.py:1337-1399 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 61 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"516886de949c2ff268c06dc8f4b37f7e04de99155f4143f52545c76aa33743b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 47\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:5562-5610 | libs/agno/agno/db/postgres/postgres.py:8283-8329 | libs/agno/agno/db/sqlite/async_sqlite.py:2508-2574 | libs/agno/agno/db/sqlite/async_sqlite.py:5686-5734 | libs/agno/agno/db/sqlite/sqlite.py:8070-8116 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 47 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fec09bd4e1691a798a1294ba2a6d80b768a08552f982eeda3d79f1c44ab18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:3622-3675 | libs/agno/agno/db/postgres/async_postgres.py:3877-3929 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef6b22363767b5f7502612bca3d3fa43539b9e34d156e8b0cb98fbcbc0ff678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/agent/_run.py:5941-5981 | libs/agno/agno/team/_run.py:4399-4449 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5941}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f7d3c99d4d9ae43a0c1c8e3936a57df6f64342c4549e12527208a71acb761a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): libs/agno/agno/db/migrations/versions/v2_3_0.py:570-628 | libs/agno/agno/db/migrations/versions/v2_3_0.py:632-691 \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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e556787a04589726789c774affc5f7dcb45807092dc8bd932401f8c0a85de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/utils/agent.py:889-934 | libs/agno/agno/utils/agent.py:940-982 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/agent.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"581de47ab1bf2b6864bc0a8b2c1247ddab73a7ff874738d6ea19a1f4dbdb84a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:2161-2212 | libs/agno/agno/db/postgres/postgres.py:2655-2705 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8ecf8f4cbe3fca46fa13daa4495b06880b746e621017ad20895fa30758071"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/db/redis/redis.py:2197-2234 | libs/agno/agno/db/valkey/valkey.py:2529-2566 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b96b827d1efe2499b9abda8f6c98c9dd9688d99f3cb9223d2dee2c4327c61cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/models/google/gemini.py:462-509 | libs/agno/agno/models/google/gemini.py:517-561 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e52686b23ceb9a1227c231a0805e29e73845888c2db7c4c1119aa73ef72e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/tools/openrouteservice.py:207-248 | libs/agno/agno/tools/openrouteservice.py:253-294 \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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"073cd9b758c5adf216e6c1a7a7373ec60b3817457f333c981e9a67fb230195a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/fs/fs.py:509-546 | libs/agno/agno/fs/fs.py:713-750 \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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30abd4c66000218b6ca9ab19fa156e5355b7b1a3b6a45886d4302b505aafb97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): libs/agno/agno/agent/_messages.py:2364-2445 | libs/agno/agno/team/_run.py:5313-5376 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6bdfd5585c12d97aefb9a75f53aa72daf751ce6c6b4307a57204ea6d9e577"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): libs/agno/agno/agent/_default_tools.py:580-625 | libs/agno/agno/agent/_default_tools.py:632-684 \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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bad71dad3e5f62bd51789873629dc3ec7f02acf446b0ba4e243efa023422c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/company/manager.py:683-711 | libs/agno/agno/company/manager.py:1660-1690 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bdd435d34eb6b9557616a1e333b89e8daf8f08283381311983d310e62b08fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/tools/xai_auth.py:149-187 | libs/agno/agno/tools/xai_auth.py:230-270 \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":"libs/agno/agno/tools/xai_auth.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87ca3f569bb2227dc6b332af496b1c3ab553f6a679cc9e458a60580f776d901"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): libs/agno/agno/knowledge/reranker/infinity.py:63-123 | libs/agno/agno/knowledge/reranker/infinity.py:133-195 \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":"libs/agno/agno/knowledge/reranker/infinity.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"914c2a48d86065695ecbc283fd0662c475aeaff991c0dd963d0607e0e79bba4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:8267-8286 | libs/agno/agno/db/postgres/postgres.py:10996-11015 | libs/agno/agno/db/sqlite/async_sqlite.py:7481-7500 | libs/agno/agno/db/sqlite/sqlite.py:9937-9956 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8267}}}],"partialFingerprints":{"codehealthFindingId/v1":"109e30539d5eda25988e0a20b2d97dcc57f1f9c3fd84d600f5c55a78a9e26026"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/agent/_init.py:436-473 | libs/agno/agno/team/_init.py:820-850 \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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3dd696b10aef8e734ee8d1876ef98b35efcd914e03ef654f6ea9705a4fece"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/db/mongo/utils.py:72-113 | libs/agno/agno/db/mongo/utils.py:117-157 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/utils.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ea461bcb10976b805fd37ef5fe9ee3ea4fe67f349c10a70ce639a4f40c2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 66\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2036-2104 | libs/agno/agno/db/mysql/mysql.py:2033-2098 | libs/agno/agno/db/postgres/postgres.py:2925-2995 | libs/agno/agno/db/singlestore/singlestore.py:2041-2107 | libs/agno/agno/db/sqlite/async_sqlite.py:2579-2646 | libs/agno/agno/db/sqlite/sqlite.py:2846-2912 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 66 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad25a11f0f9bb1caa9c1f76f6e82bc8dbd5e745729f933f2dfd5da6efb6956f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_6.py:207-247 | libs/agno/agno/db/migrations/versions/v2_5_6.py:303-346 | libs/agno/agno/db/migrations/versions/v2_5_6.py:402-444 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f33dde3009415fd42a58c107173ebc1108db6ca832b98de36010a2155132e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7962-7981 | libs/agno/agno/db/sqlite/async_sqlite.py:7176-7195 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7962}}}],"partialFingerprints":{"codehealthFindingId/v1":"420cf1bdda906a93efab4caeb4014ba189cb60d4936ba61574b3efa6c34975ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:435-500 | libs/agno/agno/learn/stores/entity_memory.py:511-548 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c386a700450a5091b44c36e2d1284a8767949f34d21a06a1e66406c5da7f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1733-1790 | libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1898-1952 | libs/agno/agno/vectordb/opensearch/opensearch.py:1656-1700 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e2af528dfe317f7a9646ed556d2a27a62acd367ccdf28bd09e69063128e58e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): libs/agno/agno/tools/redmine.py:146-196 | libs/agno/agno/tools/redmine.py:214-280 \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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"129daef5622be6d06ac9c7dd33218659f69d26cebcb3305c628f86c87cc2e7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 49\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:1395-1446 | libs/agno/agno/db/postgres/postgres.py:1560-1615 | libs/agno/agno/db/sqlite/async_sqlite.py:1354-1402 | libs/agno/agno/db/sqlite/sqlite.py:1555-1604 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 49 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6642df5657bd04b08b2d4cf0f21add3964d433b117fa0daf4fdc0906471b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/fs/fs.py:602-630 | libs/agno/agno/fs/fs.py:808-836 \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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd848125ca78dbfba3d7dc48d9223a9086252e3f6e356b739117efa74e0d2c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/learn/stores/decision_log.py:375-432 | libs/agno/agno/learn/stores/decision_log.py:441-480 \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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d81b2c41a2cd6cd876633bd2434d49b9be98448911f7942b7255589dafec58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:1329-1374 | libs/agno/agno/learn/stores/entity_memory.py:1379-1419 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234ebd41c8a9a0ee297e6ff4a7a9945df1067c2b7e2482d565110b30bd274ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): cookbook/05_agent_os/05_human_in_the_loop/user_input.py:115-155 | cookbook/05_agent_os/05_human_in_the_loop/workflow_hitl.py:149-191 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/05_human_in_the_loop/user_input.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7456fcc26da8a9637e1cdb6994cec09873afda847fe58ed7f5fbd9012c41b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1527-1570 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1662-1695 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e02ff685bf3ee4c55433d8dc192395da79b32c58eb7ba376ba75da8fa8e89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): libs/agno/agno/memory/manager.py:1062-1118 | libs/agno/agno/memory/manager.py:1132-1203 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d0413bb4f34ed49b6728f20a74c5acabfd08e4cf8fd4da71970b7e56f5023f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/agent/_run.py:6599-6652 | libs/agno/agno/team/_run.py:7418-7465 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6599}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b87f7e86b7e1e6a931c975b12fbcd2eaa1217cb24229850533a00ad11a73cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/agents/base.py:827-859 | libs/agno/agno/agents/base.py:873-905 \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":"libs/agno/agno/agents/base.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ab752bda9c67bad1315e430021978cb5ba96f5e16bc36ba613f441fbddd188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 51\u002B corresponding lines): cookbook/02_agents/08_guardrails/openai_moderation.py:22-105 | cookbook/02_agents/08_guardrails/prompt_injection.py:18-88 | cookbook/03_teams/18_guardrails/openai_moderation.py:52-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 51 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":"cookbook/02_agents/08_guardrails/openai_moderation.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf590f41553a39cfc07d66b06f3f2580fba761951192c6b00f0a78b7fbd8c064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): libs/agno/agno/db/redis/redis.py:1279-1337 | libs/agno/agno/db/valkey/valkey.py:1618-1676 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a231d6158a56d833c437adba416c581c0acf27692f567731c1c2dd744fbade9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2065-2097 | libs/agno/agno/learn/stores/entity_memory.py:2108-2144 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8472fc069d3944df79a213ec17bab625513d60f95b178166562abecdf3a741"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1803-1863 | libs/agno/agno/db/json/json_db.py:1929-1984 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d917c33907e6287de170f8cb944ec8984cb196e110178d72c2db31b83170280d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/run/approval.py:232-279 | libs/agno/agno/run/approval.py:295-350 \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":"libs/agno/agno/run/approval.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede912b251939b4d62b8d48c2a54226ddc215d946431691b3d9f1a6cf20c5495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:62-97 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:67-102 \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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef97bc107e3cd8949bec615271ea000e7c7b575b2f269598563159504a18e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1360-1417 | libs/agno/agno/db/in_memory/in_memory_db.py:1122-1177 | libs/agno/agno/db/json/json_db.py:1464-1530 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9678198e2abad00920374cf6a9011f88d73a37dd0abec38478d1ea26f78e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 41\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_0.py:289-350 | libs/agno/agno/db/migrations/versions/v2_5_0.py:421-482 | libs/agno/agno/db/migrations/versions/v2_5_0.py:558-610 | libs/agno/agno/db/migrations/versions/v2_5_0.py:614-677 | libs/agno/agno/db/migrations/versions/v2_5_0.py:744-807 | libs/agno/agno/db/migrations/versions/v2_5_6.py:584-624 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 41 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0021ae7ff6b8f528252f0d9c619b93e3890baf2b2786d6e5010d5222959de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): libs/agno/agno/eval/agent_as_judge.py:308-356 | libs/agno/agno/eval/agent_as_judge.py:365-411 \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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fabdc7933cc18648f4fdae9c27d144f5996b0828c47c18e8c9ee7a18bfd54c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/team/_session.py:374-420 | libs/agno/agno/team/_session.py:424-466 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_session.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c899287252854cc25c76b94da336af5f2c74141d64971d633c905a24d03269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/agent/_utils.py:134-178 | libs/agno/agno/team/_utils.py:113-160 \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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afe2c523b0b2c3916ce51e761abf05315fcb40fff0d409cc11cce5174f680f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3340-3395 | libs/agno/agno/db/mongo/mongo.py:3089-3145 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3551539c00ce9d740fb91dd60aaf23052a3cf1323ae26982eaca32bf12f72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6518-6568 | libs/agno/agno/db/postgres/postgres.py:9204-9253 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6518}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b785fb5c808c3d0c6cc9275a5ecc4eaed89dc29a892e47cc587d697b12369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/db/redis/redis.py:4509-4546 | libs/agno/agno/db/redis/redis.py:4549-4606 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e2d408e99eea018515a39d96ee26fb737d456c5ce06e6ce81ddc1275aae289"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/models/huggingface/huggingface.py:140-183 | libs/agno/agno/models/mistral/mistral.py:135-173 \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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb34856b56f06601a40282ed75807d581c377f176d8382f4d6f54a8b32f5fce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): libs/agno/agno/utils/agent.py:96-149 | libs/agno/agno/utils/agent.py:161-209 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ee20c5360c8b98a3fd94110505ee7ddc8012a440a085202dc377ec0914980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): libs/agno/agno/company/manager.py:482-533 | libs/agno/agno/company/manager.py:1453-1504 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/manager.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b960f52e1051675549ac2252e3a49ed568f4c6e88a5f0c7813e3f52ca19f3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/company/manager.py:724-754 | libs/agno/agno/company/manager.py:1703-1733 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6fc9a4706491cbdad9237869270f9506fbe2bf7200e92a67dfac4ef720db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:226-319 | libs/agno/agno/db/mongo/mongo.py:132-210 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3ad147df9fa5c1d17e884a85dc90c42da9ed847d882e308d9bc3df7c9eafc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 39\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2896-2940 | libs/agno/agno/db/mysql/mysql.py:2848-2889 | libs/agno/agno/db/postgres/postgres.py:3671-3709 | libs/agno/agno/db/singlestore/singlestore.py:2847-2885 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 39 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2896}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de96587790d1050875622962d7fe46d3e61cda9e1ef6712d264c901168bd9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/knowledge/reader/excel_reader.py:171-202 | libs/agno/agno/knowledge/reader/excel_reader.py:209-237 \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":"libs/agno/agno/knowledge/reader/excel_reader.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"446ae66798e5af090ac110c0357cfa506c113c7a8b7b53675b714ce6ba52249b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/fs/fs.py:549-586 | libs/agno/agno/fs/fs.py:753-792 \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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f58b169a6d8460ab8152aa3e27c5223ccbf33346d2fef4b497a57c72d74ce32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/knowledge/remote_content/s3.py:28-88 | libs/agno/agno/knowledge/remote_content/s3.py:208-263 \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":"libs/agno/agno/knowledge/remote_content/s3.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a464d2ebf7a7e478a34ea2a73d5197daedd365f12d626a6a668d0f37214463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): libs/agno/agno/tools/models/nebius.py:72-124 | libs/agno/agno/tools/openai.py:107-166 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models/nebius.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a889020097d734ec86c91c60e9920e090202308717d030b924aea5ba9fda274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 40\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_0.py:243-285 | libs/agno/agno/db/migrations/versions/v2_5_6.py:541-580 | libs/agno/agno/db/migrations/versions/v2_5_6.py:628-667 | libs/agno/agno/db/migrations/versions/v2_5_6.py:671-712 | libs/agno/agno/db/migrations/versions/v2_5_6.py:716-755 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 40 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c20207f66030498a1668049b4ba9101662e3ba08357afcde32ade143f8c553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/tools/google/gmail.py:1476-1508 | libs/agno/agno/tools/google/gmail.py:1599-1630 \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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c56c88022851b5d180aa634b6c86748831556a66aedd0e23cbf3ac8c6528a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/os/utils.py:2695-2726 | libs/agno/agno/os/utils.py:2730-2758 \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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2695}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c664f8062474f05e70a454c4732a1085956820a51bf1476fd468e14f3fd8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): cookbook/02_agents/14_advanced/background_streaming_resume.py:52-103 | cookbook/02_agents/14_advanced/redis_event_stream_resume.py:55-102 \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":"cookbook/02_agents/14_advanced/background_streaming_resume.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5466b0305f46c7e19e909a5d4fc647e364cb8552eaf7a9bf70c635c7b60f728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 46\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2208-2272 | libs/agno/agno/db/mysql/mysql.py:2202-2260 | libs/agno/agno/db/singlestore/singlestore.py:2215-2266 | libs/agno/agno/db/sqlite/async_sqlite.py:2776-2821 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"70885aac596263099d65aac3ccaa613b7f21be5ac2ba5058544b128191300f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:4030-4073 | libs/agno/agno/db/postgres/postgres.py:4565-4608 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4030}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f6003548f4dc3ee6c8bbf22d25a7720bdc7e8f92a425570c223dc53c7065bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): libs/agno/agno/tools/coding.py:763-818 | libs/agno/agno/tools/coding.py:821-871 \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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c17ebbd944c651a97d87677c2bc8ccb94eb0d861ef28612fb6ef35ac8fa8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/scheduler/manager.py:334-359 | libs/agno/agno/scheduler/manager.py:584-611 \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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeebf9271048ccaa4240dbc927881763279b22f438bddffb359bdadf9b1b10dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): libs/agno/agno/tools/memory.py:132-183 | libs/agno/agno/tools/memory.py:192-249 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/memory.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42801967328772aa410a9699e3545e9b86e93c0487e83dea4619d8e22a58bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/workflow/workflow.py:1863-1893 | libs/agno/agno/workflow/workflow.py:1896-1923 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf57be030d3ec3648ef7aa80e09bc54d7dfbff57daa819308802e50797fceae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno_infra/agno/aws/resource/iam/policy.py:36-75 | libs/agno_infra/agno/aws/resource/iam/role.py:48-91 \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":"libs/agno_infra/agno/aws/resource/iam/policy.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3483c31087f31c29364a7eb078435e2bdc0b3b828f651db556f723b95f27b93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3903-3957 | libs/agno/agno/db/mongo/mongo.py:3711-3765 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3903}}}],"partialFingerprints":{"codehealthFindingId/v1":"318c1c7f8ebf9c4501f6902604b1ec2203f79a42a7bb2e650ca04f65f19a4b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/company/manager.py:575-601 | libs/agno/agno/company/manager.py:1546-1572 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e3b5a163a94439d3f1319a1cd2615b606075cc8400387a3cf71d623663eae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): libs/agno/agno/db/postgres/postgres.py:7788-7879 | libs/agno/agno/db/sqlite/sqlite.py:7587-7669 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fc1a8b280ed95a707c24d9a1f871c5b3829d007e1c485f0806dc2a968b10f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/fs/toolkit.py:539-573 | libs/agno/agno/fs/toolkit.py:954-978 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"920c4331bb5c41e71d2350aba1223360f802c6a1f463f43441df42196112cc1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): libs/agno/agno/os/utils.py:1781-1856 | libs/agno/agno/os/utils.py:1871-1921 \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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"965da96307fa2cc0bd0e592248c7e35cdeb986a0ca90caec0a21212c3d22076c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/tools/slack.py:601-640 | libs/agno/agno/tools/slack.py:867-912 \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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce6941682087b5822ab2dc81a42de7c49d6bfa6027694e7d8f4d8e45012961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4862-4918 | libs/agno/agno/db/mongo/async_mongo.py:4950-4996 | libs/agno/agno/db/mongo/mongo.py:4694-4738 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4862}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f110f44c8ad6f74512fad8eec81f0658985c258dc79c77cbf934b3a8d9a5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:523-553 | libs/agno/agno/tools/models/aimlapi.py:556-588 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d84694dad9c953cb2c6bb752aa079fbe6c758aac65bc2ed0d750f376a9672"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py:61-120 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py:126-193 \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":"cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c363861952de024bf94c8a98c39cc6d532bbd0df86650e081c4d03e83aca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:892-963 | libs/agno/agno/learn/stores/learned_knowledge.py:976-1042 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9469fa7f03b93c68267f0d2b01055089542eaadb1aea33cf6c0fc1f7ce3b836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/tools/atomic_mail.py:478-508 | libs/agno/agno/tools/atomic_mail.py:568-599 \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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b42e5c238d7fa55facafc4138de75ad93517c07e2d13a5194ba3994cda3842c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/tools/zep.py:206-239 | libs/agno/agno/tools/zep.py:421-458 \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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09424daba66a3a11388f53e0a614e5097ac5b778556ebf42120559ead0ecbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2120-2174 | libs/agno/agno/db/mongo/mongo.py:1922-1974 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea002ea61837e59f142a2fca8a2dca5a82b5ab725ba6dd2233a9b4fd504594a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): libs/agno/agno/db/postgres/postgres.py:5698-5749 | libs/agno/agno/db/sqlite/sqlite.py:5563-5609 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ed436e0ac67be43b28d1b9fa3d7748244a03e16d0ab9e05e283d6dbbb777fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/os/schema.py:643-663 | libs/agno/agno/os/schema.py:683-703 \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":"libs/agno/agno/os/schema.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ffd61a872fd72a835533fd4073101384cb06f3cd98eb98c9bcd0f198d719cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/knowledge/loaders/github.py:102-144 | libs/agno/agno/knowledge/loaders/github.py:147-196 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"97abad32ce38fde4cff728090b6aaf4b9a01c4d2e66f00ef38acf32ebf66eb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/media/storage/s3/async_s3.py:79-102 | libs/agno/agno/media/storage/s3/s3.py:81-103 \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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8278f92c4e2d12b6d6cc8d727ba43eb7ae994a2df6db55c50c2ee5611600153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/agent/_messages.py:364-409 | libs/agno/agno/agent/_messages.py:413-446 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7401789a903a742aa2490036b4756d6dd3ee85902e12476f5316f39fb320fdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6922-6938 | libs/agno/agno/db/postgres/postgres.py:9590-9604 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6922}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b8de96ac5da54c28c26ca903a57f474a010a1b230873846988e337dca0a683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/tools/company.py:770-798 | libs/agno/agno/tools/company.py:1098-1126 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"6659dda2b64767cd3cbe3c2ff9cfd88b76d2396655252be810821d24d4789ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): libs/agno/agno/guardrails/openai.py:55-98 | libs/agno/agno/guardrails/openai.py:101-144 \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":"libs/agno/agno/guardrails/openai.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cdda6f9605083c430d81f171e928fde14c91574f98f6b285dfe3561904cfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/learn/stores/decision_log.py:561-610 | libs/agno/agno/learn/stores/decision_log.py:617-654 \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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f223945869f71eda9d227205fcc75799eafa1a7acba0ddb6b1ebf10c5610a5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/db/mysql/utils.py:512-542 | libs/agno/agno/db/sqlite/utils.py:495-529 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d39479e595b7ac11663fd23ba5049370541d311cdccf172aa800c9a7fa30af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/memory/manager.py:386-430 | libs/agno/agno/memory/manager.py:441-488 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70bef1a6a9a7b5abc61cd0fdd664835cfaf8fdd4ea1e9115a7856347a61a18e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/models/google/gemini_interactions.py:691-725 | libs/agno/agno/models/google/gemini_interactions.py:745-780 \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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"50910742287fafa33c5d2a3a94d969902b2804bb8fa3aa3bed57d552ca52a9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/tools/websearch.py:113-141 | libs/agno/agno/tools/websearch.py:144-172 \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":"libs/agno/agno/tools/websearch.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c148398db45c8454969a2e64bff5887002594a3ecd9d5ea9af8fde3f1dd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/company/manager.py:1017-1059 | libs/agno/agno/company/manager.py:1996-2038 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/manager.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f33a6cdaae3a20b4d25b9b02ebd7da35e090c0f809cb497d56356e5956fe9c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:559-601 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:480-516 \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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"590d83014a526a622b9cff954a1a0f6443f6ea2e5ba0bda1e69ca2a814a98a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): libs/agno/agno/agent/_session.py:549-595 | libs/agno/agno/team/_session.py:531-586 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeac70e3f2e9b5b16a8672c1da2e3ea3e69475469b112843368b529c876abe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:1109-1150 | libs/agno/agno/learn/stores/learned_knowledge.py:1161-1202 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d75022df9d86aba82bafa5e0a9c0775fcf18b179ebe1b21be12b6c06a8b451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/session/agent.py:65-97 | libs/agno/agno/session/team.py:65-95 \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":"libs/agno/agno/session/agent.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc36b3af58c28569492ac1096a319a2315611d08915d684cb34521647110a957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/tools/function.py:2214-2241 | libs/agno/agno/tools/function.py:2735-2763 \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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509fcbd83c778ed05462322d2311dcae99f3b15abb3e614fe06217e5b20b566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/tools/function.py:2244-2271 | libs/agno/agno/tools/function.py:2766-2794 \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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dee5a691ea73a7c6405d0dfb02ca9cd43dc0a2458df25dc78fbaedf51f56a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:429-456 | libs/agno/agno/tools/models/aimlapi.py:459-486 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"76466a95b6a305230bda5921264c69ae9401bbc8ee142bc3d56b6f45f76f6d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/agents/codex/agent.py:766-788 | libs/agno/agno/agents/codex/agent.py:793-815 \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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"704ffe067f9b9f3c96d31d35994a6a5b11cfe0738c83b9bd11dd65e77396957f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/context/calendar/provider.py:106-140 | libs/agno/agno/context/gmail/provider.py:113-155 \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":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f0bda5aaae12760963ed0ac598fc10bcf548cf7d24f91cb73bdd6fa2133b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/eval/performance.py:412-451 | libs/agno/agno/eval/performance.py:456-495 \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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0f25a94687866ef7e0bd483acfe55cce5e7111c227b3765b3274877db2cc2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/tools/postgres.py:123-149 | libs/agno/agno/tools/redshift.py:203-232 \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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"06515308fc8df84e748c49782f6df0761e2512617a4f501a1a32bca2d8910d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/workflow/workflow.py:1718-1760 | libs/agno/agno/workflow/workflow.py:1767-1804 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"69710a322680b1d46f8da96a4199f540e4f58813cb19697dc444157e283aa863"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/agent/_messages.py:487-512 | libs/agno/agno/agent/_messages.py:516-541 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a485506136eccdaef31f55d8078eb460c6b4808d1ced336a753de5f8ec571ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/firestore/firestore.py:2591-2608 | libs/agno/agno/db/firestore/firestore.py:2613-2644 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d261f69233b21d9b02e62ad75a7ae83317e3f5da3e1fd23c03471a3965c392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 43\u002B corresponding lines): libs/agno/agno/knowledge/embedder/azure_openai.py:178-225 | libs/agno/agno/knowledge/embedder/openai.py:155-203 | libs/agno/agno/knowledge/embedder/vllm.py:215-264 | libs/agno/agno/knowledge/embedder/voyageai.py:127-169 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0929712117b6841190eca99b905cf2c6e550cb1b4c91aadd2ffdd806d9e034d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/os/utils.py:1936-2001 | libs/agno/agno/os/utils.py:2016-2058 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e82b9844a4750ca4fdc27c45ddb6c2b1102566214f877bb1488a306dd9b1890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/os/utils.py:2073-2143 | libs/agno/agno/os/utils.py:2158-2202 \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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b4d6fe2cbeaac487e838127d6093679dece3272b30db0283f1ac3d3ee8aba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/workflow/step.py:2566-2607 | libs/agno/agno/workflow/step.py:2612-2652 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bc4dfba22c36e19a202a3d753e1ca21154234cde7126fba7cd098c448b62a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:100-132 | libs/agno_infra/agno/aws/resource/emr/cluster.py:196-230 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:105-137 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc56a0d731ecd18a219a905126d03e704d97449ae3b713d2aab844d3e1e6c59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/learn/stores/decision_log.py:669-721 | libs/agno/agno/learn/stores/decision_log.py:732-772 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b55ddaae0f1b99f8e30ad9bd73f98487b6bbbf8c23bc9d7ad6f20521f29a8fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/tools/openweather.py:111-148 | libs/agno/agno/tools/openweather.py:198-235 \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":"libs/agno/agno/tools/openweather.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149dc6bd409c6fe3ca2c7267be549029baf6ec3b1e2cb85d5c7be24ff9d454d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/tools/openrouteservice.py:337-372 | libs/agno/agno/tools/openrouteservice.py:375-410 \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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff56d02b5351dd3a169c447bc5c1db9ab9050f97131972cdeceb25d5b7576448"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1856-1891 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1944-1984 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"319c42afd4bc82d3d108a2d0da9f21fa01109b7e2ce3bf19fcabb5f8fcee63ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:2040-2078 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2110-2145 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500dc6db851896fd60f904fad84fd8efcf05a3bfca3ed12ff60348f07b02ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:2785-2821 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2825-2856 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2860-2902 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2906-2941 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"b715be3ed0aa669fba491c348cfeb3ebc838d7fbc4eb2ee7a3a40df84c2fffa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/eval/agent_as_judge.py:834-877 | libs/agno/agno/eval/agent_as_judge.py:880-920 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a769a619214b2d82477220e0b08146653207ec61d939d8f87480245f747f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/models/huggingface/huggingface.py:327-351 | libs/agno/agno/models/huggingface/huggingface.py:363-386 \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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"424da023c681f43878114b96d326d62bd096ccd3dc97d8267cf06c78bfb2d9f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): cookbook/05_agent_os/04_run_lifecycle/background_run.py:84-116 | cookbook/05_agent_os/04_run_lifecycle/cancel_run.py:88-129 \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":"cookbook/05_agent_os/04_run_lifecycle/background_run.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d31118464413d2f68d8fc7d5ad4d344b49cbe6ee96a2106716ad824fb9d1eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/sqlite/async_sqlite.py:2336-2371 | libs/agno/agno/db/sqlite/sqlite.py:2604-2639 \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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe4c1e029b9217ea1c2cd1b2e2ed8535c50b78a28ff995aee7a1c75c1037ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1254-1290 | libs/agno/agno/vectordb/opensearch/opensearch.py:1166-1204 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0049f579d7285f0efc3d5516c4a7d4793efb8742757372d6490d37b8257b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): cookbook/05_agent_os/30_company/14_work_to_done_in_chat.py:76-113 | cookbook/05_agent_os/30_company/17_continue_tasks_from_chat.py:154-190 \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":"cookbook/05_agent_os/30_company/14_work_to_done_in_chat.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4250e58b68e5fc429bafa0e9851cefe6967eaed984f7d1e2072932b5d8e08055"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:545-589 | libs/agno/agno/vectordb/couchbase/couchbase.py:1294-1336 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c7787ee0d75622c3f4e40d154a966d2dff82e00ee793330535015dcd7715ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/company/files.py:355-377 | libs/agno/agno/company/files.py:462-486 \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":"libs/agno/agno/company/files.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a799f1d0a143fb4704aa2b1b4ca48c480e0a619d471979fe0e192532565d22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4684-4731 | libs/agno/agno/db/mongo/mongo.py:4500-4529 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4684}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba646025612d98e39ef2811dab058c73338749d2aa26e1c64eef8abe419d5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/environments/runner.py:697-721 | libs/agno/agno/environments/runner.py:725-762 \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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9de13657183940f036618554cb23ef687debf4133e7094564f73b75d3ad77ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:149-191 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:194-238 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"608bd8acd0e17337ad7010d5be505e33171c90714c2ef2a4e5762dfa8549435d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:248-300 | libs/agno/agno/db/surrealdb/surrealdb.py:237-280 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e395d93a6cd8774bfebff4f08140b899085d856c07189f44d679e3a949270087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:752-783 | libs/agno/agno/db/json/json_db.py:820-854 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb426e89740c5724c5626c3986f4b074d3fd83aa5c4d9a10654878de80a8a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1205-1252 | libs/agno/agno/db/in_memory/in_memory_db.py:992-1030 | libs/agno/agno/db/json/json_db.py:1291-1336 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"165297f7d8c8d9b1ca409bb4ce069da212b514fa38554553ebb3439333f5ccaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 47\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1426-1489 | libs/agno/agno/db/in_memory/in_memory_db.py:1215-1261 | libs/agno/agno/db/json/json_db.py:1539-1597 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 47 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f1000d9169a72c2e019d1fd4a7d71a19dd906adf192fd9298a7b8ab1bf4f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/knowledge/reader/website_reader.py:404-453 | libs/agno/agno/knowledge/reader/website_reader.py:456-517 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"acea483e13e312e738fd934a3631e7ea0fd79ed2772df6f70308f63e97546101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 51\u002B corresponding lines): libs/agno/agno/learn/stores/session_context.py:508-580 | libs/agno/agno/learn/stores/session_context.py:591-650 | libs/agno/agno/learn/stores/user_memory.py:743-805 | libs/agno/agno/learn/stores/user_memory.py:816-868 | libs/agno/agno/learn/stores/user_profile.py:827-887 | libs/agno/agno/learn/stores/user_profile.py:897-947 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 51 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9d001991480afb811d349fbeaceb4246be61cd9967e792d6ebe214bbfad612"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/tools/google/gmail.py:640-691 | libs/agno/agno/tools/google/gmail.py:768-815 \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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfdfeec3fd5e6e035c60b427320cd5d301930d9da1eecd13bab34e9921765f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno_infra/agno/cli/utils.py:24-57 | libs/agno_infra/agno/cli/utils.py:61-86 \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":"libs/agno_infra/agno/cli/utils.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89ec94eced07c310fe2487b0a73889dc1b6937d149ae2c4d9de9ed4bee85719"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): libs/agno/agno/vectordb/lancedb/lance_db.py:950-976 | libs/agno/agno/vectordb/lancedb/lance_db.py:1018-1056 | libs/agno/agno/vectordb/lancedb/lance_db.py:1059-1095 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3483344b9f213ca533e382eaa5d20a40156f8acae2293a75d23b17ffbf7e56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/knowledge/reader/firecrawl_reader.py:68-109 | libs/agno/agno/knowledge/reader/firecrawl_reader.py:127-167 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/firecrawl_reader.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7e477847a3de924a8d69c8d4c8898db47432f5ebebe18d027a58f17f2ef7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/knowledge/remote_knowledge.py:63-96 | libs/agno/agno/knowledge/remote_knowledge.py:104-137 \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":"libs/agno/agno/knowledge/remote_knowledge.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"383920d5c607d1ae96bd16ef3eaa859c6a7fbd59b174aad73e442b5974bed12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): libs/agno/agno/memory/manager.py:811-872 | libs/agno/agno/memory/manager.py:882-945 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7edad6f7d70937d3739117833a4c4377e8df5718009edc6b53a860ab0e744f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/utils/callables.py:295-329 | libs/agno/agno/utils/callables.py:333-366 \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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ab152653ffa8663208f0f15ad8db25f9bdff0a4641b067b07f60105041989"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1341-1382 | libs/agno/agno/vectordb/opensearch/opensearch.py:1254-1295 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c792d4c781e5e93f31647debfb1558e05cc553b5276c10b4e3b99d06000041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/learn/machine.py:673-709 | libs/agno/agno/learn/machine.py:712-742 \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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f1a11ebe2dac61d6e4b9b2b221230ff4ad93655ce2a7d3118e604df50ef441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:628-650 | libs/agno/agno/learn/stores/entity_memory.py:660-677 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"651bc1f75b5ee1094c5c0071af020b24a04fe10c8c3f944dcb9572b02c9ff7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/tools/studio.py:3491-3530 | libs/agno/agno/tools/studio.py:3580-3618 \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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa52eaf5a60c4f7b37525c2e49493a31ef57670db95ba37aaa56cbe8b57392f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1797-1857 | libs/agno/agno/db/mongo/async_mongo.py:5007-5062 | libs/agno/agno/db/mongo/mongo.py:1604-1664 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4c0a816a0cc55c4502cd60080d61791c3ac56e0accf9c8d5165c607f78ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2615-2654 | libs/agno/agno/learn/stores/entity_memory.py:2657-2692 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b37aa6f9a7931e113f7ef4970612f8b48370e4793b2eb707282925cae7869b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:4412-4438 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4442-4462 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4412}}}],"partialFingerprints":{"codehealthFindingId/v1":"af83037da335f15e53cfecdc169ca8af1002524664eceae739a1c164a9739f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:754-794 | libs/agno/agno/learn/stores/learned_knowledge.py:803-837 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81f3677646c69266276ab862a17f85cf35e812fb3a8880827494c9752b58433"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 72\u002B corresponding lines): cookbook/02_agents/14_advanced/cancel_run.py:18-91 | cookbook/03_teams/14_run_control/cancel_run.py:23-96 | cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py:25-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 72 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":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3c7e143b61ce8e8e6bcadcf8fdc537b6d3dd0ae85b29a88df8568f3501175f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6717-6740 | libs/agno/agno/db/postgres/postgres.py:9398-9416 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6717}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb36270ff59a02057c2bcf07a2bb364987f80ba56138208e54721fcac157d349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/db/sql/authz.py:32-64 | libs/agno/agno/db/sql/authz.py:558-580 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a006fafc55ff5d3898efc9f12eae59691552b9fd574f46c71c3f5e8273da83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/tools/reasoning.py:58-104 | libs/agno/agno/tools/reasoning.py:125-176 \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":"libs/agno/agno/tools/reasoning.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58208224b414f2efa152068494e44eeab5f3aa34c438482cbd10f57ead84951"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3099-3154 | libs/agno/agno/db/mongo/mongo.py:2854-2905 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"968da6ab3ee4e57cdd1dfe40c61989f1f5a024fc3a00495d006e7b7af9e058ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2234-2254 | libs/agno/agno/learn/stores/entity_memory.py:2257-2273 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f5bc04ac5a50b852e71a194f525af78cf9d8cca43d66094987b43b3a9851a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/os/manager/manager.py:125-146 | libs/agno/agno/os/manager/manager.py:149-169 \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":"libs/agno/agno/os/manager/manager.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28a24fe4cd2cc577ad2959e82f4086ca2c0e0854c9ce54fe1f2e5ba71483739"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:267-296 | libs/agno/agno/vectordb/couchbase/couchbase.py:1000-1030 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"594dddd7cd146d531c117d9e2e89f4bdad4e49ba0abc49cc83449fd23dcd7948"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/knowledge/reader/docx_reader.py:47-78 | libs/agno/agno/knowledge/reader/pptx_reader.py:65-112 \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":"libs/agno/agno/knowledge/reader/docx_reader.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"355292d62d0fc358d8af9a4ba26437ec93e7d67d82b664367a2c218d8032d044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:1501-1524 | libs/agno/agno/learn/stores/entity_memory.py:1535-1559 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafef536189e3a94982aafd66de5ae9bd1342c22ace702ffcdc4ff6bc4696e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/os/routers/registry/utils.py:30-52 | libs/agno/agno/os/routers/registry/utils.py:56-74 \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":"libs/agno/agno/os/routers/registry/utils.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0db73d542e2b92b6a7661e6fb87b8eb274a89e5d78b33fc4d30e32b28ffc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): libs/agno/agno/team/_session.py:53-104 | libs/agno/agno/team/_session.py:112-176 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_session.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19a4d3f8cb714779a268e878eccb98ec2048711ae1b47a8d12bfce19e7d2a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno_infra/agno/aws/resource/elasticache/cluster.py:406-433 | libs/agno_infra/agno/aws/resource/elasticache/cluster.py:436-463 \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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96b24ee81bc9fc73dc8d9492d88ece14275ef5bb3631c95c8bdfca1f1ad5a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:1282-1320 | libs/agno/agno/db/dynamo/dynamo.py:3517-3542 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56c1a86ecae4df40ed0225ff10291c54a019ce7cab0cb4dcdbbc0549aadfb08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2621-2656 | libs/agno/agno/db/mongo/mongo.py:2388-2421 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818eb02570a81e20c78149c9bff4489a60faafb822e5f44f9438cbe14abb3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2751-2796 | libs/agno/agno/vectordb/opensearch/opensearch.py:2406-2453 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5fae3e4a3f9bfd62c74b656daea9939dd01e1963a1294e8a44093363166d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/company/manager.py:232-256 | libs/agno/agno/company/manager.py:1203-1227 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f9c9b1adf52dae6af4a026d48d19438ea08498aad2ce2c972cfebc4121dd08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/compression/manager.py:147-170 | libs/agno/agno/compression/manager.py:252-280 \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":"libs/agno/agno/compression/manager.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"916996077fd83e629fbc95b903bb7a7a6c5422aba040fbd4da687449093b5858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4378-4407 | libs/agno/agno/db/mongo/mongo.py:4187-4216 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3790bd84ce628cfaf0bda7cdf0af0873970c688a3dcabb6b44a9c75983c808dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 39\u002B corresponding lines): libs/agno/agno/models/anthropic/claude.py:753-791 | libs/agno/agno/models/anthropic/claude.py:803-852 | libs/agno/agno/models/anthropic/claude.py:864-903 | libs/agno/agno/models/anthropic/claude.py:915-960 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 39 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"3569b18d5cda9c7a8a9f18c05315493b5708f5d857e40c0e7fe14e99508098df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/os/job_queue.py:2212-2252 | libs/agno/agno/os/job_queue.py:2257-2291 \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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a39b19459c84211bde3220ad3b68feb0ea3289bd9560f7539d053f16aa8140e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/db/redis/redis.py:2352-2378 | libs/agno/agno/db/valkey/valkey.py:2688-2714 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64bbab4e2ec1585b822f2b3caceb10ff4638dbb8feaa924beb15480f3cacc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): libs/agno/agno/utils/agent.py:237-267 | libs/agno/agno/utils/agent.py:274-304 | libs/agno/agno/utils/agent.py:311-341 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a881e67e835de2d432ada1f7d9a3f912dd8d36142ebdbdca7711ba98db49506"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/agent/_cli.py:251-291 | libs/agno/agno/team/_cli.py:274-298 \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":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8f011b77b658c729fdb14894899a906d1d54828f8d260e2d96663593b67bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): libs/agno/agno/client/os.py:1825-1859 | libs/agno/agno/client/os.py:2173-2208 | libs/agno/agno/client/os.py:2223-2271 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb5b545b58d40164cf4dc915de263604db2dbd212d01c2b9cbfe4bc9cbd8259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/tools/zep.py:51-84 | libs/agno/agno/tools/zep.py:256-294 \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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aafbfa0387a3089707ee012d1b8770dbd9bce42fbdd1d62abc56ec145c3970e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/agent/_run.py:6484-6528 | libs/agno/agno/team/_run.py:7283-7320 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6484}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d06fea6183063d44fc7d30672ee0cbb45a85d1187a700128df70a13c8021df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/metrics.py:299-319 | libs/agno/agno/metrics.py:480-498 \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":"libs/agno/agno/metrics.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d49a89bded162d4f366d6bfebc247c92c15f0124486b098e64a1690323325c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/models/google/gemini.py:1854-1908 | libs/agno/agno/models/google/gemini.py:1919-1963 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"232c7a8642186982395075a9debae3d9d1cf8acabb3d943c5944e072c02e0a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/models/google/gemini_interactions.py:1207-1236 | libs/agno/agno/models/google/gemini_interactions.py:1239-1265 \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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f36618f926642b61228848a5e6c8905a09b025ba250ac65ee3b6820c782bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/tools/knowledge/management.py:309-329 | libs/agno/agno/tools/knowledge/management.py:334-354 \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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0652419e0a1fe0ae69cdf385a3e4e4caab489c0fa1dcc3cb6990b922b0110ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/tools/postgres.py:257-288 | libs/agno/agno/tools/redshift.py:357-394 \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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e43325933b2ba56e26aee486c73eeee934912fa2795142cfb04f837cac3eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/utils/http.py:185-208 | libs/agno/agno/utils/http.py:220-251 \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":"libs/agno/agno/utils/http.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d942376799fc13ed64e03a4afd2a4a1cf54ab94092e4b5c424c73f1a63dc5687"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/vectordb/valkey/valkeydb.py:758-802 | libs/agno/agno/vectordb/valkey/valkeydb.py:811-857 \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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d01b194fecfa20440d36dad3513aa96ebc5205a146c7bcb8a3817381b8ca60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): libs/agno/agno/agent/remote.py:496-543 | libs/agno/agno/team/remote.py:515-570 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"900b0363b5ff7d36124bd09cc86935966db88b1c0cb741453547850b7fb34516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/knowledge/reader/sitemap_reader.py:292-314 | libs/agno/agno/knowledge/reader/sitemap_reader.py:317-339 \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":"libs/agno/agno/knowledge/reader/sitemap_reader.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaa40f93bfd63709d079fc3085a384fd2925cf35db55a73a6998f0a865ea442"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/models/openai/responses.py:277-301 | libs/agno/agno/models/openai/responses.py:304-328 \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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6ffa6541527581152b27f0b8b881be8f9a23d08e1b11465df403f4db48d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/tools/superserve.py:255-277 | libs/agno/agno/tools/superserve.py:280-302 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6eb4c153eb179c7790c355eb05dd2f70c1f2f32280594af4f1b44ffe8a4961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno/agno/agent/_default_tools.py:482-518 | libs/agno/agno/agent/_default_tools.py:528-573 \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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eac05be146fd8cebb5fda6fe0f9d5694cff7961c2983a175ca9f350356482b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/os/authz/engine.py:265-294 | libs/agno/agno/os/authz/engine.py:332-349 \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":"libs/agno/agno/os/authz/engine.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e3ed4ff7ea7bd44ec3beb9d7463cef1ecfd7d0a82f279d9dea4ee28e62fcb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/tools/workflow.py:132-165 | libs/agno/agno/tools/workflow.py:172-204 \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":"libs/agno/agno/tools/workflow.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"434644d831d61ca7d81ee1c789443155058d10ec67b47f21c0f870108f52db1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): libs/agno/agno/client/a2a/utils.py:78-118 | libs/agno/agno/client/a2a/utils.py:381-420 | libs/agno/agno/client/a2a/utils.py:585-623 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f62df098efb91b9643c6f938fbb5bcb5756bd0c0cda6b5714c19eae6cffdc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:156-183 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:161-189 \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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9771710de6af3934f382b1296d77fb3310a52694cb8e1013a9abbf6c1c433041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno/agno/utils/hooks.py:80-116 | libs/agno/agno/utils/hooks.py:123-159 \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":"libs/agno/agno/utils/hooks.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3e6275cbdcc4bc4ebf16ae546b0cf2b9770293e029314702c25c9a2b47119"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): libs/agno_infra/agno/aws/resource/glue/crawler.py:190-216 | libs/agno_infra/agno/aws/resource/iam/policy.py:99-132 | libs/agno_infra/agno/aws/resource/iam/role.py:124-148 \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":"libs/agno_infra/agno/aws/resource/glue/crawler.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5417d32632bbeddd0d3b832860db69d1da63a814fd4866519b2c1219f10e971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): cookbook/10_reasoning/teams/knowledge_tool_team.py:21-82 | cookbook/10_reasoning/teams/reasoning_finance_team.py:22-85 \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":"cookbook/10_reasoning/teams/knowledge_tool_team.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7628b712c2c81c924b00578447c6533075a2706ad53893aee71a3f1f01a6e27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:1775-1813 | libs/agno/agno/db/singlestore/singlestore.py:1810-1840 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"f270ad33ea19dac21569ce954d7950984f1d1b2c1e0231557074400d11cb5ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/agent/_storage.py:1567-1615 | libs/agno/agno/agents/_storage.py:406-433 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5e516592df80f73e7db2c8e454a2071567cbd4fc5771f4775ab4127d72e310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/sql/authz.py:519-528 | libs/agno/agno/db/sql/authz.py:893-903 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e6aa6691b8d2a369722b5ef4f90208f4a995510f3b639f0f536d43390ce19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/tools/agentos.py:231-258 | libs/agno/agno/tools/agentos.py:262-289 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"684c8c42b9bba4e4290a291cd90f39a752bd0e78b1c9cd36101578c7ae3d94c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/tools/gitlab.py:202-230 | libs/agno/agno/tools/gitlab.py:240-272 \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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0259f6cd08711e80fd634d9f24eeba33f917ac6996ba8332609c120e21a3b4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:1549-1586 | libs/agno/agno/vectordb/couchbase/couchbase.py:1589-1621 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"1201005d0f3368325d9aba93bcf4e8031e276a6d793e680aa5ac3a47461bf559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1295-1331 | libs/agno/agno/vectordb/opensearch/opensearch.py:1209-1244 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba3f39569cfa590afb6a24be425f8bb68a2ebdc89a190d6df2e2c13bb6242ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/workflow/router.py:534-566 | libs/agno/agno/workflow/router.py:574-609 \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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"658d92f71f9102abdeec347f12438a337fee3f90f39af4293780b97e269f16e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 46\u002B corresponding lines): libs/agno/agno/agent/_response.py:615-660 | libs/agno/agno/agent/_response.py:696-744 | libs/agno/agno/team/_response.py:418-464 | libs/agno/agno/team/_response.py:503-550 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4292e4e0ccf5e8abc232f92d086b8e70011eac4ca902a3327e1c214761936218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/knowledge/embedder/ollama.py:84-99 | libs/agno/agno/knowledge/embedder/ollama.py:118-134 \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":"libs/agno/agno/knowledge/embedder/ollama.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe29537202840027cbc6b062c6a1071014a3f7de43d1c6d9278499ea2364e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/tools/scheduler.py:924-958 | libs/agno/agno/tools/scheduler.py:1317-1351 \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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"74876f0d0c124cb983874ddf60b8ee843b401fb5801d7b35534a647771ef3d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno/agno/workflow/step.py:2860-2896 | libs/agno/agno/workflow/step.py:3690-3750 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2860}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfe033170956a0173c0f5b8235e745e50c37803227fcf1b25dcf99e3cab97ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/agent/_run.py:6537-6590 | libs/agno/agno/team/_run.py:7376-7409 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6537}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d47a512d89a2e91b740fd06a491c08a9d58e18590cfb768fa7ec4d906293e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/client/os.py:965-1003 | libs/agno/agno/client/os.py:1015-1054 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2744ca39dbe135f5e9cbd6fa765ce4b8accb12faa2012b0380fbe02233483ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2979-3006 | libs/agno/agno/learn/stores/entity_memory.py:3016-3051 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96ad68554d62151c9d4b84b2cd884b2411eb86b7f2e62a5870be517a7834cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/os/interfaces/slack/helpers.py:490-511 | libs/agno/agno/os/interfaces/whatsapp/helpers.py:334-356 \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":"libs/agno/agno/os/interfaces/slack/helpers.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8bceda7e094691d0304dbbdcdc40645582d68e0f31f6bfa50f09349f33b6ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2255-2294 | libs/agno/agno/vectordb/opensearch/opensearch.py:2132-2165 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1dc6a8d85c66484739fda0dc0f72a2eb012f9641c3bd861cff40a9ae49c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/workflow/step.py:894-927 | libs/agno/agno/workflow/step.py:959-996 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d25592d3998cf5b85110c37c62b9b9c6d7261504853cbd90b214b5d57b15b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:693-716 | libs/agno/agno/db/mongo/mongo.py:484-518 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2c1eb1fda18242f9f35c66fa4bcf3cb12641e8c9bda142319d3803a6b74006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): libs/agno/agno/memory/manager.py:1217-1265 | libs/agno/agno/memory/manager.py:1279-1340 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae20f919c241b29be69ad5351ceba1ce8a22d23da7811e64f2f9cec7dcc56d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/tools/adanos.py:37-72 | libs/agno/agno/tools/openrouteservice.py:72-98 \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":"libs/agno/agno/tools/adanos.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a97e4520f120adbe5fce6e50413871a38a4509fccd1c4abdef0176bf9b1112c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/tools/agentos.py:297-328 | libs/agno/agno/tools/agentos.py:332-363 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f200fd1be48ba11cad846e1340d778858db480ae4161e02edcd87ac356d245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/gitlab.py:296-319 | libs/agno/agno/tools/gitlab.py:445-469 \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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f84e7745d97b7aa544dabab13cb6926140f065e5f3a712f21b7db86b287ea07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): libs/agno/agno/workflow/workflow.py:11118-11178 | libs/agno/agno/workflow/workflow.py:11197-11254 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda3514aaca8cc3e0816c779a07c6d2d444b63b834d717bf16a55af5658c9605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): libs/agno/agno/agent/_session.py:785-829 | libs/agno/agno/agent/_session.py:841-885 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"116229e9d599b6cd6978dbc6fefc3320935d8487f7b40edd7577da7757a9f8e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): libs/agno/agno/db/singlestore/singlestore.py:679-716 | libs/agno/agno/db/sqlite/async_sqlite.py:850-895 | libs/agno/agno/db/sqlite/sqlite.py:1041-1089 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b5b9bef5cb32ed629d63f6e98d4fa4d56dad6eab39d32055591670d1fb662f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/os/authz/user_directory.py:360-386 | libs/agno/agno/os/authz/user_directory.py:667-686 \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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f6d5cedfae81e2bb16c4264ea346f35af79b597d07810d38d4005a0bb59bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/reasoning/moonshot.py:24-43 | libs/agno/agno/reasoning/openrouter.py:31-49 \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":"libs/agno/agno/reasoning/moonshot.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f16d508681e582bfc04999c5b146cc6a700fb0d088020c0148de64b56be864"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/team/_run.py:4586-4612 | libs/agno/agno/team/_run.py:4618-4644 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09def4e5dc6152770a80889dbefd242d0d2d7cc65d699b58120738e62f52eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): cookbook/02_agents/14_advanced/basic_agent_events.py:27-51 | cookbook/02_agents/14_advanced/reasoning_agent_events.py:24-48 \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":"cookbook/02_agents/14_advanced/basic_agent_events.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"162e70a3def21fce9edb797f41b5dcbb72c9392be9212c6a39f9a55bb96ccf5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/agent/_response.py:356-394 | libs/agno/agno/agent/_response.py:404-442 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd943d22fb1361366ba330163e21b75a0fe3005ac647fa009a428f884b499f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): libs/agno/agno/db/mysql/utils.py:853-869 | libs/agno/agno/db/postgres/utils.py:792-808 | libs/agno/agno/db/sqlite/utils.py:804-820 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3212bf7f92a77d8824000e292eb8089a20d0f26f3ceea0b1c4ca00522a722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/media/storage/s3/async_s3.py:119-146 | libs/agno/agno/media/storage/s3/s3.py: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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"db45e9a564917ca0c032a82241a4c4ae3663ed7e04e2c4c0e7e81c2829ec8f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): libs/agno/agno/models/xai/responses.py:498-528 | libs/agno/agno/models/xai/responses.py:540-571 | libs/agno/agno/models/xai/responses.py:583-621 | libs/agno/agno/models/xai/responses.py:633-673 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/xai/responses.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4196592d6bbc3d1e83aad2b89b8f5020af29379b53e0c40fbf4e03ca1bf18e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2117-2157 | libs/agno/agno/db/json/json_db.py:2250-2293 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3a4858908a55fc796f96a6850420cc714b6d1bc8db29f7003462d10ac06535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:3998-4023 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4027-4045 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"4970dec74f11ce7f3c55e71a238e6f71662caba18d09eb820c53283cb2db6a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/vectordb/lightrag/lightrag.py:186-216 | libs/agno/agno/vectordb/lightrag/lightrag.py:388-423 \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":"libs/agno/agno/vectordb/lightrag/lightrag.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4c8e73bd985d141eb125df8e697c10d47e9bfea6f03211fa03fc315c2079b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/run/approval.py:806-835 | libs/agno/agno/run/approval.py:839-861 \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":"libs/agno/agno/run/approval.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e973e4c503b5a8bbfe1e8396bb9cdad2a0277342050196052dad3cf803861d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/utils/models/cohere.py:10-46 | libs/agno/agno/utils/models/watsonx.py:9-41 \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":"libs/agno/agno/utils/models/cohere.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d585bbbecba9673fa2c2670e396c77c1af8128afd051cadfc08adcf15eb0cfd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_0.py:167-202 | libs/agno/agno/db/migrations/versions/v2_5_0.py:206-239 \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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"099dbdb2f221cbfff71847c58d81fb40aa8e23bdc12295a69c11b75555ff59a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:786-828 | libs/agno/agno/db/mongo/mongo.py:587-631 | libs/agno/agno/db/surrealdb/surrealdb.py:392-445 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"5349e09b9ce199c2e7ca5e9c2d4e00750011fff0ce8ea08b712a0bf127ec7c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2345-2406 | libs/agno/agno/db/mysql/mysql.py:2335-2394 | libs/agno/agno/db/singlestore/singlestore.py:2343-2394 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f27f61cd5a985fcb482437465e52e225caf2d6db9249677782d654c759bb66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/learn/migrations.py:217-239 | libs/agno/agno/learn/migrations.py:243-260 \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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"702d5fd83859fe717b367e6d384be5f1a141c55d098b0d90431eb74bf53baaca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/agent/_utils.py:74-105 | libs/agno/agno/team/_utils.py:72-104 \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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb2be33833844c8c04bc428cf4a9f12996c38bfb3ffc05eaba9769ef02ec33f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:984-1011 | libs/agno/agno/db/mongo/mongo.py:795-822 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a079f7b9e126436c2caae88ab385135e59e038a7152d8babc56259f126258f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 36\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:524-570 | libs/agno/agno/db/mysql/mysql.py:516-555 | libs/agno/agno/db/postgres/async_postgres.py:812-856 | libs/agno/agno/db/postgres/postgres.py:979-1014 | libs/agno/agno/db/sqlite/async_sqlite.py:774-810 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 36 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"38335f0eccfe6a49a7be5de92ffd031cf178155d49fdccc38da48a6e0bf8c724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:217-244 | libs/agno/agno/vectordb/qdrant/qdrant.py:269-298 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a378e198def9896a869334e688b949e5ad1101f0dd9e26df08a361fd0f3f5d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/company/files.py:301-314 | libs/agno/agno/company/files.py:405-418 \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":"libs/agno/agno/company/files.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a924436b6c235b25b95c753f33d2953dff94a6cb93ef10993f9b3e4f8e1eb3b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/company/files.py:317-330 | libs/agno/agno/company/files.py:421-434 \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":"libs/agno/agno/company/files.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a0dce69c38f6bb797c23567d04beb4bdb5cbf8fa9d028df74f260249929d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/knowledge/embedder/azure_openai.py:49-73 | libs/agno/agno/knowledge/embedder/azure_openai.py:77-102 \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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5436eeb3597e98701050269685c31387b6b04e586a2cfcaec1eea46881db57df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/learn/stores/user_memory.py:665-697 | libs/agno/agno/learn/stores/user_memory.py:707-728 \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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b75a39348df1ef7310b083892759f7b11248475b110e668e25c72d408996d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/os/app.py:3046-3067 | libs/agno/agno/os/app.py:3070-3092 \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":"libs/agno/agno/os/app.py"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad6961cc58beee03574c7fb1ba80cb2dafb11fb667aa89a8c603f36fdc48b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/os/authz/user_directory.py:202-235 | libs/agno/agno/os/authz/user_directory.py:567-594 \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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13b8157baaa40044800fc822e507f256cec0fc237e9cc44375c2f96975a9f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/tools/atomic_mail.py:653-682 | libs/agno/agno/tools/atomic_mail.py:685-714 \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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ecad0ab982cc3c4051a9ed840e72d901af361fe3901e8973017d11067bca87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno_infra/agno/base/resource.py:57-74 | libs/agno_infra/agno/base/resource.py:77-94 \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":"libs/agno_infra/agno/base/resource.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6f8c9f66a2355704a43e35a22f4b4425494a233c2a17ee115a18530015ccd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2542-2563 | libs/agno/agno/learn/stores/entity_memory.py:2572-2588 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cdd69ff70bc9c03f99dca11a0d40363b92aae2e6be70bf5b42a32e84f25ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno/agno/memory/manager.py:493-529 | libs/agno/agno/memory/manager.py:534-573 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77f3d6997981370abd7df2c4091b4c1df7582bb5f267de3f38c12b5452861b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/os/authz/user_directory.py:238-269 | libs/agno/agno/os/authz/user_directory.py:597-624 \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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f88578d890cdbbabb053cc1e39b3e49f2a1d42b2e50e950a3eb660a57b493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): libs/agno/agno/os/middleware/user_scope.py:692-734 | libs/agno/agno/os/middleware/user_scope.py:738-777 | libs/agno/agno/os/middleware/user_scope.py:781-820 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"libs/agno/agno/os/middleware/user_scope.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"89363c5838b6c3ea83da174bc9ea1078ec733af1800fd957fcba1c4b346baed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1167-1199 | libs/agno/agno/vectordb/opensearch/opensearch.py:1075-1112 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a42176a0a44fea84360c8cf751c1e2671350cebd4339d927dbaa465da26adfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/workflow/condition.py:377-412 | libs/agno/agno/workflow/condition.py:420-458 \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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c07e46d587fe781848190f5cad868e29c7d04d031f29a74451f5c24772e487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno_infra/agno/aws/resource/cloudformation/stack.py:76-100 | libs/agno_infra/agno/aws/resource/s3/bucket.py:128-154 \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":"libs/agno_infra/agno/aws/resource/cloudformation/stack.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4829e8b2feb3048134592c948395ebf99cf0b7eaf3a01d182787019517ab5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4544-4569 | libs/agno/agno/db/mongo/mongo.py:4362-4387 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4544}}}],"partialFingerprints":{"codehealthFindingId/v1":"221847a532b562665e2c7f6309a59035f1ef70137834bd1bdcb0a39220f5d960"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/utils/media_offload.py:706-725 | libs/agno/agno/utils/media_offload.py:729-746 \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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a858c3507da1f9d50087dbd428337ee28b32b55dd0d40238ce873d252599f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/client/os.py:1242-1276 | libs/agno/agno/client/os.py:1288-1323 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"26894eb871b315fa2be81ca04f0f0f632dabdef866da35ce379ec8d9ff46199e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/db/singlestore/singlestore.py:3722-3745 | libs/agno/agno/db/sqlite/sqlite.py:4515-4538 \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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":3722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccb8b66ce7a7047dcdfe58ff5b9dbd19c30f10a5e91f7ae6cde19d812f33e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/offload/store.py:679-707 | libs/agno/agno/offload/store.py:721-746 \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":"libs/agno/agno/offload/store.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f75d5adaf9f3f10621d956cd9c6b1e764f45ba483cc38398aa613a49831752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/os/authz/native_engine.py:168-222 | libs/agno/agno/os/authz/native_engine.py:547-574 \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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f901914b20a870a7203ceb368bc2b5aa005f4b2ef87592f990be8d9b9723e2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/agent/_default_tools.py:368-400 | libs/agno/agno/team/_default_tools.py:1538-1572 \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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f51ccafbec2b45fcb8269aa493f0bc8e4cd5c0fb4d65d86a08979b5542663"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:630-662 | libs/agno/agno/db/mongo/mongo.py:431-462 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b77fc7cba5df0794955abd72452b56808722dce9245561ec3b373511255531e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3647-3686 | libs/agno/agno/db/mongo/mongo.py:3397-3436 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3647}}}],"partialFingerprints":{"codehealthFindingId/v1":"539cd79f472677b0d3b6cdd1d2eaeff5e8b39137bfd1394c8f775d115a7afe4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6626-6651 | libs/agno/agno/db/postgres/postgres.py:9309-9334 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6626}}}],"partialFingerprints":{"codehealthFindingId/v1":"073f037a7e1dd8f2f5e2011d8868c543ff98b6fe46a974d5ba28099c547d34e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/sql/authz.py:71-85 | libs/agno/agno/db/sql/authz.py:596-607 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27ca018f46b2f5cd8e0b8079d4e9f75bd5eb8d84abd32f7f7481b2e334dcf9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/knowledge/loaders/sharepoint.py:113-129 | libs/agno/agno/knowledge/loaders/sharepoint.py:132-149 \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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb240f1b4e5d6d014764cef9e021be1981d07518390e7bbaf09a8be66b223c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/offload/store.py:571-603 | libs/agno/agno/offload/store.py:617-647 \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":"libs/agno/agno/offload/store.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bc78ad2492b2ec5fd2c76104494be8e24fc3cdb4167553c0fa19a9e2524c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/session/summary.py:247-276 | libs/agno/agno/session/summary.py:283-312 \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":"libs/agno/agno/session/summary.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bd26401c70f7477606c47b4127118efa122b8e507f1e54cc3a1acf5c342ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 22\u002B corresponding lines): libs/agno/agno/cloud/aws/base.py:126-149 | libs/agno/agno/cloud/aws/base.py:159-180 | libs/agno/agno/cloud/aws/base.py:190-211 | libs/agno_infra/agno/aws/resource/base.py:114-139 | libs/agno_infra/agno/aws/resource/base.py:149-172 | libs/agno_infra/agno/aws/resource/base.py:182-205 | libs/agno_infra/agno/docker/resource/base.py:98-121 | libs/agno_infra/agno/docker/resource/base.py:131-154 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6aedfc7e499fddb99352f47c4b613475751eed32d4360f1ff0a5eb878af5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1467-1502 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1611-1636 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecacf3adc5d4f6433746c1fb08714037cc67bc1beb1a3e407f38a49cbed9e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:3584-3611 | libs/agno/agno/db/postgres/async_postgres.py:3839-3866 | libs/agno/agno/db/sqlite/async_sqlite.py:4090-4119 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c131c911afa3664f0d7f03e7f15a23f8e1ba62e550917664c86dfeb49d27070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): libs/agno/agno/db/mysql/utils.py:797-835 | libs/agno/agno/db/postgres/utils.py:754-788 | libs/agno/agno/db/sqlite/utils.py:758-800 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"28173506f4505fa88944cc62c11771ed7175e1b9ae085f0887cb9215cdf88652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): libs/agno/agno/db/redis/redis.py:4292-4319 | libs/agno/agno/db/redis/redis.py:4326-4348 | libs/agno/agno/db/redis/redis.py:4383-4418 | libs/agno/agno/db/redis/redis.py:4421-4448 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3e13b76dd5d4e9a518a32ecf3e1ed5055b3ab0f2ce67308779dbf92c091817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/os/auth.py:143-189 | libs/agno/agno/os/auth.py:221-253 \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":"libs/agno/agno/os/auth.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb84752fcb40511acf11b535887da25ccfcb4471ea5d695f71e4ef0875751b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/tools/zep.py:173-203 | libs/agno/agno/tools/zep.py:386-418 \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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53babcd678cca2d0972bc8b1879c3ad139e58eef1a90ec6fb0aee9f7aece09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/vectordb/redis/redisdb.py:530-562 | libs/agno/agno/vectordb/redis/redisdb.py:571-606 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d2910aa91fd38404200c97dda697aea83f32363c9495aa09b7150f0662f52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4334-4360 | libs/agno/agno/db/mongo/async_mongo.py:4653-4670 | libs/agno/agno/db/mongo/mongo.py:4142-4169 | libs/agno/agno/db/mongo/mongo.py:4468-4486 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4334}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ecf86bf97b7b9f6358cd886a9fc013bff785d6cd5e2a5a56275a6009f30db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/db/mysql/mysql.py:3763-3785 | libs/agno/agno/db/postgres/postgres.py:4635-4659 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c4f395fd4b643080c09935488dd8786b1f0d9ab7cbd5fe1ba5ef9ca7a31670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6452-6477 | libs/agno/agno/db/postgres/postgres.py:9142-9166 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37e5326fb47b8b48131435b9c28e20e99493d4cdb3fcdf8f0c556fd6b7c9fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/db/redis/redis.py:696-717 | libs/agno/agno/db/valkey/valkey.py:801-822 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"63565c649187a0b8d421cffca68bc7b111ae282d7c3e9db2db1c1c2bd916668f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/db/sql/company.py:218-229 | libs/agno/agno/db/sql/company.py:235-245 \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":"libs/agno/agno/db/sql/company.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b4ab730baa433abf90d455d8c6425c5f4b3a040e29e01ab92123bb6186b710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/knowledge/reranker/cohere.py:31-57 | libs/agno/agno/knowledge/reranker/sentence_transformer.py:26-52 \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":"libs/agno/agno/knowledge/reranker/cohere.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84059ad942f683b5921fdbac43031a17abb352d3801d1a86a32970abd37c04e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 31\u002B corresponding lines): libs/agno/agno/tools/zoom.py:99-154 | libs/agno/agno/tools/zoom.py:157-187 | libs/agno/agno/tools/zoom.py:190-233 | libs/agno/agno/tools/zoom.py:238-291 | libs/agno/agno/tools/zoom.py:294-330 | libs/agno/agno/tools/zoom.py:333-374 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/zoom.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79b4b3200e57ef86fc57825458a510ddcc5ff1f40eb313d2c0ef148518051fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2299-2331 | libs/agno/agno/vectordb/opensearch/opensearch.py:1844-1876 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a079231a7120fc50d4215e6badff34ce0409d7c8457fcaaf60883a3fec8a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2334-2369 | libs/agno/agno/vectordb/opensearch/opensearch.py:1879-1913 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd62fd4c9400c43003979779fe71ba463d026f82cb2e358e0019f23900a3671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/dynamo/utils.py:98-122 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2398-2415 \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":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"58620e864fc4f0fe0562daa2838d9aeb589c00b995c390aff7071936d696eb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3398-3427 | libs/agno/agno/db/mongo/mongo.py:3148-3177 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5264686e49391abf99d921025a9606c1b7299c2b26c6d784494b272115b24111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/knowledge/reader/llms_txt_reader.py:185-210 | libs/agno/agno/knowledge/reader/llms_txt_reader.py:213-239 \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":"libs/agno/agno/knowledge/reader/llms_txt_reader.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee71438a39062a70338a76ea0b7534d3c3efdd542196ef3c382cd9ee05ece36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/models/anthropic/claude.py:492-512 | libs/agno/agno/models/anthropic/claude.py:520-540 \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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57d33893f345b997f5e979959af2ac9de8053057959529450a94183fb8d80a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/models/aws/bedrock.py:498-519 | libs/agno/agno/models/aws/bedrock.py:527-549 \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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"afba3941f05f4b9e7324dc9f17465e91018e66c2349ee5ff73d04cd38ddcf5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): libs/agno/agno/tools/github.py:745-800 | libs/agno/agno/tools/github.py:887-992 \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":"libs/agno/agno/tools/github.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"b243d8c8519b887958a3f2f9e414f24151ce7594eacdd6417bfbaadec5249a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1919-1953 | libs/agno/agno/db/json/json_db.py:2041-2075 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"581cf7321e78d228f51e3bba6600ed14f2b6ccdf18f217bb11ee259b87890876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1862-1908 | libs/agno/agno/db/mongo/mongo.py:1669-1715 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1d57c56f7439a4429df452d3cc8063d61a8288268c9511a7815518cf86857d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/redis/redis.py:2137-2155 | libs/agno/agno/db/valkey/valkey.py:2481-2502 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb294818da8b0d67c7dc141a72024565163419148662b49036c76b0afd9f00c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/knowledge/knowledge.py:1539-1553 | libs/agno/agno/knowledge/knowledge.py:1558-1573 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"6505ce9228fc751e45ac7bb5b2cdbbf234373b59bc7aa07e42be63fed6bb687e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/models/google/gemini_interactions.py:1278-1294 | libs/agno/agno/models/google/gemini_interactions.py:1380-1396 \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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"36616c5ee713d3296818d3cd1d283031153e13400c0dfc2fc74093017a9eadcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/tools/plivo.py:174-209 | libs/agno/agno/tools/plivo.py:214-249 \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":"libs/agno/agno/tools/plivo.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e441745adb65bff5789dd40be03594e5c54f07a9bc3c163e55455ad979ca0a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2624-2656 | libs/agno/agno/vectordb/opensearch/opensearch.py:2279-2311 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def729fe57b3df1d2c5b16ac873569cd3155e328e6674bb9ad1c7e5869c148e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cookbook/performance/comparison/import_time_comparison.py:33-49 | cookbook/performance/import_time.py:90-116 \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":"cookbook/performance/comparison/import_time_comparison.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d30e1af38fd8422d3228f14d01158009fec374f80e101f3d6b3b5780561a76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 37\u002B corresponding lines): libs/agno/agno/db/mysql/mysql.py:3790-3826 | libs/agno/agno/db/postgres/postgres.py:4664-4700 | libs/agno/agno/db/singlestore/singlestore.py:3750-3786 | libs/agno/agno/db/sqlite/sqlite.py:4543-4579 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 37 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9631f4434f2dcc1fc33dac7032deefbe5b7a432c83663b9202a48e6472fd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/knowledge/chunking/code.py:67-90 | libs/agno/agno/knowledge/chunking/semantic.py:145-168 \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":"libs/agno/agno/knowledge/chunking/code.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"223ea229b91eb4b16cfb89de2c8538fb70ae1efae605bade932fab7158aaa393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/agentos.py:421-444 | libs/agno/agno/tools/agentos.py:448-471 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"448373650ba2ee4821951c011fe7f76826b7456a9314726719eaa4df966e522a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/calcom.py:140-167 | libs/agno/agno/tools/calcom.py:208-231 \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":"libs/agno/agno/tools/calcom.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3dcc164c834551bc17e222f59a234d7d2097ab35377ead3a9b14e76e8caa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:617-643 | libs/agno/agno/vectordb/qdrant/qdrant.py:652-667 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"408228fc705151f3cbcccbf96f67162a43b762dca4b2f12adeb0b0c078a3e463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 29\u002B corresponding lines): libs/agno/agno/vectordb/weaviate/weaviate.py:646-692 | libs/agno/agno/vectordb/weaviate/weaviate.py:702-730 | libs/agno/agno/vectordb/weaviate/weaviate.py:739-781 | libs/agno/agno/vectordb/weaviate/weaviate.py:791-830 | libs/agno/agno/vectordb/weaviate/weaviate.py:839-888 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 29 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dad6045a0cf3efe48e30124e264605f56d2fe4d8807527a83fd1f02c1c2ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1574-1607 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1699-1728 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2859e19f13e24a8b131e9ba326e9c90f739b13970b6840c9103ab85ea86c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4247-4284 | libs/agno/agno/db/mongo/mongo.py:4055-4092 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4247}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bb64f25ffaa65f8d92e80ad6ccbdc3ca890cd208140aa38de7132e251fa2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/models/cohere/chat.py:242-264 | libs/agno/agno/models/cohere/chat.py:308-330 \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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b3a682893ad85e220dcfbcba0e7d18d156e39030bf742e2f460c6eb76d6423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/vectordb/redis/redisdb.py:155-180 | libs/agno/agno/vectordb/valkey/valkeydb.py:274-309 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbf09b53ed17c61c3413181dfe57a230c4ad6919ca27826984b91349e5ac1bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): libs/agno_infra/agno/aws/resource/ec2/security_group.py:230-260 | libs/agno_infra/agno/aws/resource/elb/target_group.py:116-139 | libs/agno_infra/agno/aws/resource/secret/manager.py:137-165 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c84aba43b97dd637d07819469a6cd14be98e201c3a98eded9e7f554a265ab92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/company/files.py:333-350 | libs/agno/agno/company/files.py:437-457 \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":"libs/agno/agno/company/files.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"debe3691413bb05df7497fc8f06f759abff93c5398f3946c63f1af94ce62b86f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:947-981 | libs/agno/agno/db/mongo/mongo.py:757-792 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"055e42d3af898a5a1864857a4a995d65af8d9ba1158b84fecf140b5b24ca1cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3229-3262 | libs/agno/agno/db/mongo/mongo.py:2980-3011 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e076297079bda4c1254c3af925a5edcff41ba0d65016846abcca03a1581c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/tools/company.py:553-581 | libs/agno/agno/tools/company.py:660-694 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"df653a0db988117934329d8f8f03424546c214bc493afa5536bdb3c776ce9aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7720-7729 | libs/agno/agno/db/postgres/postgres.py:10461-10470 | libs/agno/agno/db/sqlite/async_sqlite.py:6934-6943 | libs/agno/agno/db/sqlite/sqlite.py:9402-9411 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7720}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce7a1dece0307a4d7f04f8bdc6fbf48906b4e0d79213199b089b2ecd1f9554d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/db/postgres/postgres.py:7511-7543 | libs/agno/agno/db/sqlite/sqlite.py:7314-7346 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"de322bcb8272fdc8004b434fb2206a8d1dc8aa0185e11d2caa540932a8c2d933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/models/meta/llama.py:274-295 | libs/agno/agno/models/meta/llama.py:307-328 \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":"libs/agno/agno/models/meta/llama.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25cee00c3e153dcaba372d0964651623fc0f5b4b06f20fef6a1340d54e9ddd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/team/_response.py:157-189 | libs/agno/agno/team/_response.py:199-231 \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":"libs/agno/agno/team/_response.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51190b6a6ab108a1e6c72ae9118413ce7e13c6eb08a3f5c2984592d3a382e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): libs/agno/agno/agent/remote.py:94-124 | libs/agno/agno/team/remote.py:87-117 | libs/agno/agno/workflow/remote.py:79-104 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb824dbc82e8d7a8d4b1ba92aa3192410d0f5f79436fe11184cf94ec3d7459d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:4889-4912 | libs/agno/agno/db/postgres/async_postgres.py:4915-4942 | libs/agno/agno/db/postgres/postgres.py:5422-5445 | libs/agno/agno/db/postgres/postgres.py:5448-5475 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4889}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7d94fb1064eb89788e3d052c09d3d7ec70ee14ea9f3e535ec839de815565f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/run/approval.py:364-413 | libs/agno/agno/run/approval.py:875-927 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/approval.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d1e23c09d69b770c31b27f6252b521d659c428c1c19f33d7c6cfef950688ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py:129-146 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:195-209 \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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"df792f8ef71b4d1a13e50d6be83e82cfd0cba8a2faf5025542c12c281fd43018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/compression/manager.py:110-140 | libs/agno/agno/compression/manager.py:214-245 \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":"libs/agno/agno/compression/manager.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e69e1cc5b29d7d441a2f24e047c0386c63685f15b2381cd523308af47f0477"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/os/utils.py:1622-1659 | libs/agno/agno/os/utils.py:1663-1682 \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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d51a515fcde6cbe728f9a865b3a6da2a16fd14793945d8cffc35e9c9590dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/tools/company.py:1370-1390 | libs/agno/agno/tools/company.py:1571-1591 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8f9c152f8750da144838527ec6732cc2a9623d954bf3e85351d7d1bc161458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/tools/daytona.py:362-390 | libs/agno/agno/tools/daytona.py:393-423 \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":"libs/agno/agno/tools/daytona.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8737fa1de04f8183c32efdb962e5ecf6d4ad331363b5cf6aee8510527a3e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:249-272 | libs/agno/agno/tools/models/aimlapi.py:277-294 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"96da2d33f74cca63dde23eafc8f741aa9c67e06670c5cef1899c82f6154745b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/utils/events.py:115-138 | libs/agno/agno/utils/events.py:142-164 \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":"libs/agno/agno/utils/events.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6206af0ded511c8a09b93c0967c5f96d1fc1446ae9e96cac4cbe91857ee7ec2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): libs/agno/agno/agent/_storage.py:523-560 | libs/agno/agno/team/_storage.py:266-285 | libs/agno/agno/workflow/workflow.py:2219-2240 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c7f86e8d1bb6f02b323b808af091fbc3a9a7336e341530d1cf727cf3e93cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): libs/agno/agno/learn/stores/decision_log.py:967-1001 | libs/agno/agno/learn/stores/session_context.py:383-415 | libs/agno/agno/learn/stores/user_memory.py:543-573 | libs/agno/agno/learn/stores/user_profile.py:705-735 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad75bd1ff23c1862418e2ad88807d89fa7f2d62ae4c474638c712f1d4b9f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): libs/agno/agno/tools/anakin.py:49-69 | libs/agno/agno/tools/firecrawl.py:58-78 | libs/agno/agno/tools/scrapegraph.py:53-90 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/anakin.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aece695dfaac5c8120f7c425df08ef7d70cd42a8ccc68d8918620a98b3c05b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/tools/knowledge/knowledge.py:26-57 | libs/agno/agno/tools/memory.py:31-64 \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":"libs/agno/agno/tools/knowledge/knowledge.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c23bc54213f6a455dacaa886f25557d008eb8bd8ba4ce3d8252700e67018185"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/agent/_tools.py:793-814 | libs/agno/agno/agent/_tools.py:820-838 \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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cf27b25b08413bd639047ba058589d66fe8b7755311dd6c65e1c38e8436a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4410-4430 | libs/agno/agno/db/mongo/mongo.py:4219-4239 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c06dbfcb3b9c147eb6442a2fa0fec84e850180688630b671651621b7eb6810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/postgres/utils.py:331-359 | libs/agno/agno/db/sqlite/utils.py:271-299 \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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4efe9796f896b41d4fa2ffd61edd8e14320b3b30e61f22956bade8223cea172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:1891-1924 | libs/agno/agno/learn/stores/entity_memory.py:1934-1967 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1842abb4ad1ebd8f1160fc858347ed592d0f33f031320b874f188ec7658ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/models/fallback.py:396-413 | libs/agno/agno/models/fallback.py:425-442 \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":"libs/agno/agno/models/fallback.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc08255609726a48023831621eb436fd2d619255fb471a565e6b5660f281ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/os/interfaces/agui/handlers.py:259-282 | libs/agno/agno/os/interfaces/agui/handlers.py:286-309 \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":"libs/agno/agno/os/interfaces/agui/handlers.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c23e891197e0553261a17144a35a67c99e8ba9a1290e73f1ed3adfff335f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:270-300 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:303-333 \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":"libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c8b290ccc9ee48d1ebc610633e93fea53896c545e339549f645152ae2c397b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/tools/knowledge/management.py:483-503 | libs/agno/agno/tools/knowledge/management.py:506-526 \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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e960734345525e9ca817dc1fbbe92182df3f962bb4375d90784ddcc228436c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:494-511 | libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:514-533 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6f13f06df145a488325cd8eb1e9c7c2fdc3e5f928688a1039e848123d3a435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 23\u002B corresponding lines): libs/agno_infra/agno/aws/resource/acm/certificate.py:170-201 | libs/agno_infra/agno/aws/resource/ecs/cluster.py:90-119 | libs/agno_infra/agno/aws/resource/elasticache/cluster.py:257-284 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:122-144 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:529-556 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:450-477 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 23 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":"libs/agno_infra/agno/aws/resource/acm/certificate.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6e7babf91ecac671edf0069e5c7fe8725ffd4ad280fe7c6c868a10bea15441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/eval/accuracy.py:45-66 | libs/agno/agno/eval/accuracy.py:131-152 \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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"da48227e6f7a7c7940d3181f5ec189dd007d5447ef2b122b2dcd78620ec2fd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/tools/agentql.py:41-80 | libs/agno/agno/tools/agentql.py:83-120 \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":"libs/agno/agno/tools/agentql.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76511e349895beeceeef7523f9d8f4d3b10cd6ded1ff0c6faeab97d5d7f75af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:968-999 | libs/agno/agno/vectordb/opensearch/opensearch.py:889-920 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b222702fe4ab57ff12d8b63fe67c9150e13328a7aa48865a4ec8e53de55fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno_infra/agno/aws/resource/ecs/service.py:285-310 | libs/agno_infra/agno/aws/resource/elasticache/cluster.py:360-385 \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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f411012a6b74a69d0db1789c32bfd26c7eba65bdf4cdb2bd0aea31ea47b89efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py:151-180 | cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py:271-296 \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":"cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebff4f6f842361928ab4ba20d4656ce102673ee2df66f37df515c16569ac068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py:89-115 | cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py:118-144 \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":"cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"04613961c6253b57c5f78536d6833c50e74d45ca6503013fc447ef4870cb44a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/agent/_run.py:6148-6174 | libs/agno/agno/agent/_run.py:6232-6254 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3965294f9bb59c6b06dbff58c46fda781d9d0ce7009e5cd156aed0d2daa9d488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/agent/_session.py:232-259 | libs/agno/agno/agent/_session.py:263-290 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4345a6ce827d89c962b41c61989b8a75365c00358be28edb6502b106e715492"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/company/manager.py:440-463 | libs/agno/agno/company/manager.py:1411-1434 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"906943a2f16c443c049b1ccfdf56e67e8bd705e550e2ea2b8d512279a5c34d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2409-2432 | libs/agno/agno/db/mysql/mysql.py:2397-2420 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c14b6ab03d6759216968381e3c997c3f06a2a611a8f309127749f38416440ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 37\u002B corresponding lines): libs/agno/agno/db/mysql/mysql.py:1822-1858 | libs/agno/agno/db/postgres/postgres.py:2710-2748 | libs/agno/agno/db/singlestore/singlestore.py:1845-1881 | libs/agno/agno/db/sqlite/sqlite.py:2647-2683 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 37 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"644fa4f9521e72165e5ce978e58a6c21290964e742b5d89564e188529ce79592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/knowledge/knowledge.py:4511-4534 | libs/agno/agno/knowledge/knowledge.py:4539-4556 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4511}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb608d5d7c7c4723dcf05e85709628871b2d550cdd9a2fd48fabf605e17f49a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/agent/_response.py:1842-1860 | libs/agno/agno/agent/_response.py:1864-1882 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b40e8ba74ed79df37cdef3515bcc8e405bc38ceda405da4a7e1583f7a0f7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:938-951 | libs/agno/agno/db/postgres/async_postgres.py:1320-1346 | libs/agno/agno/db/sqlite/async_sqlite.py:1287-1308 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1ef4bce721a6e18b1f92c68dc1405ceac6389883284860240df778f3af0988"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:954-965 | libs/agno/agno/db/postgres/async_postgres.py:1349-1369 | libs/agno/agno/db/sqlite/async_sqlite.py:1311-1327 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"18265a3fc9adf4f721bd6f8f38c143bc867c93bb9347e4e524abdb044b2173ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6941-6962 | libs/agno/agno/db/postgres/postgres.py:9607-9627 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37b6b805b7f84fa6c6c4ec1f5e9385f899c46dd54dc0df6ff9d06345b8de463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/company.py:715-736 | libs/agno/agno/tools/company.py:1042-1064 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"e563602171ca1f1c1ff3e113c95991508b8573ea6c90954a6ad6a283e88a256c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/vectordb/redis/redisdb.py:650-683 | libs/agno/agno/vectordb/redis/redisdb.py:719-754 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b1aaa659a5ed0832ebdac6a1d98ca795b228325e139840d422e4aa0c5b043a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/firestore/firestore.py:3940-3968 | libs/agno/agno/db/firestore/firestore.py:3976-4017 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e25913739e06302d2741444d45995e9cbb5fd3ceb64031b1ce49d6e6433dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2022-2053 | libs/agno/agno/db/mongo/mongo.py:1828-1859 | libs/agno/agno/db/redis/redis.py:1529-1557 | libs/agno/agno/db/valkey/valkey.py:1946-1974 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"49be5cd7cb645b16e4d680aef82a647109d649810b5e0bd5d9bca73900b262c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (154 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3742-3895 | libs/agno/agno/db/mongo/mongo.py:3550-3703 \u2014 These two members are one piece of code written twice and then edited apart: 154 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3742}}}],"partialFingerprints":{"codehealthFindingId/v1":"c249144203eb11d16263637dc87526a7dbd0aba0c47c92772af4f14a1ba74a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 26\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6571-6599 | libs/agno/agno/db/postgres/async_postgres.py:6683-6714 | libs/agno/agno/db/postgres/postgres.py:9256-9283 | libs/agno/agno/db/postgres/postgres.py:9337-9362 | libs/agno/agno/db/postgres/postgres.py:9365-9395 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd30f8ddbd70a8a60aa6734b8b6dc90ea6bf38891a8e7a7a2d36b2711cc05bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/knowledge/embedder/openai.py:109-127 | libs/agno/agno/knowledge/embedder/openai.py:130-150 \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":"libs/agno/agno/knowledge/embedder/openai.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b933fc13db289d4cfbe1e487990eb32d5b0f039a20d9dd17201fc24f1caddd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): libs/agno/agno/reasoning/manager.py:864-904 | libs/agno/agno/reasoning/manager.py:911-956 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e1b1effb0baee87c3f44c721f4dda6af90af1dea551a97db16e3d59c17b28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/csv_toolkit.py:63-91 | libs/agno/agno/tools/csv_toolkit.py:94-117 \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":"libs/agno/agno/tools/csv_toolkit.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1b760e2c9d54097ebecc5b115a98ac642085def12de057f1fa544b5ff86f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/utils/bounded.py:47-64 | libs/agno/agno/utils/bounded.py:67-87 \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":"libs/agno/agno/utils/bounded.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d33ff60cc2f9db5f4ca6bd0433995d536d599ee93432ed01c7bf2ae8cf860e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/utils/callables.py:520-544 | libs/agno/agno/utils/callables.py:548-575 \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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"629de588c37beb61f2426bbbbe13bcf69b7d837eb841429375e60a3c160f1eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/company/manager.py:338-365 | libs/agno/agno/company/manager.py:1309-1336 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"492b87e8025263ecc675f243d16b5988d1d7ae9e30935296823801e77b5b8cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/company/routines.py:202-218 | libs/agno/agno/company/routines.py:222-238 \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":"libs/agno/agno/company/routines.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba28d59e91d8a748fa3c91ab9dfbb9fa0c00525f56a1b6eb3aec3d03aa519ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/tools/company.py:1431-1466 | libs/agno/agno/tools/company.py:1632-1669 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"748fdb8bb99c2219f9b88937d45ab0a39a5a4618ab5933cad635caf62aa810d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/tools/zep.py:137-170 | libs/agno/agno/tools/zep.py:347-383 \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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d89df26632e477294fe546c1e8b324220fd197270fbcb7c5ee0d2a04843f6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/workflow/workflow.py:2905-2932 | libs/agno/agno/workflow/workflow.py:3871-3902 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"342e1510d8bdc6c397723606a07144c41d15804ff8686c9186da9a706f4438ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): cookbook/data_labeling/_26_scale_out/basic.py:96-119 | cookbook/data_labeling/_26_scale_out/resumable.py:107-128 | cookbook/data_labeling/_26_scale_out/with_cost_tracking.py:106-134 \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":"cookbook/data_labeling/_26_scale_out/basic.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83f56c3e95ca4cc39c2a62ad6a99cf578d750f4f717ee511d910b8e9463af33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/compression/manager.py:76-103 | libs/agno/agno/compression/manager.py:180-207 \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":"libs/agno/agno/compression/manager.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7435870f295d78fd6f72c3b8f4587e0b123a94de16ed9474c13512f2619e303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): libs/agno/agno/db/mysql/mysql.py:1754-1777 | libs/agno/agno/db/singlestore/singlestore.py:1783-1807 | libs/agno/agno/db/sqlite/sqlite.py:2577-2601 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b790e957e28457bc84462873cac66bb14e19eeac59c1fe123a74fe3655a3151"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/db/redis/redis.py:529-552 | libs/agno/agno/db/valkey/valkey.py:642-667 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"570d8e861990b48573931da5b95269cf2180af1d90aabcab43b577a15f22949f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/models/fallback.py:453-470 | libs/agno/agno/models/fallback.py:481-499 \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":"libs/agno/agno/models/fallback.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb66cf0101e6f7f0126449aca8ea9bd4e19e943e1dc229090f666c3051340065"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/models/openai/responses.py:821-838 | libs/agno/agno/models/openai/responses.py:846-864 \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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0818846d0dcac036669f4f463a54785197c4e89335136838b4e7e645f7f195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/models/azure/ai_foundry.py:354-399 | libs/agno/agno/models/azure/ai_foundry.py:435-466 \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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dfd4142951ad39d74cc2dd166f38b22a763111900fe7c78e4bd749e706f1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/os/event_streams/redis.py:202-235 | libs/agno/agno/os/event_streams/redis.py:439-459 \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":"libs/agno/agno/os/event_streams/redis.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c751ba148e5c5589fcda738953d7630181e6223dff6046eceb35992921f027be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): libs/agno/agno/tools/studio_runner.py:511-521 | libs/agno/agno/tools/studio_runner.py:542-552 | libs/agno/agno/tools/studio_runner.py:575-589 \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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"b446578a60ce5499ed0384d68e16679015842bf04579c6894f950327c30d44cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/workflow/step.py:3545-3569 | libs/agno/agno/workflow/step.py:3577-3597 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaf5e7998cde49e4088a3da2582c790e9016c478a474492175841f5aecca2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 27\u002B corresponding lines): libs/agno/agno/agent/_run.py:269-298 | libs/agno/agno/agent/_run.py:334-365 | libs/agno/agno/team/_hooks.py:100-128 | libs/agno/agno/team/_hooks.py:137-165 | libs/agno/agno/team/_hooks.py:174-200 | libs/agno/agno/team/_hooks.py:209-237 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aa4d009782a4f33bff56bbcb657413c15a4c6bcf9d1b1dee82efe897efcfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/company/manager.py:645-670 | libs/agno/agno/company/manager.py:1620-1645 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc34ba30da061d462e500fd02557a1f91e24061d3a5e0f082d009cd54134cd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/firestore/firestore.py:1690-1718 | libs/agno/agno/db/surrealdb/surrealdb.py:1399-1429 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99b52b93e1f1e5456ea127359bbd9f3269217265f9e88c6867eacac5bad72b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1717-1733 | libs/agno/agno/db/in_memory/in_memory_db.py:1454-1470 | libs/agno/agno/db/json/json_db.py:1826-1842 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa74ce7519c93e078bf7b896314d9ffe0d11edaffcca8540ec45455012e8746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/db/migrations/versions/v2_3_0.py:276-303 | libs/agno/agno/db/migrations/versions/v2_3_0.py:446-474 \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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aebc0e4bad8a0e32012aabbbbdf245a474afc691a7ea095bfef1dbdda6d74c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:1506-1523 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1640-1658 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc260e7e21496049a452531211588a25318430cbfe62b9b0ad44dea284a2f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/fs/db.py:478-491 | libs/agno/agno/fs/db.py:494-504 \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":"libs/agno/agno/fs/db.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef62103b4978ad6f1a4c44c3aeba7b1acdc387c51d830862176640068f1bc894"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/utils/tokens.py:444-469 | libs/agno/agno/utils/tokens.py:504-528 \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":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd7aff0f067ff64fcfc2eb1590865fc87fabc6f9d1895f7067e0a8cfd67ed43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1216-1236 | libs/agno/agno/vectordb/opensearch/opensearch.py:1127-1148 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8de8b1bb0e33bccce62dff2bd4d70d7cf3d0aa5aa7a3003e391ea281a7e5265"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): libs/agno_infra/agno/docker/resource/container.py:229-252 | libs/agno_infra/agno/docker/resource/network.py:71-94 | libs/agno_infra/agno/docker/resource/volume.py:74-95 \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":"libs/agno_infra/agno/docker/resource/container.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2f00a8df9086c8f6e7dda6e5e84788772f957ba499a469204c2e6ecbc4b557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): cookbook/05_agent_os/04_run_lifecycle/background_run.py:59-80 | cookbook/05_agent_os/04_run_lifecycle/cancel_run.py:59-84 \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":"cookbook/05_agent_os/04_run_lifecycle/background_run.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c4583f8d7cc0a3bdc57fc83bd75e604dc56ddc38c7b710289ac77f5400834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:615-640 | libs/agno/agno/db/firestore/firestore.py:612-637 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf7c215d5d4e89b5eee7b3d6bdb3a9a5126cefc0b1abc60451ccda4c7150a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2476-2504 | libs/agno/agno/learn/stores/entity_memory.py:2509-2533 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c03d93d8612f3c9503420bdcfb075c486c31a752d72339b6e140db040819f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/tools/openrouteservice.py:160-179 | libs/agno/agno/tools/openrouteservice.py:182-201 \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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95862ca52f222f94ab0c1e410ec1dfb7e55b5e437225d21738b41fa95f29d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/tools/xai_auth.py:109-146 | libs/agno/agno/tools/xai_auth.py:190-227 \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":"libs/agno/agno/tools/xai_auth.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5a31fb2856838ad0098269b25c22b6f90dbd319a16c1b1226e9b634a965ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/workflow/workflow.py:1653-1670 | libs/agno/agno/workflow/workflow.py:1673-1690 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb6a391adab9750ac33cec38f1150d508399987a8835b25408ac488edda717"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:765-777 | libs/agno/agno/db/mongo/mongo.py:565-578 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da7fd896b0d359e4bde50f17bbd3460b2cd9c2bd4c566b406291771b296e3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/fs/toolkit.py:421-454 | libs/agno/agno/fs/toolkit.py:834-855 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"723c6e8ce81299bcb567d474243d1f725310cdab48f458eedd9077704135adac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/metrics.py:323-335 | libs/agno/agno/metrics.py:502-520 \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":"libs/agno/agno/metrics.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5861fb60e2799574cbece73b206502853f402c7848a5e2357e4b73dc931e5b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/os/authz/engine.py:303-322 | libs/agno/agno/os/authz/engine.py:358-372 \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":"libs/agno/agno/os/authz/engine.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd039e18d12d71ce7bc1b40cf8d4692bc35e82f125ce40a51a5417c4ed67415"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/tools/clickup.py:123-150 | libs/agno/agno/tools/clickup.py:153-181 \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":"libs/agno/agno/tools/clickup.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86b3f40d330569b533cad279859a3b9f5ddfb70d273f87ca935330fb34315a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/tools/youtube.py:126-159 | libs/agno/agno/tools/youtube.py:162-198 \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":"libs/agno/agno/tools/youtube.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d7a80c659cfd576a8490ad6314ff8c8c662777c0a5b72693438b96cb760df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno_infra/agno/docker/resource/network.py:97-127 | libs/agno_infra/agno/docker/resource/volume.py:98-128 \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":"libs/agno_infra/agno/docker/resource/network.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca31ae056f425a44e8c7b2e95fc46e5393e2d4ab74d0c88d34ef0a3c84337ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/agent/_messages.py:662-691 | libs/agno/agno/agent/_messages.py:701-717 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51dfa9117eaadd6def1ec6dd250092839191c1f367751133e3964e0178887ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/redis/redis.py:210-245 | libs/agno/agno/db/valkey/valkey.py:280-317 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7913363d463d176736144f7b84400f18dc77f96d7cc869a992a2aa07afeba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/utils/agent.py:1138-1166 | libs/agno/agno/workflow/workflow.py:11375-11396 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed1bb69cc31c8b363a63004e53725fc8d9314ca5be0212e544df48593ebebde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:775-800 | libs/agno/agno/vectordb/opensearch/opensearch.py:716-739 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba035b8117069e671a0839e24755fae8940b5d4509c81342a2f3cdac99bcd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/context/web/parallel.py:106-117 | libs/agno/agno/context/web/parallel.py:120-131 \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":"libs/agno/agno/context/web/parallel.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e65c644fb805640af23bceae516419d9ca8fb104ca50bda29270fd092bd59af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:1614-1623 | libs/agno/agno/db/postgres/postgres.py:1788-1797 | libs/agno/agno/db/sqlite/async_sqlite.py:1541-1550 | libs/agno/agno/db/sqlite/sqlite.py:1751-1760 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"2383b8431bb1440707f956df3b8ebbd34e8ce464ba8c0c33232961a3865a6c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/agno/agno/db/redis/redis.py:307-343 | libs/agno/agno/db/valkey/valkey.py:383-419 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb54d5a831cde4877646148f58ffd17ad5805071b8ae09260daea6ae93884cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/tools/shell.py:37-69 | libs/agno/agno/utils/shell.py:7-23 \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":"libs/agno/agno/tools/shell.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"830b9956b7660ef860dc64348cc3fa4660dd7813a534802cf65e30f0fdccc391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/utils/agent.py:803-829 | libs/agno/agno/utils/agent.py:838-861 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc23197ac6e8c6db0aff3f435ec3bbe14e1e0c38a2941f48da3ea0fef6fb5fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/workflow/workflow.py:2450-2473 | libs/agno/agno/workflow/workflow.py:2476-2493 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"af597c6a640cb002541c1f23da4ce03ab21ad98f491090ff6206a6bc1ae2761f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/db/mysql/mysql.py:820-838 | libs/agno/agno/db/singlestore/singlestore.py:872-886 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85e97b4c2942c45a5a85c58e6cf08f1a2075268dbb1bdd8b60cee2f5050a6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): libs/agno/agno/db/redis/redis.py:727-758 | libs/agno/agno/db/redis/redis.py:761-789 | libs/agno/agno/db/valkey/valkey.py:832-863 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6cc6c934aa67b7ced3cb6e54b19cd2d2d973c2e760c265a67abcde4571bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/agent/_tools.py:74-103 | libs/agno/agno/agent/_tools.py:107-129 \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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"988013a3921f38f148523e56d860b55a484b8b0550b2cd9e44571e635425eb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/mysql/utils.py:1075-1106 | libs/agno/agno/db/postgres/utils.py:232-265 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edb976525c1c5aa89d4eda8506ddbbf62a58b42dd928c3e388850aa7d25de57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/eval/accuracy.py:302-324 | libs/agno/agno/eval/accuracy.py:335-357 \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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1378f282fc61ba3e8ade1749ee8270cc63d662c114c7529f236de528828b8eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/confluence.py:87-113 | libs/agno/agno/tools/confluence.py:200-221 \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":"libs/agno/agno/tools/confluence.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c869495602973086b6be8c3697d0bb5318766340f3a31711357ec827474f204a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/vectordb/pgvector/pgvector.py:340-366 | libs/agno/agno/vectordb/singlestore/singlestore.py:863-893 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecfebc3c19268dc37ade4d0d32f6ef7a3c57dcd1759f996d78f3a12762e1931"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/workflow/loop.py:291-316 | libs/agno/agno/workflow/loop.py:319-347 \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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8e6e2d173a2865d32ed7bb20d1028057d27a09210e2a4248c9d0e77679b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.py:70-83 | cookbook/04_workflows/08_human_in_the_loop/executor_hitl/09_executor_continued_event.py:73-88 \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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"184858cf08be1ee7765c0e0ade2125e312c31931693605e76a7556b82ca3c4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/company/manager.py:612-628 | libs/agno/agno/company/manager.py:1587-1603 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc318812f27b631715601a1acb09e9adf720958e4c179eb2cbfef20140684d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4505-4533 | libs/agno/agno/db/mongo/mongo.py:4323-4351 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9180838bf6301902f463df825c309eba6559c96c22ce78001914eabf68e29af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:828-844 | libs/agno/agno/db/postgres/async_postgres.py:1033-1063 | libs/agno/agno/db/postgres/postgres.py:1186-1215 | libs/agno/agno/db/sqlite/sqlite.py:1177-1208 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ddc23c8ce3fac5996b54e356d7c3f9581c019d9d7e592b0fda3e63b0e0a49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): libs/agno/agno/os/app.py:3239-3257 | libs/agno/agno/os/app.py:3260-3279 | libs/agno/agno/os/app.py:3304-3323 | libs/agno/agno/os/app.py:3435-3466 | libs/agno/agno/os/app.py:3469-3488 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddee1ce74d961a71aa8d18ccbf48ba9a50030b1e40dd06c3de6411c02446031"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/atomic_mail.py:530-547 | libs/agno/agno/tools/atomic_mail.py:626-639 \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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"0330ad01a1fa9fa91b8a64005f07d5ce2551c4cc6738adea092f1f268761fd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/tools/company.py:1525-1540 | libs/agno/agno/tools/company.py:1728-1743 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46ae4b6963a72178d0ef3ea648e54feb9030045d3149e4fec302100a65fd5c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/tools/keenable.py:89-114 | libs/agno/agno/tools/keenable.py:117-143 \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":"libs/agno/agno/tools/keenable.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"566f8dd104abcf079e181db657ebc0bc06f827c865f0b9b66bed9c56b160c5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/tools/salesforce.py:219-236 | libs/agno/agno/tools/salesforce.py:239-257 \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":"libs/agno/agno/tools/salesforce.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd18026dd7403b4d347aaea44d9474a7206970a5d0c92947f9d196cf446cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/wavespeed.py:63-84 | libs/agno/agno/tools/wavespeed.py:87-108 \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":"libs/agno/agno/tools/wavespeed.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac48b18a413305c76a32ed2d1051c461a374b9c9fd45150878cf5f308e3268c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/utils/media_offload.py:319-333 | libs/agno/agno/utils/media_offload.py:527-539 \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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a489757a4cefbf56503c3969886cfe36093eec986a84e2e78fbfae77190dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/vectordb/weaviate/weaviate.py:988-1011 | libs/agno/agno/vectordb/weaviate/weaviate.py:1237-1264 \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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0fbeba7005ef05e53f67eda206731ef8d8f95fcef6abf590a7d1311472b164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2334-2354 | libs/agno/agno/db/in_memory/in_memory_db.py:2051-2073 | libs/agno/agno/db/json/json_db.py:2488-2512 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9afddda580ecdedee63d85667a2aae89983da97909cb692e44f8aa83ccc54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/db/mysql/mysql.py:643-662 | libs/agno/agno/db/singlestore/singlestore.py:720-739 \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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3c8e56ea3e7526fbc2c182af281aa20a5e5a5743993dcead7f223a51428c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/models/openai/chat.py:1009-1039 | libs/agno/agno/models/perplexity/perplexity.py:187-212 \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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04ff6c88b4bb6de0a6bc44765dbaa13d2e216e9afe2338e08492e91227df498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/tools/adanos.py:93-103 | libs/agno/agno/tools/adanos.py:106-116 \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":"libs/agno/agno/tools/adanos.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"473130281cbeddaea56253281bad89e9a2c2c3639587e0d72b04029ac7c1d840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/scheduler.py:787-805 | libs/agno/agno/tools/scheduler.py:1176-1196 \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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"20babe5b5875d26c513299f339517a70af5bcaa8169d86236ff8d05515d58653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/workflow/workflow.py:1613-1629 | libs/agno/agno/workflow/workflow.py:1634-1650 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc09d6e838219c9d6c2d698494615fc179fb6c3440888355dd4c241293a742d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cookbook/91_tools/exceptions/retry_tool_call.py:21-43 | cookbook/91_tools/exceptions/stop_agent_exception.py:21-39 \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":"cookbook/91_tools/exceptions/retry_tool_call.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51091211e874e253b1fb22f7c30891d89f515042791799398c325184f0c43d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/company/decisions.py:42-57 | libs/agno/agno/company/decisions.py:60-81 \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":"libs/agno/agno/company/decisions.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bd90825bd455b9509eafbd2b8d7c5cf61cad1819ea6c7b289524b44c3be2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/db/postgres/utils.py:812-824 | libs/agno/agno/db/sqlite/utils.py:824-834 \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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65415c11fe6a2149705a608ccb4ddedef654ff3d8ae090a18220f9f55bac45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/surrealdb/models.py:81-100 | libs/agno/agno/db/surrealdb/models.py:211-224 \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":"libs/agno/agno/db/surrealdb/models.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc961fefe72c501e4722e98186bd4d20f107d66027e77eef5f45ee290bcc8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/models/google/gemini_interactions.py:622-638 | libs/agno/agno/models/google/gemini_interactions.py:641-657 \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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909ea7b07d7b498a5d74e7a139800e13263472a0f1aef378e0f7f5eb782cea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/studio_runner.py:2418-2436 | libs/agno/agno/tools/studio_runner.py:3221-3241 \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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2197a428a471f2784929f83cae115035592a6b13cde11430b322ce84f7cde42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/client/os.py:1716-1730 | libs/agno/agno/client/os.py:1745-1759 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e6a370ebc948b84c769264d9e45102a2d2da35ffe1d173023e758e34021cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1675-1709 | libs/agno/agno/db/mongo/mongo.py:1484-1518 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8835a2f3248aeeba2964aff40562485d19d78ab438e0bfa50c4d2c6e732a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): libs/agno/agno/db/redis/utils.py:392-423 | libs/agno/agno/db/redis/utils.py:450-471 | libs/agno/agno/db/valkey/utils.py:773-804 | libs/agno/agno/db/valkey/utils.py:831-852 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c078620f9d1aac953851973064adc1f472a7b0e6a4b8633011604386afa3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/sql/authz.py:350-364 | libs/agno/agno/db/sql/authz.py:784-797 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea286824cf310146ffe32613fd67d6a37cd0281c5db1c231b86f7994be28f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/knowledge/loaders/sharepoint.py:76-90 | libs/agno/agno/knowledge/loaders/sharepoint.py:95-110 \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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"962c33815c23ce16c51c0ff769dc348b1315c73ef2d65e9c0eec0b19f67e746e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/memory/manager.py:309-341 | libs/agno/agno/memory/manager.py:344-374 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d35441f8f2d6b824a690ebb0908cb8066c0b71f0093ff1bf9ae538a4331ae32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/models/cerebras/cerebras.py:446-490 | libs/agno/agno/models/groq/groq.py:487-520 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f2a5dfbe8d654642d7b0525b1f9ee8fced19e1a4c5117a3c0a4262f1c16c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): libs/agno/agno/tools/exa.py:172-223 | libs/agno/agno/tools/exa.py:226-261 | libs/agno/agno/tools/exa.py:264-309 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"libs/agno/agno/tools/exa.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e15793f9e3df1e2c80eb716b08dcc008a9a2b4d4ad2d91fc172e00d582ee96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6743-6754 | libs/agno/agno/db/postgres/postgres.py:9419-9430 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f68fe5db9a59db5a95b8768ba691292a1560e8cff6347bd0aa99010bbcf27ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): libs/agno/agno/db/redis/redis.py:1616-1637 | libs/agno/agno/db/redis/redis.py:1640-1661 | libs/agno/agno/db/redis/redis.py:2158-2188 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f7c326f0ceb52ce96a323164f240868789225294437d631a5daa412a0343d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/db/redis/redis.py:1833-1847 | libs/agno/agno/db/valkey/valkey.py:2151-2167 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2173e252064cffdce0683bc376cd24d4789ce0f46323dda1ed33d1dbda825d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/learn/stores/decision_log.py:875-902 | libs/agno/agno/learn/stores/decision_log.py:905-934 \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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46a66b5e27cb195886f781a8bf64c692cf1e165bb8ed525446c2523846d8532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/models/xai/oauth.py:385-398 | libs/agno/agno/models/xai/oauth.py:401-414 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1466fbace8a1b88d097ce44e74ab47669163226ed6662267a011e868efcefb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/utils/callables.py:458-483 | libs/agno/agno/utils/callables.py:491-516 \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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cabc52eae778e1fe7eda67e3c99bd2182d829d9627e025505b57c6aa278f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/vectordb/lancedb/lance_db.py:712-735 | libs/agno/agno/vectordb/lancedb/lance_db.py:744-775 \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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bf25a19e271752f355df5f606dba828936daf1a610e54b840c7c6df5f7894b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/workflow/workflow.py:1997-2030 | libs/agno/agno/workflow/workflow.py:2262-2290 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"270ddc6be17e8e9c835d4c1b9eacfa5bf05c13c7250448c8c3db0d65064a3445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:702-737 | libs/agno/agno/db/dynamo/dynamo.py:3319-3345 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eee4bbf441e4d60938ae5fe0ffb44ade454f6cd00c1c2eb7d3ccc4ceed9ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/migrations/versions/v2_3_0.py:23-51 | libs/agno/agno/db/migrations/versions/v3_0_0.py:196-228 \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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"281ca6984c43f97687cf1be975ea4602dbb68c6f1346bae518a7133febc0476b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/db/migrations/versions/v2_3_0.py:83-109 | libs/agno/agno/db/migrations/versions/v3_0_0.py:288-324 \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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3f9a4281cb45a20b5abd2f1f437afdd346c31a8ac1380c857bb99dfc5e95e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4478-4502 | libs/agno/agno/db/mongo/mongo.py:4291-4320 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f004bd6b0b9287e331e5f0c27a3f213c536f7c3b442738b15ff0db19cb9fe8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/db/redis/redis.py:1740-1760 | libs/agno/agno/db/valkey/valkey.py:2055-2075 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e95f8ff816f11a32fc0af00d017d964f0a3631eefbcf7099522334679eba32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/fs/toolkit.py:627-650 | libs/agno/agno/fs/toolkit.py:1020-1038 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a124be408c857a40bbf629e9c88bc3899398791ab8ad7bc6bb670820efe2aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/models/base.py:3242-3273 | libs/agno/agno/models/google/gemini.py:1558-1593 \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":"libs/agno/agno/models/base.py"},"region":{"startLine":3242}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c63ded65201aff1c249fc52bed6e87ed547aedafde89049ba7d7fdb345550d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): libs/agno/agno/models/fallback.py:209-242 | libs/agno/agno/models/fallback.py:251-278 | libs/agno/agno/models/fallback.py:292-325 | libs/agno/agno/models/fallback.py:334-365 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/fallback.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18dcaf9d21c33d5a59780875b9f7ea45995c96f6c098061770211982b54ae02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno_infra/agno/aws/resource/ec2/subnet.py:21-34 | libs/agno_infra/agno/aws/resource/ec2/subnet.py:39-52 \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":"libs/agno_infra/agno/aws/resource/ec2/subnet.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b934384bf0c15add9784a26804401b0d3b1c724ba9d1cd3e6be06da3d9ffc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): libs/agno/agno/agent/remote.py:555-596 | libs/agno/agno/team/remote.py:582-629 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c01bedc2dcb45ae70a0169dc66f57a82c5916b75fca72283dcde1301703b8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/db/in_memory/in_memory_db.py:652-664 | libs/agno/agno/db/in_memory/in_memory_db.py:667-680 \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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"3282ad2abcdd0356c945eac449cc0394be4cb42477f36b7d9fe5de4c43b82852"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/db/sql/authz.py:534-541 | libs/agno/agno/db/sql/authz.py:909-917 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37907f811634e1ed46123a869dddc4e4ba739d56f77ffff8fe85e76d5254565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): libs/agno/agno/tools/atomic_mail.py:717-736 | libs/agno/agno/tools/atomic_mail.py:739-760 | libs/agno/agno/tools/atomic_mail.py:763-782 | libs/agno/agno/tools/atomic_mail.py:785-806 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bebb21ba652742b7c2dff079ce94cab4ab7c94f8102a6d33fcb7a05661da74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:177-193 | libs/agno/agno/vectordb/qdrant/qdrant.py:197-214 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1568e4e5cfaf2940bed951a8e28189ab844729f2759bbda79f0d125a884d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): libs/agno/agno/agent/_cli.py:306-337 | libs/agno/agno/team/_cli.py:313-332 | libs/agno/agno/workflow/workflow.py:11583-11635 | libs/agno/agno/workflow/workflow.py:11651-11703 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7979611e1be5ce87bf0c07ed7accdff4acdc7f4cb7ba0557e6167cabcd77627c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3300-3329 | libs/agno/agno/db/mongo/mongo.py:3049-3078 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea786c03d96f1826385fd92ff289d00f0b4a646da59e9e536d0d9f806cbfbe55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/fs/toolkit.py:502-527 | libs/agno/agno/fs/toolkit.py:586-615 | libs/agno/agno/fs/toolkit.py:923-942 | libs/agno/agno/fs/toolkit.py:991-1008 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05dc987d277901c5039d4bce2f3487dcc337a712975334e0298ddb179eece27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/os/routers/service_accounts/schema.py:98-110 | libs/agnoctl/agnoctl/http.py:52-64 \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":"libs/agno/agno/os/routers/service_accounts/schema.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc5c3d9dded652f960b21b62a28147590b811610de1446f0a1aaefbd5ad18e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/session/team.py:369-396 | libs/agno/agno/session/workflow.py:202-228 \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":"libs/agno/agno/session/team.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf256e07434bc6c2b12046f7cdbb6bc00c0b9a0973574ad92f551a8ed47ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): libs/agno/agno/tools/knowledge/management.py:198-220 | libs/agno/agno/tools/knowledge/management.py:223-245 | libs/agno/agno/tools/knowledge/management.py:253-277 | libs/agno/agno/tools/knowledge/management.py:280-304 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6837bcad31dea677a324b95dd716b16b05b80350b687ac8d379e779992bca38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/llms_txt.py:70-91 | libs/agno/agno/tools/llms_txt.py:94-117 \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":"libs/agno/agno/tools/llms_txt.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"21572a28af9a812c36747519e68e11d81ddc916be5fe7ee9e0292c54630ec8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/db/firestore/firestore.py:1391-1429 | libs/agno/agno/db/firestore/firestore.py:3245-3285 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57456e5e6f345a05b5a82a9059371556daf4256d97a8a3bd5d443d28f912410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/db/redis/redis.py:1850-1871 | libs/agno/agno/db/valkey/valkey.py:2170-2191 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"51312b7bda09f861e23d2a3ad1b442277c2853114d5d4c84ffa527a2d8bbc895"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/redis/redis.py:4609-4620 | libs/agno/agno/job_queue/store.py:374-383 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4609}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1c4fbbb46bedcc956caf5236d562396371b11aeacf07bdb8cd207c6fd03b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/knowledge/embedder/vllm.py:169-186 | libs/agno/agno/knowledge/embedder/vllm.py:189-210 \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":"libs/agno/agno/knowledge/embedder/vllm.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df69393f0eda69c18137422a2a13754be82848c288494ae8ba61bd2220b50b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/learn/stores/user_memory.py:954-974 | libs/agno/agno/learn/stores/user_profile.py:1008-1028 \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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e96ee2366ff3fb67253068fc4cc988e816506a62b2a2e90435b380da8200cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/media/media.py:81-106 | libs/agno/agno/media/media.py:112-129 | libs/agno/agno/media/media.py:135-158 | libs/agno/agno/media/media.py:164-182 \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":"libs/agno/agno/media/media.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1bf6dacb186a52253b259344d6efbe65e2c7a3d4085982140f9f2aac3c6129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): libs/agno/agno/vectordb/singlestore/singlestore.py:590-603 | libs/agno/agno/vectordb/singlestore/singlestore.py:606-625 | libs/agno/agno/vectordb/singlestore/singlestore.py:628-641 | libs/agno/agno/vectordb/singlestore/singlestore.py:644-659 \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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c74222e428f9301864d2aa7740b6b811e6f88bfd5b932348213aa56f57cd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:2712-2732 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2736-2751 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5cb4a6d0a19023ceae710e9a58d7275e55ac8003402eecc550289bd76270ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:3818-3836 | libs/agno/agno/db/sqlite/async_sqlite.py:4065-4087 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e6a8b3a266e2eee84f7b06199d07c81045af23086ad3fd90383ff19e46b573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/learn/stores/decision_log.py:301-329 | libs/agno/agno/learn/stores/decision_log.py:338-366 \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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"797436efab02e20e5a769187158b50db2325c3d58d195f8c6aff86d73a2cdcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/models/base.py:2128-2143 | libs/agno/agno/models/base.py:2152-2167 \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":"libs/agno/agno/models/base.py"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee56c974adfb544070ceee3c219f867c777efdaf50aaa379a5a4c452af8296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/os/authz/_role_store.py:296-321 | libs/agno/agno/os/authz/_role_store.py:847-870 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7afcb34ced0f05a8ee0ccc56905563636fb3f00b7a76fb785681f6db671253d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/os/interfaces/whatsapp/helpers.py:236-256 | libs/agno/agno/os/interfaces/whatsapp/helpers.py:267-293 \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":"libs/agno/agno/os/interfaces/whatsapp/helpers.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e91d7ddbc68968061c9ae1893cd84101f77b7ca4809ee4ea1ad34f66e5bbdeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/utils/github_auth.py:105-119 | libs/agno/agno/utils/github_auth.py:122-138 \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":"libs/agno/agno/utils/github_auth.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfc6570e1e4d3acb940301236d75490544cde05711cbe1a2eecb8299c35f6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/cloud/aws/s3/bucket.py:176-195 | libs/agno_infra/agno/aws/resource/s3/bucket.py:177-196 \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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4040db9424a6f24af4d500f322ed0df3e78d89ac1399459093a7e8deaebd641"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:948-970 | libs/agno/agno/db/sqlite/async_sqlite.py:899-921 | libs/agno/agno/db/sqlite/sqlite.py:1135-1154 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d24239452a6e7b8c205cc5822a208a180bc61a343629b66b7223c001f78149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/knowledge/loaders/azure_blob.py:48-78 | libs/agno/agno/knowledge/loaders/azure_blob.py:81-112 \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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec91741aea58f916fc99ea6fbf4072ccc5d32062be8e6a00f1dd01d964fa7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/knowledge/loaders/sharepoint.py:152-163 | libs/agno/agno/knowledge/loaders/sharepoint.py:166-178 \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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecf3b8b94b1184a85b23dfabb52d01eccb525c1796379d5a84bdb15ae970108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/browserbase.py:119-140 | libs/agno/agno/tools/browserbase.py:296-318 \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":"libs/agno/agno/tools/browserbase.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1668666d36a144b0b58d9297a034330c9fc6d486795e153410b71193145f13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/tools/superserve.py:325-340 | libs/agno/agno/tools/superserve.py:600-615 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4003be9898129ea331fc552ba2e91f524888036ba2a8798d6d8705971406c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3509-3544 | libs/agno/agno/db/mongo/mongo.py:3259-3294 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff13f3b438d25181eccdb61c7112538bde0045ca5beced9036e213a9486383b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/models/xai/oauth.py:461-483 | libs/agno/agno/models/xai/oauth.py:486-502 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3104d80d59b26a821a7dce7db1e37ba570204da9add112a1d6c4ca52208ad20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/authz/native_engine.py:302-313 | libs/agno/agno/os/authz/native_engine.py:618-624 \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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c94f5f430db9e5729ce4c90add55f13ab5643dc6a6e50c4a69bc2b5a1003f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/os/interfaces/slack/events.py:210-225 | libs/agno/agno/os/interfaces/slack/events.py:229-241 \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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3216aa15761546c7eeb6f0d545bb1f724834e76f6fcff3be7d3551b1e4772caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/scheduler/manager.py:289-327 | libs/agno/agno/scheduler/manager.py:539-577 \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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6002928837a8de177f81347172ca23ff3e77b90ca9fa0fed7e6526fb9f512b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/team/_session.py:481-500 | libs/agno/agno/team/_session.py:510-522 \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":"libs/agno/agno/team/_session.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7701e2fe0fb158cf17585bce138f206dc64dcf3521ab9adeefd2cf161192bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): libs/agno/agno/tools/company.py:829-862 | libs/agno/agno/tools/company.py:1157-1190 | libs/agno/agno/tools/company.py:1482-1521 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/company.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8ea140d44df62ab347397cf9746e4a11a2582a317fba200ee6d7b56e308f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/tools/finance/providers/financial_datasets.py:171-181 | libs/agno/agno/tools/finance/providers/financial_datasets.py:186-195 \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":"libs/agno/agno/tools/finance/providers/financial_datasets.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe86657dc99726640ea0855423bad9ef03dd8f85fffbac0bf56a11584059fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): libs/agno/agno/tools/google/slides.py:813-840 | libs/agno/agno/tools/google/slides.py:916-940 | libs/agno/agno/tools/google/slides.py:944-971 \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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ec863242c5564168b3587244eaa5f6c353c2dc7bc135504a6055a46bab6f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/knowledge/management.py:393-416 | libs/agno/agno/tools/knowledge/management.py:419-442 \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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d2fe94993f080d35ab7ab4f5cb2e3e3cd9293f6338a5bb44ac2afcbdf00ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/agent/_storage.py:480-513 | libs/agno/agno/team/_storage.py:238-256 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"896d5286547de4a9cdae57a0e2c1e9de127f0100308d650fcd41ad2808de96ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/context/wiki/backend.py:867-879 | libs/agno/agno/context/wiki/backend.py:882-893 \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":"libs/agno/agno/context/wiki/backend.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"968f4e32a7d2d83a37e5de5a0453a1d6e57636edf18ea7846330b779193cdc1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1586-1614 | libs/agno/agno/db/mongo/mongo.py:1398-1426 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefdb61972077f16abdb11d64a1bb9152757759d1ce7e1347b85bba474946a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/fs/fs.py:664-682 | libs/agno/agno/fs/fs.py:870-888 \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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"9754d0fff869b944aaa7b0447c1a1af216b2a81ae1864695ff2b0e2d00fe856d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/knowledge/knowledge.py:566-593 | libs/agno/agno/knowledge/knowledge.py:598-617 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7526b0cc82ffd53c26b87a13f3364430a57afb97b0249f6278a95689169f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): libs/agno/agno/learn/machine.py:300-318 | libs/agno/agno/learn/machine.py:321-339 | libs/agno/agno/learn/machine.py:342-360 | libs/agno/agno/learn/machine.py:363-386 | libs/agno/agno/learn/machine.py:413-431 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"62590064a78ac16b6cfbb3380507dbc244cc416f8295e1e495211eaf8531a505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/learn/stores/decision_log.py:487-523 | libs/agno/agno/learn/stores/decision_log.py:530-554 \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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b3f57afc2bba4cf02cf070d9ab090467419dc4a86c4e420a3556d37d1842c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2718-2736 | libs/agno/agno/learn/stores/entity_memory.py:2842-2863 | libs/agno/agno/learn/stores/entity_memory.py:3375-3401 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"e861e013eeb572840b4d1caf0bf407cb7e1e5413c7f4a3542747213ec67aa025"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/models/aws/claude.py:109-142 | libs/agno/agno/models/aws/claude.py:145-177 \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":"libs/agno/agno/models/aws/claude.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d54069f01b009bffefce47b54dd809466b04d94921ea17c02aefd236ab8322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/offload/store.py:931-939 | libs/agno/agno/offload/store.py:942-950 \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":"libs/agno/agno/offload/store.py"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02c4490ed57afd16b93c91f85bdc58574612c54e46ec3a024b516032a1edd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/tools/github.py:1255-1294 | libs/agno/agno/tools/github.py:1370-1414 \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":"libs/agno/agno/tools/github.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f8c5bc61ca2da7f280aca54a673d6585087b16d99a05292e066c015a8f001d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/vectordb/milvus/milvus.py:1366-1389 | libs/agno/agno/vectordb/milvus/milvus.py:1392-1417 \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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21eabb01c47165aff59cd238e6b12ac06ffe786a603953ee6b4d820ffac5764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): cookbook/07_knowledge/09_archive/readers/from_topic.py:57-81 | cookbook/07_knowledge/09_archive/readers/from_topic.py:85-109 \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":"cookbook/07_knowledge/09_archive/readers/from_topic.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8246c04fbd96632cebe79b1a5f664602fcb10d4ea0677a648dd5e549bbfd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/agent/_run.py:5990-6015 | libs/agno/agno/team/_run.py:4458-4483 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5990}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d7a5d79686c79084d63338dd0829712cac9025ce5562deb79a3ba90f91174a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/db/in_memory/in_memory_db.py:684-711 | libs/agno/agno/db/in_memory/in_memory_db.py:714-735 \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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abe0c7cacc08d13a8f2f8fbb829730b5882aab4f6ca4ae32274b7496d87b256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:573-583 | libs/agno/agno/db/mysql/mysql.py:558-567 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c2bfc1f8b62903c8dbdedc1c452accc7a9977ae3c61ef0c48ed2572c4b9c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/knowledge/utils.py:163-202 | libs/agno/agno/knowledge/utils.py:206-234 \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":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8483918345e2de04cd925574b7f6a57a23e0e93f4eecf3e2174dcbeb60bb5baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:701-724 | libs/agno/agno/vectordb/qdrant/qdrant.py:750-773 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a0121fe928bf38a18593ebea23f22eba4775c335ce55249a9937b491e98b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): cookbook/04_workflows/06_advanced_concepts/workflow_agent/basic_workflow_agent.py:61-79 | cookbook/04_workflows/06_advanced_concepts/workflow_agent/basic_workflow_agent.py:83-107 | cookbook/04_workflows/06_advanced_concepts/workflow_agent/workflow_agent_with_condition.py:107-133 \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":"cookbook/04_workflows/06_advanced_concepts/workflow_agent/basic_workflow_agent.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b782fa954fc1a45d3681615a9a29e660fd1501a7c7919443d203c9b508b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): libs/agno/agno/agent/_run.py:6264-6300 | libs/agno/agno/team/_run.py:4817-4846 | libs/agno/agno/workflow/workflow.py:1928-1957 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d82a7eb203b6d1c806a343a0686f10994f4c6f5a310b53d37b5fb565e04dac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 18\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:586-604 | libs/agno/agno/db/mysql/mysql.py:570-588 | libs/agno/agno/db/postgres/async_postgres.py:878-895 | libs/agno/agno/db/postgres/postgres.py:1033-1050 | libs/agno/agno/db/singlestore/singlestore.py:659-676 | libs/agno/agno/db/sqlite/async_sqlite.py:830-847 | libs/agno/agno/db/sqlite/sqlite.py:1021-1038 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02f53f581c9ae519f2a3a6685f24b4ef496af990afa4d9c0c17ba0ef4a66bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/redis/redis.py:1912-1923 | libs/agno/agno/db/valkey/valkey.py:2240-2256 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59e88a631805dc58935e355bd8e660e2da2a18214c33773e94598c8472f6ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/models/ollama/chat.py:240-260 | libs/agno/agno/models/ollama/chat.py:272-292 \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":"libs/agno/agno/models/ollama/chat.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa341c1075603aae954b2d60c60659a57c0aef43d6948d3cb6747615daf2469f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/run/team.py:1097-1113 | libs/agno/agno/team/_run.py:4368-4380 \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":"libs/agno/agno/run/team.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"02844cf312f93f084c94edc1ee56df1876910274f9fe841262eb48184956d421"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/team/_managers.py:223-242 | libs/agno/agno/team/_managers.py:251-270 \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":"libs/agno/agno/team/_managers.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"42911d3178a4dc8cfea63e9c3de1dfe711d2559fad69369a3b547d70d402a9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/tools/eleven_labs.py:131-161 | libs/agno/agno/tools/eleven_labs.py:164-196 \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":"libs/agno/agno/tools/eleven_labs.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cbf830a8a9a7b02ec41d2c00fada63cfedc2e4ddf0e3d68004371671e15268"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/tools/openai.py:59-81 | libs/agno/agno/tools/wavespeed.py:35-50 \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":"libs/agno/agno/tools/openai.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"018f5d1ec97d473d5918f141cc2f1268cff72321e1d2d44bfec72f3d9f3136e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/vectordb/pgvector/pgvector.py:565-588 | libs/agno/agno/vectordb/pgvector/pgvector.py:779-799 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e717bb6dd6b3ac0ba818b6e0eeae8c873fe6e425a6f77fd19e1be488f8bbdf25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/workflow/loop.py:141-163 | libs/agno/agno/workflow/loop.py:172-201 \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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9b21767dc33e574e6deb3cd2abef66874302dc4361065e3a800e8cbda32397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): libs/agno_infra/agno/aws/resource/ecs/cluster.py:122-140 | libs/agno_infra/agno/aws/resource/elb/listener.py:142-165 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:147-169 | libs/agno_infra/agno/aws/resource/elb/target_group.py:142-164 | libs/agno_infra/agno/aws/resource/s3/bucket.py:157-174 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ecs/cluster.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dee2383b0a40adaf3fac84485f187f50fc05329bbcf5decaf96fdc0907cd857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): cookbook/03_teams/12_learning/09_team_async_learning.py:41-68 | cookbook/08_learning/06_quick_tests/01_async_user_profile.py:45-75 \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":"cookbook/03_teams/12_learning/09_team_async_learning.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f3d47e42820222e5ffd58c093046b430ba8848fcb38b08caa667e8351e2464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/agent/_response.py:861-896 | libs/agno/agno/team/_response.py:84-120 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fd74ca44c994f96c780b8961e922157b4b1b054fcc11fb0e25d70dccfb2eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/agent/_run.py:6339-6364 | libs/agno/agno/agent/_run.py:6372-6392 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9836449734e9adc480c7df68a6bb08a81c6a9b99a1795e77dfc329de20f7ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:3882-3901 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3905-3920 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3954-3974 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3978-3994 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3882}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d293235fbb8ebfe0225cfec11d8444dd2c0cdd7f5836bc6bad85cf557b23cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/db/surrealdb/surrealdb.py:3368-3382 | libs/agno/agno/db/surrealdb/surrealdb.py:3515-3529 \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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3368}}}],"partialFingerprints":{"codehealthFindingId/v1":"217dfafc786fa54d3d36969439f2b877cda0951cc7f4cc9a503443ea2917d00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/google/calendar.py:439-457 | libs/agno/agno/tools/google/calendar.py:939-967 \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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00e6d5932c8f88498381147c1e722a42569a0cb650ec8422d6c8007f7d2b32f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): libs/agno/agno/vectordb/pgvector/pgvector.py:980-1003 | libs/agno/agno/vectordb/weaviate/weaviate.py:532-557 | libs/agno/agno/vectordb/weaviate/weaviate.py:566-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 24 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"272daad3a61b78d9c2414a0b11910a093d11be0fef15175609d632cab2a610bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/vectordb/weaviate/weaviate.py:105-130 | libs/agno/agno/vectordb/weaviate/weaviate.py:133-151 \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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e154691c7ddfddc5fbe79104ed67cfa31cffe86b6bc759e73e3438413693a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py:85-100 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:162-172 \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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"80840a7d6f45a1faabff52fad15e5137c7ad93be9fafcb7d5e300e2672d08650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/agent/_init.py:533-547 | libs/agno/agno/team/_init.py:964-978 \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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fef21cc48f30a8a589a0f506d1e82d328daa5d76187ad7d18deccf077736edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/redis/redis.py:250-281 | libs/agno/agno/db/valkey/valkey.py:322-354 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"781beeda2d0fdbebe43e25b04f2cda7b19a4d6d2763775f5a65588dac0378dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/fs/fs.py:589-599 | libs/agno/agno/fs/fs.py:795-805 \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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c25d669ef37bbe37c0fdca4cad53d66633b40b24329cd11c4b2259adac49ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/tools/company.py:963-988 | libs/agno/agno/tools/company.py:1295-1320 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d627156ad04aaf569a3ef1418401738302be98c8ce0dae10ed1b42cc5c69f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/tools/file/file.py:173-193 | libs/agno/agno/tools/file/file.py:234-255 \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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f248aa189c24f082e52777e8ee7032d9d11c70bced259d3be8aa0516510bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): libs/agno/agno/tools/studio.py:954-962 | libs/agno/agno/tools/studio.py:965-973 | libs/agno/agno/tools/studio.py:976-984 \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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b31902015b372453cf07630354a833a86765698e792ac209bb69b7725bce4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/vectordb/redis/redisdb.py:466-482 | libs/agno/agno/vectordb/redis/redisdb.py:491-508 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af853aa2dc5cdc259df7e7a11f525c7d8980eb4e1cb3696faf0b96b6506d3ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/vectordb/upstashdb/upstashdb.py:559-584 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:781-802 \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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e48561192861aecfabbc3c27f4f84bd1922a00510d8ba18b3c56d520f8ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno_infra/agno/aws/resource/iam/role.py:190-214 | libs/agno_infra/agno/aws/resource/iam/role.py:217-241 \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":"libs/agno_infra/agno/aws/resource/iam/role.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fd3940dda8dd0503e820b9e2b847e79ee3d3eac111c631626eae2ecd4be1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): libs/agno/agno/company/manager.py:301-313 | libs/agno/agno/company/manager.py:387-401 | libs/agno/agno/company/manager.py:1272-1284 | libs/agno/agno/company/manager.py:1358-1372 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/manager.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"809b999bdf3becf34547da16072ada8af5d869fa5e0f92bd2cefbb874df95581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/base.py:436-456 | libs/agno/agno/db/base.py:3026-3043 \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":"libs/agno/agno/db/base.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cba804d802e830075379dead23f9ecf2f4da6a8a252330e392a34d7b2efc3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:898-924 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2222-2240 | libs/agno/agno/db/json/json_db.py:2357-2371 | libs/agno/agno/db/json/json_db.py:2374-2393 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"9452382d4d8a7d15ae8ea910c3b76f42e5140e042b18c5db4a9dfe94c66ce77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/keenable.py:146-169 | libs/agno/agno/tools/keenable.py:172-197 \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":"libs/agno/agno/tools/keenable.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3473e8136ca2619c5f76fe978a7aaf3b3d270fef6def3186e8be67b102d3508a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:489-503 | libs/agno/agno/tools/models/aimlapi.py:506-520 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"32346518fa2dbdd1506b63be594c3922cdd3b3c3bdbad0d260ee6e850ed32a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): libs/agno/agno/tools/scrapegraph.py:101-118 | libs/agno/agno/tools/scrapegraph.py:121-143 | libs/agno/agno/tools/scrapegraph.py:214-233 \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":"libs/agno/agno/tools/scrapegraph.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd840965a9fae9f5e2e58b9649f39c9a914195d01794de448fe2a95b2d35a6e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/db/sql/authz.py:280-291 | libs/agno/agno/db/sql/authz.py:731-735 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06408f2979901f0a9e760033e22fc54abb9aecbf33398fe61707c6773ae4463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/knowledge/embedder/voyageai.py:36-49 | libs/agno/agno/knowledge/embedder/voyageai.py:53-66 \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":"libs/agno/agno/knowledge/embedder/voyageai.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64322c33ad352db0acd60e2284cbdedc3b46bb1a16d83f6bbc23f6f2b03def9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): libs/agno/agno/learn/schemas.py:958-977 | libs/agno/agno/learn/schemas.py:988-1003 | libs/agno/agno/learn/schemas.py:1017-1037 \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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da486972433c6896c4a9b4da41076418452afd3513bbb313007d4f0a6e25cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/models/groq/groq.py:523-550 | libs/agno/agno/models/perplexity/perplexity.py:152-184 \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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ffa1e5d94d1348bb40ec60b1461853b579f138ae3bb39c3866944bd4b2572f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/models/xai/oauth.py:249-260 | libs/agno/agno/models/xai/oauth.py:263-274 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a6fc1ffe97e956d367d6808a3282f455abdb91071e13ca3409627ae535b559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/models/xai/oauth.py:333-351 | libs/agno/agno/models/xai/oauth.py:354-372 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"942cfd38d57439122122b4b9133a9f3bd194e36d7d25cb154d2c97514ec0a5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:135-153 | libs/agno_infra/agno/aws/resource/glue/crawler.py:219-239 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:140-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 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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90dd2f9049cd7847a9613543e1ebee36c3adc4b23d7a0410c389079b0f6f2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): cookbook/12_context/02_web_exa_mcp.py:35-58 | cookbook/12_context/06_mcp_server.py:44-72 | cookbook/12_context/11_web_parallel_mcp.py:37-59 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"cookbook/12_context/02_web_exa_mcp.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"501b655b8bab68d278005a664732c12cd257aa62e12e7123e1596396aeccfa0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:122-133 | cookbook/data_labeling/_19_inter_annotator_agreement/jury_votes.py:156-166 \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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7c02ea16326dbc7e87af7a3969a641a104c58d05de6a6e598f024d19821c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/agent/_run.py:244-258 | libs/agno/agno/agent/_run.py:308-323 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a60d68e0de94cdabe2f23f9ac714bd6f35751adf9e16d9eca7107724ade74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/agents/base.py:1084-1095 | libs/agno/agno/agents/base.py:1104-1118 \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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5617587c4a6ca28039dc145d55f0dfc62fc749006d3461a8366f42b1f387a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/company/manager.py:213-229 | libs/agno/agno/company/manager.py:1184-1200 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ce04bf8f067085e0392f8d21d2d56c257beebea91cfc878781ed33ca75870e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4747-4794 | libs/agno/agno/db/mongo/mongo.py:4545-4573 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"7392d505612223bd05ada962d649c8fc48ac5bee61fe728c96d69dc4e3f57dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): libs/agno/agno/db/redis/redis.py:1401-1440 | libs/agno/agno/db/valkey/valkey.py:1740-1785 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d983aa9279060e5bb045be5717122e5b7754d94569de4cfdd03f026d9f7c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/agno/agno/tools/studio_runner.py:989-1007 | libs/agno/agno/tools/studio_runner.py:1010-1023 | libs/agno/agno/tools/studio_runner.py:1026-1035 \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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"9354b48b285df42708e700efcde8a519bffe6e8a812666b2c5e0f3a0cf4546cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): cookbook/02_agents/14_advanced/interchange_model/claude_gemini.py:15-42 | cookbook/02_agents/14_advanced/interchange_model/openai_chat_responses.py:14-41 | cookbook/02_agents/14_advanced/interchange_model/openai_claude.py:15-42 | cookbook/02_agents/14_advanced/interchange_model/openai_gemini.py:15-42 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/14_advanced/interchange_model/claude_gemini.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"def307ea8cfe85ae9e1a70e8be016e7373b47dcfa816607fb54fd4882bdf4794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): cookbook/04_workflows/01_basic_workflows/03_function_workflows/function_workflow.py:97-127 | cookbook/04_workflows/01_basic_workflows/03_function_workflows/function_workflow.py:161-193 \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":"cookbook/04_workflows/01_basic_workflows/03_function_workflows/function_workflow.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c947d2c5040328769e36949b231631f934ae35640c08aab8b30cda8e6e51a4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/cloud/aws/s3/api_client.py:21-37 | libs/agno_infra/agno/aws/api_client.py:21-37 \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":"libs/agno/agno/cloud/aws/s3/api_client.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c15c25d71e8e99d2136009e9dd59b7ca650210f648bc0e6e3739952ec4d06e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:536-550 | libs/agno/agno/db/dynamo/dynamo.py:1371-1406 | libs/agno/agno/db/dynamo/dynamo.py:3348-3372 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5f87c5b40c6d73d80c4812012e8b6ce9ec740a7dee66bc1252bebe3f4e9979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/sqlite/async_sqlite.py:1836-1871 | libs/agno/agno/db/sqlite/sqlite.py:2103-2139 \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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c95cd983a5ab7beee846c6e6624ce436812aeabe1a1b14ff3b5801cd4e1bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/db/sqlite/utils.py:138-170 | libs/agno/agno/db/sqlite/utils.py:174-205 \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":"libs/agno/agno/db/sqlite/utils.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2b5a6f24c4597fc917138bac00b46f66d72106336d441fcb7ba4279c3a4413"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:576-612 | libs/agno/agno/learn/stores/learned_knowledge.py:621-657 | libs/agno/agno/learn/stores/learned_knowledge.py:1292-1324 | libs/agno/agno/learn/stores/learned_knowledge.py:1333-1365 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 33 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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51af8627cbbd3913ab874046cec039b421a7128e399fa91097a6ee3c6bef64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/models/cohere/chat.py:60-81 | libs/agno/agno/models/cohere/chat.py:84-110 \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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"078635bfe19c3fd818828ea268bbbdd6e1f3d024fd3aa8505a78fb81da0f2deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): libs/agno/agno/models/groq/groq.py:150-186 | libs/agno/agno/models/ibm/watsonx.py:102-130 | libs/agno/agno/models/meta/llama.py:148-180 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fce11c94a6e2a7b8b929aaffa5199b72978ba7992246212c3efa9b3c5ffb4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/os/authz/_role_store.py:586-597 | libs/agno/agno/os/authz/_role_store.py:1076-1083 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfec0c2f326ff391773bc3dc67159b14a78116d5f0886a0f510e856a498c14d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/os/authz/audit.py:159-192 | libs/agno/agno/os/authz/audit.py:207-233 \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":"libs/agno/agno/os/authz/audit.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eef73571a72a7be1f3a8098725d3658f8e87cfa2ef0c168018cf90878ed6f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/os/authz/native_engine.py:391-402 | libs/agno/agno/os/authz/native_engine.py:682-695 \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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf92c55caad3f0a646abab9c1a21149dbffe888f3b30cb09b6f997b9a26d5686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/company.py:338-351 | libs/agno/agno/tools/company.py:354-368 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"611b753ff2a5075a23b620a95644e2dd35fe45084ea974205ca08bf047d93bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/company.py:884-897 | libs/agno/agno/tools/company.py:1216-1229 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daaa35b7c347611175895004625ccbd59013c15c0d2e43ad417f89705bda14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/utils/agent.py:988-1012 | libs/agno/agno/utils/agent.py:1018-1040 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca8c2fbfbc52ca1fb87ef28952c3c7e2945752a213c80d3e0a352eb8f6a2a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cookbook/91_tools/tool_hooks/tool_hooks_in_toolkit_nested.py:55-71 | cookbook/91_tools/tool_hooks/tool_hooks_in_toolkit_nested.py:131-152 \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":"cookbook/91_tools/tool_hooks/tool_hooks_in_toolkit_nested.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4997b915583350c624089e36ebe1015fbf52da01bd31724e428890ee3d9f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 28\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:3763-3792 | libs/agno/agno/db/mysql/mysql.py:3711-3738 | libs/agno/agno/db/singlestore/singlestore.py:3667-3696 | libs/agno/agno/db/sqlite/async_sqlite.py:4244-4277 | libs/agno/agno/db/sqlite/sqlite.py:4455-4489 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b895441e3a582c1a819180938825133fd112f757eafc23b6ecf78e54189227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/agno/agno/db/redis/redis.py:1874-1884 | libs/agno/agno/db/redis/redis.py:1887-1897 | libs/agno/agno/db/valkey/valkey.py:2194-2208 | libs/agno/agno/db/valkey/valkey.py:2211-2225 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"806e136de8f9d0e3277fa1b9366bf04a0d49b250a224200be64b507a161d9797"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/knowledge/knowledge.py:1638-1650 | libs/agno/agno/knowledge/knowledge.py:1653-1664 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"5613d56428b5ae22d1bdd35e8924bc3fc06a5268813935186b31b9d7b6be81ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/models/base.py:1342-1365 | libs/agno/agno/models/base.py:1624-1646 \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":"libs/agno/agno/models/base.py"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c24bdadbe2145409701ce3798cfecc11b0b50e8a5ec0a316424f5916ad9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/models/xai/oauth.py:682-702 | libs/agno/agno/models/xai/oauth.py:705-722 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc3f6657872cc96ea60ab8c0b775d009e7f009aad5f23e989daef1cfc0f4c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/tools/advisor.py:132-154 | libs/agno/agno/tools/advisor.py:157-179 \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":"libs/agno/agno/tools/advisor.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a747cdb100dc2b932e8bbbf05574066d1e5137cf0e378f92e22bc60e092e7b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/tools/openrouteservice.py:300-309 | libs/agno/agno/tools/openrouteservice.py:312-321 \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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"854186a27b735972846682f0425d27b98005c5917b06b3770c0b9533a62c3472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/tools/tavily.py:256-278 | libs/agno/agno/tools/tavily.py:281-308 \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":"libs/agno/agno/tools/tavily.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"108bef4d4da16fc31695f294fc4528b2a1f6809f4dd2e8d74df2d6c2e0149fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/tools/xai_auth.py:381-408 | libs/agno/agno/tools/xai_auth.py:411-440 \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":"libs/agno/agno/tools/xai_auth.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47501b6d09ff6193c1181b9077a169d3d091ec4259ff20e68c4ac64da3f25e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/utils/events.py:677-695 | libs/agno/agno/utils/events.py:709-727 \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":"libs/agno/agno/utils/events.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c037679380f2eac04455d852425f08f142cae318628766358e5b39a3f3fb428"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): libs/agno/agno/agent/remote.py:71-90 | libs/agno/agno/team/remote.py:59-83 | libs/agno/agno/workflow/remote.py:60-75 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f145261585cb826593831ddcd6115e5157ce4b9e79a5a931f33764709632d808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/mongo/utils.py:266-281 | libs/agno/agno/db/mongo/utils.py:379-397 \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":"libs/agno/agno/db/mongo/utils.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda71985ab986b66af87f03c69ee80774369fd7468d8a0a5e445cd9a8be4fa7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/redis/redis.py:1815-1830 | libs/agno/agno/db/valkey/valkey.py:2131-2148 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbb3d34638aa47eb9d00f293a4568b0d4cc88ae3eaa7fe21fbc93c94509bac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/tools/google/slides.py:508-527 | libs/agno/agno/tools/google/slides.py:531-550 \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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa55529869f5e80842c09b3bc869eff0f3ad5526371b539e4632a5057bc2381"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): libs/agno/agno/tools/x.py:66-87 | libs/agno/agno/tools/x.py:90-111 | libs/agno/agno/tools/x.py:217-248 \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":"libs/agno/agno/tools/x.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d3c35ec6139b974383b9a52b0b3602e7544bc6c30dea70c0c33b3f1a24516d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/agno/agno/agent/_managers.py:145-177 | libs/agno/agno/agent/_managers.py:186-215 \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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"27661694b855202c9fd8f7809e7a638708f78b48ab7a6bf932850c0b75f0af67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/company/manager.py:839-847 | libs/agno/agno/company/manager.py:1818-1826 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc155816a554b6eb5e268353cbb6d6bbc7723e2635467a432d84e5448bea1691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 24\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v2_5_0.py:23-49 | libs/agno/agno/db/migrations/versions/v2_5_0.py:53-77 | libs/agno/agno/db/migrations/versions/v2_5_0.py:81-106 | libs/agno/agno/db/migrations/versions/v2_5_0.py:110-133 | libs/agno/agno/db/migrations/versions/v2_5_6.py:19-44 | libs/agno/agno/db/migrations/versions/v2_5_6.py:48-71 | libs/agno/agno/db/migrations/versions/v2_5_6.py:75-100 | libs/agno/agno/db/migrations/versions/v2_5_6.py:104-127 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb504e940518d6b5fbd9ab3966d736546568cb1be01a8300adf7c5dbc7dfc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:3840-3859 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3863-3878 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3924-3935 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3939-3950 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3840}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa17548e97deb1596aea6dbeacac8240cab9104bb605c8be3387bc022a72992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/mysql/utils.py:608-623 | libs/agno/agno/db/sqlite/utils.py:571-584 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32a97db614915a8ffe8a09bb8bb2579590f6ba9c641538533ec61625962100f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/db/sql/authz.py:107-125 | libs/agno/agno/db/sql/authz.py:629-639 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa9ffda5b98778533bb1d96325466a65a2f9f92c77db575694f0ff13a8c5652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/knowledge/reader/wikipedia_reader.py:44-63 | libs/agno/agno/knowledge/reader/wikipedia_reader.py:66-95 \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":"libs/agno/agno/knowledge/reader/wikipedia_reader.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"309c9c15e36a40095d188646a0bc447b4fa1b7e14eb4d69af4fc05238dee24c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): libs/agno/agno/models/cerebras/cerebras.py:389-443 | libs/agno/agno/models/cerebras/cerebras_openai.py:82-131 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"809198cd8d795759b7d17e8d03ac62c7a1c3d4f84fb8096475d08edf24decebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/tools/company.py:868-880 | libs/agno/agno/tools/company.py:1196-1210 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"14febe8afe6415fe0ad5e3cee0bcaf79454b9c96a0d1e0b951fcc7fa33a9b63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): libs/agno/agno/tools/company.py:907-921 | libs/agno/agno/tools/company.py:1001-1021 | libs/agno/agno/tools/company.py:1239-1253 | libs/agno/agno/tools/company.py:1333-1353 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fad787e0bf2bf947eda64aad82a27aed6381fe3ee9921736688ceab0ea3406"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/company.py:1396-1417 | libs/agno/agno/tools/company.py:1597-1618 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf8cc46a342c38deb80760287db9655a906f5d808ea23fbd3988c6c85ebce62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): libs/agno/agno/tools/openweather.py:41-61 | libs/agno/agno/tools/searchapi.py:41-59 | libs/agno/agno/tools/serply.py:39-55 | libs/agno/agno/tools/unsplash.py:54-83 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/openweather.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"557f8636904963806aad97efd4af955bfa585d5fbd512efdbda4b6c89452ac0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/xai_auth.py:467-480 | libs/agno/agno/tools/xai_auth.py:494-507 \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":"libs/agno/agno/tools/xai_auth.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"32521bf8f3aad786a8c06e2116150c5520aac31f25665c55d9d25942c5d7dbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:927-965 | libs/agno/agno/vectordb/opensearch/opensearch.py:848-886 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead62b560b106793243ce6b7750a662d68aed5126273c53208a6db0f258ff36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/vectordb/weaviate/weaviate.py:166-178 | libs/agno/agno/vectordb/weaviate/weaviate.py:181-195 \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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfe06274c5713ded6b86e3c73a65e680f198abc8ee6df78090e9ccf91cce727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:3000-3013 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3019-3031 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3035-3048 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3052-3065 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c4b5ac1628a8ea34dc63eed85c566be42a2c7ae29375d644bf72b106a1f557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4820-4832 | libs/agno/agno/db/mongo/mongo.py:4587-4599 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4820}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1f055a45f03f363c2265739b39992edbbd5ebfa690a8d141ae4bdda1840796"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/postgres/postgres.py:1840-1853 | libs/agno/agno/db/sqlite/sqlite.py:1803-1816 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2680557e9f2e416b292d5823a7a2664b1bcf8c84b46b41041e02a7c667da028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/media/storage/s3/async_s3.py:105-116 | libs/agno/agno/media/storage/s3/s3.py:106-116 \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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb62f6249be5092a6d165bd7829773027fe7b6aeddb9deeb10224ab104499b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/models/cerebras/cerebras.py:326-349 | libs/agno/agno/models/cerebras/cerebras.py:361-386 | libs/agno/agno/models/ollama/chat.py:304-321 | libs/agno/agno/models/ollama/chat.py:333-350 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"63848a703f593094db19982bf9e5a8e348d78118399af4e83ab5fe445dc15252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/os/job_queue.py:3051-3068 | libs/agno/agno/os/job_queue.py:3072-3087 \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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e74ec9e37b062b17f1e05c13cd946b64816b15f4487a971759795969ddb01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/registry/registry.py:645-665 | libs/agno/agno/registry/registry.py:668-684 \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":"libs/agno/agno/registry/registry.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"facff5d7c8ff5cde5602fdc351824e6220354c9123cab6d3c89e57ebea44a792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:680-703 | libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:706-729 | libs/agno/agno/vectordb/opensearch/opensearch.py:592-615 | libs/agno/agno/vectordb/opensearch/opensearch.py:618-641 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd5b8866112324d86d15be4e564309292f89e2bb5a509b10a4f7f3f58bd61e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): cookbook/91_tools/tool_decorator/tool_decorator.py:22-36 | cookbook/91_tools/tool_decorator/tool_decorator_with_hook.py:33-49 | cookbook/91_tools/tool_hooks/pre_and_post_hooks.py:35-49 \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":"cookbook/91_tools/tool_decorator/tool_decorator.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2476759dd3d4f44a64628153be783536b13010a55e6caea9539ade04f30cac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): cookbook/91_tools/zep_tools.py:23-50 | cookbook/91_tools/zep_tools.py:68-96 \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":"cookbook/91_tools/zep_tools.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967514071c62305974eba990d7fe81eb97186b716ed742852f44a1a1bca928e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/agent/remote.py:188-199 | libs/agno/agno/team/remote.py:181-193 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c378ed5f1f2ba377a3a12f7f19876263ef02e40c62a858330372bcd965009edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/agents/base.py:1220-1230 | libs/agno/agno/agents/base.py:1233-1244 \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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1248af7082c53b64dd358ef1942ef10fa89758a43aa6fc1f9026a65a5f4f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4835-4848 | libs/agno/agno/db/mongo/mongo.py:4602-4613 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4835}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5715809111af0deeafb1570b458ef2159f8652e9a9501ad1ea0d57aeeed9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6757-6766 | libs/agno/agno/db/postgres/postgres.py:9433-9442 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6757}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f0c91e88d16e4555b868f32aa0e6801b599e395e24bc5ea2985b569387ec56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/db/postgres/postgres.py:7750-7777 | libs/agno/agno/db/sqlite/sqlite.py:7553-7578 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7750}}}],"partialFingerprints":{"codehealthFindingId/v1":"799eec9785eb5382c91a6a4a18d61b0e379d159ea0391e01747f952fc1a1f346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/fs/toolkit.py:465-486 | libs/agno/agno/fs/toolkit.py:866-875 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"877718b105ffc78e468a3a4f8c7761f082091a71e5fd49812d2beaee5caa4e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:3448-3470 | libs/agno/agno/learn/stores/entity_memory.py:3480-3497 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6f97adedb1310670d51082655eb7475c4c7d540de8ae9099eb56957e5f66c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/memory/manager.py:741-769 | libs/agno/agno/memory/manager.py:772-801 \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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"33474d822d743c74adb2160b36e26ee7ae2527a8e068b92ba20cffcc6dc60d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/tools/antigravity.py:402-434 | libs/agno/agno/tools/antigravity.py:442-463 \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":"libs/agno/agno/tools/antigravity.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abbbcbe4ddec3803e65eeb07da84378bb007f9795cf9fc64e1b9963749938c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): libs/agno/agno/tools/github.py:1424-1456 | libs/agno/agno/tools/github.py:1524-1558 \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":"libs/agno/agno/tools/github.py"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d9e6db3352fc38c9d679110677d0927e2f1cbd2680b86ef5b53f62262bbba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/company/summary.py:93-102 | libs/agno/agno/company/summary.py:106-115 \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":"libs/agno/agno/company/summary.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce13e770eeb7ff06c41fbc56513b55d5f390e753de83d4a2991a74dea3fbb5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3454-3469 | libs/agno/agno/db/mongo/mongo.py:3204-3219 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3454}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1963107144c56dd4d6db4ce894da68b6e82e339498cc3dc8d7bbfcfc61617c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4215-4239 | libs/agno/agno/db/mongo/mongo.py:4023-4047 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4215}}}],"partialFingerprints":{"codehealthFindingId/v1":"479a131ca1eecd785003dfff5b1da52caa61a900ec00171559dd03224a088ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/postgres/postgres.py:9648-9657 | libs/agno/agno/db/sqlite/sqlite.py:8592-8601 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9648}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c6855697a3a875a89067f7828d25cfa74dc67015d1f4b40db6b241ec9bdf1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/factory/base.py:172-195 | libs/agno/agno/factory/base.py:198-207 \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":"libs/agno/agno/factory/base.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"32653495e48d9f9301e88963565fcd98e3feeeab09fbc8738e517b87b21df341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/os/interfaces/slack/events.py:408-415 | libs/agno/agno/os/interfaces/slack/events.py:419-426 \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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f2e815d1ea301b10b5042ffe5679419660e60a384943723629e0efb797358a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/tools/agentos.py:371-390 | libs/agno/agno/tools/agentos.py:394-413 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e1708caef4813da815997f1994087b7ebe0c6cc3433563b758134a33114564"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/superserve.py:427-445 | libs/agno/agno/tools/superserve.py:706-724 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1ea4ef3365a962624905390ce4195df675942c54fabc12a7dc9cad4a75d023"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/agent/_run.py:3203-3246 | libs/agno/agno/team/_run.py:7231-7256 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3203}}}],"partialFingerprints":{"codehealthFindingId/v1":"204c9ddb21e760f50475be62ddf24230b7b039812c5a9a8ef32fd1fa05974897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/company/details.py:29-44 | libs/agno/agno/company/details.py:47-64 \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":"libs/agno/agno/company/details.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea074c2444428dade0ac00d7ad6c8a80193a0d995c277a298e6e63a8650d4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:4510-4525 | libs/agno/agno/db/mysql/async_mysql.py:4528-4547 | libs/agno/agno/db/sqlite/async_sqlite.py:5088-5103 | libs/agno/agno/db/sqlite/async_sqlite.py:5106-5125 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4fc988980ac1983b49fd127d755be4cb7c815f2324385fa0e4727e73209bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/knowledge/page/filesystem.py:105-112 | libs/agno/agno/knowledge/page/filesystem.py:115-122 \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":"libs/agno/agno/knowledge/page/filesystem.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd9e13a5a238982cffc89e61966545489050d2ac6a15c34e96381ff76dd97d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/os/authz/_role_store.py:486-495 | libs/agno/agno/os/authz/_role_store.py:998-1006 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfc609fcc4fc9263fbeeab2b90453428ae813918c80daf65108264288fd9143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/tools/code/bridge.py:589-624 | libs/agno/agno/tools/code/bridge.py:627-646 \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":"libs/agno/agno/tools/code/bridge.py"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0e5c8303b908ba5f43fee7672639ee79652a72d037878fe6c0faeff1c88fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/tools/finance/providers/financial_datasets.py:198-209 | libs/agno/agno/tools/finance/providers/financial_datasets.py:212-220 \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":"libs/agno/agno/tools/finance/providers/financial_datasets.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75a2ae5c696fa448f51cbc32c990100f273551c2020dc25fe71059ab11776b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agnoctl/agnoctl/clients/claude_code.py:196-203 | libs/agnoctl/agnoctl/clients/cursor.py:82-90 \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":"libs/agnoctl/agnoctl/clients/claude_code.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072ff3c38ced894ca5f6c02f517269bbf8d8d1d9cee4b511a72555ce0940db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/db/in_memory/in_memory_db.py:114-139 | libs/agno/agno/db/in_memory/in_memory_db.py:142-161 \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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad2562c30ad1df4429dc9f87d7052ae921e3686375298d2424b5025fdae6492"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/db/postgres/utils.py:391-403 | libs/agno/agno/db/sqlite/utils.py:331-343 \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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"26775214d964414d7cf4fbc7c36b50b92ac61ee198812f3f3c75dc54ff822b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): libs/agno/agno/learn/stores/decision_log.py:941-964 | libs/agno/agno/learn/stores/session_context.py:344-373 | libs/agno/agno/learn/stores/user_memory.py:507-534 | libs/agno/agno/learn/stores/user_profile.py:669-696 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"97180d59ec94b345d406129a88f12b403ebd122bac14844878beefa718311f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/models/openai/responses.py:1544-1568 | libs/agno/agno/models/ramp/router.py:257-283 \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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c22f9b199b89a2fa54d22569e2146a01caa96ad64a1d0ae80c4db184e705a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/os/interfaces/agui/stream.py:18-36 | libs/agno/agno/os/interfaces/agui/stream.py: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":"libs/agno/agno/os/interfaces/agui/stream.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aa6ccf4f7e2de4a1bf3381de5e3e7c9a8dfbc0e42b230a5dbf3116b62bff71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/team/_session.py:933-966 | libs/agno/agno/team/_session.py:980-1013 \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":"libs/agno/agno/team/_session.py"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa9f2f548ea50852342afc64b8d231e7158f26c539f8134cc2739f74cdcd2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:401-412 | libs/agno/agno/tools/models/aimlapi.py:415-426 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ed57e2c2b3da6bced6280afacd034c9c01ed43131e467a81f17fd6f2026c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/tools/spotify.py:771-800 | libs/agno/agno/tools/spotify.py:807-833 \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":"libs/agno/agno/tools/spotify.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da2278b4cf6d50849c0881cb256840888a5963998a8ad5e0b7361a49f09d6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1387-1416 | libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1421-1453 | libs/agno/agno/vectordb/opensearch/opensearch.py:1300-1328 | libs/agno/agno/vectordb/opensearch/opensearch.py:1333-1364 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee4d67938faae98135771b09b2d1eb152ffb7fa260cb41cab29c542659b083a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.py:66-86 | cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.py:106-124 \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":"cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8974b0216a10ff7711450f860ddc361046894a9acef8c6f333f20e19b6edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/agent/_run.py:3064-3085 | libs/agno/agno/team/_run.py:7099-7118 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3064}}}],"partialFingerprints":{"codehealthFindingId/v1":"43743163f1ebb828aced43fc87cf07e423a090870c4fc6d0697e1e8a68cf9f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agents/langgraph/agent.py:235-252 | libs/agno/agno/agents/langgraph/agent.py:264-272 \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":"libs/agno/agno/agents/langgraph/agent.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87dc2fb3ef146866f8e6d61c7dd0a9731e1f36b2191becb9196ba1d207cdf02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/company/manager.py:797-810 | libs/agno/agno/company/manager.py:1776-1789 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d827a4bc3257e12fd8164b33a6dee62e4a8e2c93fff79a423aafa18778fe37f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/context/slack/provider.py:213-230 | libs/agno/agno/context/slack/provider.py:233-250 \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":"libs/agno/agno/context/slack/provider.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de3a8cb417f897baaa675a89a463beda6c4aa9592656ce42183a9e126eda1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:927-947 | libs/agno/agno/db/in_memory/in_memory_db.py:1942-1959 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc9ce011da9e92a8ea21c6665389a7f18440e39044f98dccf5fb0a71c4f9d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2357-2374 | libs/agno/agno/db/json/json_db.py:2515-2532 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f00b3d20399e5f835b1ae0922300c21310803e8cc5ae1e65f28b7c81b867e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:833-845 | libs/agno/agno/db/mongo/mongo.py:636-649 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d747288e45175723c272016f40df3e930d1609bc4db9cbef17e5bcd50c407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1617-1642 | libs/agno/agno/db/mongo/async_mongo.py:3273-3297 | libs/agno/agno/db/mongo/async_mongo.py:3472-3490 | libs/agno/agno/db/mongo/mongo.py:1429-1454 | libs/agno/agno/db/mongo/mongo.py:3023-3046 | libs/agno/agno/db/mongo/mongo.py:3222-3240 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5235f012f0d432485cb88b829286f6e1ae2edd6f0cc8818b2a07ae7c8759a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4308-4324 | libs/agno/agno/db/mongo/mongo.py:4116-4132 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4308}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7249ddb2a2ca74f282a9f5b1f9700df1daf8c87afc268658941cbf64dbf54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4628-4644 | libs/agno/agno/db/mongo/mongo.py:4443-4459 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4628}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8bf74205087bd8364fb3cfd19a0a21cc32f54d6d4531d57c9c2c7265a06b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/db/sql/authz.py:221-231 | libs/agno/agno/db/sql/authz.py:695-699 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10ae9ca4425c78bb94c4710f802358a05779c53dddf6670f2958ef1ccad909f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/sqlite/sqlite.py:5248-5263 | libs/agno/agno/db/sqlite/sqlite.py:5266-5285 \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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":5248}}}],"partialFingerprints":{"codehealthFindingId/v1":"04157ec8540e49a968e8e26b0d39a413574656c39a1d20fc212f4642d339c317"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/media/storage/s3/async_s3.py:180-189 | libs/agno/agno/media/storage/s3/s3.py:176-185 \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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"76569d2f49464f9ebc89c4d927abeece661b808639c5be4551d9a9cac938d4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): libs/agno/agno/models/cerebras/cerebras.py:256-279 | libs/agno/agno/models/meta/llama.py:216-233 | libs/agno/agno/models/meta/llama.py:245-262 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"857885856b435dca1c100a7892f3718ecfb54cd9382d452cece9f468a7ed2839"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): libs/agno/agno/models/google/gemini.py:1635-1658 | libs/agno/agno/models/google/gemini.py:1663-1686 | libs/agno/agno/models/google/gemini.py:1972-2001 | libs/agno/agno/models/google/gemini.py:2010-2037 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"20321e6ec0ca71fd93a0a359f0296d09d0f20f012baf3568fb8745c2aaa3ce3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/os/auth.py:526-548 | libs/agno/agno/os/auth.py:552-568 \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":"libs/agno/agno/os/auth.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"294bf19b5ee9590a7f1132b04d20d75eca3a7fed333db3f94d369517b06c83fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/remote/base.py:715-739 | libs/agno/agno/remote/base.py:742-766 \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":"libs/agno/agno/remote/base.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2adecd5cd5304e479153f58187334d3772d9c219a7801864dbb17cd316ddcda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/tools/redmine.py:417-431 | libs/agno/agno/tools/redmine.py:434-451 \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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"febafe785f2b86aab0bab33b842bb63b2fd0595cd0d2e1c47bf6cfff08618ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): libs/agno/agno/tools/searchapi.py:213-256 | libs/agno/agno/tools/searchapi.py:263-315 \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":"libs/agno/agno/tools/searchapi.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa9d58530d1ce3c3c91b820c1a345e46348197a41e3e382cc73c880192b4305"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cookbook/04_workflows/06_advanced_concepts/session_state/state_with_team.py:71-88 | cookbook/04_workflows/06_advanced_concepts/session_state/state_with_team.py:92-103 \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":"cookbook/04_workflows/06_advanced_concepts/session_state/state_with_team.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bdebdd74fa258449242ea087008200e983a112acd1b8c86a3b62e36a82563c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:3545-3558 | libs/agno/agno/db/dynamo/dynamo.py:3567-3588 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc4938fc64415d6eb48604e901ae406d38e64d47f057a8370edb611de5937ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2071-2087 | libs/agno/agno/db/json/json_db.py:2193-2213 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafd1249679aef5376bb9d50f2d171aed95d21f99e475202dc9f3f7e574c77c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:2616-2626 | libs/agno/agno/db/postgres/async_postgres.py:6275-6291 | libs/agno/agno/db/postgres/postgres.py:3178-3188 | libs/agno/agno/db/postgres/postgres.py:8971-8987 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7974b5ccdc46841e7354478ee85bcdcae424bad059fd7e2fe1b72d98678865de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/eval/performance.py:271-298 | libs/agno/agno/eval/performance.py:327-353 \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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7af268cc478563ea6083eb45e2630118aaa9f69b09ea5a7184a3aba6a17a8f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2303-2321 | libs/agno/agno/learn/stores/entity_memory.py:2326-2334 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bec94c40b8c3c3880e27a1b59cae9f9dd3e031cda56b46f4e768c74f4acd85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/models/litellm/chat.py:291-302 | libs/agno/agno/models/litellm/chat.py:337-356 \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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc4eabab1acc7a316e92826a85c92d9b3c54f6fcff9854af208b4fd86dfa7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/os/authz/_composite.py:111-120 | libs/agno/agno/os/authz/_composite.py:157-166 \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":"libs/agno/agno/os/authz/_composite.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca979f5c6066937e26581a0126fb8569448b15191dd69fb77c5242cbea3f287"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): libs/agno/agno/tools/bitbucket.py:91-112 | libs/agno/agno/tools/bitbucket.py:139-170 | libs/agno/agno/tools/bitbucket.py:211-234 | libs/agno/agno/tools/bitbucket.py:276-294 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/bitbucket.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb1d7738dea53e5030cf413370dd46731dd746f1ce67dbd931f2f72bb9077dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/vectordb/surrealdb/surrealdb.py:565-587 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:639-662 \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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c136388f19b8983c9ae6b2b812790bd1ea3fd62147eff2543999d033b46861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): libs/agno/agno/agent/_response.py:1910-1931 | libs/agno/agno/agent/_response.py:1939-1960 | libs/agno/agno/team/_response.py:1779-1802 | libs/agno/agno/team/_response.py:1810-1833 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"315ed0091f0c48886e72e1c278d5ef66b67e1bce31cef131822e6c54db7e74ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): libs/agno/agno/db/dynamo/utils.py:444-476 | libs/agno/agno/db/redis/utils.py:543-575 | libs/agno/agno/db/valkey/utils.py:924-956 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9bd59fbf23f92adba749de92af5e4eb033f7ea225c6573cfeb43b1eaffd2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2328-2342 | libs/agno/agno/db/mysql/mysql.py:2315-2332 | libs/agno/agno/db/postgres/async_postgres.py:2629-2643 | libs/agno/agno/db/postgres/postgres.py:3191-3208 | libs/agno/agno/db/singlestore/singlestore.py:2323-2340 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"955ec0df08bd8560d6d0e91068e13b2bd1dd2a49bd2703508705a04776fddb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/job_queue/store.py:156-170 | libs/agno/agno/job_queue/store.py:225-239 \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":"libs/agno/agno/job_queue/store.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18d60aeddd716b6568850cdfe5a5185f6488d5eb5ded2091f0327a995c6dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/knowledge/embedder/ollama.py:102-110 | libs/agno/agno/knowledge/embedder/ollama.py:137-146 \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":"libs/agno/agno/knowledge/embedder/ollama.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b248d114a3f246fce6e94051af542b8dea3b66a175bf98bec69912bc5c02292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/os/authz/admin_router.py:86-97 | libs/agno/agno/os/scopes.py:176-195 \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":"libs/agno/agno/os/authz/admin_router.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"467485130e5466504a673a4583aa4569840156c174125caa11b000500fda0e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/run/approval.py:936-959 | libs/agno/agno/run/approval.py:963-991 \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":"libs/agno/agno/run/approval.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c875e509d021fb9d59768fc2b0c0489d8492297112e7ca8fbeecf549e2544ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:299-312 | libs/agno/agno/vectordb/couchbase/couchbase.py:1033-1047 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31cc335fceebf5673d16c25f00d507d51908ec0ca6f921e5f619bab7cc45c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/vectordb/pgvector/pgvector.py:301-316 | libs/agno/agno/vectordb/singlestore/singlestore.py:146-166 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"180f705ef801855a29941bac00fc740467e5990069f9547f2a5485ca15bccc60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/workflow/workflow.py:5659-5674 | libs/agno/agno/workflow/workflow.py:5677-5692 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5659}}}],"partialFingerprints":{"codehealthFindingId/v1":"728e87c2d4505bebeb76371e4d94f0b30855e581733d7b1ecaf1e158d46ce912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/agent/_init.py:52-59 | libs/agno/agno/team/_init.py:470-477 \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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb25a721a35d719a41c89cfd38a083b138e2a4dd6456a1c96b0a55b39c06483f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): libs/agno/agno/agent/_response.py:585-605 | libs/agno/agno/agent/_response.py:666-686 | libs/agno/agno/team/_response.py:388-408 | libs/agno/agno/team/_response.py:473-493 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcdd20c402eb7c89f19e608bd4156b57267849d5dd160deb66cf9793331ac41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/migrations/manager.py:141-155 | libs/agno/agno/db/migrations/manager.py:239-252 \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":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b8c0f1169be11c5c8f2336d7e7338ff72a99e4423c85ac76d7dc04c7db9f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4438-4475 | libs/agno/agno/db/mongo/mongo.py:4247-4288 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1516881d064d37118bffc2a18e952b49314dfd77fd9da1da24e2b5e37e5dcbcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/db/sql/authz.py:434-448 | libs/agno/agno/db/sql/authz.py:834-840 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ae035bc062930df32736fc618d18f433c9899521e848ba0a54ab823066fd4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): libs/agno/agno/learn/machine.py:753-792 | libs/agno/agno/learn/machine.py:803-825 | libs/agno/agno/learn/machine.py:913-945 | libs/agno/agno/learn/machine.py:959-985 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c5792b7bc51b33e6ef6e071410cb6bc7170ff853297c37f547d7e2dc52932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:1368-1387 | libs/agno/agno/learn/stores/session_context.py:866-889 | libs/agno/agno/memory/manager.py:950-966 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"875a571322fc788b4f4f02aba26821a1c3f2e5ad7c68fe6fa76eca62af5983a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): libs/agno/agno/learn/stores/session_context.py:441-453 | libs/agno/agno/learn/stores/user_memory.py:599-611 | libs/agno/agno/learn/stores/user_profile.py:761-773 \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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10733c8292e447a6e5a10c3b32b618521280a7c5d6fb373e4f4af09d00c3b52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/scheduler/manager.py:367-377 | libs/agno/agno/scheduler/manager.py:619-629 \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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5c0f5519f7f8d6de29445a2225e919ec804804f57f9a8c2e8d0ade7ea32427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/vectordb/chroma/chromadb.py:360-378 | libs/agno/agno/vectordb/chroma/chromadb.py:1625-1647 \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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"42caa95b0f8a8e2831bc2c0ca62f3cc8ac00b387ce081a21d9da533d0282d075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:809-821 | libs/agno/agno/vectordb/couchbase/couchbase.py:1061-1072 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65b39639ec728e194dfb54ac3bc2f6316c0f92bc373a5770d0274cff32b8f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:905-918 | libs/agno/agno/db/mongo/mongo.py:710-726 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fe696f9aa13344d8e225cd89f089614f8d769db9c5b33c010cd797ac90abdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/sql/authz.py:199-211 | libs/agno/agno/db/sql/authz.py:677-685 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6af8894bfe208405b57430ebb3f769ec8200d2c01be70166136830faf1da9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:504-536 | libs/agno/agno/learn/stores/learned_knowledge.py:545-563 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad87fe3e9a648607664949813c497570cc31dbb02feea88c6f18b6ddedcdba3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py:84-103 | libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py:106-125 \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":"libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"066611873d928adac1952748d52004b06265ba2b6c34537b6455f030a74a74fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): libs/agno/agno/tools/github.py:446-474 | libs/agno/agno/tools/github.py:477-502 | libs/agno/agno/tools/github.py:545-563 | libs/agno/agno/tools/github.py:566-587 | libs/agno/agno/tools/github.py:590-617 | libs/agno/agno/tools/github.py:626-645 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/github.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf3c17268e3045655a9ffbf67fc3e9753c9a6dd02020a96b517b22874d6ca45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/tools/superserve.py:475-491 | libs/agno/agno/tools/superserve.py:754-770 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccceec760a64083a2437738e4b13387f6fbb9639763ac39690889c4f2128c7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2213-2238 | libs/agno/agno/vectordb/opensearch/opensearch.py:2105-2129 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bcb288c55096acea5df961f0d858bda9cd11ad9c255c61c2ccbaf71c7a48c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:976-1003 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2245-2260 | libs/agno/agno/db/json/json_db.py:2398-2414 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b3d692009ee3e553bffd43bae02798cb9066b35f107e1fa06af57a5f020726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:1311-1329 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1332-1350 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9085c61d618758ae6e9080f74dab26f15cc3f3b9c3119f12a6379b7f093566"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:1291-1317 | libs/agno/agno/db/postgres/postgres.py:1445-1478 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"03feea09acd87238cb3b3ec8eacb31d64e52970777d91c289145a28bd4d640ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/learn/machine.py:837-866 | libs/agno/agno/learn/machine.py:878-895 \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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"715f38d2dfd4d414cdbde1baf7d1024ce4178cd394bb0e1e335dcc3d1409bf63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:668-701 | libs/agno/agno/learn/stores/learned_knowledge.py:708-741 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f824d89a778e76701bcc004e4f3513480810e1d86ead9651123ca9461a093cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/os/authz/native_engine.py:372-388 | libs/agno/agno/os/authz/native_engine.py:668-679 \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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abce138a323ffefdca005a6485d8bc434069ba730efacd78cea3ed9df06d7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/tools/clickup.py:84-96 | libs/agno/agno/tools/clickup.py:99-111 \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":"libs/agno/agno/tools/clickup.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"281c3d77ceda530f9d0233dfc7cd641df2bb97b4485c7e732a86a7bef66adea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:902-925 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:928-954 \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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f150af27216dcf33da0ed925afde9370c710f7535c04913906cad20a7c0f17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): libs/agno/agno/vectordb/milvus/milvus.py:1293-1313 | libs/agno/agno/vectordb/milvus/milvus.py:1316-1337 | libs/agno/agno/vectordb/milvus/milvus.py:1340-1363 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"563525f5c6fa99dd2a1184f04450374c419b82609b6119828469a43d144d7b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/workflow/workflow.py:999-1021 | libs/agno/agno/workflow/workflow.py:1026-1048 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cbeaa18889c7dc03d5209ba6b91ff11b7081a6573672a50c404bfa3cd1a6c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/client/a2a/client.py:774-792 | libs/agno/agno/client/a2a/client.py:795-813 \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":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc5497099042eafc065d5c6ef4cfd3a872936db78ed23b4eea35e9b5fabdd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2948-2964 | libs/agno/agno/db/mysql/async_mysql.py:3253-3269 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cef26fec44d3a453099cf45f91e2b4ce75f78d88987963b148cd98d493a114"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/postgres/schemas.py:545-553 | libs/agno/agno/db/utils.py:646-658 \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":"libs/agno/agno/db/postgres/schemas.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22ccbf7c3b1ff578e0ed423a71912ab5eb01091c3789791f82bea5d4da90625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/models/azure/openai_responses.py:150-162 | libs/agno/agno/models/openai/chat.py:161-186 \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":"libs/agno/agno/models/azure/openai_responses.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f29654016ab2d8a96f08dd63ddc273eab018d85d9bc9b5d990f244a7b74fca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/models/xai/responses.py:408-428 | libs/agno/agno/models/xai/responses.py:431-451 \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":"libs/agno/agno/models/xai/responses.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b11ebf66fd0d1b19407a164c95a8c0af8a4e2e2ccdd8018865c923ccc6c182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/auth.py:824-870 | libs/agno/agno/os/auth.py:874-880 \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":"libs/agno/agno/os/auth.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"b752d7bbd237977adede9f9f6326df3ce758550f482f42064ac2608794092f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/os/authz/_role_store.py:352-362 | libs/agno/agno/os/authz/_role_store.py:882-890 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"82689b700e17a6cbb5d282a10d6734b0a28ce08187550c8de1658f11f0cc3d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:336-351 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:354-365 \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":"libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a362beb50a64010bd3dad09da2d9324f3cd81471e88393c1029e18103099ff6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/team/_managers.py:116-140 | libs/agno/agno/team/_managers.py:149-169 \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":"libs/agno/agno/team/_managers.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e8d279cd0280648a4d6cbd0d1518cbd3bd258b98e581f72e1934dc57e4e93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/tools/agentos.py:475-497 | libs/agno/agno/tools/agentos.py:501-523 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cbac328b4568512d722affbe69fba96f37c3397f4e6b1f26901d91aac9ada7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/tools/file/generation.py:156-171 | libs/agno/agno/tools/slack.py:310-331 \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":"libs/agno/agno/tools/file/generation.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe210cc3bec8edb199bed3a23428454d63ebd85ef335b338588125bfdce97087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): libs/agno/agno/tools/google/calendar.py:749-764 | libs/agno/agno/tools/google/calendar.py:768-785 | libs/agno/agno/tools/google/calendar.py:971-1008 \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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7de2617a16c0b6a94c410001fd93eb77d3b27f4ccaa359a9c17a2dc44c2d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cookbook/07_knowledge/09_archive/lifecycle/skip_if_exists_contentsdb.py:37-56 | cookbook/07_knowledge/09_archive/lifecycle/skip_if_exists_contentsdb.py:60-79 \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":"cookbook/07_knowledge/09_archive/lifecycle/skip_if_exists_contentsdb.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e22a9848cf25de48d2a724ac9950d4817be382dde98448537e3b1be354c56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): libs/agno/agno/agent/_utils.py:26-58 | libs/agno/agno/team/_utils.py:28-56 \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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a9e60b40b7e0d21be5784f820379394d204c001c606c012025fc4c3affd78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/db/sql/authz.py:143-150 | libs/agno/agno/db/sql/authz.py:658-664 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"37454e451c776e90278ac76e405a1e04980253da9f3580e5e9b7e38f0722b27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/knowledge/knowledge.py:2147-2155 | libs/agno/agno/knowledge/knowledge.py:2158-2169 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3be5d1774c1e987a7c997aa51a4f2d5d933e0aed4b21a8172f86b60eef8d32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/knowledge/loaders/sharepoint.py:50-73 | libs/agno/agno/knowledge/remote_content/sharepoint.py:59-77 \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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d395bf727f9d0a369eb55acb94e92fadd9e360e45aa5e61439d85c8bebd22a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/models/xai/oauth.py:223-233 | libs/agno/agno/models/xai/oauth.py:236-246 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f03e5dfaffaf91a710bc676bf5d62e677f9362bb70401f2969892f93a56291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/models/xai/xai.py:91-106 | libs/agno/agno/models/xai/xai.py:109-130 \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":"libs/agno/agno/models/xai/xai.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b99bcea752dfbda04fe85ecf6c4b37159b7771c49ad2fcbcf564f2b99fc3a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/company.py:746-759 | libs/agno/agno/tools/company.py:1074-1087 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39479c971a611302770cd8d9709338f732bc6961afe4c9d8cd3446e3dd1335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/company.py:1546-1559 | libs/agno/agno/tools/company.py:1749-1762 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23fcf356fa67f0b9b00dafb857c69c0fbc283c6826fe7c51f924a4f711340a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): libs/agno/agno/tools/github.py:290-319 | libs/agno/agno/tools/github.py:322-352 | libs/agno/agno/tools/github.py:811-845 | libs/agno/agno/tools/github.py:1218-1245 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/github.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8e6d662f537dd21ebd6cb3c26912f459af9117df51db97e1d4acc028b8f266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/python.py:217-235 | libs/agno/agno/tools/python.py:238-256 \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":"libs/agno/agno/tools/python.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"228ee4fd78df4db00f0ab305dd6dadf402e8c6681f0edf9c186580327627417c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): libs/agno/agno/tools/x.py:160-184 | libs/agno/agno/tools/x.py:187-214 \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":"libs/agno/agno/tools/x.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1621fe3ede9c25fe69af82bcf9c635797ac9d67e5b07cad9e800d67ef5595299"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agent/_init.py:173-183 | libs/agno/agno/team/_init.py:602-610 \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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"af694e7135a5e2dce77004ce42c1346af2200d03e44d7f5aa49fba6a60944759"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/agents/claude/agent.py:1060-1072 | libs/agno/agno/agents/claude/agent.py:1077-1090 \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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6078b9cce14ef27ec184d7c591af152e00e593c88a9f573f2e8deeaf2272880"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/context/gmail/provider.py:241-260 | libs/agno/agno/context/gmail/provider.py:263-284 \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":"libs/agno/agno/context/gmail/provider.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d56ab4803a25df0221b133f4ff0139a1a7a0fba1a0b8998e3961d36b19244b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:933-942 | libs/agno/agno/db/mongo/mongo.py:742-752 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc688f209fa087ade82be5a7b6c0f64b302a8e153e8ed7a1796fd249f8786d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:1645-1670 | libs/agno/agno/db/mongo/mongo.py:1457-1479 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25b45b88862d2757face7e885fba31eeb5bef5dd6cb987845f480c96f106f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/sqlite/async_sqlite.py:2755-2772 | libs/agno/agno/db/sqlite/sqlite.py:3021-3038 \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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"640d47e1826ea82bbf34183ee182137fafd8fee71255388eb104a605fab5cea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/fs/toolkit.py:660-674 | libs/agno/agno/fs/toolkit.py:1048-1059 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"37510959b0a55100fb150ad58b7e7ec387df14c54f980eac9d14372e51045402"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/knowledge/knowledge.py:2285-2309 | libs/agno/agno/knowledge/knowledge.py:2318-2339 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec9edd8085a0e51575cb0ba28fc51999ca201a35b12019cea481f796f3d0144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/session/agent.py:277-290 | libs/agno/agno/session/team.py:290-305 \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":"libs/agno/agno/session/agent.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"396cd1ef311828425171bc443f0ebb5b91c333d9b691383fb4b6e6e07161edd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/team/_run.py:4553-4568 | libs/agno/agno/team/_run.py:4572-4580 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf9780a2d96811bf4bf3cb5e8614be2cee8518d9dfe18ddeefab40ef907e74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/utils/yaml_io.py:8-17 | libs/agno_infra/agno/utilities/yaml_io.py:8-17 \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":"libs/agno/agno/utils/yaml_io.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"067d2948e6d7d234e46ae8a348d4b4101cea6c0b91c63e0df2930569d43ec4b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/vectordb/mongodb/mongodb.py:1475-1493 | libs/agno/agno/vectordb/mongodb/mongodb.py:1515-1534 \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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c44d006f74237a3a1ead5e840de7966632d533946ca56c3c1a4cf98cbcfa7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cookbook/02_agents/05_state_and_session/session_state_advanced.py:33-43 | cookbook/03_teams/21_state/nested_shared_state.py:34-43 \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":"cookbook/02_agents/05_state_and_session/session_state_advanced.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8647dbc105ac35cfd6e0f85fc47ff40771b55ec752396972e450e4a4f5891e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): cookbook/09_evals/reliability/multiple_tool_calls/calculator.py:22-36 | cookbook/09_evals/reliability/multiple_tool_calls/calculator.py:40-56 | cookbook/09_evals/reliability/reliability_async.py:22-37 | cookbook/09_evals/reliability/single_tool_calls/calculator.py:22-34 | cookbook/09_evals/reliability/single_tool_calls/calculator.py:38-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 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":"cookbook/09_evals/reliability/multiple_tool_calls/calculator.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41ffdbb114cb9eb1f85cf7a20a88ece1b46b3820520d62879fe5dbff2fe6c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/context/web/exa_mcp.py:80-93 | libs/agno/agno/context/web/parallel_mcp.py:111-125 \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":"libs/agno/agno/context/web/exa_mcp.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8188e4b6a92cb485e50c2b3782579213adb071fe311c65ac5fc038031c245b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4595-4606 | libs/agno/agno/db/mongo/mongo.py:4411-4422 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4595}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5032170acda22a56b57328b2e1340120e00d4b7e7e1f75d5479ff29f333275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/db/surrealdb/surrealdb.py:1068-1086 | libs/agno/agno/db/surrealdb/surrealdb.py:1089-1107 \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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c1ecfe26ca37c5592a1dfb1e31ed56af7b39975c087f5520e62ed0b497f276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/knowledge/reader/llms_txt_reader.py:59-67 | libs/agno/agno/knowledge/reader/website_reader.py:50-62 \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":"libs/agno/agno/knowledge/reader/llms_txt_reader.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa036315ff1030a58c715b14ce68ead8b94ebf87fd67f3ffd5cc02c83986c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): libs/agno/agno/models/azure/openai_chat.py:126-149 | libs/agno/agno/models/azure/openai_responses.py:135-147 | libs/agno/agno/models/cerebras/cerebras.py:129-149 | libs/agno/agno/models/groq/groq.py:98-118 | libs/agno/agno/models/meta/llama.py:97-117 | libs/agno/agno/models/openai/chat.py:135-158 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fe59f1d5bd55db6c46efc1f754427899cccb2a2f74523f27af78b0e9114811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/os/authz/user_directory.py:272-284 | libs/agno/agno/os/authz/user_directory.py:543-551 \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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6cc4e3cdf2a4360f7de1bfecad93d459f2655e06987466083c5e091cbbc2fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/tools/agentos.py:185-202 | libs/agno/agno/tools/agentos.py:206-223 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98db4ac0a9249b216e5f6469539d55a7fef381b67a1520d2b6daba941effa5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): libs/agno/agno/tools/bitbucket.py:115-127 | libs/agno/agno/tools/bitbucket.py:237-252 | libs/agno/agno/tools/bitbucket.py:255-273 \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":"libs/agno/agno/tools/bitbucket.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9a86ebbc75a298dcd534b441a10616dff97f55bb9a914dd86b62fceabe25df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): libs/agno/agno/tools/llms_txt.py:120-139 | libs/agno/agno/tools/llms_txt.py:142-163 | libs/agno/agno/tools/llms_txt.py:166-185 | libs/agno/agno/tools/llms_txt.py:188-207 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/llms_txt.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b3351f8b45a9eb7346f1e64f109a384c835b1be6340549bc4f20e2919a4037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/utils/github_auth.py:141-148 | libs/agno/agno/utils/github_auth.py:151-158 \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":"libs/agno/agno/utils/github_auth.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c134087451e3110f8e2073eb0f775649166ce1cc45a5fdce925ece572e256b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/vectordb/redis/redisdb.py:365-378 | libs/agno/agno/vectordb/redis/redisdb.py:396-419 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b38833c027e29814dc731e4d26459b3556d85e67bba2296d687095c9e239070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): libs/agno/agno/client/os.py:1349-1372 | libs/agno/agno/client/os.py:1468-1494 | libs/agno/agno/client/os.py:1529-1547 | libs/agno/agno/client/os.py:1617-1639 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/os.py"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8559d97758f226370d1ea765ef08ba8a1ecc63ab5367c16c955080f0718abb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/agno/agno/company/manager.py:970-980 | libs/agno/agno/company/manager.py:993-1003 | libs/agno/agno/company/manager.py:1949-1959 | libs/agno/agno/company/manager.py:1972-1982 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbf73c9c676550226110271b22bfb778da1c37a48f51e7c5159c15b2adc9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/context/web/exa_mcp.py:64-77 | libs/agno/agno/context/web/parallel_mcp.py:91-108 \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":"libs/agno/agno/context/web/exa_mcp.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"715074dfee974679f69707b51c2c83e9bd662d4baa5a3c5e1709c8dfb0d659cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/migrations/versions/v3_0_0.py:618-630 | libs/agno/agno/db/migrations/versions/v3_0_0.py:636-644 \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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aac9c7a9a9827820d22fb82450be922c7cb78cc34f4723ee76312425949e5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:2683-2699 | libs/agno/agno/db/postgres/postgres.py:3248-3264 | libs/agno/agno/db/singlestore/singlestore.py:2397-2412 | libs/agno/agno/db/sqlite/async_sqlite.py:2922-2937 | libs/agno/agno/db/sqlite/sqlite.py:3186-3201 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3fef93eda2a3a2be72e74758eb75690c9fda112d42600d389aa11da6c22502"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): libs/agno/agno/db/sql/authz.py:89-96 | libs/agno/agno/db/sql/authz.py:100-103 | libs/agno/agno/db/sql/authz.py:613-619 | libs/agno/agno/db/sql/authz.py:623-625 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c7c88dee093de8a6b2e41280b116fe35a5ed7d5d865a105744364e72625861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/knowledge/loaders/github.py:298-310 | libs/agno/agno/knowledge/loaders/github.py:318-330 \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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fd33ee43c9cf18817fc741b3b7c9ebc8692666653aeac5a898d08401375c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:2823-2837 | libs/agno/agno/learn/stores/entity_memory.py:3344-3364 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2823}}}],"partialFingerprints":{"codehealthFindingId/v1":"32383d4b05cd2859b62980587d3a80c6de5356dc1bb7389780b0e06ad6807c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/models/google/gemini.py:1689-1706 | libs/agno/agno/models/google/gemini.py:1709-1726 | libs/agno/agno/models/google/gemini.py:2040-2058 | libs/agno/agno/models/google/gemini.py:2061-2082 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c51bcb77158cc107d401fb4d308e0839ae8d0d7d5c578cdb2c4e85b8de0ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/models/litellm/chat.py:268-279 | libs/agno/agno/models/litellm/chat.py:314-325 \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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e7efa4c4af6ced0dd6149c661211a9f76698d5782f487e42d98c54ed4492ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/os/middleware/jwt.py:1017-1038 | libs/agno/agno/os/middleware/jwt.py:1052-1065 \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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f580cdf2da436ebad393382dffd9faec982b77006b92cd355639271041257d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/os/services/sessions.py:122-142 | libs/agno/agno/os/services/sessions.py:156-171 \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":"libs/agno/agno/os/services/sessions.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54c099a2548ba586ddf8d180826fb2515e4a9af8798ec3c0ef8db9db438e4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/tools/adanos.py:125-137 | libs/agno/agno/tools/adanos.py:146-158 \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":"libs/agno/agno/tools/adanos.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffb75800c4e353808a4bb8343289bdb72acb508962db76dd6eded57085ed7b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/docker.py:242-265 | libs/agno/agno/tools/docker.py:340-365 \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":"libs/agno/agno/tools/docker.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c7af1769334f18c71db01ac29b02d2c5102d771a7163de1e93a3cd9c11ac6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/tools/finance/toolkit.py:669-683 | libs/agno/agno/tools/finance/toolkit.py:686-690 \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":"libs/agno/agno/tools/finance/toolkit.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"add557f421919c7124fd9b6fb5a93dde059b2ef577a606f349eb0fa937d1e8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/tools/superserve.py:494-511 | libs/agno/agno/tools/superserve.py:773-789 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6c5981e25f592a7f9fbcb399decb5146f2900165fee3259bfcdb362c2e0157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/trello.py:85-108 | libs/agno/agno/tools/trello.py:136-168 \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":"libs/agno/agno/tools/trello.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60f70b032975f14ab40c2a2049774edce153ff7c5bf1c535110436a7e812e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/utils/bounded.py:121-140 | libs/agno/agno/utils/bounded.py:143-156 \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":"libs/agno/agno/utils/bounded.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b573e53f145acc6c3b86efa7c860ce45473fc58088a991a809f30f5bbc5badd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/vectordb/pineconedb/pineconedb.py:694-707 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:771-790 \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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1521483cb3b9b5f15e54735ed35787bf298a3168e89ebd7a7869f088c4d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno_infra/agno/aws/resource/cloudformation/stack.py:58-73 | libs/agno_infra/agno/aws/resource/s3/bucket.py:111-125 \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":"libs/agno_infra/agno/aws/resource/cloudformation/stack.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"609940b23aebaea5c2fc4c57e53d4e1865ff82f3f18a93732af2df8291de89e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): libs/agno_infra/agno/aws/resource/ec2/volume.py:165-182 | libs/agno_infra/agno/aws/resource/emr/cluster.py:176-193 | libs/agno_infra/agno/aws/resource/iam/policy.py:79-96 \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":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f599d8291e73255af76dc9a361a72a8681f2f419b0e04980c749a1e1254b4c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/agent/_storage.py:447-470 | libs/agno/agno/team/_storage.py:216-228 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1802a2766e6acde4dfada9704bbdfff5f539060b67802f31adcebd79d711c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/agent/_telemetry.py:37-57 | libs/agno/agno/agent/_telemetry.py:61-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":"libs/agno/agno/agent/_telemetry.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bf7eb71eb5eab038198a7d371d24d7ece47f4cfbec957284d6bfd9563441e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/agent/remote.py:606-619 | libs/agno/agno/team/remote.py:639-652 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e67c6a1acaebb4baa5a3045d238a673882f2662c371f83517a6e9207bcb6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): libs/agno/agno/agent/remote.py:622-648 | libs/agno/agno/team/remote.py:452-476 | libs/agno/agno/workflow/remote.py:438-462 \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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f6470719d4f44d51343285a8b5ba7ab79a884c6c9d69ba6bebd2b6fef39697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/company/decisions.py:84-91 | libs/agno/agno/company/decisions.py:94-103 \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":"libs/agno/agno/company/decisions.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be34aef16410f2159d23faf6e388a25d60230a837b20afcaa84180b22406e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/company/manager.py:555-570 | libs/agno/agno/company/manager.py:1526-1541 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56908e131849a353182a61e8b84f3c8a9fffc326538fcac4cb39bc93e14ba3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): libs/agno/agno/company/manager.py:861-881 | libs/agno/agno/company/manager.py:896-920 | libs/agno/agno/company/manager.py:1840-1860 | libs/agno/agno/company/manager.py:1875-1899 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"f017e4bb2e45eb7f538366b244656e4144aa0f61dbd43dfefbcbd6ede183fffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/context/wiki/backend.py:202-206 | libs/agno/agno/context/wiki/backend.py:421-425 \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":"libs/agno/agno/context/wiki/backend.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"df052b37c2e0f578ad5dcc49180879d9fe9aacd0837d375b524972574d7c1748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:2350-2365 | libs/agno/agno/db/mongo/async_mongo.py:2367-2389 | libs/agno/agno/db/mongo/mongo.py:2159-2181 | libs/agno/agno/db/surrealdb/surrealdb.py:1746-1759 | libs/agno/agno/db/utils.py:1355-1364 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"138800cd008b21e4e85effef12cb644a4095441cb4250f6b493f2b638c9ceec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/sqlite/async_sqlite.py:2873-2882 | libs/agno/agno/db/sqlite/sqlite.py:3134-3146 \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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2873}}}],"partialFingerprints":{"codehealthFindingId/v1":"537c0a49349f10d33d5cd95304d166d9e87ba7ac10e706c67f18021b8f7db293"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/knowledge/embedder/azure_openai.py:105-117 | libs/agno/agno/knowledge/embedder/azure_openai.py:139-152 \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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e0721f2687e6996ac82811d784e2116d6512ac0538699d36afe4a3f26a9977"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): libs/agno/agno/knowledge/embedder/azure_openai.py:128-136 | libs/agno/agno/knowledge/embedder/azure_openai.py:164-173 | libs/agno/agno/knowledge/embedder/openai.py:96-106 \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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7810981edaa034018c641d771eeac46406fda8973bfea5d9f8a014366d7befd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/knowledge/embedder/voyageai.py:86-93 | libs/agno/agno/knowledge/embedder/voyageai.py:115-122 \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":"libs/agno/agno/knowledge/embedder/voyageai.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71f384413261c4cf7942fbec5c1253fc6b2729212126dcb2dbae60acbddb61a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/learn/machine.py:659-670 | libs/agno/agno/learn/machine.py:988-1001 \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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f934379e5e77cb05b8014b17bd91bb3a3af000e27d986220bc543e213b868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/models/xai/oauth.py:529-541 | libs/agno/agno/models/xai/oauth.py:544-553 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e35ce35104ffafa74944a85a8f07bb4697aebbe5aac2fd8debd1f31025e1084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/models/xai/responses.py:276-299 | libs/agno/agno/models/xai/responses.py:302-325 \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":"libs/agno/agno/models/xai/responses.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b444928d036a8eec51d6e7bd4f3ba7805aae082589732975bfdf6096eec6902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): libs/agno/agno/tools/antigravity.py:114-118 | libs/agno/agno/tools/antigravity.py:121-125 | libs/agno/agno/tools/antigravity.py:128-131 | libs/agno/agno/tools/antigravity.py:134-138 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"libs/agno/agno/tools/antigravity.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8426ef5727e965e89e65522033dff46fca3355c5986226c451ddb7e2d472c05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/agno/agno/utils/team.py:144-154 | libs/agno/agno/utils/team.py:161-171 | libs/agno/agno/utils/team.py:178-188 | libs/agno/agno/utils/team.py:195-205 \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":"libs/agno/agno/utils/team.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0cc560d1ff90cb151d85afbe0097878c70632d8fc187238aef4dcdea7db3af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/vectordb/opensearch/opensearch.py:434-445 | libs/agno/agno/vectordb/opensearch/opensearch.py:448-459 \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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"61144d190e612e0587487911c22fffbc1d560b7be2f7785b06c825b6f1f1a712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): libs/agno_infra/agno/aws/resource/cloudformation/stack.py:129-144 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:173-187 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:605-619 \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":"libs/agno_infra/agno/aws/resource/cloudformation/stack.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd065c667d75145c6fbd9ec45c62c30b7d49959cf785cc3be3459e5e3fa1cee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cookbook/00_quickstart/agent_with_state_management.py:41-59 | cookbook/00_quickstart/agent_with_state_management.py:63-83 \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":"cookbook/00_quickstart/agent_with_state_management.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbe5f9ee55fc3b3f7a377eca8ff70484d8d0db05de642583365f95f5056fe6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/agent/_init.py:187-197 | libs/agno/agno/team/_init.py:713-725 \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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"75732a5bc6e56e297c48429d8106d9b086e60d979ae00480d488a15125a2ef70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/compaction/compaction.py:635-645 | libs/agno/agno/compaction/compaction.py:654-664 \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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2ea3ebba7ef54f716940a93941e4e9b6a786f1975728c826c071c71f93cdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/company/execution.py:780-785 | libs/agno/agno/company/execution.py:788-793 \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":"libs/agno/agno/company/execution.py"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41b63abdcfe5ce3e69e84313d07a81680af5e14e7b886070850639bd99f04ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/knowledge/knowledge.py:1407-1417 | libs/agno/agno/knowledge/knowledge.py:1439-1450 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"785007bd0178964bfe612980784ccfe6943f9f831b4cd0243147d8f5d5c1d4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:89-106 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:109-126 \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":"libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b43289f59c1023105c8c52f25758c95baf03d09da27d7dbd19a32aed8415c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/team/_telemetry.py:42-59 | libs/agno/agno/team/_telemetry.py:63-76 \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":"libs/agno/agno/team/_telemetry.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7ca7f98a1ef2abb5944522b17ec2325f288feae2520f69d06a0021889d280b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): libs/agno/agno/tools/openbb.py:52-84 | libs/agno/agno/tools/openbb.py:106-120 | libs/agno/agno/tools/openbb.py:146-160 \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":"libs/agno/agno/tools/openbb.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051d9f591613da9c28748b3e7ffd210a9907f7fc43cf7f47425ca29e3c92ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/utils/http.py:29-54 | libs/agno/agno/utils/http.py:58-81 \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":"libs/agno/agno/utils/http.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb459e33d0dfc37375bdccdad72e9204e993c19447993e1f6a585207d86f21c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:247-266 | libs/agno/agno/vectordb/qdrant/qdrant.py:301-315 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"907c94a52c143508996eb0aa347334a345a5284a90f25a46a9b5189ec0785be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:318-336 | libs/agno/agno/vectordb/qdrant/qdrant.py:339-357 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fff19dbf035abdfb1e76a2b6f49cb0fcd27e3c3c39592f92068dd332bf94b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/vectordb/surrealdb/surrealdb.py:291-309 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:312-325 \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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe181055040e2904a3da5a59db1ffa590737e46e299f2ffd1fc29fd4dbee347"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno_infra/agno/base/db_app.py:31-37 | libs/agno_infra/agno/base/db_app.py:46-52 \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":"libs/agno_infra/agno/base/db_app.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f11372916a01caca28d57a27564807028711b0d0c01d22e67a7150efdc2d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno_infra/agno/docker/app/redis/redis.py:50-56 | libs/agno_infra/agno/docker/app/redis/redis.py:59-65 \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":"libs/agno_infra/agno/docker/app/redis/redis.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a07979c3fe58ea6646b35a31191d8a6b3a60a49d6a69919ba132c275e6d8a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cookbook/07_knowledge/09_archive/filters/include_exclude_files.py:49-66 | cookbook/07_knowledge/09_archive/filters/include_exclude_files.py:70-87 \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":"cookbook/07_knowledge/09_archive/filters/include_exclude_files.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8259f822b96003c11beda4cf63a389745201318cf68c59b43c99978fbaee14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): cookbook/91_tools/mcp/filesystem.py:32-56 | cookbook/91_tools/mcp/include_tools.py:22-46 \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":"cookbook/91_tools/mcp/filesystem.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba256d98e786ffa5081d3e017ac75d60c84a4a9ced7582bde1ed853fd59b16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/context/database/provider.py:183-196 | libs/agno/agno/context/slack/provider.py:297-307 \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":"libs/agno/agno/context/database/provider.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea63a2617fd67141e28eee0a63651a559087badf03886a21e0f76b3baea3e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:1509-1523 | libs/agno/agno/db/postgres/postgres.py:1685-1698 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"388a27697fa3c82697e652d8c0ac8d41fe1f90135578f43f859294739ec82bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/knowledge/embedder/cohere.py:59-69 | libs/agno/agno/knowledge/embedder/cohere.py:72-84 \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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"258d4b3566df259a33c17a37975a27c9783148e5db5f9e87c04039ca3f0dc5fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): libs/agno/agno/knowledge/knowledge.py:535-544 | libs/agno/agno/knowledge/knowledge.py:549-561 | libs/agno/agno/knowledge/knowledge.py:620-629 | libs/agno/agno/knowledge/knowledge.py:634-646 | libs/agno/agno/knowledge/knowledge.py:649-658 | libs/agno/agno/knowledge/knowledge.py:661-671 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8823ca5f440625841518ab0661ba2e11ff783301bb94b325fa9d7810047b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): libs/agno/agno/learn/stores/session_context.py:461-476 | libs/agno/agno/learn/stores/session_context.py:484-493 | libs/agno/agno/learn/stores/user_memory.py:619-634 | libs/agno/agno/learn/stores/user_memory.py:642-651 | libs/agno/agno/learn/stores/user_profile.py:781-796 | libs/agno/agno/learn/stores/user_profile.py:804-813 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7ec6fc763b1d557110a094a206f6bd8592f8cb006343642bd48d8e1ae66f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/agentos.py:572-590 | libs/agno/agno/tools/agentos.py:594-612 \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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7449c8a41fab09c0e9b57c82d9f6dc68c1825981fab59a51c54a74c3ac8c05cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/tools/function.py:2606-2616 | libs/agno/agno/tools/function.py:2884-2894 \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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"d293c437cc66a194db98933af22e6801a54347cb9de526ff49f519f60761b83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/tools/google/slides.py:280-302 | libs/agno/agno/tools/google/slides.py:306-323 \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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cde7a3a4a28793862c0c008ec2b66effc72816de0a97cf6f9e823012e74fc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/utils/media_offload.py:151-164 | libs/agno/agno/utils/media_offload.py:168-177 \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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c8df67803379d335af5dba21a36539a4c8f7553198a9fceb02ee61adbb8405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/workflow/workflow.py:5701-5716 | libs/agno/agno/workflow/workflow.py:6098-6114 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a38243389bbcd68eb1fa248839999f5f20a791d0a3652ad377b364fe69399e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): cookbook/02_agents/05_state_and_session/metadata_resolution.py:55-64 | cookbook/03_teams/07_session/metadata_resolution.py:62-69 | cookbook/04_workflows/06_advanced_concepts/run_params/metadata_resolution.py:69-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"cookbook/02_agents/05_state_and_session/metadata_resolution.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500dcb424d1597a8017b77bdcd80edac81166a7ad1a19f1f5e67f2b479c490a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py:224-240 | cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py:198-214 | cookbook/04_workflows/06_advanced_concepts/long_running/websocket_reconnect.py:253-270 \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":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415d9287d02ebac18966edcba091f701dc7c1dd3177112989fb0526e390c99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cookbook/frameworks/claude-agent-sdk/metrics.py:25-32 | cookbook/frameworks/codex/codex_metrics.py:26-33 \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":"cookbook/frameworks/claude-agent-sdk/metrics.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e464749d66aaa2359763b1bdb7acf31e3c4ba5a4ed9829cb50a0a360bef67dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/agent/_run.py:3130-3156 | libs/agno/agno/team/_run.py:7165-7184 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e2020aac65a73b9d32c66dd75315110f2618bf2c98031b58ea36a7429f7f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/company/manager.py:259-263 | libs/agno/agno/company/manager.py:1230-1234 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"531ccaa5ecd1bbb9a7cdde47bb1725698c3b22dddfea28583b401baf8e3659b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/context/slack/provider.py:273-282 | libs/agno/agno/context/slack/provider.py:285-294 \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":"libs/agno/agno/context/slack/provider.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d808380503c04a7607be888dbda16aec52e102cb7d0cb4b245362b3cc760bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2028-2058 | libs/agno/agno/db/in_memory/in_memory_db.py:1742-1773 | libs/agno/agno/db/json/json_db.py:2150-2181 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a781cf379cd3d78badf372a381deabce750cc87a2c659c8055aad4c9bb90b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/db/in_memory/in_memory_db.py:766-795 | libs/agno/agno/db/json/json_db.py:1062-1089 \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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdab57a455319b06de64954145a2b8e7159c67812e59ab8b672bb8635c571172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4195-4212 | libs/agno/agno/db/mongo/mongo.py:4003-4020 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4195}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc468ed4517bc22fcb961c5f326eb89e175477137079c2ac0e405002ed0939"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/db/redis/redis.py:284-304 | libs/agno/agno/db/valkey/valkey.py:357-380 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1281cace65143aa3e137deb95933fb7753ded43b4ed5d9a07cbd371ddbd7cecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/db/schemas/scheduler.py:213-219 | libs/agno/agno/db/schemas/service_accounts.py:70-76 \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":"libs/agno/agno/db/schemas/scheduler.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67879886b70f8d6535ed3ffd018e0698b93a688832718e80f1dac701857809a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/eval/agent_as_judge.py:423-444 | libs/agno/agno/eval/agent_as_judge.py:456-477 \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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4731c5ff65c07d614afd0b6901a5cba6f4cd8aa571d8baf962a82f1d3ae282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/models/google/gemini.py:1793-1817 | libs/agno/agno/models/google/gemini.py:1822-1843 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd955f4bc21ee67f6d9e99a45fb28799ff7e6f21462400daeb78457e98af9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:129-140 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:143-154 \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":"libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b336ef3e1dd651646a0ca8bebabbe22511c3f3a58ebb11185e5a5b1f661bc984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/tools/xai_auth.py:321-337 | libs/agno/agno/tools/xai_auth.py:340-356 \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":"libs/agno/agno/tools/xai_auth.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e4c7e40b77b98306be8b6a312096f5a12316a0224af190747be488688d85ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:536-552 | libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:555-571 | libs/agno/agno/vectordb/opensearch/opensearch.py:462-478 | libs/agno/agno/vectordb/opensearch/opensearch.py:481-497 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2acd231c6d7de621afb1e800451bf50e0d241f1020a0c737ea774158f2b966a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/agno/agno/vectordb/qdrant/qdrant.py:675-693 | libs/agno/agno/vectordb/qdrant/qdrant.py:732-742 | libs/agno/agno/vectordb/qdrant/qdrant.py:781-791 | libs/agno/agno/vectordb/qdrant/qdrant.py:799-817 \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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af46a92e66d47963dae0a7fd7f98a5d2e701b07b70b772cb7dcadf971aa7a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/company/files.py:380-387 | libs/agno/agno/company/files.py:489-496 \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":"libs/agno/agno/company/files.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8f11b590d5bbfc32e4fc5709286057aa7503a9cb7dfa99a9c41a392f1fa9a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:921-930 | libs/agno/agno/db/mongo/mongo.py:729-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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2262d7758dbfef126d859e41ebb65dff733f6bdee61f26c9de91354f14aa4b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/postgres/utils.py:439-447 | libs/agno/agno/db/sqlite/utils.py:379-387 \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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b03c3b8580b5ca59386bb42c4cc07eafd7803b5aa85804ec549c8febb562a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): libs/agno/agno/db/sql/mcp_oauth.py:114-117 | libs/agno/agno/db/sql/mcp_oauth.py:150-153 | libs/agno/agno/db/sql/mcp_oauth.py:195-200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"libs/agno/agno/db/sql/mcp_oauth.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"315a975b74c976ea6d414d33b8aabfccfffba9d3107be9e8bd30eda25c3eeefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/knowledge/embedder/ollama.py:55-66 | libs/agno/agno/knowledge/embedder/ollama.py:70-81 \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":"libs/agno/agno/knowledge/embedder/ollama.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aec22f2486092952c6772c6e88d2b967d9e8b56abfbf1ea7c8a45afa7a9e892"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/learn/schemas.py:255-277 | libs/agno/agno/learn/schemas.py:656-675 \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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3ae3fd51397b5ee75b41fc270ca0405ee528872fc998bc7526fde0cf3877b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:587-599 | libs/agno/agno/learn/stores/entity_memory.py:3109-3117 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14f4e73d34d59b36e26b9755d501b16cf4d00ce374bbc98fad3d97db64eda17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:107-135 | libs/agno/agno/learn/stores/learned_knowledge.py:146-162 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"168355fb3c57842f38d3f608d193b4bb4f34041de0dcfb3647fe193771f0849e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/tools/company_files.py:220-244 | libs/agno/agno/tools/company_files.py:254-260 \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":"libs/agno/agno/tools/company_files.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeca599fbf1626e01b0d44d9844f9a3f9e5adeb801217d4b5cbe2fa7fa9d0e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/tools/finance/toolkit.py:541-562 | libs/agno/agno/tools/finance/toolkit.py:567-576 \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":"libs/agno/agno/tools/finance/toolkit.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48d6ce7fa377cc3f677936a83ede1f5b3934ed95300d787e42ddbdf3ca18678"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/tools/linear.py:101-136 | libs/agno/agno/tools/linear.py:388-426 \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":"libs/agno/agno/tools/linear.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7ea8f96988b775df13711ba526d89dabc07b2517de0e6f762a4f6337825d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/tools/todoist.py:81-103 | libs/agno/agno/tools/todoist.py:198-209 \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":"libs/agno/agno/tools/todoist.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbca30dc367b6f5d666fa9428adad21dcd4027fae33df1d4aec708f58f30fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/utils/agent.py:1275-1289 | libs/agno/agno/utils/agent.py:1334-1348 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6719b689eb6ab2efb65ebde1a49d2b3a038e58f783b2184a2f8cd2815cca8756"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:756-772 | libs/agno/agno/vectordb/opensearch/opensearch.py:668-684 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcf552f631810285427edd6895ecb23d1ba60441ea86d9f0e0a059ce9e4e575"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/vectordb/upstashdb/upstashdb.py:522-537 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:540-556 \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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4db593603c1603b55b6bae9af9f748d3fedcfbe3faed9a4db8c5e52616799f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/workflow/workflow.py:2155-2163 | libs/agno/agno/workflow/workflow.py:2166-2179 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee84ddf13f36fc5574055c2b11a0b5d53b35e0235b2e6568fe92dd2737b8374"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): libs/agno/agno/db/clickhouse/clickhouse.py:287-303 | libs/agno/agno/db/clickhouse/clickhouse.py:518-528 | libs/agno/agno/db/clickhouse/clickhouse.py:531-543 \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":"libs/agno/agno/db/clickhouse/clickhouse.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1d8d4d6c1993fa472a6fa0b8fb975d38b565189d1ccc3006f0b940a6d39e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): libs/agno/agno/db/firestore/firestore.py:3168-3186 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2188-2203 | libs/agno/agno/db/in_memory/in_memory_db.py:1924-1939 | libs/agno/agno/db/json/json_db.py:2336-2354 | libs/agno/agno/db/mongo/async_mongo.py:3432-3451 | libs/agno/agno/db/mongo/mongo.py:3182-3201 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27356139be7793c23be10c90a10a19104ecd0d0f1f3289fe32273df738b1c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3689-3704 | libs/agno/agno/db/mongo/mongo.py:3439-3454 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbffe5c58be9d1492fe075f28e9a99779431bbc1ca048f6c36153939578f6ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7423-7426 | libs/agno/agno/db/sqlite/async_sqlite.py:6639-6642 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7423}}}],"partialFingerprints":{"codehealthFindingId/v1":"de29c9063dece9804de22b4681508f731549f0c9813b46e83593235f897d85a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): libs/agno/agno/db/postgres/schemas.py:751-811 | libs/agno/agno/db/sqlite/schemas.py:645-702 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/schemas.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"62604e7b529261fc770583a5bdcd42a1dbf4195e232e186d9eb7029cf4e4928d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/knowledge/knowledge.py:302-316 | libs/agno/agno/knowledge/knowledge.py:319-332 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c436be2799292f32b67908b356420b31d37f25cb9c190ee6a5712092587d24ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/knowledge/reader/markdown_reader.py:136-148 | libs/agno/agno/knowledge/reader/text_reader.py:114-126 \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":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fe4d728dbe6ff6d98879798c298694fc602a069e168484f35c9dc5d18c8699"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/agno/agno/models/anthropic/claude.py:443-458 | libs/agno/agno/models/azure/claude.py:105-114 | libs/agno/agno/models/vertexai/claude.py:85-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 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ff3446532f1e4f081e29e71e5d8d703aae3f6bd2d9f76e2d2150017ac56112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/authz/_role_store.py:469-476 | libs/agno/agno/os/authz/_role_store.py:982-988 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ad60eb94625e47177680de4afd3be3b0150e9412834ea07439001de2812046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/os/authz/user_directory.py:287-303 | libs/agno/agno/os/authz/user_directory.py:627-636 \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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8176bcb6f653c1de762293541c0303f1848f0cd79dc4edb1a0782d4becd31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/team/_run.py:7328-7346 | libs/agno/agno/team/_run.py:7354-7367 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":7328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2373608081b18a793bea03037bc34afe6d19e9b45b23aa6ac963249fdb532dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/tools/arxiv.py:28-37 | libs/agno/agno/tools/serpapi.py:23-33 \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":"libs/agno/agno/tools/arxiv.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb9841404f128055e596764ca3968be8f3269dd96e8fb9eb5e2b75c4885cbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): libs/agno/agno/tools/docker.py:146-179 | libs/agno/agno/tools/docker.py:368-393 | libs/agno/agno/tools/docker.py:503-528 | libs/agno/agno/tools/docker.py:589-616 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/docker.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a7e1cbd88cd2d98ed545dfc01349771e5d0a1751a22439be42533de3b8d824"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/tools/fal.py:32-44 | libs/agno/agno/tools/replicate.py:30-39 \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":"libs/agno/agno/tools/fal.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e620e01278bd10a263284d5f6bb9e450346d004d60eade36745133700d84250"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/tools/spider.py:98-106 | libs/agno/agno/tools/spider.py:109-120 \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":"libs/agno/agno/tools/spider.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2752ac9e5bca8985a5812dec9f15d2bcf6c907c99cd8e2f5e0c7db0298cee992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): cookbook/07_knowledge/09_archive/lifecycle/remove_vectors.py:36-51 | cookbook/07_knowledge/09_archive/lifecycle/remove_vectors.py:55-70 \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":"cookbook/07_knowledge/09_archive/lifecycle/remove_vectors.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2e1d6974975578d2b7fce2ea11ee4ea893113b2b15164b325c17acd07febbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): libs/agno/agno/agent/_managers.py:344-377 | libs/agno/agno/team/_managers.py:315-345 \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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5c210acfb7181b4ec11bc8bec73ee6b4322db5094bb34a1a2666b8e76d628b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): libs/agno/agno/client/os.py:2750-2770 | libs/agno/agno/client/os.py:2778-2798 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"f932e0a89507be9c155b74b0c0b39b6b7403829affd348289725f7a4681fb076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/company/manager.py:673-680 | libs/agno/agno/company/manager.py:1648-1657 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e362ec42a991d520e22762a852f08f1bde792a9cefbde6c21500213fd95d46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/sqlite/async_sqlite.py:2862-2870 | libs/agno/agno/db/sqlite/sqlite.py:3123-3131 \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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2862}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d508a7789357901a1e69d9717c2fc1c1a92126bda3284cd9755e8b624912b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/eval/utils.py:201-213 | libs/agno/agno/eval/utils.py:219-226 \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":"libs/agno/agno/eval/utils.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb75cb4242153fab6d8a86d3abce312833530a65843f0bcdfa3fd3e987eec80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/knowledge/knowledge.py:3257-3267 | libs/agno/agno/knowledge/knowledge.py:3270-3277 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7577cf446b9ad88eb4990b6f3c621d38b8f653f0f326b2678649bfda4a24e51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/knowledge/remote_content/remote_content.py:94-103 | libs/agno/agno/knowledge/remote_content/remote_content.py:127-136 \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":"libs/agno/agno/knowledge/remote_content/remote_content.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e796a0bc48c38b72e6568e2aa97200419f51f201edecb4a4f431d538230e32c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/authz/admin_router.py:681-694 | libs/agno/agno/os/authz/admin_router.py:703-709 \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":"libs/agno/agno/os/authz/admin_router.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ce418432217b50acfb52832d9679aa8b9428cdb156812ec7624cf292ccc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/os/interfaces/telegram/state.py:51-60 | libs/agno/agno/os/interfaces/whatsapp/router.py:71-80 \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":"libs/agno/agno/os/interfaces/telegram/state.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f49497dd995e6309b880770361f8505c1a92ef7349fa800e882f9ab10c67e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:199-217 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:220-233 \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":"libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5ca53d34e532c6339e015d96ff651c0f84b8262fdfe9bd7274cb71732196ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/tools/company.py:700-711 | libs/agno/agno/tools/company.py:1027-1038 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ba079269cff17f72702bfe52383a949a9eaa9961d7372e72309a895c7188e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/tools/knowledge/management.py:445-459 | libs/agno/agno/tools/knowledge/management.py:462-476 \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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd144c4df9f50c806a732bd964531a0c9f2381a834c7e3089997e597e1b08a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:637-646 | libs/agno/agno/vectordb/couchbase/couchbase.py:1339-1348 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baa8b8e832a6927455e02d352b82d50348013062647cdf435ea1f5cab7a2de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): libs/agno/agno/client/os.py:1418-1456 | libs/agno/agno/client/os.py:1586-1606 | libs/agno/agno/client/os.py:2291-2331 | libs/agno/agno/client/os.py:2686-2714 | libs/agno/agno/client/os.py:2919-2963 | libs/agno/agno/client/os.py:3021-3058 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/os.py"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe8e2dca45b56803744e6f58034ee056ab67233fba46e692f6079f849fa2815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/knowledge/knowledge.py:1741-1750 | libs/agno/agno/knowledge/knowledge.py:1753-1763 \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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c93a24fe6c74ccaa87fcf57e062733900abaffe7790ba05770d4b8cde573761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/models/xai/oauth.py:556-571 | libs/agno/agno/tools/xai_auth.py:531-544 \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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d2aefbc1b71443951b850e43f36135c847874ea5b0df28657129b5eb500b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/calculator.py:105-118 | libs/agno/agno/tools/calculator.py:137-151 \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":"libs/agno/agno/tools/calculator.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b7f9543e1c1c90a28e6fb1a608a5cf489f148c1ae8f0ffdad23852b248537b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/vectordb/surrealdb/surrealdb.py:364-381 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:665-683 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:721-738 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:741-759 \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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc810b6f30e0a2272cbffd38b8b820f1ad77c0c12173adcc68bf0cec068f9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/workflow/workflow.py:11536-11551 | libs/agno/agno/workflow/workflow.py:11554-11567 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11536}}}],"partialFingerprints":{"codehealthFindingId/v1":"09904001088bd90dde2f06da0464369885eb4261522c5b879ce320658d253ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cookbook/07_knowledge/09_archive/lifecycle/remove_content.py:42-55 | cookbook/07_knowledge/09_archive/lifecycle/remove_content.py:59-72 \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":"cookbook/07_knowledge/09_archive/lifecycle/remove_content.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd15724d483d21d96dd7c8b4ab19339d91a47b9717dab4f6e850836425bb433"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): cookbook/91_tools/mcp/github.py:35-57 | cookbook/91_tools/mcp/stagehand.py:36-74 \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":"cookbook/91_tools/mcp/github.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"472f6bfd2ced04644fb7f7ac21db6a41911a0e93f021462f52d968102e7333b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/company/playbook.py:47-54 | libs/agno/agno/company/playbook.py:58-65 \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":"libs/agno/agno/company/playbook.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55c169728d8e5177430f76077c53cce210a546d7a1540665d9d836ffb071f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): libs/agno/agno/db/dynamo/dynamo.py:366-370 | libs/agno/agno/db/gcs_json/gcs_json_db.py:294-297 | libs/agno/agno/db/json/json_db.py:336-340 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d92ce7bce452fa2793a9afd44f053f7bb0e79a627459d052d3fcee2bfd7019"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): libs/agno/agno/db/migrations/v1_to_v2.py:550-579 | libs/agno/agno/db/migrations/v1_to_v2.py:583-612 | libs/agno/agno/db/migrations/v1_to_v2.py:616-649 \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":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17df7b0d9d80c491b1c1a40041b16428c55bc6baddf697a1f06d17af64b2ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): libs/agno/agno/db/redis/utils.py:304-321 | libs/agno/agno/db/redis/utils.py:427-446 | libs/agno/agno/db/valkey/utils.py:704-721 | libs/agno/agno/db/valkey/utils.py:808-827 \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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f08cd82ea70308d43af8d8ce3188ef40d3ec2b15249ce9ae3667808503427c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/sql/authz.py:263-267 | libs/agno/agno/db/sql/authz.py:713-716 \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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f163a63b6470677fd7f5c6ab0dc079794b7f29cfc5ab971a4a9fc833ec05bb4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): libs/agno/agno/knowledge/embedder/mistral.py:47-62 | libs/agno/agno/knowledge/embedder/openai.py:43-55 | libs/agno/agno/knowledge/embedder/openai.py:59-70 \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":"libs/agno/agno/knowledge/embedder/mistral.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7c77a811f790fa9452784c96cc6c7ffabb236bdf35c88183e58d7720550644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:3649-3659 | libs/agno/agno/learn/stores/learned_knowledge.py:1485-1494 | libs/agno/agno/learn/stores/session_context.py:1178-1187 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3649}}}],"partialFingerprints":{"codehealthFindingId/v1":"29db5e3a4b7effa85fe52bfbf46a3d6cd78356d4fcb314270297eb2885818592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/os/interfaces/telegram/events.py:191-196 | libs/agno/agno/os/interfaces/telegram/events.py:200-205 \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":"libs/agno/agno/os/interfaces/telegram/events.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"75061097f95b7ad0e9b2b2d26a58d5b1ff09d77fd276ac68031da5a91c9f48fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/tools/aws_lambda.py:20-28 | libs/agno/agno/tools/webex.py:26-38 \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":"libs/agno/agno/tools/aws_lambda.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"73efbfe2f0a48014086cba20dcf1d14bdc4453cd6fcca17fad6f48ac64bde4f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): libs/agno/agno/tools/browserbase.py:247-270 | libs/agno/agno/tools/browserbase.py:372-395 \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":"libs/agno/agno/tools/browserbase.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3724abf647b7373dc05939e5a66fb8e80586f2d5f9b4aa74baaa12fb6c3868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:194-202 | libs/agno/agno/tools/models/aimlapi.py:225-230 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccef7a69ffa5d6638916f97d6c64d28166b0af0b76f46364e60274573418ba4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/utils/events.py:887-901 | libs/agno/agno/utils/events.py:931-945 \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":"libs/agno/agno/utils/events.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab155f7ee356e5366bdedffe059b27439b05c0f86934501813b8d16c95c51719"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/agno/agno/vectordb/couchbase/couchbase.py:1179-1188 | libs/agno/agno/vectordb/opensearch/opensearch.py:1047-1072 | libs/agno/agno/vectordb/weaviate/weaviate.py:504-523 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cdf2fd478ca13bb1a24c49d388a31c4769d552b63c627c8c1114af73cb40dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): cookbook/02_agents/05_state_and_session/session_state_advanced.py:18-29 | cookbook/03_teams/21_state/nested_shared_state.py:21-30 | cookbook/04_workflows/06_advanced_concepts/session_state/state_with_agent.py:25-35 \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":"cookbook/02_agents/05_state_and_session/session_state_advanced.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"960a94aa82d9238db8ed986aa63fcf0fdd709c197472389449953b9f3d2b8fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cookbook/03_teams/27_result_offloading/handing_a_result_to_a_member.py:26-40 | cookbook/03_teams/27_result_offloading/offload_member_results.py:30-44 \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":"cookbook/03_teams/27_result_offloading/handing_a_result_to_a_member.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"247474d23593588dee463e78a691220aabb3266bf4300bc78feae0175eda3389"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cookbook/05_agent_os/21_factories/05_team_factory.py:79-87 | cookbook/05_agent_os/21_factories/06_workflow_factory.py:83-91 \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":"cookbook/05_agent_os/21_factories/05_team_factory.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4407e7287a397a132d0b4f399f0d518d3811b08d5b1b897428a41026d51cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/postgres/postgres.py:10170-10173 | libs/agno/agno/db/sqlite/sqlite.py:9113-9116 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee5eafd0a6158c0e06ce82d6e8343c23e2d99a7aa2c47d88362bb93274bc643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/models/openrouter/responses.py:129-155 | libs/agno/agno/models/openrouter/openrouter.py:68-93 \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":"libs/agno/agno/models/openrouter/responses.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee0a451a348174c0c88d0a421e29ae6d9594ca84d0d90d3837d421eb54f0539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/run/workflow.py:737-746 | libs/agno/agno/run/team.py:735-742 \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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecf0eec076347cea15b1b5c94f253b5a336eef534218f3512d819bb9828ef4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): libs/agno/agno/tools/github.py:204-229 | libs/agno/agno/tools/github.py:232-247 | libs/agno/agno/tools/github.py:355-382 | libs/agno/agno/tools/github.py:648-663 | libs/agno/agno/tools/github.py:683-697 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/github.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4348407200ca49452760b472ac08e2198828d78bd80188146d9604fe1ef6f652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): libs/agno/agno/tools/jira.py:65-86 | libs/agno/agno/tools/jira.py:140-153 | libs/agno/agno/tools/jira.py:156-170 \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":"libs/agno/agno/tools/jira.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dd613b9d0ef4c59c940236018c305231222804469e02ded75eb21ea44b7a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): cookbook/91_tools/mcp/mcp_toolbox_for_db.py:18-44 | cookbook/91_tools/mcp/mcp_toolbox_for_db.py:91-115 \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":"cookbook/91_tools/mcp/mcp_toolbox_for_db.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4403ca5afbe658417da3850f103a6358c1c0b57c29893395809a53d6c916e5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cookbook/91_tools/tool_hooks/tool_hook_in_toolkit_with_state.py:40-50 | cookbook/91_tools/tool_hooks/tool_hook_in_toolkit_with_state_nested.py:42-56 \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":"cookbook/91_tools/tool_hooks/tool_hook_in_toolkit_with_state.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"df03ad4d2c79b785b7cbff9e5ee04ceddbee922494453cb390fc0191198224ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3493-3504 | libs/agno/agno/db/mongo/mongo.py:3243-3254 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e54080a3eb92e7e0c8658d4012c173c97512c48ca73068fd0f5e2b68a57108a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4797-4815 | libs/agno/agno/db/mongo/mongo.py:4576-4584 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4797}}}],"partialFingerprints":{"codehealthFindingId/v1":"964347e4fe6d57bcf30a53fd31f09fd7000359c774d1b0ae68ac6cf50b1c37b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/knowledge/reader/firecrawl_reader.py:37-49 | libs/agno/agno/knowledge/reader/tavily_reader.py:39-65 \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":"libs/agno/agno/knowledge/reader/firecrawl_reader.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c09231864fd060d4db707ca4d6cc8ee8b32a83aac85d2d1c0278ef2e3a5bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/learn/stores/entity_memory.py:3087-3105 | libs/agno/agno/learn/stores/entity_memory.py:3125-3135 \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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3087}}}],"partialFingerprints":{"codehealthFindingId/v1":"c013161aaf28c9665c93b5d7f2b12fad91cd74b58663e80cec15812ead806106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/tools/docker.py:443-461 | libs/agno/agno/tools/docker.py:621-639 \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":"libs/agno/agno/tools/docker.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"219cff545570660aed34c8aad29e8e4de9eea9f2bd66a2f21f1e5feaba81aa61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/tools/github.py:137-149 | libs/agno/agno/tools/github.py:666-680 \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":"libs/agno/agno/tools/github.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cac6932fc6dd3c5f9850e17f34278e5e1405292e26f57bab862bcb7c854b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): cookbook/10_reasoning/tools/cerebras_llama_reasoning_tools.py:19-66 | cookbook/10_reasoning/tools/ibm_watsonx_reasoning_tools.py:19-81 | cookbook/10_reasoning/tools/reasoning_tools.py:19-66 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 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":"cookbook/10_reasoning/tools/cerebras_llama_reasoning_tools.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d592f6b8db09dd69dea11251190f174a7425c7fbf460a9b459822030c218c5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/agent/_managers.py:388-416 | libs/agno/agno/team/_managers.py:280-305 \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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9601e81deb01869aaf9ca15e438cd1dee69756f3455a4ff1f4bcfe25a2fed663"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): libs/agno/agno/company/manager.py:940-954 | libs/agno/agno/company/manager.py:1919-1933 | libs/agno/agno/company/manager.py:1936-1946 \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":"libs/agno/agno/company/manager.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9db840a1f11ed4d537278e6abd219755b2cccdfbad799127b5b5f291b002e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/tools/studio.py:1006-1024 | libs/agno/agno/tools/studio.py:1027-1033 \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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d4c75ae9bbc2fda2bb61998a26c2003871fbed40341362100edc68a3e7873f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): libs/agno/agno/tools/telegram.py:119-132 | libs/agno/agno/tools/telegram.py:135-148 | libs/agno/agno/tools/telegram.py:151-165 | libs/agno/agno/tools/telegram.py:168-181 | libs/agno/agno/tools/telegram.py:184-198 | libs/agno/agno/tools/telegram.py:201-214 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/telegram.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6514d46e38b893e2b8fd4f6f1d9e8ed53497fefb39168dc3adea62e97d857516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): libs/agno/agno/vectordb/cassandra/cassandra.py:164-181 | libs/agno/agno/vectordb/couchbase/couchbase.py:732-749 | libs/agno/agno/vectordb/milvus/milvus.py:312-334 | libs/agno/agno/vectordb/redis/redisdb.py:295-312 | libs/agno/agno/vectordb/valkey/valkeydb.py:444-463 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda64a26d827271ac226c8d7470220325e7d94b6c7b2d5a7f1af5230d1602f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/workflow/cel.py:175-184 | libs/agno/agno/workflow/cel.py:188-197 \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":"libs/agno/agno/workflow/cel.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bceb00a0f920bc9777034d4c7310fb20cd0d51c98beadb2e572ad60142b45d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 42\u002B corresponding lines): cookbook/10_reasoning/models/anthropic/async_reasoning_stream.py:19-60 | cookbook/10_reasoning/models/azure_ai_foundry/reasoning_model_stream_deepseek.py:20-67 | cookbook/10_reasoning/models/azure_openai/basic_reasoning_stream.py:19-62 | cookbook/10_reasoning/models/gemini/async_reasoning_stream.py:19-67 | cookbook/10_reasoning/models/vertex_ai/basic_reasoning_stream.py:19-67 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 42 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":"cookbook/10_reasoning/models/anthropic/async_reasoning_stream.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcebdb5e41d3875185a986d74b5686ae1e69a550b56f25c5b4602929a9bfd4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cookbook/91_tools/mcp_tools.py:24-43 | cookbook/91_tools/mcp/groq_mcp.py:59-76 \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":"cookbook/91_tools/mcp_tools.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff5bdba5a661938b5a30f417313a5783f7ac51b1ba60f8de4b912d4b9cf8fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): libs/agno/agno/client/os.py:1382-1401 | libs/agno/agno/client/os.py:2340-2361 | libs/agno/agno/client/os.py:2723-2741 | libs/agno/agno/client/os.py:2807-2825 | libs/agno/agno/client/os.py:2973-3006 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/os.py"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a49924d27f5a7e8962e354d375ee81231af83dc4daf25e514fff4671c2cd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/knowledge/embedder/vllm.py:79-95 | libs/agno/agno/knowledge/embedder/vllm.py:98-114 \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":"libs/agno/agno/knowledge/embedder/vllm.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4f189faf3f60f9e3b14824f28c02735f3d8c79411cee8093c314c2632ef897"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/learn/stores/user_profile.py:354-380 | libs/agno/agno/learn/schemas.py:164-185 \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":"libs/agno/agno/learn/stores/user_profile.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3dd38ee559493690faf05a68bb659be3ef3bec5d1e7711160b2749a12d9fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): libs/agno/agno/tools/telegram.py:232-246 | libs/agno/agno/tools/telegram.py:264-281 | libs/agno/agno/tools/telegram.py:284-297 \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":"libs/agno/agno/tools/telegram.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ea9b630e61724c3abf9fae64150675458a704024ca9c94739f5354e73e9d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/utils/events.py:609-620 | libs/agno/agno/utils/events.py:626-637 \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":"libs/agno/agno/utils/events.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cc30902fd4b68a116ac3639458e0344099cf98c6e8c1ead956227d0509281d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/vectordb/weaviate/weaviate.py:478-495 | libs/agno/agno/vectordb/qdrant/qdrant.py:572-586 \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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4a57eaeabe9f2f2e21490fa4d33afb8984177338a59cabfa3f42bd1bd9ea2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:2090-2106 | libs/agno/agno/db/in_memory/in_memory_db.py:1807-1829 | libs/agno/agno/db/json/json_db.py:2216-2239 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f43656d1a475ad36e6c5518ebd9a1da769c9b35aea72847d20fa06c71ef811e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:6294-6299 | libs/agno/agno/db/postgres/postgres.py:8990-8995 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68b7f4cd4634fe0c4cc0f90017797f93ee67294c76aba0cef1504e7aa39d866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/registry/registry.py:724-741 | libs/agno/agno/registry/registry.py:803-818 \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":"libs/agno/agno/registry/registry.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"72951d2e2ba3d2c8884b627895ec09103283b1ec6f0eeafe019d48cef26b0232"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/context/fs/provider.py:110-117 | libs/agno/agno/context/workspace/provider.py:130-139 \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":"libs/agno/agno/context/fs/provider.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bf9086aeb824d82c9b877eea42a9251ec8fb3a380d4fb4ad27135648c43b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2275-2289 | libs/agno/agno/db/mongo/mongo.py:2070-2084 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e944ad825b38b5e33bc7e41b817336b24330f8b41ba5635eca51aca65ca9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:212-229 | libs/agno/agno/learn/stores/session_context.py:173-187 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"233bb591bd905020c6bf4b18582bd8ad21ad16aaba252e3bbb87ce726a7454a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/authz/_role_store.py:809-817 | libs/agno/agno/os/authz/user_directory.py:517-523 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c9397969971b537e1ff01e3003cc908a08dd6aab6b632b8a7327fbd351a85d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/tools/models/aimlapi.py:211-217 | libs/agno/agno/tools/models/aimlapi.py:238-244 \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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee49624228769b8f44f66ce064c947b0d703c37400d7e3094ef8f112215ba74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): libs/agno/agno/tools/superserve.py:448-460 | libs/agno/agno/tools/superserve.py:463-472 | libs/agno/agno/tools/superserve.py:742-751 \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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a866ba503c9833d336f17d4a2c1a6b459d8057b2d6a753ac1e7814ac749444b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/tools/yfinance.py:141-160 | libs/agno/agno/tools/yfinance.py:163-204 \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":"libs/agno/agno/tools/yfinance.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"983158bb4b2215f6242278f965f8772e6e5a683d7f4e418869f3e5573457652d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): libs/agno/agno/vectordb/cassandra/cassandra.py:442-462 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:760-785 | libs/agno/agno/vectordb/couchbase/couchbase.py:1432-1452 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faa0939f7e6b5f1ffb0be8b467a41e5fe82e146a4850c9116f65de16b539fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/vectordb/pgvector/pgvector.py:265-276 | libs/agno/agno/vectordb/singlestore/singlestore.py:132-143 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a238529046c47c0258fd0fd8e81780c37dc6cc0da713c58b684974e29f1274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cookbook/91_tools/mcp/qdrant.py:28-51 | cookbook/91_tools/mcp/brave.py:24-37 \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":"cookbook/91_tools/mcp/qdrant.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d5599427d04c7556ee87fc8494054a58147ba5f6e55cfaba991318646f02fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): libs/agno/agno/db/mysql/utils.py:1056-1071 | libs/agno/agno/db/postgres/utils.py:179-193 | libs/agno/agno/db/sqlite/utils.py:121-134 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec0ec9a92f629bba74881ff7cc2484a7d60bb04fbf23fa7ce379f8669297936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/knowledge/embedder/google.py:93-106 | libs/agno/agno/knowledge/embedder/mistral.py:77-87 \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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a47de11cf8b146bf73cbfd3b8d33c5faca4acab3f0c9cb6fe8c1e92ac6d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): libs/agno/agno/learn/stores/learned_knowledge.py:173-201 | libs/agno/agno/learn/stores/session_context.py:137-162 \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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3acd928f4e149ed7fd4c311c7057b58b8558ce27398fcfb3f458d988f887753"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/authz/_role_store.py:256-272 | libs/agno/agno/os/authz/user_directory.py:185-191 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f8aa0140d48e5259781919e715b119b951736af6a90760af0abedcdc8351af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/utils/audio.py:26-40 | libs/agno/agno/utils/audio.py:46-66 \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":"libs/agno/agno/utils/audio.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"848981c42841426f047c982c4327d8ed07def035389765404453e95914236a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): libs/agno/agno/workflow/condition.py:181-197 | libs/agno/agno/workflow/step.py:934-950 \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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"29132cadb77d10db7b849a1c56ae2aee64620058d96fb2171ce9c0589c27a6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cookbook/91_tools/mcp/structured_content.py:75-91 | cookbook/91_tools/mcp/agno_mcp.py:20-28 \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":"cookbook/91_tools/mcp/structured_content.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2531dd2ab7c8950aad87a06163300f778b81773b90d41f49dfd84dc3fbb0e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4363-4373 | libs/agno/agno/db/mongo/async_mongo.py:4582-4592 | libs/agno/agno/db/mongo/async_mongo.py:4921-4932 | libs/agno/agno/db/mongo/mongo.py:4665-4676 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4363}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b1a1c9d742ff98965d5f7eb15959d7c477fc326a02496a38859a7e97214ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/models/azure/claude.py:91-102 | libs/agno/agno/models/openai/responses.py:237-254 \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":"libs/agno/agno/models/azure/claude.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc8e9921892875efbd1129f29999e48c519782def82bf2e85877ae87fcac5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/utils/models/openai_responses.py:12-18 | libs/agno/agno/utils/openai.py:97-100 \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":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca19372c50506c61b597b4d6b058ac29c0d4b986cadcdf0a41b7bd903426d623"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/db/gcs_json/gcs_json_db.py:372-377 | libs/agno/agno/db/json/json_db.py:417-423 \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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dbd2997eb070f3d23289eb02e8d160792951474380bc06602966a882cf57e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4179-4192 | libs/agno/agno/db/mongo/mongo.py:3987-4000 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4179}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a7bfc75ca2af52dcc4b2099816b7b7fd87ab09d99c24978365625f2475ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cookbook/06_storage/mysql/async_mysql/async_mysql_for_agent.py:34-46 | cookbook/06_storage/mysql/async_mysql/async_mysql_for_team.py:66-75 \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":"cookbook/06_storage/mysql/async_mysql/async_mysql_for_agent.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b427d5304370b4470de8088a3219b5635b25dcbd024e2088ed063a62296991ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/db/firestore/utils.py:178-194 | libs/agno/agno/db/dynamo/utils.py:256-271 \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":"libs/agno/agno/db/firestore/utils.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"805bd0b4d5b0e6d7a37558de16db707b9933ec1975b23afaa7a64280adb94200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7521-7524 | libs/agno/agno/db/sqlite/async_sqlite.py:6737-6740 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da0fb2af8dff1df86d989bd87bad9fc38086e4c1957e7715b12556ab827ade6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:685-690 | libs/agno/agno/db/mongo/mongo.py:476-481 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"391eaf024960e3f4ce7aa4c5d91ca9e34ae00d0de5f953677eaf45526592aabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2066-2101 | libs/agno/agno/db/mongo/mongo.py:1868-1903 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"106926c375b38cc01b7cebe41b0a4e99eed30c4cf152aa6914f460c0d7d7c555"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): libs/agno/agno/db/mysql/utils.py:1041-1052 | libs/agno/agno/db/postgres/utils.py:146-156 | libs/agno/agno/db/singlestore/utils.py:99-112 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"439172297d0a0f3e33ce93f6d910b8bae8ba53bf4cfa0a462c5cc3a74851b7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:497-508 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:542-551 | libs/agno/agno/vectordb/lancedb/lance_db.py:506-521 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:263-266 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d7cfde4f0a68665f7ee22be22adad8e130ac93c28a77b434a910772d7498ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/postgres/postgres.py:10266-10269 | libs/agno/agno/db/sqlite/sqlite.py:9209-9212 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10266}}}],"partialFingerprints":{"codehealthFindingId/v1":"447a75140456af4f43f3217a04124e26c65cbdbd9e6cb6b87943e4146edccd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/tools/user_control_flow.py:16-33 | libs/agno/agno/tools/user_feedback.py:32-45 \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":"libs/agno/agno/tools/user_control_flow.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8270ab1d8f4787420816205019cc2a9868a095221054aa3e0d54244b692b5e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:4572-4579 | libs/agno/agno/db/mongo/mongo.py:4390-4395 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4572}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cbd4d383a1a65838aa016f429c0c2e3b69c2f05f2d7cf9b23ab83a8fc16b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7401-7403 | libs/agno/agno/db/sqlite/async_sqlite.py:6617-6619 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0504de933f4d9ffa42bacab1dfbbdf845ce4e8af8060517b1f5e1e6c86acc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/learn/stores/user_memory.py:913-924 | libs/agno/agno/learn/stores/user_profile.py:988-997 \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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"9165d5d4c2b432056e04191bc4b056b55995f8d83aacceb8da4ed59f4d3eec55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1471-1481 | libs/agno/agno/vectordb/opensearch/opensearch.py:1385-1398 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5c54b6fbd84db58fa45299d60ed9220b716c7235642b587adf7fa9017a5826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cookbook/10_reasoning/models/deepseek/ethical_dilemma.py:20-38 | cookbook/10_reasoning/models/deepseek/plan_itinerary.py:20-32 \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":"cookbook/10_reasoning/models/deepseek/ethical_dilemma.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1dc7d6c3316bc12d1127207c8449f86115c74bcabe5064d4f936163b76822f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2004-2018 | libs/agno/agno/db/mongo/mongo.py:1810-1824 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbb73904571e853574ba16797843f4c437dc1d8753a41d595e14b6b09857999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:2435-2441 | libs/agno/agno/db/postgres/async_postgres.py:2702-2708 | libs/agno/agno/db/postgres/postgres.py:3267-3273 | libs/agno/agno/db/sqlite/async_sqlite.py:2940-2946 | libs/agno/agno/db/sqlite/sqlite.py:3204-3210 \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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfb2bbdef398dd89e3ab46b722139e72789e73f16039449d62fbda1fccb81ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/learn/stores/user_memory.py:882-903 | libs/agno/agno/learn/stores/user_profile.py:960-979 \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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"e737ac97a50487f5bcf0e512675731dbdf72dd5f14119d9377eb72c45834433a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/media/storage/s3/async_s3.py:39-47 | libs/agno/agno/media/storage/s3/s3.py:39-48 \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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3fc18c16d5b74702ff4df62f750e5e2406930154a8d9feb9331f45e0bc098f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/agno/agno/utils/models/openai_responses.py:73-100 | libs/agno/agno/utils/openai.py:168-195 \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":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efaca2da9cfe0292ad1eb97c73d6f670cc62c52d0bd8b837f14c7e5a43564ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/vectordb/cassandra/cassandra.py:334-340 | libs/agno/agno/vectordb/chroma/chromadb.py:770-780 \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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f2fd6c30d878986ad44bd2bb33a91729a514e7fedffad29fbb4f4bf4bb06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1456-1466 | libs/agno/agno/vectordb/opensearch/opensearch.py:1367-1380 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e628715e598883849467b526d126e7c807c2a1520ca75862af7f44447e9c4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py:21-46 | cookbook/91_tools/mcp/cli.py:25-41 \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":"cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"001c60a3f544a7b3c5880f8d7b82967767f9ce91d75d0983289d23a9ae7e4388"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agent/_storage.py:422-441 | libs/agno/agno/team/_storage.py:204-212 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d28907fbba25be989e47012d90f04b6f0d3f659f753bbec45f86624d915c6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agents/claude/agent.py:456-464 | libs/agno/agno/agents/codex/agent.py:660-669 \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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf0a4992d1c799fe03bbd864c3ee95398f468c4a831e059bb9146e5b7a7ec19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7418-7420 | libs/agno/agno/db/sqlite/async_sqlite.py:6634-6636 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7418}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd712e0653deb3f38fb74d1df884ad008c408746e9446eab90a23efb99c52856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/redis/utils.py:180-183 | libs/agno/agno/db/valkey/utils.py:378-381 \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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cc7eec6389d639fa434ef49ba515e0ca07e7b9f946bdb776ced212ba79829e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/redis/utils.py:194-197 | libs/agno/agno/db/valkey/utils.py:392-395 \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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a54e926a463d4bb6c641fce8b0ce52c43653799378b1d1ddb162f541f13c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/vectordb/pineconedb/pineconedb.py:721-734 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:765-778 \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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ca40cd0b861af6b3a5524676d5e617bd579737f7d4ba376bf5d2ec2f663914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cookbook/91_tools/mcp/local_server/client.py:21-31 | cookbook/91_tools/x402scan_mcp_tools.py: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":"cookbook/91_tools/mcp/local_server/client.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"baab8ce88d24a95fc6145897f32971ba65856b35be241c8457aaa29e37d964e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/agno/agno/db/postgres/postgres.py:10148-10150 | libs/agno/agno/db/sqlite/sqlite.py:9091-9093 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10148}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a3369ebb048bace0f69d64f1ee4e7b96334d3abfdb1086e44c81600b8ff668"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/utils/log.py:174-184 | libs/agno_infra/agno/utilities/logging.py:102-110 \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":"libs/agno/agno/utils/log.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf743fcaa89a6c6ac74a62cce5156ba29615b34d14f661b15d3cdbb7655a4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/vectordb/cassandra/cassandra.py:319-325 | libs/agno/agno/vectordb/chroma/chromadb.py:568-584 \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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"288c14e9aa5e3240ee450b964d97a077a3d4b66eb359ef60e3e1b6d0d7c93665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1056-1075 | libs/agno/agno/vectordb/opensearch/opensearch.py:975-993 \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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8a36180fa95850efb8e7b315b6d67da338bd0ca3c243bdc145f90841befcf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/agent/_messages.py:2479-2488 | libs/agno/agno/team/_run.py:5407-5413 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2479}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c8459b50b8f4d19c07338c60da170cb4055cd721d97ed719a6b3e1193cfb52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/db/postgres/postgres.py:677-689 | libs/agno/agno/db/sqlite/sqlite.py:671-683 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"584fd146051329baa87dd551b4aba36eefdd9ba96076b2f35acfb0b3b08f9598"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cookbook/02_agents/09_hooks/tool_hooks.py:20-25 | cookbook/91_tools/tool_decorator/tool_decorator_with_hook.py:20-28 \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":"cookbook/02_agents/09_hooks/tool_hooks.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"444ca44cdb49adb5a0c66f1464e99d2215393db9893b5db02175cc15841c6c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/agno/agno/agent/_run.py:3250-3265 | libs/agno/agno/team/_run.py:7264-7274 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"15595a30e3fa6dc514e9d8f95396883ee1973b073c4b0f291ea20f4416028440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): libs/agno/agno/agent/_session.py:524-545 | libs/agno/agno/team/_session.py:621-644 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"3333b143c900a5d0ab7df70f85772957d0cb54b8b4bf3361ac65498e94d25a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/agno/agno/db/postgres/postgres.py:10165-10167 | libs/agno/agno/db/sqlite/sqlite.py:9108-9110 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10165}}}],"partialFingerprints":{"codehealthFindingId/v1":"79485c4be171ae3ae5a3e062ac5c56eb9c39f356778a2b72c253d5ac80fad39f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): libs/agno/agno/db/redis/redis.py:1515-1526 | libs/agno/agno/db/valkey/valkey.py:1930-1943 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a6b88deb1f488fda14a939795a7e50847996e6a28a4fd197fff41bfffbabb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): libs/agno/agno/reasoning/moonshot.py:52-66 | libs/agno/agno/reasoning/openrouter.py:58-72 \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":"libs/agno/agno/reasoning/moonshot.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bef18ed9c7aad21edca15cf0d69af2d4b379f6f49b9032f3cd05d327fb6f8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/tools/antigravity.py:466-471 | libs/agno/agno/tools/scavio.py:97-102 \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":"libs/agno/agno/tools/antigravity.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cf29a16ef45291fd22d080e1bed80c46d58976c8940853870ad0dcd51aeb08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/utils/agent.py:1075-1079 | libs/agno/agno/workflow/workflow.py:1071-1078 \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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c688d32646edc491dd846d7b97d3fdcfb940ce2eecdac952e35c60f8f6f550a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): cookbook/10_reasoning/tools/azure_openai_reasoning_tools.py:18-37 | cookbook/10_reasoning/tools/claude_reasoning_tools.py:18-39 | cookbook/10_reasoning/tools/ollama_reasoning_tools.py:18-36 | cookbook/10_reasoning/tools/openai_reasoning_tools.py:18-36 | cookbook/10_reasoning/tools/vercel_reasoning_tools.py:18-34 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/10_reasoning/tools/azure_openai_reasoning_tools.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17b6ae9421e92929222144891b441c34dfa0177ab68632c62f5bcbe700a5b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/agno/agno/agent/_session.py:496-515 | libs/agno/agno/team/_session.py:592-615 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bbfbd45651b010439c39e33bee70d528166cff8258e49d4224b30465118f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/agent/_storage.py:289-304 | libs/agno/agno/team/_storage.py:97-109 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c61cd15a8f1fecc16c6a513f8ce27783a9b4532921475d0da28de1a30ba78d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:2104-2109 | libs/agno/agno/db/mongo/mongo.py:1906-1911 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"168e598309dae7e95a2c445f218bf9415c11e1a5734799634ecdf441807d3493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/postgres/postgres.py:9849-9852 | libs/agno/agno/db/sqlite/sqlite.py:8793-8796 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9849}}}],"partialFingerprints":{"codehealthFindingId/v1":"4251617eb56950a3c66b8c2bcf485942c070e2bf4175a89db616a2777e1b933f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/redis/redis.py:377-385 | libs/agno/agno/db/valkey/valkey.py:469-477 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28d0164312d10bc060319c9cad320789b4f28bd71f7493d353af3f5cb77c474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): libs/agno/agno/learn/stores/user_memory.py:77-82 | libs/agno/agno/learn/stores/user_profile.py:87-92 \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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d55916a57f1397f7895e9f844275acce2398200889cfcf3b9e501d148408580"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py:77-88 | cookbook/07_knowledge/09_archive/vector_dbs/weaviate_db.py:68-75 \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":"cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce4ad77ad00b659b582833cb4eed98d8de0a013b79b0a4a39dc594b9796c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cookbook/09_evals/performance/response_with_memory_updates.py:23-33 | cookbook/09_evals/performance/simple_response.py:17-25 \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":"cookbook/09_evals/performance/response_with_memory_updates.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6a0701890050bc3ee57167c25f2384c5f63ef7603d2e494af7f6434f25f7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/agent/_response.py:132-141 | libs/agno/agno/team/_response.py:714-723 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e6a0c35a90c5eb48299593f90d63f8947353be4198c4ecb38c6fbf45dbb7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/agent/agent.py:1415-1428 | libs/agno/agno/team/team.py:1425-1429 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27191530b3d67bb0f6fdacbb696b8c0ecd34b081747d79995a07f81eee9992a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/context/gdrive/provider.py:175-182 | libs/agno/agno/context/web/provider.py:115-124 \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":"libs/agno/agno/context/gdrive/provider.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d5c32ab7ffac03ec0e65b8c378bc93d6f881de524da1a2f949f8de21d0b865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7377-7380 | libs/agno/agno/db/postgres/postgres.py:10128-10129 | libs/agno/agno/db/sqlite/async_sqlite.py:6593-6596 | libs/agno/agno/db/sqlite/sqlite.py:9071-9072 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7377}}}],"partialFingerprints":{"codehealthFindingId/v1":"944a81a9bfc43e55d47b601af720615c2be983d0502301d70440150246ff7a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7457-7460 | libs/agno/agno/db/sqlite/async_sqlite.py:6673-6676 \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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6c3deefa426bcd19f3e399d462ed115ceb59b0da03d6f6792b926efa06bd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/os/interfaces/slack/events.py:519-541 | libs/agno/agno/os/interfaces/telegram/events.py:260-269 \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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a928b4e994414c561ac301c83eebdc74cb81cd411943dc5926f48604e9f731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): libs/agno/agno/os/routers/components/components.py:765-777 | libs/agno/agno/os/routers/evals/evals.py:80-92 | libs/agno/agno/os/routers/metrics/metrics.py:329-341 | libs/agno/agno/os/routers/registry/registry.py:40-51 | libs/agno/agno/os/routers/session/session.py:70-82 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"409d57434b66a3d80369953ea278bb42fa6052a715c3d3171fe04c909a0c6b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/utils/yaml_io.py:21-25 | libs/agno_infra/agno/utilities/yaml_io.py:21-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":"libs/agno/agno/utils/yaml_io.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c52ab59462dfde62f848531b36b77fa5ed1d9b99d2abf604eb4baebb93469ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): cookbook/10_reasoning/models/azure_openai/o3_mini_with_tools.py:17-23 | cookbook/10_reasoning/models/openai/gpt_5_6_sol_with_tools.py:17-24 | cookbook/10_reasoning/models/openai/reasoning_effort.py:17-24 | cookbook/10_reasoning/models/openai/reasoning_summary.py:18-31 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/10_reasoning/models/azure_openai/o3_mini_with_tools.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda48b8e32a93b893dbedbbfa666e1ddef652ac7e15d7895aee4f0c74af0e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7385-7386 | libs/agno/agno/db/sqlite/async_sqlite.py:6601-6602 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3345192fbf37aaf41281803db5663c76e0a5c52a1f84705e638dc3211fae22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/tools/google/bigquery.py:104-116 | libs/agno/agno/tools/sql.py:124-140 \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":"libs/agno/agno/tools/google/bigquery.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a67dbe8e2ced023727bb586255a1626a21b4d99bc86fb9a394ca55aaa20e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/postgres.py:9894-9895 | libs/agno/agno/db/sqlite/sqlite.py:8838-8839 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8251c6e2dea333b8ea6c8e00e3fc3531eb8f34ce071cb0532b51f814c07391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/postgres.py:10204-10205 | libs/agno/agno/db/sqlite/sqlite.py:9147-9148 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10204}}}],"partialFingerprints":{"codehealthFindingId/v1":"09463c7b534799a619d06694f400ced082fac21c69b422db0d47eb1f51e6d941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): libs/agno/agno/os/authz/_role_store.py:795-799 | libs/agno/agno/os/authz/audit.py:305-310 | libs/agno/agno/os/authz/native_engine.py:124-133 | libs/agno/agno/os/authz/user_directory.py:504-507 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1e911ebc628608a9a8c4fb9459f51805a7cb23acf3b13e00ae5334725a086c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/utils/models/openai_responses.py:43-47 | libs/agno/agno/utils/openai.py:128-133 \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":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e971bc65ededdc1039cf03f7d227e83153933cb7d70485e9dadc4b4fdc1c33d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): cookbook/data_labeling/_20_instruction_generation/basic.py:94-95 | cookbook/data_labeling/_20_instruction_generation/evol_instruct.py:105-106 | cookbook/data_labeling/_24_persona_driven_generation/diversity_report.py:123-124 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"cookbook/data_labeling/_20_instruction_generation/basic.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c3d58e952ccb9122462cf5f6f656db85428b925a9b76228a26ddc7421a2079"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/agent/_storage.py:349-363 | libs/agno/agno/team/_storage.py:148-161 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb57bfb344a3a858e9b9e312b1cfbc415da072c7b81b755142001165da0260a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): libs/agno/agno/db/firestore/utils.py:218-221 | libs/agno/agno/db/redis/utils.py:235-237 | libs/agno/agno/db/valkey/utils.py:638-640 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"libs/agno/agno/db/firestore/utils.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b68ddbf83fd6d4160eb03a7aa77f2ce747400e8e4ec2335a95ce5085d58ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:674-682 | libs/agno/agno/db/mongo/mongo.py:465-473 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35dce1bdcef65c5976c8d74423d84f8e49902a26c3b920f3674765abb8fd4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/agno/agno/db/mysql/utils.py:564-566 | libs/agno/agno/db/sqlite/utils.py:553-555 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de19a0ffab851fe94a355ecb965a19932c5dc2b6221610bcf132df49f46b869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/postgres.py:10132-10133 | libs/agno/agno/db/sqlite/sqlite.py:9075-9076 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149e51ae12b9aa448929f6803205746a3f637f8e55ef465f089c3498341c782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/knowledge/reader/docx_reader.py:23-26 | libs/agno/agno/knowledge/reader/pptx_reader.py:43-46 \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":"libs/agno/agno/knowledge/reader/docx_reader.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c547bfda05d65e51c51d73042159d6addf69e005f4cd6f82565cc0d625530cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): libs/agno/agno/knowledge/reader/json_reader.py:19-22 | libs/agno/agno/knowledge/reader/s3_reader.py:35-38 | libs/agno/agno/knowledge/reader/text_reader.py:18-21 | libs/agno/agno/knowledge/reader/wikipedia_reader.py:21-25 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"libs/agno/agno/knowledge/reader/json_reader.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d661694ec9bc151750931d8086e4d68981a0a76e6e0603bbf94b023a15c590f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): libs/agno/agno/agent/_storage.py:331-345 | libs/agno/agno/team/_storage.py:131-144 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d981ecaa008a8f9e5d4071445db79597f563ed693974e1471e29c0d1740a879"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/agno/agno/db/mongo/async_mongo.py:3267-3270 | libs/agno/agno/db/mongo/mongo.py:3018-3020 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f13e120333d15fc943c3452f2903e605bdf70eb52ecad79104cc12f29f20f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/os/authz/_role_store.py:394-400 | libs/agno/agno/os/authz/native_engine.py:225-238 \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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1bb76ab8961fb6a5f8ac2c97574b76e1cb455e565ffd0059b6d263d73a97fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): cookbook/07_knowledge/09_archive/custom_retriever/async_retriever.py:65-78 | cookbook/07_knowledge/09_archive/custom_retriever/retriever.py:65-78 \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":"cookbook/07_knowledge/09_archive/custom_retriever/async_retriever.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f6cefa9d19a5049b1173381fcaaff73f4f0cc66f4d43b1beab897699357bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agent/_response.py:98-106 | libs/agno/agno/team/_response.py:684-692 \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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab3325662f6cb21361c68641e8c20aed99b4892e5deccf95a3c3f266ec09427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cookbook/05_agent_os/26_authorization/13_idp_workos_auth0.py:119-127 | libs/agno/agno/os/authz/scope_provider.py:52-63 \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":"cookbook/05_agent_os/26_authorization/13_idp_workos_auth0.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3fca1a14154dac28f1d4452f4a20024c1962a260963bb425b0c647daa1554e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agent/agent.py:1235-1243 | libs/agno/agno/team/team.py:1815-1825 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad86665fd386a5a50d1ba3028212a72c7881f5982979d7594c233c4449703f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/agno/agno/knowledge/embedder/vllm.py:125-132 | libs/agno/agno/knowledge/embedder/voyageai.py:96-103 \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":"libs/agno/agno/knowledge/embedder/vllm.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9a832467e334bca6b7be896ac51826d6365d5fdd0620d5e1bb24d5b67eff66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/agno/agno/knowledge/loaders/gcs.py:65-74 | libs/agno/agno/knowledge/loaders/s3.py:46-57 \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":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dabf42285c6dd009c72fd775a93b977dd7e1df4002e2b24f2af5d237f911e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cookbook/07_knowledge/09_archive/embedders/cohere_embedder.py:20-37 | cookbook/07_knowledge/09_archive/embedders/jina_embedder.py:20-39 \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":"cookbook/07_knowledge/09_archive/embedders/cohere_embedder.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7711bef7b22ada5a009b75488bea05bd36b6f1cda856ad060bb6be9eafe17a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cookbook/07_knowledge/09_archive/vector_dbs/lance_db_hybrid_search.py:48-56 | cookbook/07_knowledge/09_archive/vector_dbs/pgvector_hybrid_search.py:49-57 \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":"cookbook/07_knowledge/09_archive/vector_dbs/lance_db_hybrid_search.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddea5ddc14aa00bc9c272f9976f84d86cb80207742a720e919cce90e545e1cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/agent/_session.py:686-698 | libs/agno/agno/team/_session.py:730-745 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"deda39580996366099dbfcb45139c0fcb760e112b8fc9a5ad85d80e887296f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/agent/agent.py:1216-1224 | libs/agno/agno/team/team.py:1792-1802 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a22bc989a8990d131e5b034df87f16372fc1c796891543cdc8d45661a8bd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/client/os.py:1988-1997 | libs/agno/agno/tools/adanos.py:81-82 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/os.py"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf89c3336bc39f4b8ce9064d9bc2f81f77877326ef9abb7358dba490da3e1ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): libs/agno/agno/db/mysql/async_mysql.py:3248-3250 | libs/agno/agno/db/mysql/mysql.py:3190-3192 | libs/agno/agno/db/postgres/async_postgres.py:3492-3494 | libs/agno/agno/db/postgres/postgres.py:4014-4016 | libs/agno/agno/db/singlestore/singlestore.py:3183-3185 | libs/agno/agno/db/sqlite/async_sqlite.py:3732-3734 | libs/agno/agno/db/sqlite/sqlite.py:3948-3950 | libs/agno/agno/db/surrealdb/surrealdb.py:2307-2309 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 3 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3248}}}],"partialFingerprints":{"codehealthFindingId/v1":"597000ab364dc1bd0f614df37e2a656d71b710905f55998ce1c9df1ba8367395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/redis/utils.py:248-249 | libs/agno/agno/db/valkey/utils.py:650-651 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"951df4ef2e5a266393e3d10ad7b0c1c6c7a22a7ab6085849ffd9755d95de9237"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/valkey/utils.py:136-139 | libs/agno/agno/vectordb/valkey/valkeydb.py:83-86 \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":"libs/agno/agno/db/valkey/utils.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db31d93f6d712816d4fde5c464516ba31d0e1689e4396a12a673d2500c1d1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py:160-163 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:264-267 \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":"libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b6ddbaa0a0611cedeb9267375299ce3de6ab9372f30194e159b160910ebae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/agno/agno/agent/_session.py:668-680 | libs/agno/agno/team/_session.py:711-724 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"b574cee20ef7005828b23b57d6e3a5da338e079d194041c522447f3c7a05adf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/agent/agent.py:756-760 | libs/agno/agno/team/_init.py:442-451 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61ac2d2de23cc13d8058bf49aec27aa88f9cbbb5e7a320a637c67166a137a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7463-7464 | libs/agno/agno/db/sqlite/async_sqlite.py:6679-6680 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7463}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ae213169df6110d58462cfb6478574a8e171a740068a6c08f74ba6d876d6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7477-7478 | libs/agno/agno/db/sqlite/async_sqlite.py:6693-6694 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7477}}}],"partialFingerprints":{"codehealthFindingId/v1":"4435131516903dcb26f7bc43d7601d2f4f552a6d90caa77a5b8e2990bed300c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py:154-157 | libs/agno/agno/run/cancellation_management/redis_cancellation_manager.py:258-261 \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":"libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f661944f9f9d67a7c2a514b034cdd58e3c0a258e789a88f566f1fded55d4f502"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): cookbook/04_workflows/02_conditional_execution/condition_with_list.py:93-103 | cookbook/04_workflows/02_conditional_execution/condition_with_parallel.py:84-94 | cookbook/04_workflows/04_parallel_execution/parallel_with_condition.py:90-113 \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":"cookbook/04_workflows/02_conditional_execution/condition_with_list.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d58a0ca257e7163d81f079486773f42aace3fb6d2a81d0e52371c89726d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): cookbook/07_knowledge/04_advanced/07_per_user_isolation/singlestore_db.py:46-47 | cookbook/07_knowledge/09_archive/vector_dbs/singlestore_db.py:33-36 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/04_advanced/07_per_user_isolation/singlestore_db.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"111c95e6bd89260c222414ca824d366f8f2a7c0b6164cd94dae8a0e66ae8ccaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): libs/agno/agno/cloud/aws/base.py:92-95 | libs/agno_infra/agno/aws/resource/base.py:80-83 | libs/agno_infra/agno/aws/resources.py:69-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 3 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":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e175f40e5fa4cd409354fdbd5c7f50e988b8a53fbed6659943f7000565bc0b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): libs/agno/agno/db/mysql/utils.py:1110-1113 | libs/agno/agno/db/postgres/utils.py:269-272 \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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7672a875e3993e8e2026689ecbef2f250042a12a2c01edb51e93985c7caf94e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7373-7374 | libs/agno/agno/db/sqlite/async_sqlite.py:6589-6590 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b9a29f305f937d3aefd797086617adc588e16a26c2a73266f6c286eab709de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7406-7407 | libs/agno/agno/db/sqlite/async_sqlite.py:6622-6623 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7406}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c538f43078f9a8a8a01fdabe8dd50a9d300be14d36a5ae7781f1ce4d0b1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7410-7411 | libs/agno/agno/db/sqlite/async_sqlite.py:6626-6627 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7410}}}],"partialFingerprints":{"codehealthFindingId/v1":"529a79dea8c425c9692444a724138df61a8c6caa4a259357c5dda825b5e55155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7414-7415 | libs/agno/agno/db/sqlite/async_sqlite.py:6630-6631 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7414}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef501dd2a25e75058a4d888c8400af4b59fdc9abf8be15a47573427b1c0cb22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7437-7438 | libs/agno/agno/db/sqlite/async_sqlite.py:6653-6654 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82c74310a672cae4f444cb24afbfd2e84e7a1cd3d1d0205ba32e963260a1f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7481-7482 | libs/agno/agno/db/sqlite/async_sqlite.py:6697-6698 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7481}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ed6795ce71bc89c98858eb79c4841372e0ad70eed49def6afeafe8f7f3f64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/postgres/async_postgres.py:7485-7486 | libs/agno/agno/db/sqlite/async_sqlite.py:6701-6702 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e663b797991bb64ff4d8403ccecf31e9b9943d8c5afa4c9848f3905e1858c8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/db/redis/utils.py:260-261 | libs/agno/agno/db/valkey/utils.py:662-663 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79d007d5131f13f17ca4fbd0fb9f2d5e304d5a1374e1499755b945b2e719ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/agno/agno/os/interfaces/slack/events.py:263-267 | libs/agno/agno/os/interfaces/telegram/events.py:127-131 \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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb667eb476f1ad9da403d98cd5d9fe6f61f8f9cf97c0e120fe61153fc8f193e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/agno/agno/vectordb/redis/redisdb.py:803-809 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:163-176 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed7ccbe21d5c6f58b771aa0ed11d01ad70449a5f3260f0c65c67a84ca89fb95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cookbook/04_workflows/01_basic_workflows/01_sequence_of_steps/sequence_with_functions.py:74-90 | cookbook/04_workflows/06_advanced_concepts/tools/workflow_tools.py:65-77 \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":"cookbook/04_workflows/01_basic_workflows/01_sequence_of_steps/sequence_with_functions.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c380ec39e71747b9525a70e2d4161af341a0d2c810106dba5afb405e1da920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): libs/agno/agno/learn/stores/decision_log.py:244-252 | libs/agno/agno/learn/stores/user_memory.py:286-294 | libs/agno/agno/learn/stores/user_profile.py:299-306 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"35acf4a714457019fbf39f78e154a076a0a5e250457dc08ef46073e9b91b47f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): libs/agno/agno/learn/stores/decision_log.py:215-234 | libs/agno/agno/learn/stores/user_memory.py:259-277 | libs/agno/agno/learn/stores/user_profile.py:273-290 \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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdc6d9b5bc1ccb877683678688eb9676279f8afbad75e44ef57ae61729b333e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): cookbook/environments/_19_error_analysis/basic.py:25-31 | cookbook/environments/_19_error_analysis/scorer_errors.py:22-26 | cookbook/environments/_19_error_analysis/stop_reasons.py:30-34 \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":"cookbook/environments/_19_error_analysis/basic.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfff4c0516d9c4eab0a6927dfe3dc5cbdde63793d2ed08d408c25ff7fdbe2af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (390 lines \u00D7 2): libs/agno/agno/utils/print_response/workflow.py:365-754 | libs/agno/agno/utils/print_response/workflow.py:1230-1619 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"33883fde7ae770187470a20e3b211b33f16bc198c84fe676ccc14934926be3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (185\u2013186 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6320-6505 | libs/agno/agno/db/sqlite/sqlite.py:6179-6363 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1359d23b2c4a15dbcc8f36899ea075cab5d68ede1b2c804511cd18f35c8364e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (124 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6733-6856 | libs/agno/agno/db/sqlite/sqlite.py:6546-6669 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6733\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6733}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3888fcde7fdac5a146b4da5ad235e14ee256e2636abf2454ecfe8b289ff86f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (211\u2013212 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:5923-6134 | libs/agno/agno/db/sqlite/sqlite.py:5784-5994 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5923}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a4c2041af61b83403d14ade41a2a6af34d38503db0c9b30a9f42e59d8e0216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (210\u2013211 lines \u00D7 2): libs/agno/agno/agent/_run.py:4767-4976 | libs/agno/agno/agent/_run.py:5289-5499 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/agent/_run.py:4764\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/agent/_run.py:5287\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4767}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d7d98db43bd4ffb356350a42ca38bf903b998f1684645c1efdfab3893cfa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98\u2013102 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:991-1088 | libs/agno/agno/db/valkey/valkey.py:1141-1242 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c883e7e5850f032f4a7958e27ef7d80cb42e841bd141c17a79051e4403fda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98\u201399 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:411-509 | libs/agno/agno/db/postgres/postgres.py:722-820 | libs/agno/agno/db/singlestore/singlestore.py:490-587 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8065326da3d63377b1f0f2d2b54709908bb87385aa029ce48654c8009b1388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:420-517 | libs/agno/agno/db/postgres/async_postgres.py:594-691 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8523eef78e8a163180c604527d282386eaa23a65a4b78ea9420d4c993989b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:529-624 | libs/agno/agno/os/routers/teams/router.py:291-386 | libs/agno/agno/os/routers/workflows/router.py:1477-1572 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"1075788d8af655548eca8afd1984c90f84be448909dc114fccaaef42baaea2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6934-7026 | libs/agno/agno/db/sqlite/sqlite.py:6744-6836 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6934\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6934}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76e0c92750b82aa0ecbf5e343e891fdb4b752eb5fb871a17e2db84922e1bc30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (264\u2013266 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:535-798 | libs/agno/agno/utils/print_response/team.py:1466-1731 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5834d2b01720ffcfd876f3455ac167e45dc83541ab5fd7b16540c6e485f53e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (92 lines \u00D7 2): libs/agno/agno/agent/_messages.py:1585-1676 | libs/agno/agno/agent/_messages.py:1755-1846 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a41fb44ffc5e710623c726096592b5f95a15c3dc2cdd084d0997d19a75fdf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (91 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2447-2537 | libs/agno/agno/db/valkey/valkey.py:2786-2876 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b8fedf9a55e750340b6f10fa8fc046ea253fd2dafe5949e39fc70c6aecc3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2): libs/agno/agno/agent/_messages.py:1063-1148 | libs/agno/agno/agent/_messages.py:1360-1445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:1063\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/agent/_messages.py:1447\u0060 calls \u0060has_async_db\u0060, \u0060aget_user_memories\u0060 and \u0060libs/agno/agno/agent/_messages.py:1150\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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9381b48865aad10bc9a4fe3488b4dcc2654ecb1fd42b4f9f2b8cfe5198bf327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84\u201385 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:110-193 | libs/agno/agno/utils/print_response/team.py:1045-1129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b933ee8ed0c50db637e9f99a212bee74bc2deea821d79e1cdf469755eabdd08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83\u201384 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1446-1528 | libs/agno/agno/db/mongo/mongo.py:1256-1339 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1446\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"485b242220f9b92f33e67dd09bf33f81dadb70ece2d949b2b6ec237e661bcd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81\u201382 lines \u00D7 2): libs/agno/agno/models/base.py:754-835 | libs/agno/agno/models/base.py:978-1058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py: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":"libs/agno/agno/models/base.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a7abcdf10c1050073474bc1812db5f8092d730abe5da997c2fe8520b03b539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): libs/agno/agno/team/_messages.py:1311-1391 | libs/agno/agno/team/_messages.py:1470-1550 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d256f9efd748c9e61f1d8bd427d3995615c83b9e68e1641e98f054973d1f31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): libs/agno/agno/utils/print_response/workflow.py:249-329 | libs/agno/agno/utils/print_response/workflow.py:1110-1190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae38d980f691aace9b5c3b2f4a3409d7f21e61eb00b12bfe1199c3c0978ba015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7142-7221 | libs/agno/agno/db/sqlite/sqlite.py:6951-7030 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:7142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faf458f74a31a4c12e50fc418aea7d2bd47b0a5fd2c8c6fcaeeeb6876deeeca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): libs/agno/agno/workflow/loop.py:744-823 | libs/agno/agno/workflow/loop.py:1141-1220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py:744\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a810a42d23dce755d0a74ffc9a8419b855456ab980bdffd9cab7a4c81ed1aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78\u201379 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:6663-6741 | libs/agno/agno/workflow/workflow.py:8699-8776 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6663}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7cbef71bf30c73bdb9409e33cc55528329bfdf436d705d271963b30a94156a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201375 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1347-1421 | libs/agno/agno/team/_storage.py:1231-1300 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7d007e2a1b11715d99fee74edf9b04bcf2a37917d7837116d5fafd2dcd09a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (147\u2013152 lines \u00D7 2): libs/agno/agno/team/_run.py:9450-9601 | libs/agno/agno/team/_run.py:9942-10088 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9450}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ef734034dc443529d2c3e4435b772a9ea0df396b7d00ba9330297293102efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1084-1157 | libs/agno/agno/os/routers/teams/router.py:958-1031 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1084\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"575d34d4bf97ad201a40262cb9bb21450df4b4872b6bd5821982c0a16e210696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72\u201373 lines \u00D7 2): libs/agno/agno/agent/_tools.py:903-975 | libs/agno/agno/agent/_tools.py:1020-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 \u0060libs/agno/agno/agent/_tools.py:903\u0060 it begins part-way through the construct above it, so those exact 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 \u0060agent\u0060 to \u0060\u0022Agent\u0022\u0060 in one and \u0060Agent\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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"4faf238dad8b92107eaafd172237dcf69b188ce42a6f2c3679446456ba143427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69\u201373 lines \u00D7 2): libs/agno/agno/os/routers/agents/schema.py:184-256 | libs/agno/agno/os/routers/teams/schema.py:155-223 \u2014 \u0060libs/agno/agno/os/routers/agents/schema.py\u0060 and \u0060libs/agno/agno/os/routers/teams/schema.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 157 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0477f764c4ff96599a43786e7cca28a590ea5cf782238aaee42c59484ae86d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68\u201371 lines \u00D7 2): libs/agno/agno/agent/_run.py:4358-4425 | libs/agno/agno/team/_run.py:9347-9417 \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 \u0060libs/agno/agno/agent/_run.py:4358\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90c35050e19e9380682a3bc0a31540461fbadfca4b9106e5ea4805c3f576ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): libs/agno/agno/agent/_run.py:413-481 | libs/agno/agno/agent/_run.py:821-889 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:413\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f82ddb2436c645835d098835332ac39773cd1dec23398f51089e8da35173cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68\u201369 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:5844-5912 | libs/agno/agno/db/sqlite/sqlite.py:5706-5773 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5844}}}],"partialFingerprints":{"codehealthFindingId/v1":"77843664e1f4f5fb43e30c70364704540e4523162bc8d589f27087ab69f6e53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201368 lines \u00D7 2): cookbook/02_agents/18_checkpointing/03_checkpoint_endpoints.py:55-122 | cookbook/03_teams/23_checkpointing/03_checkpoint_endpoints.py:62-125 \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 \u0060cookbook/02_agents/18_checkpointing/03_checkpoint_endpoints.py: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":"cookbook/02_agents/18_checkpointing/03_checkpoint_endpoints.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f4a81400074298c1fe326b713d0dba60e39839e30183792e0cbec3fd6f6ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): libs/agno/agno/agent/_messages.py:2063-2130 | libs/agno/agno/agent/_messages.py:2278-2345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:2063\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"1191dad00e9a892fa9c82757bc91f80e56066575c5f36c9bccfcd707063fccef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67\u201368 lines \u00D7 2): libs/agno/agno/agent/_messages.py:2749-2815 | libs/agno/agno/team/_default_tools.py:1929-1996 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0be7bb3427b643f9098d6ac12c9276b0b8472b25e48c681244d72a5e7be1c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201366 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2777-2840 | libs/agno/agno/db/mysql/async_mysql.py:3070-3135 | libs/agno/agno/db/postgres/async_postgres.py:3314-3379 | libs/agno/agno/db/sqlite/async_sqlite.py:3554-3619 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2777\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f5d735de3d0e83a51e405ce3a69036f2cff47a998305806ae65504c5f92a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201366 lines \u00D7 2): libs/agno/agno/team/_run.py:827-892 | libs/agno/agno/team/_run.py:2760-2823 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126ba93f3e0aebea542d2bd7f343968a50f977774aaa42227102b2ae639f1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): libs/agno/agno/utils/print_response/workflow.py:127-192 | libs/agno/agno/utils/print_response/workflow.py:988-1053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/print_response/workflow.py:127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb00676bfa94ac5e6194cad6357d8c8d6d42faccb86b186334a599b5dabc8ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:6806-6871 | libs/agno/agno/workflow/workflow.py:8839-8904 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:6806\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6806}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbd0c0334c875e66b28bf858e9d795de1f6642b565352cd206618af21e92e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81\u201382 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6141-6222 | libs/agno/agno/db/sqlite/sqlite.py:6001-6081 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e2abe9679528b93245fb40015e9a7b245621a4b172ecf6670f5858e4165c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201365 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:163-218 | libs/agno/agno/db/sqlite/sqlite.py:197-261 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4330cfc43baa21b6619a8988a7b5a501b08078c4d0b0894c5efc806f886f52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201365 lines \u00D7 2): libs/agno/agno/utils/print_response/workflow.py:780-844 | libs/agno/agno/utils/print_response/workflow.py:1645-1708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/print_response/workflow.py:780\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dda258dfb4f98a4b3d29f7a2baeea257a2c08360e4b6d7576e3c342c1818b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2780-2843 | libs/agno/agno/db/postgres/postgres.py:3603-3666 | libs/agno/agno/db/singlestore/singlestore.py:2779-2842 | libs/agno/agno/db/sqlite/sqlite.py:3539-3602 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd37b7e0f13a6da378a293fa0a448b2fb1f73eea96cea8fb38a7ccb38ce9d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6234-6297 | libs/agno/agno/db/sqlite/sqlite.py:6093-6156 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dde44c5aa2e05af417e3c374a91f1a1c295f2234de0ac96a45c28fcd0d4c8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201364 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:904-967 | libs/agno/agno/learn/stores/session_context.py:1046-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/session_context.py:1046\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e935a87be294d0fe742e93fa5c8bd4d1e6229b8fa2e1c26a632ad71d6b17067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201364 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:6885-6948 | libs/agno/agno/workflow/workflow.py:8923-8980 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6885}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cb0b7ca7664006ddb1d6cfd647d29444e29f3796dfcfdd22f0405f8b25c1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201363 lines \u00D7 2): libs/agno/agno/agent/_run.py:2945-3007 | libs/agno/agno/team/_run.py:6988-7038 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060\u0022TeamRunOutput\u0022\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a07ceff3e04950bfb7e84fd7817ed34167d4bf5932f48994f64511e624f30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): libs/agno/agno/agent/_response.py:1084-1145 | libs/agno/agno/agent/_response.py:1250-1311 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75a38beca2c3a66a12523d113144537e7b4f54c658f2c68c1f9af3ced88955d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): libs/agno/agno/team/_response.py:1036-1097 | libs/agno/agno/team/_response.py:1198-1259 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f04930fc562b052bdc3ba470ea66987b14ea2bc811fbead24eeeae05e9989e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): libs/agno/agno/team/_run.py:2358-2419 | libs/agno/agno/team/_run.py:3296-3357 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"becca9b2c03ada6a725a22abcea802d2cc3453633beaa8d8bb6e068d8bdbbae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): libs/agno/agno/workflow/loop.py:472-533 | libs/agno/agno/workflow/loop.py:870-931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py:472\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"9931d701ff550b21e21ac4aa73673db09632926066f8a89963e83236c565509c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60\u201361 lines \u00D7 2): libs/agno/agno/agent/_run.py:2368-2427 | libs/agno/agno/agent/_run.py:5551-5611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:2368\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2368}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ad9c655e30c8e680d632e782aa1a5e671565fa3c5dfd841c3af8f6d9cda2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): libs/agno/agno/team/_messages.py:1393-1453 | libs/agno/agno/team/_messages.py:1552-1612 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_messages.py:1393\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"914390ca65877fa785719610420085491f2d2275bb9a40f0c0f03959cd628c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): libs/agno/agno/agent/_messages.py:1678-1737 | libs/agno/agno/agent/_messages.py:1848-1907 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:1678\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72bada03050af66ddcc268ac2a4bbc6c0b94ea965fc0b3d75a011973c4ad866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1297-1375 | libs/agno/agno/db/mongo/mongo.py:1107-1185 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1297\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac58bcef7484e619d006921f5ab051218007836f2544c8d6ea9339e5dc1bd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): libs/agno/agno/workflow/loop.py:683-742 | libs/agno/agno/workflow/loop.py:1080-1139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py:683\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e7c5e2394ad0ed1693e13d0363bd9305e0a2aa9f10810717e583ba157478c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201359 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3507-3565 | libs/agno/agno/workflow/workflow.py:4548-4605 | libs/agno/agno/workflow/workflow.py:8355-8403 | libs/agno/agno/workflow/workflow.py:10118-10166 \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. 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7a6696ac985a96c8ac3213914fc1991f40bcbd94bc80237835282b2499ef1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201359 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:788-845 | libs/agno/agno/db/json/json_db.py:859-917 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc22e05d8edcaa9f6fe22286ee084d0969902c24cfa2b636c18904085269f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201359 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:854-907 | libs/agno/agno/db/valkey/valkey.py:999-1057 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdbba7d2c757e0a94d3610d40b85580092c67a88c68e18d08f378169a792298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58\u201359 lines \u00D7 2): libs/agno/agno/models/google/gemini.py:1295-1352 | libs/agno/agno/models/google/gemini.py:1445-1503 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d371df6080525e44115d6d2f7195dfd41ec26090831715cb28f8f261dad18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201359 lines \u00D7 2): libs/agno/agno/team/_run.py:463-516 | libs/agno/agno/team/_run.py:1303-1361 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ca982f98fc2d0220a59541b68675897cde64f94bd5d4c447b43063ff236898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98\u2013104 lines \u00D7 2): libs/agno/agno/team/_run.py:631-728 | libs/agno/agno/team/_run.py:1528-1631 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:628\u0060 calls \u0060raise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:1527\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3060227a64f5db7fbbf11bc523c8a132fcc4f390008cfb02a52d5907c4d35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201358 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6873-6929 | libs/agno/agno/db/sqlite/sqlite.py:6682-6739 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6873}}}],"partialFingerprints":{"codehealthFindingId/v1":"e987b9ec9fdf9acd865350b2be8ca548fda3507bba4f9c7cf7df7ae30574d43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201358 lines \u00D7 2): libs/agno/agno/team/_run.py:283-334 | libs/agno/agno/team/_run.py:1166-1223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:283\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_run.py:280\u0060 calls \u0060raise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:1165\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f71528df78f3edca214f13dae4b4a2d941fbee331508d90b956e70a802e1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201357 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:3949-4005 | libs/agno/agno/db/postgres/postgres.py:4487-4542 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:3949\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da9d91dffa4a1df91ae3cf75d94ce084ec9b90a15f4a4c56da45e129310c7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7687-7743 | libs/agno/agno/db/sqlite/sqlite.py:7490-7546 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7687}}}],"partialFingerprints":{"codehealthFindingId/v1":"263e0545794abbf4133d9d16a23b54e17862e85eb2ef7d88888fe13e803edca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201357 lines \u00D7 2): libs/agno/agno/knowledge/loaders/gcs.py:91-147 | libs/agno/agno/knowledge/loaders/gcs.py:181-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 \u0060libs/agno/agno/knowledge/loaders/gcs.py:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"af75a7a09b87d5f5e594f145a4f5e3f58efb6e2790275fa74ea57fead7592d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201357 lines \u00D7 2): libs/agno/agno/learn/stores/learned_knowledge.py:892-948 | libs/agno/agno/learn/stores/learned_knowledge.py:976-1018 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac83cdc534cb1c63c6484837240f2f113b5c0b59bc947e42e5769d08a827e284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90\u201391 lines \u00D7 2): libs/agno/agno/workflow/steps.py:459-549 | libs/agno/agno/workflow/steps.py:764-853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/steps.py:459\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3605cfb8c5705279abb4c25472b71161453c925d8cbb97e0e9ac77c2225cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:4943-4999 | libs/agno/agno/workflow/workflow.py:5146-5202 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:5012\u0060 calls \u0060upsert_run\u0060, \u0060_apersist_session_and_run\u0060 and \u0060libs/agno/agno/workflow/workflow.py:5205\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4943}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7db26ae850b95ff423e43f29f0ff8557d07a7b21fddcc5d1232889edde9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201356 lines \u00D7 3): libs/agno/agno/agent/_run.py:3488-3543 | libs/agno/agno/agent/_run.py:4840-4888 | libs/agno/agno/agent/_run.py:5362-5411 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8261566d44a37432b4398c22298676398bfb9dde7d29ddf3954cafbbaa3bbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1537-1592 | libs/agno/agno/db/sqlite/async_sqlite.py:1463-1518 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:1537\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb1dc94594f1f182c75ab6a2e930aaa6f13fb32e86d858ea55a087216e874de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1720-1775 | libs/agno/agno/os/routers/teams/router.py:1591-1646 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1720\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"0623a9277bf90a81fd7ddcf56bae5faa1678e40b648ce837f5aa0d0710de84ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): libs/agno/agno/workflow/router.py:672-727 | libs/agno/agno/workflow/router.py:1006-1061 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/router.py:672\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/router.py:1063\u0060 calls \u0060getattr\u0060, \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/router.py:729\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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf10210b8b08992782f9512b0ae0044790a5dbc12d2fd16d9e6533a05ac0066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): libs/agno/agno/workflow/step.py:3160-3215 | libs/agno/agno/workflow/step.py:3438-3493 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3b818899200a1359d52e362d8ec79560236a7772c69bb4e1c9f9844b5b046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1712-1766 | libs/agno/agno/db/sqlite/sqlite.py:1672-1726 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:1712\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"4070b77b1dd007fe9a1bdeaa4d83ab40c201202d7e48bc0c78bacbc0974b1c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201354 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3219-3271 | libs/agno/agno/db/postgres/postgres.py:4054-4107 | libs/agno/agno/db/singlestore/singlestore.py:3212-3264 | libs/agno/agno/db/sqlite/sqlite.py:3988-4041 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e98464954cbd17c0e5e2c58cc1bc0b4b8681edc660c74dcaf5c93323fe459a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): libs/agno/agno/eval/reliability.py:277-330 | libs/agno/agno/eval/reliability.py:352-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/reliability.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1940510c4cda56accb7282f36bf4399a1ec068050a669e7c618020c57493f764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:335-388 | libs/agno/agno/fs/toolkit.py:748-801 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb0780d176e458fb5bd31f93747a37c7ee3eff6ccaca8217316f10c34947c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): libs/agno/agno/workflow/steps.py:288-341 | libs/agno/agno/workflow/steps.py:594-647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/steps.py:288\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060libs/agno/agno/workflow/steps.py:342\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/steps.py:650\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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d256e115607c05ea06937e78617d624024c9f0013ea7f7e05cdb7f5ed1516c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201353 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7404-7456 | libs/agno/agno/db/sqlite/sqlite.py:7209-7260 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f8dba79712a7452b3340f8ee1ddf019ac708ab726352f7bffdcf22e3ed003e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201353 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:716-768 | libs/agno/agno/knowledge/knowledge.py:810-842 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e3162719b3a82ba5419625b60ba42a6974bbe5adbf7ed31851a4747767838d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): libs/agno/agno/run/agent.py:78-130 | libs/agno/agno/run/team.py:64-116 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0702a1119b7c6f1e80f54790967fead209d1aae0266b357f5b08812c3a6f0d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (109 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:8166-8274 | libs/agno/agno/workflow/workflow.py:9929-10037 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:8166\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe1613500f19dbb59178b6b2e16636f60a3aa9dd79b27ee04297738adc0e740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1565-1615 | libs/agno/agno/db/mysql/mysql.py:1570-1621 | libs/agno/agno/db/singlestore/singlestore.py:1605-1656 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1565\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e6932153f28ae6669da1c5dff080bc571dd9e8d80bd7f04e4ecaccbe47e6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201352 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1626-1676 | libs/agno/agno/db/mysql/mysql.py:1630-1681 | libs/agno/agno/db/singlestore/singlestore.py:1665-1716 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1626\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"96257e9ef1a6f709c6988c4545e8669276c63c1926c38de051ced1b9fcc8e25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201352 lines \u00D7 2): libs/agno/agno/agents/antigravity/agent.py:243-291 | libs/agno/agno/tools/antigravity.py:214-265 \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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a510f60169ba1cd5c92eaf4d63ed2ab86ee81d5e30d43ff3629b32bb7fc1dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201351 lines \u00D7 2): libs/agno/agno/db/base.py:343-392 | libs/agno/agno/db/base.py:2871-2921 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/base.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a829362ea909232dd13a01e05372eac657e31042c9d7f1a8b27f3e56b0e5938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201351 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:226-276 | libs/agno/agno/db/mongo/mongo.py:132-176 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"819acfa363bf1a8031c7a657613028b043c2c88f30930b73e4e7efb705c67079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7601-7651 | libs/agno/agno/db/sqlite/sqlite.py:7404-7454 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b671e198d3cf4d27743393745c95524020d84b22ddc2b9056069e0ce0c2343f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:936-986 | libs/agno/agno/db/valkey/valkey.py:1086-1136 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fa76a2de06b05d95750ae9f40c8c48a640e828e8d8588058f6144334afbdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201351 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:652-702 | libs/agno/agno/os/routers/teams/router.py:551-594 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:652\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"2531febe01b3ffbad79ad8f84f1b9bdf99b9a273664476f7bae5a1051216654d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201351 lines \u00D7 2): libs/agno/agno/tools/searchapi.py:99-149 | libs/agno/agno/tools/searchapi.py:158-205 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/searchapi.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ab5e20c1e6244a3bd116ecdd031deefc1c785736f27356592944455f87dfd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201350 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1028-1077 | libs/agno/agno/agent/_messages.py:1325-1374 | libs/agno/agno/team/_messages.py:497-543 | libs/agno/agno/team/_messages.py:751-797 \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 \u0060libs/agno/agno/agent/_messages.py:1028\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b6df803a53e7ba6b5a52144371fb0d355fd9c97ab2bad41370062d9c3838a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3120-3169 | libs/agno/agno/db/postgres/postgres.py:3944-3993 | libs/agno/agno/db/singlestore/singlestore.py:3113-3162 | libs/agno/agno/db/sqlite/sqlite.py:3878-3927 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:3120\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7524b61548e24de999000989ebc59896fad77f2c387bab814e2d48c93cccd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): cookbook/02_agents/18_checkpointing/01_crash_recovery.py:103-152 | cookbook/03_teams/23_checkpointing/01_crash_recovery.py:101-150 \u2014 before extracting anything, compare \u0060cookbook/02_agents/18_checkpointing/01_crash_recovery.py\u0060 and \u0060cookbook/03_teams/23_checkpointing/01_crash_recovery.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"929a5d7147851cd9616e8fac6227e7e8d6fe1f2997ebf9f39ff92a6ba35acbca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201350 lines \u00D7 2): libs/agno/agno/agent/_messages.py:2641-2690 | libs/agno/agno/team/_default_tools.py:1826-1874 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b122a719468d42905d395e97521f597be430c2d7c78035079045638370050b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:489-538 | libs/agno/agno/db/sqlite/sqlite.py:499-548 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1329f06290aa6efe15dc386c58e6b9da7621238639a9ff603e51c1623efdc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): libs/agno/agno/team/_messages.py:633-682 | libs/agno/agno/team/_messages.py:889-938 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e741834872b1d1139d59b0f454a3f655d2254f4498a055d897b6cbff46527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): libs/agno/agno/workflow/step.py:3009-3058 | libs/agno/agno/workflow/step.py:3286-3335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:3009\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e1537169495d1411b1757ad7c827d55e7564aa5b7767bf053e0b8b6ec528e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 4): libs/agno/agno/models/openai/chat.py:433-481 | libs/agno/agno/models/openai/chat.py:523-571 | libs/agno/agno/models/openai/chat.py:610-658 | libs/agno/agno/models/openai/chat.py:699-747 \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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307c90438159cfce5cf615211cf76d0674089cb42c0c0d63b1bd015f42ba466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 4): libs/agno/agno/models/openai/responses.py:937-985 | libs/agno/agno/models/openai/responses.py:1058-1106 | libs/agno/agno/models/openai/responses.py:1167-1215 | libs/agno/agno/models/openai/responses.py:1271-1319 \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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d38df8b1e049b735e5b8d63cc65520d4f18d89881d379aba71e96727f95bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93\u201395 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2799-2891 | libs/agno/agno/db/postgres/async_postgres.py:3043-3135 | libs/agno/agno/db/sqlite/async_sqlite.py:3281-3375 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"688a27b12cb01150f91ddc10a6510b0c86a81eb7641079496044c6541ec860ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3179-3227 | libs/agno/agno/db/postgres/async_postgres.py:3423-3471 | libs/agno/agno/db/sqlite/async_sqlite.py:3663-3711 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15dc995bdce951fcb11d2ec50a9683e60ec1f19df7890beaf1c9ac7669274e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2470-2518 | libs/agno/agno/db/json/json_db.py:2628-2672 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"692595e9549981643e79c85a1cd23a8ca5d8ac3ec3310988ddd99edadaf3df3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:591-639 | libs/agno/agno/db/postgres/postgres.py:1053-1101 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f13c84c4efda8932bdc476c402ad72d17d01de08bd9c32d6f434d76eab6a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201349 lines \u00D7 8): libs/agno/agno/db/postgres/async_postgres.py:7975-7977 | libs/agno/agno/db/postgres/async_postgres.py:8044-8092 | libs/agno/agno/db/postgres/async_postgres.py:8253-8255 | libs/agno/agno/db/postgres/async_postgres.py:8282-8284 | libs/agno/agno/db/sqlite/async_sqlite.py:7189-7191 | libs/agno/agno/db/sqlite/async_sqlite.py:7258-7306 | libs/agno/agno/db/sqlite/async_sqlite.py:7467-7469 | libs/agno/agno/db/sqlite/async_sqlite.py:7496-7498 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:8044\u0060 it does not close everything it opens, so those exact 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 after the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:8256\u0060 calls \u0060execute\u0060, \u0060where\u0060, \u0060scalar\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:7978\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7975}}}],"partialFingerprints":{"codehealthFindingId/v1":"6903b2cad3a319d6c87a61e09884600eb4afabf6a2c2cf28459847e39b791388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201348 lines \u00D7 4): libs/agno/agno/session/agent.py:198-245 | libs/agno/agno/session/team.py:211-256 | libs/agno/agno/session/workflow.py:269-316 | libs/agno/agno/session/workflow.py:383-428 \u2014 before extracting anything, compare \u0060libs/agno/agno/session/agent.py\u0060 and \u0060libs/agno/agno/session/team.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"199c8b9390baf7b8ff33f6ff57e8eee7736c7447c9013450ec7d0262c353ee4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201348 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:140-187 | libs/agno/agno/db/singlestore/singlestore.py:140-184 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py\u0060 as WHOLE FILES: this scan already matched 90 separate duplicated blocks between them, totalling at least 1385 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 \u0060libs/agno/agno/db/mysql/async_mysql.py: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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddc7d3f399395e3e0bf7341ee7c5531d409fa532a1f29272892c99b240e827f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:3695-3742 | libs/agno/agno/db/mysql/mysql.py:3645-3691 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3695\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8aa68f420439da5324dbe34682cc0117447f75a0f5cbbe68d2fda9095dd27e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1953-2000 | libs/agno/agno/db/valkey/valkey.py:2286-2333 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b778fda7aa4acb2df646739562d43e2989fe005622e81aaf6a4875e4d8ecd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2535-2580 | libs/agno/agno/db/postgres/postgres.py:3366-3411 | libs/agno/agno/db/singlestore/singlestore.py:2527-2572 | libs/agno/agno/db/sqlite/sqlite.py:3303-3349 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2535\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef68d7befba88ef66b4fdd03cb8f5cb0def4f6166c664250cb134c3ac780912d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4251-4297 | libs/agno/agno/db/postgres/async_postgres.py:4543-4589 | libs/agno/agno/db/sqlite/async_sqlite.py:4741-4787 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6353bf82058f3c0f3f74820f381c5cda582a6c7eddad4e87ad883449b4b15a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201347 lines \u00D7 2): libs/agno/agno/agent/_init.py:123-169 | libs/agno/agno/team/_init.py:729-770 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"364251f1df8c8442163d57a34ff5f72ad66b4656732f2e77bf676dedcac555b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201347 lines \u00D7 2): libs/agno/agno/agent/_run.py:3011-3054 | libs/agno/agno/team/_run.py:7042-7088 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060\u0022TeamRunOutput\u0022\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fffc143bc55ee996b3347b517b97b0acba5e6322141815c926cb2e1ad5137b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_0.py:694-740 | libs/agno/agno/db/migrations/versions/v2_5_0.py:824-870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:694\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ba31a6abc7260c6b58b04861dea8fee214d81a747d898f03c32da0b070bae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201347 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:607-643 | libs/agno/agno/db/postgres/async_postgres.py:898-944 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"0200e466cf18423edd6a58233880bc592384fdc3894b318ae2b0cd3a80e8fe37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:5761-5806 | libs/agno/agno/db/sqlite/sqlite.py:5621-5667 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:5761\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f733866047e8b3c7377e27ccfab0567c5a52029e9dbb33c45729771a932ea42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6538-6584 | libs/agno/agno/db/sqlite/sqlite.py:6396-6442 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6538\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbc4aa0c043aface2001796b3c47caebd25aeb3d220ea339ff765738b3d3130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10765-10825 | libs/agno/agno/db/sqlite/sqlite.py:9706-9766 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:10765\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10765}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e7f7dd45ca9f765653f7cf8664ca1b401a76fdb88daffc125134a320722bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2785-2831 | libs/agno/agno/db/valkey/valkey.py:3132-3178 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce30a3209376f965bbc3b9670584b74e3d92d19da9f775dfa8dc35ae795648e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): libs/agno/agno/team/_run.py:768-814 | libs/agno/agno/team/_run.py:1634-1680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"90944069b79d2469c213ca98e2470130afade075ce33365f4d03e4b1b6b75d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201347 lines \u00D7 2): libs/agno/agno/team/_run.py:2898-2942 | libs/agno/agno/team/_run.py:3962-4008 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:3962\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f671a1f686060526cbdc50db23823f4cefda4f00851de9413d9ba25b6fd273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201347 lines \u00D7 2): libs/agno/agno/team/_run.py:5580-5624 | libs/agno/agno/team/_run.py:5669-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 \u0060libs/agno/agno/team/_run.py:5580\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":5580}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4aca4cddee9e2a6e541827655b83bcd01fb44c9ca26ad5d76478fb7d074364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:4192-4237 | libs/agno/agno/db/postgres/postgres.py:5079-5124 | libs/agno/agno/db/singlestore/singlestore.py:4096-4141 | libs/agno/agno/db/sqlite/sqlite.py:4896-4940 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8be2749b3ea88525f3d89a987fcea9b26590499930638e95b15b23f8cef2f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1637-1691 | libs/agno/agno/db/in_memory/in_memory_db.py:1370-1424 | libs/agno/agno/db/json/json_db.py:1742-1796 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1637\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1cee3b3519ce9f8bbefd6608e6e3004a119708bf8ab7a7557c42906c328a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4190-4235 | libs/agno/agno/db/mysql/mysql.py:4131-4176 | libs/agno/agno/db/singlestore/singlestore.py:4036-4080 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1496b06992d50d0fc03f040927d666331e613d76e138af6cc55d13ec4888a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:325-369 | libs/agno/agno/db/json/json_db.py:369-414 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ba4e83d6d268a50c9053689c98d8110ca283af769f06dc890356f8abd6cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2459-2504 | libs/agno/agno/db/singlestore/singlestore.py:2451-2496 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2459\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df8d6fb8b0a58b3557bfac6cb32fd174cf2e1c6816743b30b0fda9a00fbd2d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): libs/agno/agno/vectordb/upstashdb/upstashdb.py:330-375 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:691-736 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/upstashdb/upstashdb.py:377\u0060 calls \u0060embed\u0060 and \u0060libs/agno/agno/vectordb/upstashdb/upstashdb.py:738\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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd78dc6d5ac580223a05adf0a1952670bb17102b5c62a55063b110e7349351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): libs/agno/agno/workflow/condition.py:682-727 | libs/agno/agno/workflow/condition.py:1135-1180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:682\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"307a4f95693eecf63745781b62e3d70ad1be239f994798bced4b038861ba2eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201345 lines \u00D7 6): libs/agno/agno/client/os.py:576-620 | libs/agno/agno/client/os.py:638-677 | libs/agno/agno/client/os.py:839-878 | libs/agno/agno/client/os.py:896-935 | libs/agno/agno/client/os.py:1130-1168 | libs/agno/agno/client/os.py:1186-1225 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/os.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e34774a03002c72116a3389e12e296176816018cccedf2e70852c809415c021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 4): libs/agno/agno/workflow/step.py:1289-1333 | libs/agno/agno/workflow/step.py:1641-1685 | libs/agno/agno/workflow/step.py:2012-2056 | libs/agno/agno/workflow/step.py:2370-2414 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: \u0060Team\u0060 names \u0060agno.team\u0060 in one and \u0060agno.team.team\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d4524b9a9f3506155b4ba766f524d8aa81f1d78c26bf5c1fc66a761a103c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201345 lines \u00D7 3): libs/agno/agno/team/_run.py:7610-7654 | libs/agno/agno/team/_run.py:9494-9534 | libs/agno/agno/team/_run.py:9981-10021 \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 \u0060libs/agno/agno/team/_run.py:9494\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b4d2a452043e8624bf9fda690b9e2d0f676c889be3650d70259c3874ea703a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py:122-166 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py:174-218 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py\u0060 and \u0060cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8b4b270420947613ebad5fb9c146e952744638d46c3e6b0c77158cc2000154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:104-148 | libs/agno/agno/team/_default_tools.py:1617-1661 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a82669778ed1e60aba12049a030814f1445fdbebd6a0fe0eaf129f6f941558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_0.py:373-417 | libs/agno/agno/db/migrations/versions/v2_5_0.py:505-549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:373\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf7673a13e32cfe311c42e06c3f345c707575f33d12c17c3439516c8079a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201345 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:5698-5742 | libs/agno/agno/db/sqlite/sqlite.py:5563-5602 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1911a99062b01c60493d5258f0c7e15f4c9f347835d3f1d81fafc3d1f18cd65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2566-2610 | libs/agno/agno/db/valkey/valkey.py:2905-2949 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:2566\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"33903db6f8a4ee7fe6ea8e53ac2610218d991f36903e97307c3792e12984a809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201345 lines \u00D7 2): libs/agno/agno/learn/stores/decision_log.py:378-422 | libs/agno/agno/learn/stores/decision_log.py:445-470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/decision_log.py:445\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b52fcd8224deabd9ae33a3e4d0dca661fb625213cab099382aa26d0ee691cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/models/base.py:1131-1175 | libs/agno/agno/models/base.py:1201-1245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:1131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf585fd2544e2a2342ed02f1ef04dc428cfa22e9d710ae684e28b358285059b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201345 lines \u00D7 2): libs/agno/agno/models/google/gemini.py:1854-1898 | libs/agno/agno/models/google/gemini.py:1919-1953 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef09f30e700f6801571104ea2b2bdbe21ad1988d6b0f6d3a4ab6690582ad441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201345 lines \u00D7 2): libs/agno/agno/os/routers/agents/schema.py:279-320 | libs/agno/agno/os/routers/teams/schema.py:232-276 \u2014 \u0060libs/agno/agno/os/routers/agents/schema.py\u0060 and \u0060libs/agno/agno/os/routers/teams/schema.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 157 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aea5317b207007dd61991dfa5731e6650a05e0d80f0492b76b08360cc0f65d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/team/_run.py:2702-2746 | libs/agno/agno/team/_run.py:3833-3877 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:2702\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"70be61be3d028bbbbcd081eb55f1c97d4db67d4165d80285223ebaaa6520ab3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/team/_run.py:10247-10291 | libs/agno/agno/team/_run.py:10367-10411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:10247\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_run.py:10295\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:10416\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":10247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1384c03bc46b55e2d318daab90e25fc1276a5d55ed6871b39dd993fd5e52d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/tools/google/gmail.py:640-684 | libs/agno/agno/tools/google/gmail.py:705-749 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"05689719a98a894c6cbd46e676e2fe8fe54363486001fec1978f4244de7023bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/workflow/step.py:1371-1415 | libs/agno/agno/workflow/step.py:2094-2138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1371\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec26d4a8dd52afd30662b394586b6d0d7bad489e90f9beccf96c9c398de9cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201345 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:6751-6795 | libs/agno/agno/workflow/workflow.py:8786-8828 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:6751\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6751}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd91b98d8146c0dbfdd07d274ce848221b9be27a725e70868d0172bf360f014f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/security_group.py:376-420 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:511-555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d595185c89177a9d27186ae6cf045fda7d814ecbb407d086cd74c6cefa59f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 3): cookbook/02_agents/14_advanced/cancel_run.py:48-91 | cookbook/03_teams/14_run_control/cancel_run.py:54-96 | cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py:54-96 \u2014 before extracting anything, compare \u0060cookbook/03_teams/14_run_control/cancel_run.py\u0060 and \u0060cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py\u0060 as WHOLE FILES: this scan already matched 3 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0435c3a68b190a6b43695378436808c769c8a0aabd9bc8af334d64d1b404348a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2551-2593 | libs/agno/agno/db/postgres/async_postgres.py:2803-2845 | libs/agno/agno/db/sqlite/async_sqlite.py:3041-3084 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2551\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c262dd133b7e943d3e71d091391b36f121c1b233b66137e9fe35190520638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:4203-4246 | libs/agno/agno/db/firestore/firestore.py:3771-3814 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb725648d4a3e29c87778e07d94653521f9f3e928cc9d9ec6096984c6da9a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7093-7135 | libs/agno/agno/db/sqlite/sqlite.py:6901-6944 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:7093\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7093}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b2049efa4eb64e93aaaf834c96492adc222d44f869a448d81b8b862069b253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201344 lines \u00D7 2): libs/agno/agno/os/utils.py:1781-1824 | libs/agno/agno/os/utils.py:1871-1889 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"609659aa7a50f7c5ba6c90ad9ac1a975ee41e19410ce5fcc7464f5171d6527f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201344 lines \u00D7 2): libs/agno/agno/run/approval.py:364-407 | libs/agno/agno/run/approval.py:875-913 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb46fe4e225d62144493fae8950137dcfcba38cb0eed64687aa11188f9f901c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201343 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1171-1208 | libs/agno/agno/db/postgres/postgres.py:2017-2059 | libs/agno/agno/db/singlestore/singlestore.py:1217-1254 | libs/agno/agno/db/sqlite/sqlite.py:1982-2023 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0851ffaf420c7365c48fb4c679109086d0ceb240a309a7e5c2d81f989f666a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201343 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:4843-4885 | libs/agno/agno/db/postgres/postgres.py:5376-5418 | libs/agno/agno/db/sqlite/async_sqlite.py:5044-5084 | libs/agno/agno/db/sqlite/sqlite.py:5203-5243 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4843}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fb0d0e0b058399d69c873eb6711da7756f941acefc6fe652bb062dafb2ba82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201343 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:7065-7106 | libs/agno/agno/db/postgres/postgres.py:7343-7376 | libs/agno/agno/db/sqlite/sqlite.py:6873-6915 | libs/agno/agno/db/sqlite/sqlite.py:7151-7181 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:7065\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7065}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc7163f4b7652fc484461ce2b20ef94230baba1d87dd6585cc97997498a4c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201343 lines \u00D7 2): cookbook/02_agents/12_multimodal/media_input_for_tool.py:29-71 | cookbook/03_teams/19_multimodal/media_input_for_tool.py:25-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. 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":"cookbook/02_agents/12_multimodal/media_input_for_tool.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"67520c44d3c3b62b646cdaca54657044bc04fd986bdbc858aeb08ebee22e17ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201343 lines \u00D7 2): cookbook/performance/comparison/run_all.py:133-173 | cookbook/performance/run_all.py:63-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. 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":"cookbook/performance/comparison/run_all.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d3580caeac72ca5c95e24ad22f1550fa72cb9ad1435660fc02e1129d3bdf6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201343 lines \u00D7 2): libs/agno/agno/agents/antigravity/agent.py:170-212 | libs/agno/agno/tools/antigravity.py:141-179 \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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7358b661481d1e8996ccf95dcdb588ab16b2cd98c83f22874a0cb073cc29d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2906-2948 | libs/agno/agno/db/valkey/valkey.py:3253-3295 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2906}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76dc0c6805c3fce55e4df72ddbf053604ed0c7ab87bb91116dd6f5eebdaee6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): libs/agno/agno/models/deepseek/deepseek.py:142-184 | libs/agno/agno/models/openai/chat.py:315-356 \u2014 before extracting anything, compare \u0060libs/agno/agno/models/deepseek/deepseek.py\u0060 and \u0060libs/agno/agno/models/openai/chat.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. 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":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7c25e18c1399caa04270503793c6fd888aaadb92feaabd7f79d7d6aa1919e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): libs/agno/agno/scheduler/manager.py:223-265 | libs/agno/agno/scheduler/manager.py:473-515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/scheduler/manager.py:223\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f12c9a6ed58ff5674b49cf47e35632c0fa219556c80361917516f68353e3d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): libs/agno/agno/team/team.py:1896-1938 | libs/agno/agno/workflow/workflow.py:11950-11992 \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. Note first that the copies are not typed on the same thing: \u0060Registry\u0060 names \u0060agno.registry\u0060 in one and \u0060agno.registry.registry\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":"libs/agno/agno/team/team.py"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4cbab3669e806c4a5d9259462d516d3c8562b061fd0da31ab467b37febcd7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201343 lines \u00D7 2): libs/agno/agno/tools/reddit.py:357-399 | libs/agno/agno/tools/reddit.py:438-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/reddit.py: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. 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":"libs/agno/agno/tools/reddit.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"92747ee5b5338666dbc6a583983e18f9162788917fc855fd24df1c8e295811fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201343 lines \u00D7 2): libs/agno/agno/tools/shopify.py:378-416 | libs/agno/agno/tools/shopify.py:801-843 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1aa29080e17f24a5f771a830fee99dd6e76a75a1652b5744032c27124e8aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201343 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1588-1627 | libs/agno/agno/vectordb/opensearch/opensearch.py:1441-1483 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87922448877592fa268ccdda5c81d5707e1540ac806f90673af8a6700ceb137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): libs/agno/agno/workflow/loop.py:537-579 | libs/agno/agno/workflow/loop.py:935-976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py: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. 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d7a574e308fc0b2e06b9a7d9a94bb6bf58245105ab37ea9466164c3065749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201343 lines \u00D7 2): libs/agno/agno/workflow/router.py:798-837 | libs/agno/agno/workflow/router.py:1135-1177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/router.py:1135\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c117ccde2c4fe9307dc7d418409a2edf8c571556f91de98d7149144588cc6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1150-1191 | libs/agno/agno/agent/_messages.py:1450-1491 | libs/agno/agno/team/_messages.py:617-657 | libs/agno/agno/team/_messages.py:872-913 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_messages.py:1447\u0060 calls \u0060has_async_db\u0060, \u0060aget_user_memories\u0060 and \u0060libs/agno/agno/agent/_messages.py:1148\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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce194a0a04a62b3777a457c4c10b3b7bfd231e09ae31a22eb750e6c9dd1a4525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201342 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1156-1192 | libs/agno/agno/db/postgres/async_postgres.py:1782-1823 | libs/agno/agno/db/sqlite/async_sqlite.py:1713-1754 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"180714a1e603a9723c9861a3fc1dc7e2e4b85d0ac22773bce99818a236005f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2664-2704 | libs/agno/agno/db/postgres/async_postgres.py:2916-2956 | libs/agno/agno/db/sqlite/async_sqlite.py:3155-3196 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d760b8ce5fcc8817965c8dc36bd583cc018bf5dff1ad9b438211afce61e20d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py:73-114 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py:72-113 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py\u0060 and \u0060cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py\u0060 as WHOLE FILES: this scan already matched 3 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":"cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4ef7405ba9acc431ce92e3460d26971210903148e845f5da914f101d999ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:40-80 | libs/agno/agno/team/_default_tools.py:141-182 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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. Note first that the copies are not typed on the same thing: \u0060Agent\u0060 names \u0060agno.agent\u0060 in one and \u0060agno.agent.agent\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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03d9e2fb96275158baa536a7522a4d41296c0d90d1e336fcc790b028ecd331d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4095-4136 | libs/agno/agno/db/mongo/mongo.py:3903-3944 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4095}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e2bd2304aca612b625b7a8da32294f4a7d8342e518fdea1ec66da8438d90e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3017-3058 | libs/agno/agno/db/valkey/valkey.py:3366-3407 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3017}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d71d13bac83ad291688594a827cc288f4aee744756d3d2cd5ac76b4f40e43cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): libs/agno/agno/models/google/gemini.py:1051-1092 | libs/agno/agno/models/google/gemini.py:1104-1145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/google/gemini.py:1051\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3df4d1dce75605a9006e213e4dca9bbbad23c864f91c5aae3f53c8f69b0ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201342 lines \u00D7 2): libs/agno/agno/os/utils.py:2073-2114 | libs/agno/agno/os/utils.py:2158-2173 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b5d45601dfbe4d5704cd6ea13220c035d706406c3b47e69749162f72081400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 2): libs/agno/agno/utils/pprint.py:25-66 | libs/agno/agno/utils/pprint.py:109-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0a19a5cc15ea1b50b156449c3a936561d3480d5be2b255afb3a141bc63c834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (118 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:816-933 | libs/agno/agno/utils/print_response/team.py:1765-1882 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"560b2fc1127cbe5690133a5e4e9234ce11d3fbe0414c417cf28dddb436803af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 3): cookbook/02_agents/14_advanced/cancel_run.py:155-195 | cookbook/03_teams/14_run_control/cancel_run.py:162-197 | cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py:166-203 \u2014 before extracting anything, compare \u0060cookbook/03_teams/14_run_control/cancel_run.py\u0060 and \u0060cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060cookbook/02_agents/14_advanced/cancel_run.py:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"442ebdf195a8bb5248aabf01c77ebb38eaf83667bb6a01dbc11fa82bd0d89711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 3): libs/agno_infra/agno/aws/resources.py:177-217 | libs/agno_infra/agno/aws/resources.py:332-372 | libs/agno_infra/agno/aws/resources.py:480-520 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0204cf1ba0625598444df20397cd5bb7467e0ebfc159ebbcd96677214a272f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201341 lines \u00D7 2): cookbook/02_agents/20_time_travel/01_continue_from.py:81-111 | cookbook/02_agents/20_time_travel/02_fork_run.py:63-103 \u2014 before extracting anything, compare \u0060cookbook/02_agents/20_time_travel/01_continue_from.py\u0060 and \u0060cookbook/02_agents/20_time_travel/02_fork_run.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/02_agents/20_time_travel/02_fork_run.py:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/20_time_travel/01_continue_from.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c636beda643eafa5f60563ba9af5981d3453351fc05a9b8fb4e37b19531650d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/agno/agno/agent/_tools.py:491-531 | libs/agno/agno/team/_tools.py:345-385 \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 \u0060libs/agno/agno/agent/_tools.py:491\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"b500255d0c1bcfa6a27a009983e857373ebf741624d89f7a9825e9a553d83629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201341 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2625-2665 | libs/agno/agno/db/json/json_db.py:2779-2816 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a046690d017a3bf35d2b5ba33a27dc161fb114df9ff5f3c0dc56e5a9997f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2202-2242 | libs/agno/agno/db/postgres/postgres.py:3085-3125 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:2245\u0060 calls \u0060set_json_column_types\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:3126\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"833a021ec38ae79a4a7fe924d963bc95bf87d721629adaa581a9d1cc0a280049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/agno/agno/tools/spotify.py:113-153 | libs/agno/agno/tools/spotify.py:160-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":"libs/agno/agno/tools/spotify.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f5f9eb815a3ae139184d7d1762c51514bf3eef6eb8c1940736b6d529ca45c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:625-665 | libs/agno/agno/vectordb/pgvector/pgvector.py:865-905 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa11a75247cc78003fb1e326d09ad7521820ea405fc385d7e6b7b1adc582f049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3): libs/agno/agno/db/migrations/versions/v2_3_0.py:149-188 | libs/agno/agno/db/migrations/versions/v2_3_0.py:488-527 | libs/agno/agno/db/migrations/versions/v2_3_0.py:705-744 \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 \u0060libs/agno/agno/db/migrations/versions/v2_3_0.py:149\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5becbbcd531acf1b7bd8d162a57f61e31df4d107dea70acc046d8a07d02ebc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2902-2940 | libs/agno/agno/db/postgres/async_postgres.py:3143-3181 | libs/agno/agno/db/sqlite/async_sqlite.py:3383-3422 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/async_mysql.py:2901\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:3142\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2988ca1d7fdc47c1922fed0f5cf91b46de6a326567e790088545fb9b3a93e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:597-636 | libs/agno/agno/db/json/json_db.py:665-704 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a81140e9be46eaf46e93e32fc5fbe8ba41f1eddca06e02edac796b4d9a2ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2534-2611 | libs/agno/agno/db/json/json_db.py:2688-2765 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbf4b48b66e78f3bfd149e9d94499ecc219d25af2bd176059a2e2317a62208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201340 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1540-1577 | libs/agno/agno/db/mongo/mongo.py:1350-1389 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py: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. 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ecb03eb32c08ab413527839cafc1f1a2fc18ddb508e84c5e4037bfc2413a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201340 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1055-1088 | libs/agno/agno/db/postgres/async_postgres.py:1674-1713 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb30fcda01cf903fd65348a1fbac3dcbbd9464e32a489fb7c3e9479e5e9f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201339 lines \u00D7 4): libs/agno/agno/tools/spotify.py:207-243 | libs/agno/agno/tools/spotify.py:297-331 | libs/agno/agno/tools/spotify.py:342-379 | libs/agno/agno/tools/spotify.py:658-696 \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 \u0060libs/agno/agno/tools/spotify.py: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. 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 \u0060max_results\u0060 to \u0060int = 10\u0060 in one and \u0060int = 5\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":"libs/agno/agno/tools/spotify.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f732dbd5b3e58d0dc44caa70849bf824672b565fbcfb2c2029baa04d2ad692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201339 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1073-1105 | libs/agno/agno/db/postgres/postgres.py:1912-1950 | libs/agno/agno/db/singlestore/singlestore.py:1119-1151 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"401bdf602032f5dcfa46ac4a0c3ea54bce6e4aea1cb5694948a51436bf0ef48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 3): libs/agno/agno/workflow/step.py:1551-1588 | libs/agno/agno/workflow/step.py:2214-2252 | libs/agno/agno/workflow/step.py:2278-2316 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/workflow/step.py:1593\u0060 calls \u0060merge_dictionaries\u0060 and \u0060libs/agno/agno/workflow/step.py:2254\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2128ab3c422b41f5a8aabbbc82798a5878508aa9dab5d5c98a6c8b78033946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): libs/agno/agno/agent/_messages.py:890-928 | libs/agno/agno/team/_messages.py:1698-1735 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bf3a3258cd4e83065a0c3d80d47bee83816c4fb06cf6c6b6841b512444ec2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): libs/agno/agno/agent/_run.py:1719-1757 | libs/agno/agno/agent/_run.py:4997-5034 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1719\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"6017fffc7721861e271dd9e7649d583e40bc593f9731c6ee92f0e1d08ba59e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201339 lines \u00D7 2): libs/agno/agno/agent/_run.py:3203-3241 | libs/agno/agno/team/_run.py:7231-7255 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5956bd711db512148a8eb2a86fa9fa9f5b222a14153c66306f75bc730a953fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2120-2158 | libs/agno/agno/db/mongo/mongo.py:1922-1960 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060refreshes_collection\u0060 to \u0060AsyncMongoCollectionType\u0060 in one and \u0060Collection\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"679622b13bc874cf14ff2d663bbd997f54d76ca956c2f5eef3c78e6c986cb25d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1279-1317 | libs/agno/agno/db/valkey/valkey.py:1618-1656 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:1279\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75b084b3b8c46887fbbe25c48ff9779afe482f04cf33ad0e9a02dcf50c0e208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201339 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2659-2695 | libs/agno/agno/db/valkey/valkey.py:2997-3035 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd33a1bc95c1b2288ea28bc932aa93a70940276872798f198fbaee6a5de8d5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/agno/agno/models/base.py:1481-1519 | libs/agno/agno/models/base.py:1762-1800 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:1481\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f560b58c2b75b5a3eddf6ba8b02ea0175cee53d557aa2c728801cb330ca8865c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201339 lines \u00D7 2): libs/agno/agno/models/base.py:2345-2383 | libs/agno/agno/models/base.py:3075-3111 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc3b9721dfe52ef64a6e15af1158a9efb287a7e243d07eb9ef84f1f1e1eda0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/agno/agno/workflow/agent.py:121-159 | libs/agno/agno/workflow/agent.py:243-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":"libs/agno/agno/workflow/agent.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08615486dc9414c72966ce587092ea78191522a41428295b5e8736771f0a531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/agno/agno/workflow/step.py:1712-1750 | libs/agno/agno/workflow/step.py:2441-2479 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef8f5fa1b0e5948ad129d0a27e1bcda26a0ff794df0ea84c9c518a125ddc5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3522-3559 | libs/agno/agno/db/postgres/async_postgres.py:3777-3814 | libs/agno/agno/db/sqlite/async_sqlite.py:4023-4060 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3522}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1bacfe490fdd95feb2a3e20bb02aa6a6f6df2c4f975a042eac65c0f73a945b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): cookbook/02_agents/14_advanced/background_execution.py:48-85 | cookbook/03_teams/14_run_control/background_execution.py:62-99 \u2014 before extracting anything, compare \u0060cookbook/02_agents/14_advanced/background_execution.py\u0060 and \u0060cookbook/03_teams/14_run_control/background_execution.py\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060cookbook/02_agents/14_advanced/background_execution.py: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. 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":"cookbook/02_agents/14_advanced/background_execution.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee77332b66ec266e5a0bc6c3a40d7b6b8a3701c389884bc257a944830a077937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py:84-121 | cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py:84-121 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py\u0060 and \u0060cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8382fd1f2812671ff1153b8dfde1ec90e5e97bda24db226e8127b40a5116332b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/agent/_storage.py:642-679 | libs/agno/agno/agent/_storage.py:714-751 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/agent/_storage.py:711\u0060 calls \u0060has_async_db\u0060, \u0060cast\u0060, \u0060aread_session\u0060 and \u0060libs/agno/agno/agent/_storage.py:640\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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"0240752a0353688d66378e68d69cdeee612610a35a82918c65c89d8b3b7da019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2128-2164 | libs/agno/agno/db/sqlite/async_sqlite.py:2672-2709 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c022e4956949d3a734ca1943b4853a5451c16819b512af39982543ff6989f7dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1469-1505 | libs/agno/agno/db/sqlite/sqlite.py:2255-2292 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 141 separate duplicated blocks between them, totalling at least 2627 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0f8f5c7216fef23b89d4be41b5657116b89028b4c8515820dce7dd885675f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3287-3324 | libs/agno/agno/db/valkey/valkey.py:3684-3721 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e24481510ae276b57128e6f20fa343859072080ea87b87d02374c22507dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:428-481 | libs/agno/agno/eval/accuracy.py:570-623 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/accuracy.py:428\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ba53b593465d327a34f67ae05cb84158b4b66c050895f1515b7a6ef3716381"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1886-1923 | libs/agno/agno/os/routers/teams/router.py:1737-1774 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1886\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4455294d606b6bdfbb6d093976bf699e71806171f89a2093a97767429a0a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:584-621 | libs/agno/agno/team/_default_tools.py:657-694 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b6f5fe8d9e41be78962834c59b3cf061bcb146ed8ff5f05b770b3835aec563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/team/_run.py:731-768 | libs/agno/agno/team/_run.py:2663-2700 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"e515d4cfd3bfa24e6e0ef73283c6582e7d617d800859faaf7b4a9e44d73c79ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/team/_run.py:2151-2188 | libs/agno/agno/team/_run.py:2533-2570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:2151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b25bb8a095000011c4bf9c17c07b9f0500a9096f7dbb105a0a5aae32136d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/team/_storage.py:307-344 | libs/agno/agno/team/_storage.py:381-418 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_storage.py:378\u0060 calls \u0060_has_async_db\u0060, \u0060cast\u0060, \u0060_aread_session\u0060 and \u0060libs/agno/agno/team/_storage.py:306\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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"088466b818c2f5a9c17e8611b46e8db1beda121de147469b5245b9490cf68004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:615-652 | libs/agno/agno/tools/scheduler.py:1004-1041 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2588c4b50c1cd597a9e37926454072da0cf881e7460d5da2968e30c23c6ef666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:357-394 | libs/agno/agno/workflow/parallel.py:725-762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/parallel.py: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. 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3515f6b805b05d533cae5df991cd2740899f127b2e0a71fc9e282e93c71ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/workflow/step.py:1497-1534 | libs/agno/agno/workflow/step.py:2161-2198 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c144eddcb8865a547c890c2a90a3c70813f308a8b3412014b597a7294d52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5816-5852 | libs/agno/agno/workflow/workflow.py:6221-6258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:6221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd855c62aa9f32fbebb677bab3228c44699af5cf5fee99841b95fd8f49309674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3169-3205 | libs/agno/agno/db/mysql/mysql.py:3110-3146 | libs/agno/agno/db/postgres/async_postgres.py:3413-3449 | libs/agno/agno/db/postgres/postgres.py:3934-3970 | libs/agno/agno/db/singlestore/singlestore.py:3103-3139 | libs/agno/agno/db/sqlite/async_sqlite.py:3653-3689 | libs/agno/agno/db/sqlite/sqlite.py:3868-3904 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f0f48db9be3a3ecda2b4aa0236918bb7751552f7bd50e83369d9af837cab5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): libs/agno/agno/team/_run.py:320-356 | libs/agno/agno/team/_run.py:670-706 | libs/agno/agno/team/_run.py:1209-1245 | libs/agno/agno/team/_run.py:1572-1608 \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 \u0060libs/agno/agno/team/_run.py:320\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"048a9a2cfe4c3c4822a4640aa72853c26a886e5e6d75d5b3060d8f1d347783a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3180-3216 | libs/agno/agno/workflow/workflow.py:3705-3741 | libs/agno/agno/workflow/workflow.py:4185-4221 | libs/agno/agno/workflow/workflow.py:4750-4786 \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. 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3180}}}],"partialFingerprints":{"codehealthFindingId/v1":"24eab0dd3d3cbb6b93122a3463f330fed65176af7804aa51b6be145ab0a46202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2431-2467 | libs/agno/agno/db/mongo/mongo.py:2457-2491 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b5a54d93cf1a3993b95799c3d088a278974e4d529ba70800f2d6ea875c1f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1827-1863 | libs/agno/agno/db/json/json_db.py:1948-1984 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7cd4a9e7486f2dfa715c33487a32fe5f5a770bfb832bf11e248173c5b2c6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): libs/agno/agno/db/migrations/manager.py:49-85 | libs/agno/agno/db/migrations/manager.py:164-199 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060target_version\u0060 to \u0060Optional[str] = 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":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"169496a34275b620df98bb799b2ca5bcc50d32285cb73b7d8b4bb91d3649cc27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7236-7272 | libs/agno/agno/db/sqlite/sqlite.py:7045-7081 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7236}}}],"partialFingerprints":{"codehealthFindingId/v1":"018fc972540899df4aa09b377634a41f9535e5bcd271db950dfd26a76f716078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7552-7588 | libs/agno/agno/db/sqlite/sqlite.py:7355-7391 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7552}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5b28206039cd578b232c7d6591483917094888d61b8e259a35268f0a4bb8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:555-591 | libs/agno/agno/db/valkey/valkey.py:670-706 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"56062338bce761c666e838b7ebaf53a65355b38b0c049ec58db2695f5a328b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:269-305 | libs/agno/agno/fs/toolkit.py:695-731 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"80feaf2e46f608b5e19d85b21f6c6320bcfabbcf87293e2b491fd474332439f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201337 lines \u00D7 2): libs/agno/agno/knowledge/loaders/s3.py:98-131 | libs/agno/agno/knowledge/loaders/s3.py:191-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/loaders/s3.py:98\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/knowledge/loaders/s3.py:95\u0060 calls \u0060log_error\u0060 and \u0060libs/agno/agno/knowledge/loaders/s3.py:191\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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a061a806bd21e5f85de7853eba6f8cff3b6da49946d5412effbf69a5434f18aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201337 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:1329-1365 | libs/agno/agno/learn/stores/entity_memory.py:1379-1410 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"51236dca11f31cfa384167210de8e3ff19e58f208075b4f37938580cb08bc056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/models/openrouter/responses.py:83-119 | libs/agno/agno/models/ramp/router.py:110-146 \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":"libs/agno/agno/models/openrouter/responses.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"471edd0dc3dc53c28de61a211e107d025cee9f73d75931dcb0c06593ca485fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201337 lines \u00D7 2): libs/agno/agno/os/utils.py:1936-1972 | libs/agno/agno/os/utils.py:2016-2029 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"525024358b4e93899f79442a862f26d4aea4106188a1048c56c29161503b62e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): libs/agno/agno/run/approval.py:232-268 | libs/agno/agno/run/approval.py:295-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. 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3e804dd8f05dfd1560f3006aac32b645c98e13afb64994dd6143deae97e40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): libs/agno/agno/team/_run.py:2845-2881 | libs/agno/agno/team/_run.py:3907-3942 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:3943\u0060 calls \u0060merge_background_metrics\u0060, \u0060collect_background_metrics\u0060 and \u0060libs/agno/agno/team/_run.py:2883\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2845}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c39a80c6b332a161c8aaf9d0173c33357d67b84c4fab20e6cc166c7aa909a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201337 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:545-581 | libs/agno/agno/vectordb/couchbase/couchbase.py:1294-1326 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d996fc4078d9d3b2c15033f3c42734c898a34c928f066058003890bad03fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/vectordb/milvus/milvus.py:1079-1115 | libs/agno/agno/vectordb/milvus/milvus.py:1180-1216 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/milvus/milvus.py:1078\u0060 calls \u0060log_error\u0060 and \u0060libs/agno/agno/vectordb/milvus/milvus.py:1179\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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"defed112524099ea6c095c8391b2d884fe6ee6dee0c8ae8349df3381b937e159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/workflow/condition.py:493-529 | libs/agno/agno/workflow/condition.py:948-984 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f69523e56a1b1556a1a7793592c2c09ceb354ac5733e17c92dd39b42d5bd532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201337 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ecs/service.py:122-153 | libs/agno_infra/agno/aws/resource/ecs/service.py:336-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc3412d5b1e02657e933b5ab188f227f82ac3303818c6266ef7908f54e4385e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 4): libs/agno/agno/utils/print_response/workflow.py:75-110 | libs/agno/agno/utils/print_response/workflow.py:223-258 | libs/agno/agno/utils/print_response/workflow.py:936-971 | libs/agno/agno/utils/print_response/workflow.py:1084-1119 \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 \u0060libs/agno/agno/utils/print_response/workflow.py:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b7e2a0b9b402e970efdb3a434317b84a6d32f61bd83144ed6d10fb14e261ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201336 lines \u00D7 3): libs/agno/agno/db/firestore/firestore.py:567-578 | libs/agno/agno/db/firestore/firestore.py:1444-1475 | libs/agno/agno/db/firestore/firestore.py:3302-3337 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/firestore/firestore.py:1478\u0060 calls \u0060where\u0060, \u0060FieldFilter\u0060 and \u0060libs/agno/agno/db/firestore/firestore.py:580\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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c122db5498f1565b05c78e2fa4ea674f4a236b495469d4ac3fcab1c8fad8a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3009-3044 | libs/agno/agno/db/postgres/async_postgres.py:3247-3282 | libs/agno/agno/db/sqlite/async_sqlite.py:3489-3524 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3009\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/async_mysql.py:3008\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:3246\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfa85e7f93177e134ac799fd19b215c9202c462f23a9e7b69693b9ac6ab113a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4583-4618 | libs/agno/agno/db/postgres/async_postgres.py:4978-5013 | libs/agno/agno/db/sqlite/async_sqlite.py:5161-5196 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4583}}}],"partialFingerprints":{"codehealthFindingId/v1":"79023e7220c9e32632840da6e2f00c833f0b1c43b3b422a13b9ce2bed6242466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py:50-85 | cookbook/91_tools/mcp/mcp_toolbox_for_db.py:48-83 \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 \u0060cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76109e975737eaa51a43875dd97de82583254b2c278b57bdc3b5f124889c6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/agno/agno/agent/_run.py:1435-1470 | libs/agno/agno/agent/_run.py:2827-2862 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aaefffb384963ec61bfc4a5a89ffb53679a79601ce2ef9d61f01d0be5591143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/agno/agno/agent/_run.py:2613-2648 | libs/agno/agno/agent/_run.py:5769-5804 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/agent/_run.py:5768\u0060 calls \u0060RunOutput\u0060 and \u0060libs/agno/agno/agent/_run.py:2612\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"31038a6d8d8b7e50435eaae09ae782386874be634e23e581191f929f0879aa38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/agno/agno/agent/_tools.py:1209-1244 | libs/agno/agno/agent/_tools.py:1271-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_tools.py:1209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e6d63b6cec0a9d4b732b897cb405c41f16c51cc440251b19f0b1db148f958d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (82 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:655-736 | libs/agno/agno/db/json/json_db.py:723-804 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3be924aba6b675593bdd7ef0f9b5f39adfe7af0e0b1336c4bcd10cdcd77f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2208-2243 | libs/agno/agno/db/postgres/async_postgres.py:2518-2553 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbfb3b3a4e74b5a99adb37f8e49cfbc08d6d2aee5f3051b1ba7735e4920c359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:409-444 | libs/agno/agno/db/valkey/valkey.py:501-536 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d130eb0369276ca7684db3a547f2ab5c19494756b48553d1f229fef871e0452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): libs/agno/agno/models/base.py:847-882 | libs/agno/agno/models/base.py:1071-1105 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82f17f92e728402d8212714f8b08366e8b7121842775def4ed28fe9cc1ab39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/agno/agno/os/middleware/jwt.py:1171-1206 | libs/agno/agno/os/middleware/jwt.py:1355-1390 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/middleware/jwt.py:1171\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"05075d3aa82e5562a9c9d6b1443cc0b30851c7a2c2ddbf804f585bbdfd84b98a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1929-1964 | libs/agno/agno/os/routers/agents/router.py:2045-2079 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfb71336d04639fbbcdf679be964a73cee8c18f9d9ba0a30426aa292dc2f5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): libs/agno/agno/team/_run.py:914-948 | libs/agno/agno/team/_run.py:1705-1740 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:1705\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_run.py:1741\u0060 calls \u0060merge_background_metrics\u0060, \u0060collect_background_metrics\u0060 and \u0060libs/agno/agno/team/_run.py:950\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"584b5fe537683ed1bffb4e8efd9fa24a49ffd7651d67a4ecaebe1d1bc1304f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): libs/agno/agno/workflow/step.py:1247-1281 | libs/agno/agno/workflow/step.py:1961-1996 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"5593fd0b538c78b5ddae9e2d07850268162c93bf5fa255cce930d4f2833a2789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): libs/agno_infra/agno/cli/infra_cli.py:186-220 | libs/agno_infra/agno/cli/infra_cli.py:375-410 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa5017695c0c025bba1aff14d3e5a3602da91446da6d849a7b9af0da79c08bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 8): libs/agno/agno/db/mysql/mysql.py:1873-1905 | libs/agno/agno/db/mysql/mysql.py:3843-3877 | libs/agno/agno/db/postgres/postgres.py:2763-2795 | libs/agno/agno/db/postgres/postgres.py:4717-4751 | libs/agno/agno/db/singlestore/singlestore.py:1896-1928 | libs/agno/agno/db/singlestore/singlestore.py:3803-3837 | libs/agno/agno/db/sqlite/sqlite.py:2698-2731 | libs/agno/agno/db/sqlite/sqlite.py:4596-4630 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fda50baef1d89a3e4be069878e15dccf44f5b043085dfe1a717972b3b65a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 7): libs/agno/agno/db/mongo/mongo.py:3461-3495 | libs/agno/agno/db/mysql/async_mysql.py:4050-4084 | libs/agno/agno/db/mysql/mysql.py:3991-4025 | libs/agno/agno/db/postgres/async_postgres.py:4333-4367 | libs/agno/agno/db/postgres/postgres.py:4869-4903 | libs/agno/agno/db/sqlite/async_sqlite.py:4537-4571 | libs/agno/agno/db/sqlite/sqlite.py:5502-5536 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b582969643b1755108ad3629a8b286773434f2438a4dc5e7df4414e2895ecb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 6): libs/agno/agno/db/mysql/async_mysql.py:1870-1901 | libs/agno/agno/db/mysql/async_mysql.py:3900-3934 | libs/agno/agno/db/postgres/async_postgres.py:2273-2304 | libs/agno/agno/db/postgres/async_postgres.py:4181-4215 | libs/agno/agno/db/sqlite/async_sqlite.py:2430-2463 | libs/agno/agno/db/sqlite/async_sqlite.py:4384-4418 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246c33455d4785f193375cfd5e2cc8c50ed94840a9ec72ffeb4a0592fa9b9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2654-2688 | libs/agno/agno/db/postgres/postgres.py:3485-3519 | libs/agno/agno/db/singlestore/singlestore.py:2662-2696 | libs/agno/agno/db/sqlite/sqlite.py:3423-3457 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b0fe8b1cb592cc24213dbb96e0f009d39f06969759774c3102cb31d5db4d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3465-3499 | libs/agno/agno/db/postgres/postgres.py:4301-4335 | libs/agno/agno/db/singlestore/singlestore.py:3456-3490 | libs/agno/agno/db/sqlite/sqlite.py:4237-4271 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3465}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3e4014a7850b5a083dae396ba205fdcef21ea5a84dc8bdcf209c5c8e2084ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:4787-4823 | libs/agno/agno/db/postgres/postgres.py:5321-5357 | libs/agno/agno/db/sqlite/async_sqlite.py:4988-5024 | libs/agno/agno/db/sqlite/sqlite.py:5146-5182 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:4787\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:4786\u0060 calls \u0060percentile_cont\u0060, \u0060within_group\u0060, \u0060label\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4987\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9829ade8c3c8ccec105e3ca9c97e7caad8ce2e704247bf01966854d297489893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8373-8406 | libs/agno/agno/db/postgres/postgres.py:11097-11131 | libs/agno/agno/db/sqlite/async_sqlite.py:7587-7620 | libs/agno/agno/db/sqlite/sqlite.py:10038-10072 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:8373\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8373}}}],"partialFingerprints":{"codehealthFindingId/v1":"361401886c4417f30151bbeeb04af4743125af607583a42d5dede1ab9c1c4fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 4): libs/agno/agno/utils/print_response/agent.py:604-635 | libs/agno/agno/utils/print_response/agent.py:724-755 | libs/agno/agno/utils/print_response/team.py:85-119 | libs/agno/agno/utils/print_response/team.py:1020-1054 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060libs/agno/agno/utils/print_response/agent.py:604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921f8d007dd55c4a581105bd299abaa71507bab5c6369eb714d9bb9c06448c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): libs/agno/agno/db/gcs_json/utils.py:12-46 | libs/agno/agno/db/in_memory/utils.py:12-46 | libs/agno/agno/db/json/utils.py:12-46 \u2014 \u0060libs/agno/agno/db/gcs_json/utils.py\u0060 and \u0060libs/agno/agno/db/in_memory/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 1 separate duplicated blocks between them, totalling at least 35 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/utils.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"515509baf4ca2e722f21155d907121c47269a1eb89443fc9d62c87a72885bf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:4518-4552 | libs/agno/agno/db/postgres/postgres.py:5510-5544 | libs/agno/agno/db/singlestore/singlestore.py:4434-4468 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4518}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad4542eece647838892c70bae8a8860f7733065d53d2671d2f1421c660b0ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201335 lines \u00D7 3): libs/agno/agno/tools/anakin.py:112-138 | libs/agno/agno/tools/anakin.py:151-183 | libs/agno/agno/tools/anakin.py:197-231 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/anakin.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d608dfe1c78baa6bb56848d69aca449f148612d8ec05c84c8913e0640b8ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): libs/agno_infra/agno/cli/infra_cli.py:167-201 | libs/agno_infra/agno/cli/infra_cli.py:356-390 | libs/agno_infra/agno/cli/infra_cli.py:547-581 \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, \u0060libs/agno_infra/agno/cli/infra_cli.py:164\u0060 calls \u0060cast\u0060 and \u0060libs/agno_infra/agno/cli/infra_cli.py:353\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":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81840564cbd322d83d3a079f108f163214dd7d1997bc297750e9cc7050137d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): libs/agno/agno/agent/_run.py:1594-1628 | libs/agno/agno/agent/_run.py:2210-2243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1594\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914b5d3e487a0b4e644a90ea63299c42a0191489d21e2af18c2397ff69a6048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2787-2821 | libs/agno/agno/db/json/json_db.py:2936-2970 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45356bb31b2deb0dac015ff4dca7cd75e1f958b88ed81a3942b4b1867bb064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1128-1162 | libs/agno/agno/db/mongo/mongo.py:939-973 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f8df05edc8dac94d65e5f26f3aaf735722cb66289a8c1e45ad9da79baa191d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1939-1973 | libs/agno/agno/db/mongo/mongo.py:1745-1779 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1939\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d36e2a9da1f5be65386ff9dda1e0d85b095ac74db86200739ea4e01c22aacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:524-557 | libs/agno/agno/db/postgres/async_postgres.py:812-846 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add768c29c6a39efe8de9ef5366449cca15c2e3b730c440bf22736a9d1239ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1029-1063 | libs/agno/agno/db/singlestore/singlestore.py:1074-1108 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ed11834ca3a28ca472f5bb20d0cd0d9d902e44bc8e6f477965947efec59dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2103-2137 | libs/agno/agno/db/sqlite/sqlite.py:2920-2953 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 141 separate duplicated blocks between them, totalling at least 2627 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d371745a58d4f50db4729aff764e9f694db180942f73f0bcef379dff1893cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6221-6255 | libs/agno/agno/db/postgres/postgres.py:8917-8951 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6221}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d1823fa62c4477c27a500bb5a81440a0c0b8629beffadf09d12d76b5cf1b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:368-402 | libs/agno/agno/eval/accuracy.py:510-544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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, \u0060libs/agno/agno/eval/accuracy.py:365\u0060 calls \u0060isinstance\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/eval/accuracy.py:509\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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56bc0a3b6ab8213d1ae19a44f7271ecddd3ce42fe7d02d9393ecfaffc2b529e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): libs/agno/agno/knowledge/chunking/document.py:104-138 | libs/agno/agno/knowledge/chunking/markdown.py:297-329 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/chunking/document.py\u0060 and \u0060libs/agno/agno/knowledge/chunking/markdown.py\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. 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":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8457e8ef267c795e4fbb2f8c1c8f82fb372c1ec35b16cd47dd11659c6a3a0043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/models/base.py:1381-1415 | libs/agno/agno/models/base.py:1662-1696 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ed62f319d93fabfa506c3fe42a7eab35a969201479df27b8a714374928b490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/models/base.py:2495-2529 | libs/agno/agno/models/base.py:2716-2750 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e131a030efe7cb2bc3b77d19adc8f9020ffdc96f5836a16754c3961765584cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201335 lines \u00D7 2): libs/agno/agno/offload/runs.py:36-70 | libs/agno/agno/offload/runs.py:109-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/offload/runs.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4915a2d70abe7ea693d1e2bb682e52a26e9348a6e010366f5369fef8b7e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201335 lines \u00D7 2): libs/agno/agno/os/middleware/jwt.py:870-904 | libs/agno/agno/os/middleware/jwt.py:950-972 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d6a44b104c1415e9430a145df934e55ee85944707bd498c948ebdcb8192c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 2): libs/agno/agno/team/_run.py:1264-1298 | libs/agno/agno/team/_run.py:8325-8356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:1264\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0492fb6f76644ed8ed60ed7990fa220746251feef011f801e93970c10a4550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): libs/agno/agno/tools/serply.py:102-135 | libs/agno/agno/tools/serply.py:175-209 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/serply.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a71e5afe3a69301e118d4d1742f4bdbb12a64020ba225b0b86c9768690b82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): libs/agno/agno/utils/media_offload.py:228-262 | libs/agno/agno/utils/media_offload.py:437-470 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"021f55da94209ddb57b12366a743ecdfd12232c318025c48b3d9b3cdde3ccec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (146\u2013148 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:209-356 | libs/agno/agno/utils/print_response/team.py:1144-1289 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4224a7883ed224b01d420ef2439285a310a102c056a78ea3c3febbb8dc4d9ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3225-3259 | libs/agno/agno/workflow/workflow.py:4231-4263 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53ea5e5eb787c998b82a483cfbfca148e02ac2ab4a40a143b2b124aeb31d73f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3754-3788 | libs/agno/agno/workflow/workflow.py:4799-4833 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:4838\u0060 calls \u0060isinstance\u0060, \u0060_persist_cancelled_run_in_background\u0060 and \u0060libs/agno/agno/workflow/workflow.py:3790\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8c744092abd5b2229b93fa178953ed908269abe97f40c769518e2cab21effc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1979-2012 | libs/agno/agno/agent/_messages.py:2194-2227 | libs/agno/agno/team/_messages.py:1057-1090 | libs/agno/agno/team/_messages.py:1200-1233 \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 \u0060libs/agno/agno/agent/_messages.py:1979\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_messages.py:1056\u0060 calls \u0060_input_kwarg\u0060 and \u0060libs/agno/agno/agent/_messages.py:1978\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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4c15490e5974f009a60d8baf40ffa8a4018d8f5261ece0ace47bb23ac21cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1962-1994 | libs/agno/agno/db/postgres/postgres.py:2855-2888 | libs/agno/agno/db/singlestore/singlestore.py:1971-2004 | libs/agno/agno/db/sqlite/sqlite.py:2776-2809 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83c8e5443032836c5bade0b48554e4a1b07db2642909699eef0836cc35d0171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 4): libs/agno/agno/db/mysql/utils.py:106-139 | libs/agno/agno/db/postgres/utils.py:95-128 | libs/agno/agno/db/singlestore/utils.py:62-95 | libs/agno/agno/db/sqlite/utils.py:67-99 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd50d666fb111e1ae219b9e40afdd1349b661a809a1ea1bb521e53b3e1c36d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201334 lines \u00D7 4): libs/agno/agno/tools/shopify.py:376-405 | libs/agno/agno/tools/shopify.py:480-505 | libs/agno/agno/tools/shopify.py:799-832 | libs/agno/agno/tools/shopify.py:1436-1467 \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 \u0060libs/agno/agno/tools/shopify.py:376\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c0f4b51c0f7db764296a9b4a735c542dbafbfc6b30e5fb05edf4c73b80546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4): libs/agno/agno/vectordb/chroma/chromadb.py:410-443 | libs/agno/agno/vectordb/chroma/chromadb.py:509-542 | libs/agno/agno/vectordb/chroma/chromadb.py:611-644 | libs/agno/agno/vectordb/chroma/chromadb.py:715-748 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/chroma/chromadb.py:409\u0060 calls \u0060embed\u0060 and \u0060libs/agno/agno/vectordb/chroma/chromadb.py:508\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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b219c695ca8f4090c131c9953b4a496b58cb8816037163315642ffea1c9810b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201334 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3570-3603 | libs/agno/agno/workflow/workflow.py:4613-4646 | libs/agno/agno/workflow/workflow.py:8409-8439 | libs/agno/agno/workflow/workflow.py:10172-10202 \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 \u0060libs/agno/agno/workflow/workflow.py:3570\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:4612\u0060 calls \u0060RunCancelledException\u0060 and \u0060libs/agno/agno/workflow/workflow.py:3569\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cde798a317e691060c9a0a3315bb9052434789b4bb171ff5eb7e1f90ae7adf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201334 lines \u00D7 3): libs/agno/agno/agent/_run.py:3452-3485 | libs/agno/agno/agent/_run.py:4808-4838 | libs/agno/agno/agent/_run.py:5328-5360 \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 \u0060libs/agno/agno/agent/_run.py:3452\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62dc049a41b7790a2b1b9b24a3d84fc5922cec04cd1be3d4773d8d0b1dcf0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201334 lines \u00D7 3): libs/agno/agno/db/migrations/versions/v2_5_6.py:217-247 | libs/agno/agno/db/migrations/versions/v2_5_6.py:313-346 | libs/agno/agno/db/migrations/versions/v2_5_6.py:412-444 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e5745cf06e7d27e80d1ca9ec9e83ff461819aa040926cf468de995ea0719b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1964-1996 | libs/agno/agno/db/postgres/async_postgres.py:2364-2397 | libs/agno/agno/db/sqlite/async_sqlite.py:2508-2541 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d4e4ad6fda09c59df1c52476a1d5411dc7f751befbd72b4f0ed1e09e79bb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3277-3309 | libs/agno/agno/db/postgres/async_postgres.py:3532-3564 | libs/agno/agno/db/sqlite/async_sqlite.py:3772-3805 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0b5e4a4ab0c62b06525e8f014b767104169c3ed16f32181d562470e27d76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): libs/agno/agno/os/interfaces/a2a/router.py:116-149 | libs/agno/agno/os/interfaces/a2a/router.py:176-209 | libs/agno/agno/os/interfaces/a2a/router.py:236-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. 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":"libs/agno/agno/os/interfaces/a2a/router.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1202bc64b8718002ce98135f501e84b90abd1222d29581dcf525461bcb68cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): cookbook/05_agent_os/30_company/14_work_to_done_in_chat.py:76-109 | cookbook/05_agent_os/30_company/17_continue_tasks_from_chat.py:154-187 \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":"cookbook/05_agent_os/30_company/14_work_to_done_in_chat.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9ce4bebb49e6739a5a793cee311cee8ab40145826fd5cd1a389e2a80381665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/client/os.py:965-998 | libs/agno/agno/client/os.py:1015-1048 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/client/os.py"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd9e0f0d62010b7e7ca1372bad31b69c8d6d83d9fbf7103d4147fc93da6762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201334 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:380-404 | libs/agno/agno/db/json/json_db.py:426-459 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e1d51d000fa555bb9c8e017399d26db26bb4012d7d767f365d2a62b1cb7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201334 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2160-2182 | libs/agno/agno/db/json/json_db.py:2296-2329 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f4a494cce7dd1d934587fe39a53280695a66892b69df454577e51c1e46e591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:177-210 | libs/agno/agno/db/postgres/utils.py:197-228 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f160a54ba29df62811cf4a878f2c67b4ab7c92b08a9702b49ae27c505861e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5661-5694 | libs/agno/agno/db/sqlite/async_sqlite.py:5786-5819 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5661}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafae12f479e7be8d8bb2822f9c2ac8547ea345e1b46f7e28512d59c18acdca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:164-196 | libs/agno/agno/db/valkey/valkey.py:205-238 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"295bd607748b254c357e235d1a5cf8474dc198bff4bf7d355929d905d22ae7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1345-1378 | libs/agno/agno/db/valkey/valkey.py:1684-1717 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce93e50cb99c48389475e38dacd02787872d088f44588c78f8df0f4818cae64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2316-2349 | libs/agno/agno/db/valkey/valkey.py:2652-2685 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f635acfe0110e3f43ff444a9aa9d68f6fd801424e5f53f462cf55ece28b619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2047-2080 | libs/agno/agno/db/sqlite/sqlite.py:2315-2348 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2047\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48fe32fd7ef2f94aa36fcf8c631293bdc4fa9f860795ce244d6a4f175140240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): libs/agno/agno/memory/strategies/summarize.py:49-95 | libs/agno/agno/memory/strategies/summarize.py:126-172 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/memory/strategies/summarize.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a03d1f1dd80749e3204bc1748759c4e915a735eca3fbbbee4308395060966f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/models/base.py:1578-1611 | libs/agno/agno/models/base.py:1860-1892 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4140a7fd2ed26ed90427d94e63b85feba84db8a7049e544890689b1e2d363e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:961-994 | libs/agno/agno/os/routers/teams/router.py:839-871 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:961\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a7c0a077d1c0d32b3e4b5edf1afda09859b04000d1b220c4f0bd293584fcf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:1214-1247 | libs/agno/agno/os/routers/workflows/router.py:2647-2680 \u2014 \u0060libs/agno/agno/os/routers/teams/router.py\u0060 and \u0060libs/agno/agno/os/routers/workflows/router.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 13 separate duplicated blocks between them, totalling at least 355 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/teams/router.py:1214\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"393c7fed15b42f0fcf6d59f3d0cf7b308e22b2633160d12db67720c53b803a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/team/_run.py:1794-1827 | libs/agno/agno/team/_run.py:8651-8683 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:1788\u0060 calls \u0060generate_team_followups_stream\u0060 and \u0060libs/agno/agno/team/_run.py:8648\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbb569477d6ea812de17eb050615e80174447148a86737de36b730ab60a58e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/team/_storage.py:1011-1044 | libs/agno/agno/team/_storage.py:1080-1113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_storage.py:1011\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d8b5ac85aa26fc83ad2da5bc05930bd6299e56208179d897e54a21a9a2357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:365-398 | libs/agno/agno/team/_task_tools.py:428-461 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"935abbd7210e2ad4fe341dc17dd2d736990fe93e1e02474963ffc93a684184b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/tools/function.py:2638-2670 | libs/agno/agno/tools/function.py:2920-2953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/function.py:2920\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3deffa2253f9575abe5f0f4cba83c2e347171896f9a71eb9fd7dbd30f1c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): libs/agno/agno/tools/knowledge/knowledge.py:60-93 | libs/agno/agno/tools/knowledge/knowledge.py:118-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. 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":"libs/agno/agno/tools/knowledge/knowledge.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec1e56109a5a9dcb498572a0a423102fb226fdd3306f0c70331c7aebbe6d916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/utils/print_response/workflow.py:331-364 | libs/agno/agno/utils/print_response/workflow.py:1192-1225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/print_response/workflow.py:331\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa14754433d2c11ffc9761d71c204e2795c542306502eccd83c0288b0b1275f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1341-1373 | libs/agno/agno/vectordb/opensearch/opensearch.py:1254-1287 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1374\u0060 calls \u0060_require_preparable\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1288\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f16660aef5cc430ca223a2346a9b8a99cee281dcf5af04aeac999468da113b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): libs/agno/agno/vectordb/milvus/milvus.py:1117-1150 | libs/agno/agno/vectordb/milvus/milvus.py:1218-1251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/milvus/milvus.py:1117\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fb4076e76f350f86793081eae7d676b5cad918a0e208cbbde305961966e5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7639-7672 | libs/agno/agno/workflow/workflow.py:7729-7761 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7639}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d8aa6a1df5043942d63e3f338907d1f413acf285de792e07f6eeca58c74bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 6): libs/agno/agno/db/dynamo/dynamo.py:1210-1242 | libs/agno/agno/db/firestore/firestore.py:1222-1254 | libs/agno/agno/db/gcs_json/gcs_json_db.py:852-884 | libs/agno/agno/db/in_memory/in_memory_db.py:480-509 | libs/agno/agno/db/json/json_db.py:924-956 | libs/agno/agno/db/redis/redis.py:1112-1144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e9a47f96484310b6d47fa2c086c10d75403b4daa314333e97b5a3b96329f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 6): libs/agno/agno/db/dynamo/dynamo.py:1661-1693 | libs/agno/agno/db/firestore/firestore.py:1621-1652 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1152-1183 | libs/agno/agno/db/in_memory/in_memory_db.py:945-975 | libs/agno/agno/db/json/json_db.py:1238-1269 | libs/agno/agno/db/redis/redis.py:1445-1477 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e236f3161f34c590ed7bfe30bad5422ad17e0ff13fe78857381073ba3e1a956c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 4): libs/agno/agno/agent/_hooks.py:62-94 | libs/agno/agno/agent/_hooks.py:281-309 | libs/agno/agno/team/_hooks.py:261-290 | libs/agno/agno/team/_hooks.py:461-489 \u2014 \u0060libs/agno/agno/agent/_hooks.py\u0060 and \u0060libs/agno/agno/team/_hooks.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 4 separate duplicated blocks between them, totalling at least 106 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6333cfaa322baa4360267cd59638beab30a031c6defe3d5b10334be63b3f9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201333 lines \u00D7 4): libs/agno/agno/os/routers/agents/router.py:2291-2323 | libs/agno/agno/os/routers/agents/router.py:2389-2416 | libs/agno/agno/os/routers/agents/router.py:2454-2481 | libs/agno/agno/os/routers/agents/router.py:2641-2671 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/os/routers/agents/router.py:2673\u0060 calls \u0060HTTPException\u0060 and \u0060libs/agno/agno/os/routers/agents/router.py:2417\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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb8c5c99305e98dbb2a06aa4f74192e70d6dd1847db5121e5437f540c7fd373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 4): libs/agno/agno/team/_run.py:427-457 | libs/agno/agno/team/_run.py:874-906 | libs/agno/agno/team/_run.py:2324-2352 | libs/agno/agno/team/_run.py:2807-2837 \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 \u0060libs/agno/agno/team/_run.py:874\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"921f7d413f2424c0954e42651d4ee8147f62d4f13f93caaabc9ce23a5423dd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:2495-2527 | libs/agno/agno/os/routers/teams/router.py:1219-1251 | libs/agno/agno/os/routers/workflows/router.py:2652-2684 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2495\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ce4da0bbc829eec29f2406335c8aa73fdf581893aafd17480ab22aafc39eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 3): libs/agno/agno/tools/visualization.py:103-135 | libs/agno/agno/tools/visualization.py:175-207 | libs/agno/agno/tools/visualization.py:246-276 \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":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba4811942c4471849c6cbd99693ba773f8d7520e0c5d61c7781d0539a24733e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py:76-108 | cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py:187-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":"cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bb687f8cea8b7b3205d2ea2068cca28ffc2b211c84690f6232bbd56eb9155c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/background_cancel.py:30-62 | cookbook/frameworks/codex/background_cancel.py:32-64 \u2014 \u0060cookbook/frameworks/claude-agent-sdk/background_cancel.py\u0060 and \u0060cookbook/frameworks/codex/background_cancel.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 1 separate duplicated blocks between them, totalling at least 33 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":"cookbook/frameworks/claude-agent-sdk/background_cancel.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ef8e7379e9b5a461649c9814961d0d59f95f8a121188bf74377cfe27b28ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:519-551 | libs/agno/agno/db/json/json_db.py:585-617 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff6157670b7bbfe72064c6df0300322a511bdcd00fc9b5489f4caba4943b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1607-1638 | libs/agno/agno/db/json/json_db.py:1711-1743 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1607\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19294bd82448482faca09ba604db11ef0fae20cc43384ac6a170ef56194d60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:3951-3983 | libs/agno/agno/db/postgres/async_postgres.py:4232-4264 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3951\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3951}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ca45f43274063909e6e3a9dadf1310cca257ab7810a5adacace31d389ee90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1418-1450 | libs/agno/agno/db/singlestore/singlestore.py:1465-1497 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:1417\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:1464\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cafd0aa013c55f990c07be64a527e75de5655561bcb8a55149d2e5ad8987ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:282-314 | libs/agno/agno/db/singlestore/utils.py:218-250 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 10 separate duplicated blocks between them, totalling at least 214 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f58c57311c6b71d8a40696c21be2af48e579307152cedd5c0a36b04707e13f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5124-5156 | libs/agno/agno/db/sqlite/async_sqlite.py:5309-5339 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e882abb89c03334811bf6ec90feb3428529f808a9a057761deee8a156d9aeb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8376-8408 | libs/agno/agno/db/sqlite/sqlite.py:8163-8195 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2ef4a6a6e33911b42176046b4cd9251efe6bda3c3d5f8e82ed47b51a0496c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:210-242 | libs/agno/agno/db/valkey/valkey.py:280-312 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"126c25ae7eefc56b92ac0be6c5991aaf543bc3740cee9af5d3a35f01d0d805b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2280-2308 | libs/agno/agno/db/valkey/valkey.py:2612-2644 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/valkey/valkey.py:2612\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"792d2b7d9ab17852b29df7790fe05a84cc5d16dfbaf89121b5204a6c90bf354e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (99 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3347-3445 | libs/agno/agno/db/valkey/valkey.py:3744-3842 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3e2bba5b7512d7b2a57f808d016f4d5c69ef3f5b0e169c68032324fa9b81d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3770-3802 | libs/agno/agno/db/valkey/valkey.py:4239-4271 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/valkey/valkey.py:4275\u0060 calls \u0060_learning_matches\u0060, \u0060all\u0060, \u0060get\u0060 and \u0060libs/agno/agno/db/redis/redis.py:3805\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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3770}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e48e6c7e9f9cdbf972fd35481fc4a22d727531ddc345607f668c13c1c0a604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/knowledge/reader/website_reader.py:228-260 | libs/agno/agno/knowledge/reader/website_reader.py:343-375 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e07f3c61cb6298eed6eee22f45933726ccdc9d0690f8aa0b94c94d326d878d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/os/app.py:1035-1067 | libs/agno/agno/os/app.py:2153-2185 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"a933f98d496f822d11c5429aa0c3fa61a8b957882aad328ed5e5f420298551f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201333 lines \u00D7 2): libs/agno/agno/os/utils.py:1622-1654 | libs/agno/agno/os/utils.py:1663-1677 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8f1a90443feb01a0746379d66cdedf07b6c5eec9b918beb56df3a2750118a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/team/_response.py:1113-1145 | libs/agno/agno/team/_response.py:1276-1308 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4cc3e75ca29b25f793e494cdcd4215865d6e55352cc47c4a777aacee20f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): libs/agno/agno/team/_run.py:1685-1716 | libs/agno/agno/team/_run.py:8569-8601 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3587dfda1bb02c21d0ba91185a91182909838a9793caaebd50cabccaf511c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:49-81 | libs/agno/agno/utils/print_response/team.py:984-1016 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3e31743ee8c3db265886e5b0431bbe6fd858e2b756964fec33a0e10806ce47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/workflow/condition.py:748-780 | libs/agno/agno/workflow/condition.py:1201-1233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:748\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"9033bf6772bf55c8b42cd02bad34646b319bae2c1c9bd7aa2a9ac2886a2f3a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:646-678 | libs/agno/agno/workflow/parallel.py:999-1031 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/parallel.py:996\u0060 calls \u0060gather\u0060 and \u0060libs/agno/agno/workflow/parallel.py:643\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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d78747fbab36ad2d51469741354910b4e88abbed16140deb0983bf584377f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/workflow/step.py:1336-1368 | libs/agno/agno/workflow/step.py:2059-2091 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1336\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a840bd66f0ac40ef9f1bf2f0cc2ce1b29953c2d698cc43f12ed4bc0ac0bbcef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/workflow/step.py:1802-1834 | libs/agno/agno/workflow/step.py:2531-2563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1802\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1dd0b0ccdc8c7093c57642c0eeaad61fc04e2c7810cf846ced7ba2e86ed8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/workflow/steps.py:397-429 | libs/agno/agno/workflow/steps.py:702-734 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f76c055c54579a63132bd2bc3b857d45cb40224aa8fb0c96b2abeaa1b11b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201332 lines \u00D7 7): libs/agno/agno/db/dynamo/dynamo.py:2817-2845 | libs/agno/agno/db/firestore/firestore.py:2527-2555 | libs/agno/agno/db/mongo/mongo.py:2546-2574 | libs/agno/agno/db/mysql/mysql.py:3021-3052 | libs/agno/agno/db/postgres/postgres.py:3845-3876 | libs/agno/agno/db/singlestore/singlestore.py:3017-3045 | libs/agno/agno/db/sqlite/sqlite.py:3779-3810 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/dynamo/dynamo.py:2817\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2817}}}],"partialFingerprints":{"codehealthFindingId/v1":"1566395929265f93a14c0bb706e3b6cad4c90538576f993fa5cd93387691db91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 4): libs/agno/agno/agent/_hooks.py:173-204 | libs/agno/agno/agent/_hooks.py:382-413 | libs/agno/agno/team/_hooks.py:359-390 | libs/agno/agno/team/_hooks.py:556-587 \u2014 \u0060libs/agno/agno/agent/_hooks.py\u0060 and \u0060libs/agno/agno/team/_hooks.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 4 separate duplicated blocks between them, totalling at least 106 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0351102218417f924fef8a3ee3dee8b29303eec2bf059f5105c719f162869d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201332 lines \u00D7 4): libs/agno/agno/os/routers/agents/router.py:1976-1997 | libs/agno/agno/os/routers/agents/router.py:2495-2526 | libs/agno/agno/os/routers/teams/router.py:1219-1250 | libs/agno/agno/os/routers/workflows/router.py:2652-2683 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py: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. 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1cb82659a9f69d3fd1f652715fc26712fff2ffb1e31d873bcc63179f5b729e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 3): libs/agno/agno/agent/_session.py:375-404 | libs/agno/agno/team/_session.py:846-875 | libs/agno/agno/workflow/workflow.py:1194-1225 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_session.py:372\u0060 calls \u0060has_async_db\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/team/_session.py:844\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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"004533931838a1c580d17a45ec1a9ecf34bce47f8bb4debc3ccca8a65a288ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1741-1772 | libs/agno/agno/db/in_memory/in_memory_db.py:1478-1509 | libs/agno/agno/db/json/json_db.py:1850-1881 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"7230cea53fc2bb14f1863d028ebe37ae2dc1bc52a196e83a0cd87f7733072ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201332 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:860-872 | libs/agno/agno/db/postgres/async_postgres.py:1224-1255 | libs/agno/agno/db/sqlite/async_sqlite.py:1179-1210 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"d574d2eb8e47d29c4c55dd796f68eb0868e86e41c1e25dc5b534d9e112c4b928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:902-933 | libs/agno/agno/db/singlestore/singlestore.py:947-978 | libs/agno/agno/db/sqlite/sqlite.py:1446-1477 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:902\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6dc47a28d5a813cb874706da126f95bc867f5591948940e904327cbad49783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:3567-3597 | libs/agno/agno/db/singlestore/singlestore.py:3554-3585 | libs/agno/agno/db/sqlite/sqlite.py:4343-4373 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"771f420a397597347a8e4d6f24d7de86e6b0df7ffc2a5c5171b846307f6ec95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:2379-2410 | libs/agno/agno/db/postgres/postgres.py:2447-2478 | libs/agno/agno/db/postgres/postgres.py:2515-2546 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78e5f7c8f54b69b68bfad30415d64039d0166835e391b1c570fe51617280584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): libs/agno/agno/team/_run.py:799-829 | libs/agno/agno/team/_run.py:1665-1696 | libs/agno/agno/team/_run.py:8550-8580 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"4000641fa6736430c0603865e66505e32e48e06c6ffb462fa3f99f21ea98da0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): libs/agno/agno/team/_run.py:2732-2762 | libs/agno/agno/team/_run.py:3863-3894 | libs/agno/agno/team/_run.py:10277-10307 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"781d70ca8e6d98d831c0c8828495ddf36ada6ae1de75133768939ecefa18a087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): libs/agno/agno/team/_run.py:7700-7731 | libs/agno/agno/team/_run.py:7954-7985 | libs/agno/agno/team/_run.py:8021-8052 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/team/_run.py:7946\u0060 calls \u0060_handle_team_tool_call_updates\u0060 and \u0060libs/agno/agno/team/_run.py:7698\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":7700}}}],"partialFingerprints":{"codehealthFindingId/v1":"014840df4f05cff57e07b36046d1b7a6432df5fe12f6a7bb645e8da4eaeb6131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 3): libs/agno_infra/agno/cli/operator.py:81-112 | libs/agno_infra/agno/cli/operator.py:155-186 | libs/agno_infra/agno/cli/operator.py:228-258 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ce38519bfa124b23ed394b0fe052740accc4a87819c7fd6ae5d16bbdb27893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py:61-92 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py:126-157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf0507a279c877ee4c176ebdaf2bc565eda89bd5442fa05285fdb766cc8e3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/bucket.py:65-96 | libs/agno_infra/agno/aws/resource/s3/bucket.py:66-97 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/bucket.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/s3/bucket.py\u0060 as WHOLE FILES: this scan already matched 3 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. Note first that the copies are not typed on the same thing: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b7f402f80318f4c23ab29de32819bd205737e7263a57f4e4c5bb81d227924f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:556-585 | libs/agno/agno/db/json/json_db.py:622-653 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16484d0964694eb407196e8b6cdee512e95c17cf8ea956b7de85dcc2af1d92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1575-1605 | libs/agno/agno/db/json/json_db.py:1678-1709 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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 \u0060libs/agno/agno/db/json/json_db.py:1678\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d95bace9759fb4c7f1923ccb3b0872385aab3965beadea1dee452e28edc4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2355-2386 | libs/agno/agno/db/singlestore/singlestore.py:2358-2389 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:2351\u0060 calls \u0060execute\u0060, \u0060text\u0060, \u0060scalar\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:2356\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e89e2988c6e3b4bf0fbb362ff64ccb65a88152330c4ed8731d6c944ac9f415b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1618-1649 | libs/agno/agno/db/sqlite/sqlite.py:1607-1638 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:1650\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py:1640\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6197258067dd60eee265edb7787c2ea0b5f3e48cba1dc385627896b9e69f21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/db/singlestore/singlestore.py:804-835 | libs/agno/agno/db/sqlite/sqlite.py:1290-1321 \u2014 \u0060libs/agno/agno/db/singlestore/singlestore.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 139 separate duplicated blocks between them, totalling at least 2547 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"2021c10f1cd32204d4b77e758d38d7241baf49f2fa8814557eb9107929ecf6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/knowledge/loaders/azure_blob.py:223-254 | libs/agno/agno/knowledge/loaders/azure_blob.py:371-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. 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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"260c9062ffdb9f328307862f55a0390978ce791fc0729647b375e8a52ccf5b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:417-448 | libs/agno/agno/knowledge/loaders/github.py:576-607 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3e79239913f831e3fc86f63417c28401100db81fe595d45b6bca943ef49c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201332 lines \u00D7 2): libs/agno/agno/knowledge/reader/website_reader.py:156-187 | libs/agno/agno/knowledge/reader/website_reader.py:291-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. 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":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e545e12e15d843bd80593ad5372d6abf63ca0a479901e0ddb57f91233462d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201332 lines \u00D7 2): libs/agno/agno/models/base.py:664-695 | libs/agno/agno/models/base.py:897-919 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"8032f81ee414ae81da593a46d67d611c54101d26c6da17199c61708c09f76104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/os/app.py:2045-2076 | libs/agno/agno/os/app.py:2106-2137 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/app.py"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80724eb316c2e4daf06b17dfd66dc1928ff73c7a73e644db77f6a33caf915d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201332 lines \u00D7 2): libs/agno/agno/run/status_persist.py:261-292 | libs/agno/agno/run/status_persist.py:344-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. 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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b1a980338af96208fdf9f3126c7283f91b69a30caa7889caa6238d32857c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno/agno/workflow/loop.py:634-665 | libs/agno/agno/workflow/loop.py:1031-1062 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a79ca00649a943a200f2cb5dca2175d38589a24ad5791050aeada63cb7cf77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): libs/agno_infra/agno/cli/operator.py:170-201 | libs/agno_infra/agno/infra/operator.py:317-348 \u2014 \u0060libs/agno_infra/agno/cli/operator.py\u0060 and \u0060libs/agno_infra/agno/infra/operator.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 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/cli/operator.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c6ec5525fd219289d81a51f3ee622af965bb08d1816736f2be8ba60f8d05d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201332 lines \u00D7 2): libs/agno_infra/agno/docker/resources.py:240-271 | libs/agno_infra/agno/docker/resources.py:418-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/docker/resources.py:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54b3fedd3c8d6f1be86fe67e6d7d6d237922655c62f91cc25f0ca898085a6c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2925-2954 | libs/agno/agno/db/postgres/postgres.py:3745-3774 | libs/agno/agno/db/singlestore/singlestore.py:2921-2950 | libs/agno/agno/db/sqlite/sqlite.py:3681-3711 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:2957\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:3775\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d1afdb0acb341085ec0920a8a8bf14a44f8a06ba55edfed5973637e5ada4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7016-7047 | libs/agno/agno/db/postgres/postgres.py:9679-9710 | libs/agno/agno/db/sqlite/async_sqlite.py:6228-6259 | libs/agno/agno/db/sqlite/sqlite.py:8623-8654 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7016}}}],"partialFingerprints":{"codehealthFindingId/v1":"70987e57524c9a7050701f353f02f6446dc041d19be8374b11ce029d66255ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3662-3692 | libs/agno/agno/workflow/workflow.py:4707-4737 | libs/agno/agno/workflow/workflow.py:8494-8524 | libs/agno/agno/workflow/workflow.py:10257-10287 \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 \u0060libs/agno/agno/workflow/workflow.py:3662\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3662}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0845b11bd4de4b1b93565f1918101d2adbbde718bb1dddc0543a20bc65582c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 3): libs/agno/agno/db/firestore/utils.py:143-172 | libs/agno/agno/db/redis/utils.py:100-130 | libs/agno/agno/db/valkey/utils.py:148-178 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/utils.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df6af488633f5660edeafa755cf469355dafab8bc2b09fe8da86137b41dbccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1095-1123 | libs/agno/agno/db/postgres/async_postgres.py:1720-1748 | libs/agno/agno/db/sqlite/async_sqlite.py:1649-1679 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd1a5eca5cf3f73046f518ab993a7161d0faa7df7eba71831328c5905883faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2976-3005 | libs/agno/agno/db/postgres/async_postgres.py:3217-3246 | libs/agno/agno/db/sqlite/async_sqlite.py:3458-3488 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/mysql/async_mysql.py:3008\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:3247\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"1512f584c643be5854e1e9c0787c3d39b992fced55d8db8348839d2fff8dd283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3622-3652 | libs/agno/agno/db/postgres/async_postgres.py:3877-3907 | libs/agno/agno/db/sqlite/async_sqlite.py:4130-4160 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6fe5a47b6650dcc6ab2c004398f195ea285d576af6b6161be7dde928090f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): cookbook/02_agents/14_advanced/background_execution_metrics.py:59-89 | cookbook/03_teams/14_run_control/background_execution_metrics.py:68-98 \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 \u0060cookbook/02_agents/14_advanced/background_execution_metrics.py: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. 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":"cookbook/02_agents/14_advanced/background_execution_metrics.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"514adb403eef396523513214a5c2a07cb1b01e59277d47e99adffba558192395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201331 lines \u00D7 2): libs/agno/agno/agent/_messages.py:2580-2610 | libs/agno/agno/agent/_messages.py:2703-2719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:2580\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b81e01c4f885c2b349093628b9af76312403e22ad253252fbc8510a9c7f6993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/agent/_run.py:3414-3444 | libs/agno/agno/team/_run.py:7559-7589 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3c22edc1a27778ddbe18949fb467ca5b2f7495d05d28b227ac6e109d53e6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_0.py:292-322 | libs/agno/agno/db/migrations/versions/v2_5_0.py:617-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:292\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b2736a3f0c7a205618e770eea58b20d77aaa86187c4630870b5494e332ddb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_0.py:424-454 | libs/agno/agno/db/migrations/versions/v2_5_0.py:747-777 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:424\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd19f048f756e4b8d06a59102b73571ec8ad21313c73da307c0b0d6e9d8520dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1724-1754 | libs/agno/agno/db/mongo/async_mongo.py:3561-3593 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"6539fae809856eee6ee31579d2be74a8b8c5f389a0449d3e45a869d51f3eb74c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201331 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1310-1335 | libs/agno/agno/db/postgres/async_postgres.py:1945-1975 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:1945\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf83a07e168cf13918686b15172838d3039f610e8ea137777b52df5216c5d77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:516-546 | libs/agno/agno/db/postgres/postgres.py:979-1008 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:549\u0060 calls \u0060set_json_column_types\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:1009\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71f7a3de8ffcbe5929425e1dc6881429659d15c471b3efec267f275807a47ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1449-1479 | libs/agno/agno/db/sqlite/async_sqlite.py:1405-1435 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:1480\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1437\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d81230c49079b1d822655606c7a5557ffc6c7b2f72d04bfca493ff70066416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7293-7321 | libs/agno/agno/db/sqlite/async_sqlite.py:6507-6537 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f4787ecde10eae70bbf5723f00392f4e150da2723f79dca491d6901348b6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8513-8543 | libs/agno/agno/db/sqlite/sqlite.py:8300-8330 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:8513\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8513}}}],"partialFingerprints":{"codehealthFindingId/v1":"4533787d098e18330d6d2252d6b608507ccb25014ad517c611d10d912f365c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:641-671 | libs/agno/agno/db/valkey/valkey.py:746-776 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:641\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"883eb3756e7c037944f6cb13c64a9a95cd3e9b5a33183b1e66be22bfdad8d327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): libs/agno/agno/eval/performance.py:421-451 | libs/agno/agno/eval/performance.py:468-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. 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb26548f5740523e221ce500aab59d5bb5b09ab689d3fb4896606c99b559a906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201331 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:876-884 | libs/agno/agno/knowledge/knowledge.py:1023-1053 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f6ac8336e9d16306cc294746198ec5ef6e86823a707b1e660f487c5fd6ee74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/knowledge/loaders/sharepoint.py:270-300 | libs/agno/agno/knowledge/loaders/sharepoint.py:389-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/loaders/sharepoint.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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d19ebc846310321bc97ca86e2a3397a93890c4ea4550bf43590366a24c1d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/knowledge/reranker/infinity.py:93-123 | libs/agno/agno/knowledge/reranker/infinity.py:165-195 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reranker/infinity.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eca8569d1355154371538830810434de02b08c572d4af566b15d78bb0560551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201331 lines \u00D7 2): libs/agno/agno/learn/stores/user_profile.py:388-418 | libs/agno/agno/learn/stores/user_profile.py:476-500 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/user_profile.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"401d070350288f142096a047730ae230683e3b08aa6b2e6ce8cd570e3eac0c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201331 lines \u00D7 2): libs/agno/agno/os/routers/knowledge/knowledge.py:566-571 | libs/agno/agno/os/routers/memory/memory.py:548-578 \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 \u0060libs/agno/agno/os/routers/knowledge/knowledge.py:566\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/knowledge/knowledge.py:572\u0060 calls \u0060Query\u0060 and \u0060libs/agno/agno/os/routers/memory/memory.py:579\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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651ae2215ebb04764fa68f2fd691593d6215f3b9f0c5195e3621862d1fef6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201331 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:1932-1958 | libs/agno/agno/os/routers/workflows/router.py:2042-2072 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6cbdae7f210c0f4815dc8a6f81563db9e212907c92e32ff55cfd12daa6af7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/team/_run.py:1147-1177 | libs/agno/agno/team/_run.py:1509-1539 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:1147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"847ac16cbfc3406eb3814243d31006f5364be2eae49de37d544b729363d57445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): libs/agno/agno/team/_run.py:3113-3141 | libs/agno/agno/team/_run.py:3688-3718 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:3719\u0060 calls \u0060cast\u0060 and \u0060libs/agno/agno/team/_run.py:3144\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b53485cd0053d5de6a24b1c8edb9026dee6e7231e09ad6341b34eb235055c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/team/_run.py:3888-3918 | libs/agno/agno/team/_run.py:10419-10449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:3888\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/team/_run.py:3882\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:10413\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3888}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b661a16e1abb3675db84b47950e7ae2f50ecd95c4e31ae8673ad0b4cbbcfed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/tools/company.py:1431-1461 | libs/agno/agno/tools/company.py:1632-1662 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"838ce34e086bbfe0d42fd717c39c52f0c7aa6403df45e32f289f99ea4b2ed2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): libs/agno/agno/tools/gitlab.py:378-405 | libs/agno/agno/tools/gitlab.py:533-563 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"57233fd0647f82e44940982cea042660d10c9d528e6eebeb18b2934640d5763a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/tools/memory.py:153-183 | libs/agno/agno/tools/memory.py:219-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 \u0060libs/agno/agno/tools/memory.py:153\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/memory.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da4ff92f6780ccba99676ad72a499eff2163f7cb9ed4a7923c5cb500baeb06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:847-877 | libs/agno/agno/tools/scheduler.py:1238-1268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/scheduler.py:847\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fec2fe3b75ea9caa685fe84005aa211f2a50c01b9d5eb359d128a1e0421152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/workflow/condition.py:535-565 | libs/agno/agno/workflow/condition.py:990-1020 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.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. 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3155392f36b136ab1f575229e8e812e9d36fac35005fde9b09404deb273c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): libs/agno/agno/workflow/condition.py:896-925 | libs/agno/agno/workflow/condition.py:1350-1380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:896\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"6086d5f9ee3cc7f5575c85581e38af1753b8f71235f9d3fd0b7554962b237111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:483-513 | libs/agno/agno/workflow/parallel.py:849-879 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baa40c1947d9b8b8224fe76680e315dd342cb7896659ebe882d84a7faf3f81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/agno/agno/workflow/step.py:1753-1783 | libs/agno/agno/workflow/step.py:2482-2512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1753\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/step.py:1784\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/step.py:2515\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc02bcce2826bb07f5d7b9eda7a937fa0a19e70f88f51a7ac8ffc5bbcc8fd5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201330 lines \u00D7 4): libs/agno/agno/agent/_storage.py:1686-1715 | libs/agno/agno/agents/_storage.py:533-543 | libs/agno/agno/team/_storage.py:1658-1686 | libs/agno/agno/workflow/workflow.py:1588-1608 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9caf6207a1169861e099c4a521dc449a7871c972e21e29a55186eeb3a3ef84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1724-1751 | libs/agno/agno/db/postgres/postgres.py:2590-2619 | libs/agno/agno/db/singlestore/singlestore.py:1752-1779 | libs/agno/agno/db/sqlite/sqlite.py:2546-2573 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"e048dc91f5907d7d18b9155b351c7e49d487e66e11b637376d127b7124b557b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:4746-4785 | libs/agno/agno/db/postgres/postgres.py:5280-5319 | libs/agno/agno/db/sqlite/async_sqlite.py:4948-4987 | libs/agno/agno/db/sqlite/sqlite.py:5106-5145 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:4746\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:4786\u0060 calls \u0060percentile_cont\u0060, \u0060within_group\u0060, \u0060label\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py:5146\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4746}}}],"partialFingerprints":{"codehealthFindingId/v1":"253a4f82731e242fa11fb2b3373188f67f5d90c0421b34f66b28a367114c156c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 3): cookbook/05_agent_os/17_slack/super_agent.py:80-108 | cookbook/05_agent_os/30_company/13_start_tasks_from_chat.py:98-127 | cookbook/05_agent_os/30_company/17_continue_tasks_from_chat.py:118-147 \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. 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":"cookbook/05_agent_os/17_slack/super_agent.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e732a7b759ff793ce04e88f5d8dff29f37cfb2643e15b6f1f7f226797047822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 3): libs/agno/agno/client/a2a/utils.py:222-251 | libs/agno/agno/client/a2a/utils.py:427-455 | libs/agno/agno/client/a2a/utils.py:630-658 \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":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcb953ecca4aa0952a88c7357a6ff48d3d1cc584c4b76e166160f3d8e50786c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1525-1554 | libs/agno/agno/db/mysql/mysql.py:1532-1561 | libs/agno/agno/db/singlestore/singlestore.py:1567-1596 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d409896a254758400a4bdcb68cd3c915929ad597c58062266dc36e46d43be27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): cookbook/03_teams/14_run_control/background_execution.py:38-66 | cookbook/03_teams/14_run_control/background_execution.py:105-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/03_teams/14_run_control/background_execution.py: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cookbook/03_teams/14_run_control/background_execution.py:66\u0060 calls \u0060arun\u0060 and \u0060cookbook/03_teams/14_run_control/background_execution.py:135\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":"cookbook/03_teams/14_run_control/background_execution.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4294b3bc49b7b0307115cb7b4c1cfaf802ef689e45355e8f83f35d895272b7c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py:145-172 | cookbook/04_workflows/08_human_in_the_loop/loop/02_loop_confirmation_streaming.py:132-161 \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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8b4384418945467afa43080283802219a9de1113498403fe3088418b834d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:152-181 | libs/agno/agno/team/_default_tools.py:1663-1692 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_default_tools.py:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c45271c035d278b23b8090f5098845b904a49853d5ff771fad085ff58b17daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_init.py:436-465 | libs/agno/agno/team/_init.py:821-850 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bdebdc99fe3f035e4d8b308f3d9e0115557e0fba664c644a0e20941df1b7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_messages.py:2032-2061 | libs/agno/agno/agent/_messages.py:2247-2276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:2032\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2c64959136ed14a5f5cb7af7a543bed4093b58c60af9138aa615b6631ecee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_response.py:1476-1505 | libs/agno/agno/team/_response.py:1430-1459 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd31643940aaf358ca1b6ba9f2a8ed87b510fae687064626b44b37a002a804d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_run.py:1638-1667 | libs/agno/agno/agent/_run.py:2255-2284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1638\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e881c8c852248b0880b6e8df5c022afd4be10bb705b712fb4aee0e027d83ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_run.py:1994-2023 | libs/agno/agno/team/_run.py:3490-3519 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88525eeb8885e61a39c78d74f18573896b480c7eb5810489e7dfa774f8397cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): libs/agno/agno/agent/_run_options.py:47-76 | libs/agno/agno/team/_run_options.py:47-74 \u2014 \u0060libs/agno/agno/agent/_run_options.py\u0060 and \u0060libs/agno/agno/team/_run_options.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 4 separate duplicated blocks between them, totalling at least 101 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaeb3ab83a7fd216426a6387b6b380482740f809129229acab55636f61efe64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/agent/_utils.py:232-261 | libs/agno/agno/team/_utils.py:231-260 \u2014 \u0060libs/agno/agno/agent/_utils.py\u0060 and \u0060libs/agno/agno/team/_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 5 separate duplicated blocks between them, totalling at least 107 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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35269ee7f7e542d0df11d471f5e3a66fd5d03226b635b4acd1ba7793f72f157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/client/os.py:1242-1271 | libs/agno/agno/client/os.py:1288-1317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/client/os.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f531481137bd6d66286f74e9a0271852152da4d05776cef1f9fa0cb3722f092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1199-1228 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1335-1363 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"353dedc91e9b988f6546497cdbb55dd80394d7803fd9a37820e16b7a11027341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2298-2327 | libs/agno/agno/db/mongo/mongo.py:2093-2122 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd4a52c235bf594436122f4b9bd9a6070b6843e17657d1831a83458160d401d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5771-5800 | libs/agno/agno/db/sqlite/async_sqlite.py:5896-5925 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:5771\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5771}}}],"partialFingerprints":{"codehealthFindingId/v1":"626f4e1879526f1ed2d77bd93f3226432f201ed29bc6c8cc72717af65c50f99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7028-7057 | libs/agno/agno/db/sqlite/sqlite.py:6838-6865 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7028}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e97d884074e9c72181bc63ccf30f8b9a2d3f2787f3fcd528046e4b41b11157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8557-8586 | libs/agno/agno/db/sqlite/sqlite.py:8344-8373 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8557}}}],"partialFingerprints":{"codehealthFindingId/v1":"f562fe481f04fb0cddc88be32d43630f4b4672d59cd1388d87660f85907a40bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10045-10074 | libs/agno/agno/db/sqlite/sqlite.py:8988-9017 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10045}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ace2f2c7b6ea8f9e3dd502522d6fffd888a284e714a88e31c69379541cc6eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1149-1178 | libs/agno/agno/db/valkey/valkey.py:1458-1487 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f0433be721b961449297020ffdcc047aa05a3c3d10817ef754e6d4e17f5c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3608-3637 | libs/agno/agno/db/singlestore/singlestore.py:4245-4274 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceecf862101f0c313ff032fcda573730ea36e2a9f67a052c7c39094e0c05978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201330 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:4509-4522 | libs/agno/agno/db/redis/redis.py:4549-4578 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e689d67cb4b01f05a5aced0957ad8534662d571f27eb481969137d5ee9c95cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:4203-4232 | libs/agno/agno/db/sqlite/sqlite.py:4415-4443 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4203\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4203}}}],"partialFingerprints":{"codehealthFindingId/v1":"54734f137a2e53c5909213707ccedd3c0443d6e28c40d17beade36f268bfdd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/eval/agent_as_judge.py:315-344 | libs/agno/agno/eval/agent_as_judge.py:372-401 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ebf697aef280f4beff1ab382f06250ac1dc7d142951a4d192c18b3bdfa80c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/eval/performance.py:583-612 | libs/agno/agno/eval/performance.py:723-752 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a1996003b347223e4f5e4233610b5d2e6bfc5163b89dc85e93b6401f61f2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201330 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3391-3420 | libs/agno/agno/knowledge/knowledge.py:3604-3619 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd2240b29e60e73608e4f24471f90f1610b3d70945907ce8b2ba375e8e1a266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201330 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4189-4218 | libs/agno/agno/knowledge/knowledge.py:4267-4290 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b258d53e5714afc7a5c5d6ef7d3b3d6a81fcf1944ce87915474913b6a2166f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4825-4853 | libs/agno/agno/knowledge/knowledge.py:4880-4909 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4825}}}],"partialFingerprints":{"codehealthFindingId/v1":"1648be164f2ab8aa1c56d919885613529a9c03acddb1e6f018a53d68cfd15e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): libs/agno/agno/os/utils.py:1827-1856 | libs/agno/agno/os/utils.py:1893-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. 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d8b049a05efa85f3349fc64436d472e37745c77a83bb338cddf52da358e33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:186-215 | libs/agno/agno/team/_default_tools.py:218-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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce88a95946bfdc1e522b4ad7b287fb727f6c84d319b704979332a47472f5cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/team/_messages.py:1777-1806 | libs/agno/agno/utils/prompts.py:66-95 \u2014 before extracting anything, compare \u0060libs/agno/agno/team/_messages.py\u0060 and \u0060libs/agno/agno/utils/prompts.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"349db5f2dd2759466641a6b297833c19aed43dc50eb21167e1a37824bee67cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): libs/agno/agno/team/_tools.py:585-614 | libs/agno/agno/team/_tools.py:622-650 \u2014 both copies are in the same file, so extract the block 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_context\u0060 to \u0060Optional[\u0022RunContext\u0022] = None\u0060 in one and \u0060Optional[RunContext] = None\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":"libs/agno/agno/team/_tools.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60e6d426570e2b7b7d44ad2f906f67cf11855ae9694ef7467dbbf0b582c751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/tools/studio.py:2499-2528 | libs/agno/agno/tools/studio.py:2642-2671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/studio.py:2499\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/tools/studio.py:2641\u0060 calls \u0060TeamMode\u0060 and \u0060libs/agno/agno/tools/studio.py:2498\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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c79732c7a535de675175ea4e6d7a7487e403ae3199ac93213060ba86017337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/workflow/router.py:919-948 | libs/agno/agno/workflow/router.py:1260-1289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/router.py:919\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ce99ca7be4bc34a5da5e7add32a1cf5aeb75fcef8712d73d6988a1e601c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/workflow/steps.py:345-374 | libs/agno/agno/workflow/steps.py:650-679 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/steps.py:342\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/steps.py:647\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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1540aa4dc7b542c98a2b105b83d7031607b64f3abfaeded00ace7a76f696775b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7237-7266 | libs/agno/agno/workflow/workflow.py:9298-9327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:7237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7237}}}],"partialFingerprints":{"codehealthFindingId/v1":"64367d59f8ee7632f367fb6a647f2935111caeea48a74b14f16b8b5ccd8cc041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:140-169 | libs/agno_infra/agno/aws/resources.py:443-472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/aws/resources.py:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5c10ec43ee62e30f06a4e5ee5250a2e1738f2a494704e6307658f342dda49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno_infra/agno/cli/operator.py:96-125 | libs/agno_infra/agno/infra/operator.py:245-274 \u2014 \u0060libs/agno_infra/agno/cli/operator.py\u0060 and \u0060libs/agno_infra/agno/infra/operator.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 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/cli/operator.py:96\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9a62b467ebb8940d47ec1fc2c78c41408d4639e2011c6b743623c9ba5188a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno_infra/agno/docker/resources.py:299-328 | libs/agno_infra/agno/docker/resources.py:455-484 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389d3feb4e4d780c7990b4b2cc6c4b07be487d15f108e792ac8e4555fc42ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 13): libs/agno/agno/db/dynamo/dynamo.py:2674-2702 | libs/agno/agno/db/firestore/firestore.py:2398-2426 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1492-1519 | libs/agno/agno/db/in_memory/in_memory_db.py:1264-1291 | libs/agno/agno/db/json/json_db.py:1600-1627 | libs/agno/agno/db/mongo/mongo.py:2424-2452 | libs/agno/agno/db/mysql/mysql.py:2892-2920 | libs/agno/agno/db/postgres/postgres.py:3712-3740 | libs/agno/agno/db/redis/redis.py:2381-2409 | libs/agno/agno/db/singlestore/singlestore.py:2888-2916 | libs/agno/agno/db/sqlite/sqlite.py:3648-3676 | libs/agno/agno/db/surrealdb/surrealdb.py:1970-1998 | libs/agno/agno/db/valkey/valkey.py:2717-2745 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 13 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 13 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"703d949f50c395574402ec381e0afdec905f974a085cab19bc0fa5ca167a4247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 10): libs/agno/agno/db/mysql/async_mysql.py:1577-1605 | libs/agno/agno/db/mysql/async_mysql.py:1638-1666 | libs/agno/agno/db/mysql/mysql.py:1583-1611 | libs/agno/agno/db/mysql/mysql.py:1643-1671 | libs/agno/agno/db/singlestore/singlestore.py:1618-1646 | libs/agno/agno/db/singlestore/singlestore.py:1678-1706 | libs/agno/agno/db/sqlite/async_sqlite.py:2112-2140 | libs/agno/agno/db/sqlite/async_sqlite.py:2184-2212 | libs/agno/agno/db/sqlite/sqlite.py:2380-2408 | libs/agno/agno/db/sqlite/sqlite.py:2452-2480 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5511de9836f343dac43350f62bac87694d90d68890d5d2b0a5e7018022df98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 6): libs/agno/agno/tools/memory.py:67-95 | libs/agno/agno/tools/memory.py:310-336 | libs/agno/agno/tools/workflow.py:70-96 | libs/agno/agno/tools/workflow.py:99-125 | libs/agno/agno/tools/workflow.py:207-232 | libs/agno/agno/tools/workflow.py:235-260 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. 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":"libs/agno/agno/tools/memory.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68d562e1366f35092ac05a39dd652aaaec3380bafc79c47158babcda63dffde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 6): libs/agno/agno/workflow/condition.py:849-876 | libs/agno/agno/workflow/condition.py:1303-1330 | libs/agno/agno/workflow/router.py:878-905 | libs/agno/agno/workflow/router.py:1219-1246 | libs/agno/agno/workflow/steps.py:477-505 | libs/agno/agno/workflow/steps.py:782-810 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:849\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6332ef8714f1248b55ad05262d2c55f23249c6cebd4bc54e4dd9c452894526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:2136-2162 | libs/agno/agno/db/mysql/mysql.py:2129-2157 | libs/agno/agno/db/singlestore/singlestore.py:2134-2158 | libs/agno/agno/db/sqlite/async_sqlite.py:2680-2707 | libs/agno/agno/db/sqlite/sqlite.py:2946-2973 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0a4e389195ce9c291afc8376f470dba078b1b73d1746c18c417d233792934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201329 lines \u00D7 5): libs/agno/agno/tools/shopify.py:375-400 | libs/agno/agno/tools/shopify.py:479-501 | libs/agno/agno/tools/shopify.py:798-826 | libs/agno/agno/tools/shopify.py:1329-1352 | libs/agno/agno/tools/shopify.py:1435-1463 \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 \u0060libs/agno/agno/tools/shopify.py:375\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9592371941e08c8ebf5b9876b99387707666d2c28eb17c3f05e7c6bf2f3065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 4): libs/agno/agno/agent/_hooks.py:56-84 | libs/agno/agno/agent/_hooks.py:167-191 | libs/agno/agno/agent/_hooks.py:274-299 | libs/agno/agno/agent/_hooks.py:375-400 \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. 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, \u0060libs/agno/agno/agent/_hooks.py:192\u0060 calls \u0060iscoroutinefunction\u0060, \u0060hook\u0060 and \u0060libs/agno/agno/agent/_hooks.py:85\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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac35b1d0e5a0478cb7e789f467ee8696a5caec412444c09d055e39f329d9fcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2659-2687 | libs/agno/agno/db/mysql/async_mysql.py:2943-2971 | libs/agno/agno/db/postgres/async_postgres.py:3184-3212 | libs/agno/agno/db/sqlite/async_sqlite.py:3425-3453 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdccf5f7a49c2baf2de09ec3ace0f3c7bfa7eb88b7ecfd93aacb9a29b225b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5130-5158 | libs/agno/agno/db/postgres/postgres.py:5660-5688 | libs/agno/agno/db/sqlite/async_sqlite.py:5315-5341 | libs/agno/agno/db/sqlite/sqlite.py:5469-5495 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d87fff0513d1cb697c0a9d71f6e09494de4c92607ecdba58f031c097e8b75dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 4): libs/agno/agno/vectordb/qdrant/qdrant.py:971-999 | libs/agno/agno/vectordb/qdrant/qdrant.py:1018-1043 | libs/agno/agno/vectordb/qdrant/qdrant.py:1071-1096 | libs/agno/agno/vectordb/qdrant/qdrant.py:1169-1194 \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 \u0060libs/agno/agno/vectordb/qdrant/qdrant.py:971\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d12559480b4319f3515411d6752f3b41b87a025698ed91f89151d6e3dc05484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 4): libs/agno/agno/workflow/condition.py:619-647 | libs/agno/agno/workflow/condition.py:874-902 | libs/agno/agno/workflow/condition.py:1072-1100 | libs/agno/agno/workflow/condition.py:1328-1356 \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. 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, \u0060libs/agno/agno/workflow/condition.py:616\u0060 calls \u0060getattr\u0060, \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/condition.py:872\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5770ac435896c0e8e43a68afb804e793ff803adefcddcb92e7d935173e80dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:738-766 | libs/agno/agno/os/routers/teams/router.py:630-658 | libs/agno/agno/os/routers/workflows/router.py:1815-1843 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/os/routers/agents/router.py:734\u0060 calls \u0060parse_files_metadata\u0060 and \u0060libs/agno/agno/os/routers/workflows/router.py:1811\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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d94e7b4310f26436b6b8ecb13afc53339050431b511fd883833800c4632632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): libs/agno/agno/team/_run.py:2983-3011 | libs/agno/agno/team/_run.py:4053-4081 | libs/agno/agno/team/_run.py:10559-10587 \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, \u0060libs/agno/agno/team/_run.py:10557\u0060 calls \u0060TeamRunOutput\u0060, \u0060cast\u0060 and \u0060libs/agno/agno/team/_run.py:4052\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cca6a6c658ab5fa41013c4b2679f642dc8e8e5197e6eded7dd55185d3f1a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201336 lines \u00D7 3): libs/agno_infra/agno/infra/operator.py:226-261 | libs/agno_infra/agno/infra/operator.py:300-333 | libs/agno_infra/agno/infra/operator.py:372-405 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/infra/operator.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b2d3eb5f77a7ebb2e630e289778ea7da60a5f8dde2ca647d7372793a8b7bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): cookbook/02_agents/14_advanced/background_execution.py:100-128 | cookbook/03_teams/14_run_control/background_execution.py:129-155 \u2014 before extracting anything, compare \u0060cookbook/02_agents/14_advanced/background_execution.py\u0060 and \u0060cookbook/03_teams/14_run_control/background_execution.py\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060cookbook/02_agents/14_advanced/background_execution.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/14_advanced/background_execution.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362d6df9a1ea8b069ea932ce5413666be942389f6f0317657a1d231cfbb9695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/agent/_messages.py:998-1025 | libs/agno/agno/agent/_messages.py:1294-1322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:998\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ced374c47193386b7e1a7b9c302f777b6233dc0676f3ecc85cd5f0e7ab0fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/agent/_response.py:1162-1190 | libs/agno/agno/agent/_response.py:1329-1356 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a10c03cbc1da1366f439215c984b1fe22582ec9872903cc0a3088591a2c33c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/agent/_run.py:1559-1587 | libs/agno/agno/agent/_run.py:2167-2194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1559\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fad9fa7e7db3baae9b67fd3b90ef58a7a40754e73a65271390c8a0f462a5278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201329 lines \u00D7 2): libs/agno/agno/agent/_session.py:549-577 | libs/agno/agno/team/_session.py:542-559 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060AgentSession\u0060 in one and \u0060TeamSession\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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d747cec89440f20df5daf757d80f78f044959ce0dba6ef76d08fc393f3e73bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/compaction/compaction.py:954-982 | libs/agno/agno/compaction/compaction.py:1014-1042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/compaction/compaction.py:954\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4e2bd571d67f49ff66698be9674d3e24725bb3a735b1bf6065ac2291f024ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1919-1947 | libs/agno/agno/db/json/json_db.py:2041-2069 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1919\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d06eb5b49d179ed4db57736883ae71b8dd664836c00e2c69d190604eca10d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1271-1299 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1397-1425 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5789d149730e3374f18e5e044d6088f5c5b9ae0f2370703b84bfb98ce49ac57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201329 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:5009-5037 | libs/agno/agno/db/mongo/mongo.py:4751-4774 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":5009}}}],"partialFingerprints":{"codehealthFindingId/v1":"06535cc7961919ecd94fa9d18e6a6fedec8158856c77c6b2cebbc36bf293814e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:906-931 | libs/agno/agno/db/sqlite/async_sqlite.py:1252-1280 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:906\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4c367966ea9b601aec68230ae0ee32211d30d59c25a6d82c657e5a79853e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1287-1315 | libs/agno/agno/db/singlestore/singlestore.py:1337-1364 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:1287\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b4a39079ab210ce3e6384fa115770df668c8c358ffcb1e8aa1a2c0c6932893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:1075-1103 | libs/agno/agno/db/postgres/utils.py:232-259 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d243e712f5a93c85451080ddbb219c5eead01848ccf97535a91f670c05cbfc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:424-452 | libs/agno/agno/db/postgres/postgres.py:460-487 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b379e316ce21d7756211e219385b5c947ef53380ce01d45627a2868aa62a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5582-5610 | libs/agno/agno/db/sqlite/async_sqlite.py:5706-5734 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5582}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1832f5b6e37d43aeb7ea3fbc470e1f21aa02243a4080696eb0b4bb15e953b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5712-5740 | libs/agno/agno/db/sqlite/async_sqlite.py:5837-5865 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5712}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dc2cbe1998d0d203a9e803e2de451b3ec987523ef226d7c91590986535143f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8085-8139 | libs/agno/agno/db/sqlite/sqlite.py:7875-7929 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8085}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b7ea8996e2cdbe2d4cd6baa8d079fe1010d099ed424842b9ff439627c45842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3091-3119 | libs/agno/agno/db/valkey/valkey.py:3440-3468 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3091}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47210ad73ad0d7cb291eb55bae120b9ccf37087ee321cb01c46faa66221be5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:891-919 | libs/agno/agno/knowledge/knowledge.py:1060-1088 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:891\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"273e8ffc54166a7bec06653ee87182520ae1e4bf4841740e915fa1f585572fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): libs/agno/agno/learn/stores/learned_knowledge.py:578-606 | libs/agno/agno/learn/stores/learned_knowledge.py:1295-1321 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1028cdfff25d33999c52462a4da36a4f4f32a68ef673365a45ed237e367f6dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): libs/agno/agno/learn/stores/learned_knowledge.py:623-651 | libs/agno/agno/learn/stores/learned_knowledge.py:1336-1362 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"19243857961cb97f3e77f40f6b020fdecd0484b8be8c7252dac5fd30340c9e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:939-963 | libs/agno/agno/os/routers/agents/router.py:1062-1090 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"842df46f9027aa02479b1e882041ecae3df3233e4fd67493bff0ac068ae75445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:817-841 | libs/agno/agno/os/routers/teams/router.py:936-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"af25267ddef4c81bec609db8d26a8e4e615f5811d5e926e1caec5696e89e634e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:786-813 | libs/agno/agno/team/_default_tools.py:1140-1168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_default_tools.py:786\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_default_tools.py:1169\u0060 calls \u0060member_knowledge_filters\u0060 and \u0060libs/agno/agno/team/_default_tools.py:814\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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb53c69cb905fef1e18175b9c0903c6d21aa5c5c7efc055778fa7a0a11374fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:859-887 | libs/agno/agno/team/_task_tools.py:1063-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. 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3305fb8747e2ae0aef6680a75776c89d71af1ccfe141b792b6cbdb1c4f61ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/tools/minimax.py:119-147 | libs/agno/agno/tools/minimax.py:201-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/minimax.py: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. 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":"libs/agno/agno/tools/minimax.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b5c542389e708c704f00bd7574324874a3226e7db984b94a9ad28769f3fb63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): libs/agno/agno/tools/whatsapp.py:125-151 | libs/agno/agno/tools/whatsapp.py:473-501 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc5213588b1086632baadbb6d0a9e3090cfb57b42fa7167ddaddc5cb61aa2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/agno/agno/tools/youtube.py:126-153 | libs/agno/agno/tools/youtube.py:162-190 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/youtube.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1018fcabea6dcbbf3c1439e2e0e8bcd2a972efe9d57fcc71d1067da87bab9a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1652-1680 | libs/agno/agno/vectordb/opensearch/opensearch.py:1512-1540 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c326af233785d9fa663725ba2e3ba15b34b183577d3079ed1fecfee765b36bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:6019-6047 | libs/agno/agno/workflow/workflow.py:6435-6463 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:6016\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/workflow.py:6432\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6019}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb366db2d4992e05acb5ec44950b9b34db83063432d9118feff0108c5670c4b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7473-7501 | libs/agno/agno/workflow/workflow.py:9522-9550 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7473}}}],"partialFingerprints":{"codehealthFindingId/v1":"715e18aca13cb9f323d237f22d104d434e1bdbe46aa5900f0ebf18155f9e26fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7836-7864 | libs/agno/agno/workflow/workflow.py:9599-9627 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7836}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de5084ab86cba9c81411a3e7afd8ba5a243455b8bbbf8283635442c34143d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7888-7916 | libs/agno/agno/workflow/workflow.py:9651-9679 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:7888\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7888}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fe50f24c0cbd8a9e5184f902ef893903f233c1d6884c5be8478743a7e5f2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): libs/agno_infra/agno/aws/app/streamlit/streamlit.py:45-73 | libs/agno_infra/agno/docker/app/streamlit/streamlit.py:41-67 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/app/streamlit/streamlit.py\u0060 and \u0060libs/agno_infra/agno/docker/app/streamlit/streamlit.py\u0060 as WHOLE FILES: 86% 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 \u0060libs/agno_infra/agno/aws/app/streamlit/streamlit.py:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno_infra/agno/aws/app/streamlit/streamlit.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a1ada2915e3f9c17db907832bfce8b78d07b39ab56cc56f79f5a3748938e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 4): libs/agno/agno/db/firestore/firestore.py:1541-1568 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1085-1111 | libs/agno/agno/db/in_memory/in_memory_db.py:876-902 | libs/agno/agno/db/json/json_db.py:1171-1197 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb3c32b0563a3780018772aa42b4c43eaf01025f95408433a81c8cf597292a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:3199-3226 | libs/agno/agno/db/mysql/async_mysql.py:3492-3519 | libs/agno/agno/db/postgres/async_postgres.py:3747-3774 | libs/agno/agno/db/sqlite/async_sqlite.py:3993-4020 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c7e8d94c91bd49b0266a925aeeab73f6970c561a7ef5cbe820251eaa41dfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 4): libs/agno/agno/db/mysql/utils.py:894-921 | libs/agno/agno/db/postgres/utils.py:835-862 | libs/agno/agno/db/singlestore/utils.py:624-647 | libs/agno/agno/db/sqlite/utils.py:845-872 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"10679e3026b826557a77d1213bab0f5300da18e773ccacf94a7ecea37a549d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): libs/agno/agno/knowledge/knowledge.py:5501-5528 | libs/agno/agno/knowledge/knowledge.py:5544-5571 | libs/agno/agno/knowledge/knowledge.py:5637-5664 | libs/agno/agno/knowledge/knowledge.py:5702-5729 \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 \u0060libs/agno/agno/knowledge/knowledge.py:5501\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":5501}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8fcc0239dbea190bf37fc49a7c97f8fd5566f0586912a361fed8e592416f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 4): libs/agno/agno/os/routers/teams/router.py:2105-2130 | libs/agno/agno/os/routers/teams/router.py:2200-2225 | libs/agno/agno/os/routers/teams/router.py:2265-2290 | libs/agno/agno/os/routers/teams/router.py:2330-2357 \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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d7f9d35876ed88bcc3b0ee7316e2c0c56843842214a11cc06bb18c40741f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 4): libs/agno/agno/team/_hooks.py:253-280 | libs/agno/agno/team/_hooks.py:351-377 | libs/agno/agno/team/_hooks.py:453-479 | libs/agno/agno/team/_hooks.py:548-574 \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. 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, \u0060libs/agno/agno/team/_hooks.py:378\u0060 calls \u0060iscoroutinefunction\u0060, \u0060hook\u0060 and \u0060libs/agno/agno/team/_hooks.py:281\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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"be89201e2c7e968f7cbde064e055381fb27514c905b5f0aba718dace19749f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 4): libs/agno/agno/workflow/condition.py:343-369 | libs/agno/agno/workflow/loop.py:394-421 | libs/agno/agno/workflow/router.py:439-463 | libs/agno/agno/workflow/steps.py:217-243 \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. 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce9094c8132d7e381cf5850da107c5d3638526ac22040fd2e06e146701f2a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201328 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3064-3088 | libs/agno/agno/workflow/workflow.py:4069-4096 | libs/agno/agno/workflow/workflow.py:7365-7387 | libs/agno/agno/workflow/workflow.py:9418-9438 \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 \u0060libs/agno/agno/workflow/workflow.py:3064\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3064}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fcb01ea21d70adaf432ae537fc0988bfd200b2ae52d82d08d024c9dbe20f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201328 lines \u00D7 3): libs/agno/agno/agent/_storage.py:1629-1656 | libs/agno/agno/agents/_storage.py:447-456 | libs/agno/agno/team/_storage.py:1617-1641 \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. 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9228d81b37f2e709e9014c100ce2b29bc000cbafdb88f91027378210c811f896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 3): libs/agno/agno/agent/agent.py:2001-2026 | libs/agno/agno/team/team.py:2027-2052 | libs/agno/agno/workflow/workflow.py:12080-12107 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/agent.py:2001\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"832923edc290c5a74d38967dc50bee6b2e563c775130485cb356500178ba1017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:684-711 | libs/agno/agno/db/in_memory/in_memory_db.py:305-332 | libs/agno/agno/db/json/json_db.py:752-779 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f143aff752ec6647b9c1990266ad780ac014ca6b46c20fbaf33704eccf74903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1720-1743 | libs/agno/agno/db/postgres/async_postgres.py:2105-2128 | libs/agno/agno/db/sqlite/async_sqlite.py:2278-2305 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"261080bc0cb88181bbea400666bb7f08f7bb43e7c83a85c93d759dd154288090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): libs/agno/agno/team/_run.py:2226-2253 | libs/agno/agno/team/_run.py:2609-2636 | libs/agno/agno/team/_run.py:3778-3805 \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 \u0060libs/agno/agno/team/_run.py:2226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4cc1e718954d9b7b2a6490b91972b03c3f45d15172be4ffbdf409dba5966cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): libs/agno_infra/agno/cli/infra_cli.py:226-253 | libs/agno_infra/agno/cli/infra_cli.py:415-442 | libs/agno_infra/agno/cli/infra_cli.py:582-609 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"60748f48ab638ea62925005cbabb5aa436c53cfe78ed9e401cc0664a05132553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): cookbook/07_knowledge/09_archive/custom_retriever/retriever.py:34-61 | cookbook/07_knowledge/09_archive/custom_retriever/team_retriever.py:34-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/custom_retriever/retriever.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3b7e42d667ac49efdd2f76beac40bafebc890a50077935d4cbbae3a36cc7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): libs/agno/agno/agent/_cli.py:83-110 | libs/agno/agno/agent/_cli.py:184-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_cli.py:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"328feae515e5031889bae77981d2324100dd229012cbb5e2cf34bd0309805f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/agent/_managers.py:46-73 | libs/agno/agno/agent/_managers.py:101-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_managers.py:46\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e63b6b3ce07f13765d26e6b2ddacf8c1a1292d36d92f30e6df64686cf0e1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): libs/agno/agno/agent/_messages.py:1222-1249 | libs/agno/agno/agent/_messages.py:1526-1552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:1222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c53d1d8cb348ebd18f82c9f300893ca888534d8405e9ecdee214437de62b8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/agent/_tools.py:533-560 | libs/agno/agno/team/_tools.py:387-414 \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 \u0060libs/agno/agno/agent/_tools.py:533\u0060 it begins part-way through the construct above it, so those exact 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 first that the copies are not typed on the same thing: \u0060Agent\u0060 names \u0060agno.agent\u0060 in one and \u0060agno.agent.agent\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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a34f07add7bb4b8ad5e5dfbb9f556035a4a5a759176f274b23ca1ca324fd34f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/agent/remote.py:286-313 | libs/agno/agno/team/remote.py:279-306 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"25307ac692e0ccbc42f3d3a737bb979f7e38cf1296d494016cebfe7872c3f14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1118-1145 | libs/agno/agno/db/json/json_db.py:1204-1231 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"229da09608f669f3d02a07b0f529867f86b182ece464ab2595eefa8bc27a1f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2117-2141 | libs/agno/agno/db/json/json_db.py:2250-2277 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ed37394664553defb2f25fef377f2e7a9f80f5d000b817778f56f9a735d6c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2695-2722 | libs/agno/agno/db/json/json_db.py:2844-2871 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca02c4659896c10330897929f29d5128827ed6738326bfc322214ea8f529d02f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_3_0.py:307-334 | libs/agno/agno/db/migrations/versions/v2_3_0.py:814-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. 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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3dd6749da1bddd8fb6f0014031106ddcd5b9649fbf9d516947fe4de9d8d6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:878-903 | libs/agno/agno/db/postgres/async_postgres.py:1261-1288 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e4a258a59ef649a3148d6770e27315d27aeca4f091d4d2f86e0a9f09418540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2003-2031 | libs/agno/agno/db/postgres/async_postgres.py:2403-2431 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"44309801a4f6f11209de216d7fb379c138244a85450d1972c78521d33f9efe30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:3695-3722 | libs/agno/agno/db/postgres/async_postgres.py:3949-3976 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3695\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e81616b14a7e34e9bfeeeffdbc303eafc4312c3fee8aac90debe8f8eeb8f38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:4253-4280 | libs/agno/agno/db/singlestore/singlestore.py:4157-4184 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42efc2d2d255f7542967be246bbcf995807a33bc2c900aa4b554c37ba4eccb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5362-5388 | libs/agno/agno/db/sqlite/async_sqlite.py:5550-5577 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5362}}}],"partialFingerprints":{"codehealthFindingId/v1":"33420402d9b58c53213ca55ed3b31d40d15345168197563dee34bf2b10833e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5817-5844 | libs/agno/agno/db/sqlite/async_sqlite.py:5942-5969 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5817}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4bcc1fd335ca7a0811388fff8fb13d81f9112aec2db575f87fa4fa1800f3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6601-6628 | libs/agno/agno/db/sqlite/sqlite.py:6459-6486 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6601}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a2bc3cf4440cc20b3c2b5289921fdb95d224f9dca0a19e8615279c150bdb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8425-8452 | libs/agno/agno/db/sqlite/sqlite.py:8212-8239 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33949013f303b7eda03220b83fe6551662714f9f803f3436f81aca5b5782fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1413-1440 | libs/agno/agno/db/valkey/valkey.py:1758-1785 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"97371faff83ee5926100320db148d2586ed80079c63e1dfa75791dab4923815f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3176-3203 | libs/agno/agno/db/valkey/valkey.py:3569-3596 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a1d66e6b2f356e8505e39f670921f12b4899df04b99d3f4acdf82db7ac35ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3220-3246 | libs/agno/agno/db/valkey/valkey.py:3613-3640 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c17a55676481c4e72f569fb34a99a499e94e31447d1045b3ee51cc90b227b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/singlestore/singlestore.py:1557-1584 | libs/agno/agno/db/sqlite/sqlite.py:2307-2334 \u2014 \u0060libs/agno/agno/db/singlestore/singlestore.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 139 separate duplicated blocks between them, totalling at least 2547 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/singlestore/singlestore.py:1557\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"1258d3b21b3a3fe5caa0ca73c9710285eb7f531a54e4660a086b39ce3efd8f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201328 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:1106-1127 | libs/agno/agno/learn/stores/entity_memory.py:1226-1253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:1106\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde45a38cb80a75e4f2a3eb78fe01fd0c59b91dcbc00a9f9b605cd47d6db683d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): libs/agno/agno/models/azure/openai_chat.py:62-89 | libs/agno/agno/models/azure/openai_responses.py:66-92 \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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"83afaca6b1ae1c130dbe4d536d76195e4e45629221bd47c75bb389c3ed98924e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201328 lines \u00D7 2): libs/agno/agno/models/openai/chat.py:809-829 | libs/agno/agno/models/perplexity/perplexity.py:104-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060ChatCompletion\u0060 in one and \u0060Union[ChatCompletion, ParsedChatCompletion]\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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8e8cb2de8fbbdb496d6be1f49f26a999bbb34afb37c6f0a14ef0c94cff1998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/os/utils.py:1974-2001 | libs/agno/agno/os/utils.py:2031-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. 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a2c65bb32a7e018698d6d9eeb265b445b856897940dc84721c011d32b15cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/os/utils.py:2116-2143 | libs/agno/agno/os/utils.py:2175-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. 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d486dc52d5fdb0829f40eca2eb972d99e1363e027564d3dc0d1435d00febb0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/run/agent.py:809-836 | libs/agno/agno/run/team.py:886-913 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/run/team.py:884\u0060 calls \u0060to_dict\u0060, \u0060isinstance\u0060 and \u0060libs/agno/agno/run/agent.py:807\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":"libs/agno/agno/run/agent.py"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"447fdfac9f2a6cbd9af3df8740b113bd000224857b8c96545e9e8032cf1a533a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/team/_run.py:2205-2232 | libs/agno/agno/team/_run.py:3182-3209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:2205\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f065cfec21cb9a09b1c9bf39e0b58562030c0ef9ffc8f32a0cd0ef541c36a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): libs/agno/agno/team/_run.py:6542-6566 | libs/agno/agno/team/_run.py:6747-6774 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6542}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0fa1ab930d39645ebc20a7aecda558b55db9e0892f04d292d5c3cdc4e6af7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): libs/agno/agno/team/_session.py:391-418 | libs/agno/agno/team/_session.py:438-460 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_session.py:462\u0060 calls \u0060_has_async_db\u0060, \u0060_aupsert_session\u0060 and \u0060libs/agno/agno/team/_session.py:419\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":"libs/agno/agno/team/_session.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f2c9c110e64c16459fce22257ba8e5f6887252f53985f1a596e247d7168a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/tools/duckdb.py:306-333 | libs/agno/agno/tools/duckdb.py:359-386 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/duckdb.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"81efd3189d969d88f8a17d45bc6878453c47d3f3f7f6e7454380738dff2d2c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): libs/agno/agno/utils/media_offload.py:198-225 | libs/agno/agno/utils/media_offload.py:409-434 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0afe2432219d58f042c832c4f4f25e844a21d5adb6e3ff8a22dbae0ce033ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:588-614 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:655-682 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/clickhouse/clickhousedb.py:653\u0060 calls \u0060_ensure_async_client\u0060 and \u0060libs/agno/agno/vectordb/clickhouse/clickhousedb.py:587\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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5f5cf7b621c759b93fd822efbe46e8e02ed2095bf5488b714b667b92a06801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1295-1322 | libs/agno/agno/vectordb/opensearch/opensearch.py:1209-1236 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1323\u0060 calls \u0060_require_preparable\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1237\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f0a3dba4fe50dfb929287836b2229e7b9e9a2b57137ca70d9901ab38746dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1421-1448 | libs/agno/agno/vectordb/opensearch/opensearch.py:1333-1360 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1449\u0060 calls \u0060_mark_unretrievable\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1361\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"42471fad76d362b404497b5f84fb5135bcf6b8bf78ee18b49f6c86c3f9a15a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/vectordb/pineconedb/pineconedb.py:293-320 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:418-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/pineconedb/pineconedb.py:448\u0060 calls \u0060_upsert_vectors\u0060 and \u0060libs/agno/agno/vectordb/pineconedb/pineconedb.py:322\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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2fee24826816408280e04ea6b1c00ca200309f1d0b3956b58e0f5ebc5cac50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201328 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:155-174 | libs/agno/agno/vectordb/valkey/valkeydb.py:274-301 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/valkey/valkeydb.py:303\u0060 calls \u0060ValueError\u0060 and \u0060libs/agno/agno/vectordb/redis/redisdb.py:175\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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72f7a631206a1c0d23684de529bdda14b55888dfe62b3a670658652dae09a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201328 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5239-5266 | libs/agno/agno/workflow/workflow.py:5506-5526 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f869d3c507a27f7a21f81874cb02e849046db6608fd34d144d83287ac5fd5059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:8115-8140 | libs/agno/agno/workflow/workflow.py:9876-9903 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e85fd2b009f679b8d1ae3f8eb5a57ed8227354c331ed689c2347a58dc748244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): libs/agno_infra/agno/aws/resource/cloudformation/stack.py:167-194 | libs/agno_infra/agno/aws/resource/cloudformation/stack.py:197-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. 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":"libs/agno_infra/agno/aws/resource/cloudformation/stack.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"668fc7e1e9e3b70e2f5c154eee4126d9a8578e77217551ea51d3b200b214b27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 13): libs/agno/agno/db/dynamo/dynamo.py:3239-3265 | libs/agno/agno/db/firestore/firestore.py:2933-2960 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1998-2025 | libs/agno/agno/db/in_memory/in_memory_db.py:1712-1739 | libs/agno/agno/db/json/json_db.py:2120-2147 | libs/agno/agno/db/mongo/mongo.py:2950-2977 | libs/agno/agno/db/mysql/mysql.py:3435-3462 | libs/agno/agno/db/postgres/postgres.py:4271-4298 | libs/agno/agno/db/redis/redis.py:2876-2903 | libs/agno/agno/db/singlestore/singlestore.py:3426-3453 | libs/agno/agno/db/sqlite/sqlite.py:4207-4234 | libs/agno/agno/db/surrealdb/surrealdb.py:2591-2618 | libs/agno/agno/db/valkey/valkey.py:3223-3250 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 13 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 13 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ec15654dd801c6b2757b9107a65c1777149215a49182cd67a28120af34298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6): libs/agno/agno/db/migrations/versions/v2_3_0.py:139-165 | libs/agno/agno/db/migrations/versions/v2_3_0.py:478-504 | libs/agno/agno/db/migrations/versions/v2_3_0.py:695-721 | libs/agno/agno/db/migrations/versions/v2_3_0.py:778-804 | libs/agno/agno/db/migrations/versions/v2_3_0.py:851-877 | libs/agno/agno/db/migrations/versions/v2_3_0.py:933-959 \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. 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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1708382f1f84b5cfefc3b71377482dde916f3dbfc070a91261c6426885fa188a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1112-1138 | libs/agno/agno/db/postgres/postgres.py:1957-1983 | libs/agno/agno/db/singlestore/singlestore.py:1158-1184 | libs/agno/agno/db/sqlite/sqlite.py:1922-1948 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4666ea72e8591569dffcdf460b9e93012e95ec86bbfaf3ee549f39c492cb14dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3790-3816 | libs/agno/agno/db/postgres/postgres.py:4664-4690 | libs/agno/agno/db/singlestore/singlestore.py:3750-3776 | libs/agno/agno/db/sqlite/sqlite.py:4543-4569 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4a026621ab78b4ba5852a5043b6a5e89daeb3590f1e52cb4a833b2b8c2dd0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): libs/agno/agno/os/routers/metrics/metrics.py:1205-1231 | libs/agno/agno/os/routers/metrics/metrics.py:1331-1357 | libs/agno/agno/os/routers/metrics/metrics.py:1575-1601 | libs/agno/agno/os/routers/metrics/metrics.py:1732-1758 \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 \u0060libs/agno/agno/os/routers/metrics/metrics.py: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. 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c935ead7f1443bc85fb84919f593be32b2e538c75e4886ddfd640180f21ba6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): libs/agno/agno/reasoning/anthropic.py:78-104 | libs/agno/agno/reasoning/anthropic.py:157-183 | libs/agno/agno/reasoning/vertexai.py:32-58 | libs/agno/agno/reasoning/vertexai.py:69-95 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/vertexai.py\u0060 as WHOLE FILES: this scan already matched 8 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. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"97262fba6d5974fdadbb438cc4f3f928e4a5b958e922e8cfe43ed79396f575ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7126-7152 | libs/agno/agno/workflow/workflow.py:8000-8026 | libs/agno/agno/workflow/workflow.py:9187-9213 | libs/agno/agno/workflow/workflow.py:9762-9788 \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. 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, \u0060libs/agno/agno/workflow/workflow.py:9215\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/workflow/workflow.py:7155\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7126}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a6540fc28bbcf429bad2cc1b1a09d301fee3420e65ac0c18d876b37ab55187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1352-1377 | libs/agno/agno/db/singlestore/singlestore.py:1404-1429 | libs/agno/agno/db/sqlite/sqlite.py:2144-2170 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:1352\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f034920874cde3c5706b91dc009235be1beef6c8e47cba016c6056fe0438026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:3930-3953 | libs/agno/agno/db/singlestore/singlestore.py:3890-3913 | libs/agno/agno/db/sqlite/sqlite.py:4682-4708 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/singlestore/singlestore.py:3918\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:3957\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3930}}}],"partialFingerprints":{"codehealthFindingId/v1":"89de3e442bd8345930106efcc136ce59d66fb7f0f6a9dd7e5a397d04fe8021c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:2412-2438 | libs/agno/agno/db/postgres/postgres.py:2480-2506 | libs/agno/agno/db/postgres/postgres.py:2548-2574 \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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5324c9ba87ed76b7d80ee9d1e74ae3deddc5e03bb2bfe12956e39cb4793eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201327 lines \u00D7 3): libs/agno/agno/models/aws/claude.py:236-262 | libs/agno/agno/models/azure/claude.py:164-177 | libs/agno/agno/models/vertexai/claude.py:159-185 \u2014 \u0060libs/agno/agno/models/aws/claude.py\u0060 and \u0060libs/agno/agno/models/azure/claude.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 64 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 \u0060response_format\u0060 to \u0060Optional[Union[Dict, Type[BaseModel]]] = None\u0060 in one and \u0060Union[Dict, Type[BaseModel]] | None = None\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":"libs/agno/agno/models/aws/claude.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40bf4403323041544f49a5a9283d5ad9bab6bab3caca83709967ab3cecbe720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): libs/agno/agno/session/agent.py:151-178 | libs/agno/agno/session/team.py:141-168 | libs/agno/agno/session/workflow.py:239-265 \u2014 before extracting anything, compare \u0060libs/agno/agno/session/agent.py\u0060 and \u0060libs/agno/agno/session/team.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/session/team.py:171\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/session/agent.py:180\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":"libs/agno/agno/session/agent.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a93c73f9fee1986c3cee65e3f82adfe5bd64a20b0a1075509a668261cf645a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 3): libs/agno/agno/team/_run.py:7674-7698 | libs/agno/agno/team/_run.py:7917-7943 | libs/agno/agno/team/_run.py:7990-8016 \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, \u0060libs/agno/agno/team/_run.py:7946\u0060 calls \u0060_handle_team_tool_call_updates\u0060 and \u0060libs/agno/agno/team/_run.py:7700\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":7674}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a635fbdc38cf139f0f04487d52d7da36b612ff33a937ac5e5a59da9c795da41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): cookbook/05_agent_os/04_run_lifecycle/background_run.py:84-107 | cookbook/05_agent_os/04_run_lifecycle/cancel_run.py:88-114 \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":"cookbook/05_agent_os/04_run_lifecycle/background_run.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9fd21a2faa58c1af05fda2cbc05f8931a2ecac0e78d1aa807f9d7dbcd8c168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/agent/_hooks.py:96-122 | libs/agno/agno/agent/_hooks.py:206-232 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c2229346a540c90b614d86b8d1ca36355fc3199707fe1add963c1380629800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/agent/_run.py:574-600 | libs/agno/agno/agent/_run.py:3750-3776 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:574\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0f28dc8cb1fbefd3dfad2d69fd2b72a7dcc86c94dbc59de53a2fc5f80c552e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): libs/agno/agno/agent/_run.py:1383-1406 | libs/agno/agno/agent/_run.py:2766-2792 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fc266f8cc67f52f3f00e198b701b5c3e56e23e82c18e5f42f0583d71a50446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): libs/agno/agno/agent/_run.py:2484-2510 | libs/agno/agno/agent/_run.py:5643-5666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:2484\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5372669756bdf3d0f68dd4e8e45250ff69397e814e44273b0b46a288da46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/agent/_tools.py:290-316 | libs/agno/agno/agent/_tools.py:442-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_tools.py:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73c1144aefca714570cf4fcbeaa3bdf2ae39cd6187a75e04f4110c2b867363f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/agent/_utils.py:198-224 | libs/agno/agno/team/_utils.py:190-215 \u2014 \u0060libs/agno/agno/agent/_utils.py\u0060 and \u0060libs/agno/agno/team/_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 5 separate duplicated blocks between them, totalling at least 107 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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac04d9a19190662368b3646fde804387ed33342d61094aafceae3b7ebdbd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/client/os.py:147-173 | libs/agno/agno/client/os.py:207-233 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/client/os.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6260f9e9cf32d2deb44b21f91f9790abc7dac5a48bce45cc3982bb37c17f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4148-4174 | libs/agno/agno/db/mongo/mongo.py:3956-3982 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3470db68f8e3733e95021ed31078fab6678843c6ce09a710ed2f2dfc0a0ab081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:253-279 | libs/agno/agno/db/mysql/mysql.py:248-274 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7092d809b485f4c95606398fde66ec308e0624e352284a891690c14bb9bfee1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1340-1364 | libs/agno/agno/db/sqlite/async_sqlite.py:1876-1902 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1340\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51351c89b8c7bade71bbe82e208deadc883528a4a94f88e3817df6cb685a310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:3988-4010 | libs/agno/agno/db/sqlite/async_sqlite.py:4470-4496 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4501\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:4014\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdf1200fec53c8423c0b40adbdd2c798e86580c5c572807321501d27925a5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:4479-4505 | libs/agno/agno/db/mysql/mysql.py:4415-4441 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"5584b744cc911251c805840efc5c7113c9007b8aef953e5510f5acc0252b6081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2033-2059 | libs/agno/agno/db/singlestore/singlestore.py:2041-2067 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2033\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f3c3397f77e9f6be3b9e148edfef30c182fce57e456f79cd8f43224b2fe86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:3645-3671 | libs/agno/agno/db/postgres/postgres.py:4487-4513 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a6c57db30e3f31df57b1c06766fe94d74fadca766104d51d54ea7bd1b35601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5172-5197 | libs/agno/agno/db/sqlite/async_sqlite.py:5356-5382 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5172}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fb58d6cb6e7e8b5aa488bc37fbc21721d49d09c6c5aa9910f8a7746652b134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8450-8484 | libs/agno/agno/db/sqlite/async_sqlite.py:7664-7698 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8450}}}],"partialFingerprints":{"codehealthFindingId/v1":"655672537c2be19897d07c46a08dfa9c6249c388a37277c367aa6b986e293c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7458-7502 | libs/agno/agno/db/sqlite/sqlite.py:7262-7305 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7458}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd415c3e91990c8bd1e88cedb6f1000ad05965075b3060bcbc0671e029593ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7894-7944 | libs/agno/agno/db/sqlite/sqlite.py:7684-7734 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4901575453f9cc1c3302dbcc7b3320b51f63cf90c839281997c974c5610b9dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8303-8329 | libs/agno/agno/db/sqlite/sqlite.py:8090-8116 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a7ef0c5e25074313a54e7d232a51b2052b6ce48a79a359096ffb7e4a85028"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:799-825 | libs/agno/agno/db/valkey/valkey.py:943-968 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5294737c90acc0c90175b6a1cde8c65934dc8703771ad1805eca4c5093b929aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1238-1264 | libs/agno/agno/db/valkey/valkey.py:1577-1603 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"86678b4d427110d6b6ff6ac2004d70c765808f6aa02e582ce57c52872b142398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2243-2269 | libs/agno/agno/db/sqlite/sqlite.py:2511-2537 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2243\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"409334d8636a64c2566de5d50d3a2bc3fd691d3223241857d1edbad874a0746f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:655-681 | libs/agno/agno/eval/accuracy.py:771-797 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/accuracy.py:655\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0530276bbdc1dd9db441c3f2f735b1e114f3417cdf1976adfa134e8f6b6230c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:684-710 | libs/agno/agno/eval/accuracy.py:800-826 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/accuracy.py:684\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/eval/accuracy.py:711\u0060 calls \u0060isinstance\u0060, \u0060log_error\u0060 and \u0060libs/agno/agno/eval/accuracy.py:827\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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"156c5d9eba151ffa7c13701902849df4813884f13c738b5fc7b91dccd24b79d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3850-3876 | libs/agno/agno/knowledge/knowledge.py:3963-3989 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aab1c5c48545a62b1d15eddae109f78e54e1e26370c34ccd50724d7bc59051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): libs/agno/agno/learn/migrations.py:343-369 | libs/agno/agno/learn/migrations.py:465-488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/migrations.py:343\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ac67f87c34925cb3e2c087f3643b62681237c752c3cb091850e1dad6303010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/models/base.py:2385-2411 | libs/agno/agno/models/base.py:3113-3139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:2385\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb00f12932066862e4fb911d818f90f7aa522db6bb7d09c12fabefbe0f8cc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/models/base.py:2533-2559 | libs/agno/agno/models/base.py:2759-2785 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec9bfeae03fbfe3b168252e89eaab2339f052d6722bb7bc0e20e02fcba64b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:164-190 | libs/agno/agno/os/routers/agents/router.py:260-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:164\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cbd32a13e6e358b767378afa027eff740ea596801308eee972c532bb8359cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:2275-2301 | libs/agno/agno/os/routers/workflows/router.py:2615-2640 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"61835378cf0059dab676749ff328633aa3b2b7de4fd3424db21205ce4f352c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/team/_messages.py:464-490 | libs/agno/agno/team/_messages.py:718-744 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_messages.py:464\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8926a6b07643cb610ce471252fe32a82d85027353d6bf3e6707f57253b2fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201327 lines \u00D7 2): libs/agno/agno/team/_run.py:555-574 | libs/agno/agno/team/_run.py:1415-1441 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d67e110fc3dd3d22d5ae37f26cf36264992b03540be4184c2ac9e41689da2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201327 lines \u00D7 2): libs/agno/agno/team/_run.py:4695-4721 | libs/agno/agno/team/_run.py:4922-4943 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4695}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff4a5530b9c6f4fecc495b3e319f43d466d31ee967b43bdc346913c2a155a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201327 lines \u00D7 2): libs/agno/agno/team/_run.py:4778-4804 | libs/agno/agno/team/_run.py:4982-5003 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4778}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eccc49b21bca2f4128e4bda74f117d4229f820e863fa7ffe1291f76473cba80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 2): libs/agno/agno/tools/coding.py:681-707 | libs/agno/agno/tools/coding.py:763-785 \u2014 both copies are in the same file, so extract the block 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. 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"188739d521cbdadc0b17ddba2dfe9e9970b1a80b0841af6b9fbb556d8e67b084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): libs/agno/agno/tools/opencv.py:48-72 | libs/agno/agno/tools/opencv.py:153-179 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/opencv.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2327c9c8a7e6da5c90623084aecf3c72008ef57758df8905494c1196815bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/tools/perplexity.py:92-118 | libs/agno/agno/tools/perplexity.py:153-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/perplexity.py:92\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/perplexity.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61eecb337bba637ada8cec9ef1fdc448d66235279bc00bbf3e7f16efc7772c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/tools/whatsapp.py:329-354 | libs/agno/agno/tools/whatsapp.py:377-403 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f475e5d970787702dc5d90767b8ec32112224d2b70e116baef72bbbadd865e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/utils/agent.py:908-934 | libs/agno/agno/utils/agent.py:956-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. 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78a29cf6b9afb2767a306b9f6163c0532cb0dd64f1f550fdac87e34acdc2a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/vectordb/chroma/chromadb.py:1283-1309 | libs/agno/agno/vectordb/chroma/chromadb.py:1371-1397 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b81512268a17c4b13c4ed9a8b1c66f1ff85785044dc86a57c016aad892620e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1898-1924 | libs/agno/agno/vectordb/opensearch/opensearch.py:1656-1682 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce72decfc6702ca9787d42afa48161c7ba6728d038861dfb86778b847423d58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2334-2360 | libs/agno/agno/vectordb/opensearch/opensearch.py:1879-1904 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2334\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"beae9921807b20032e69857d0900ef90bc96f41c1fae5f1a3ce8d4ab12059793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2805-2828 | libs/agno/agno/vectordb/opensearch/opensearch.py:2193-2219 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"387779740d4291ee037e52cdd8a174cfafe95d7f42ef74987917b1393eccb773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/workflow/condition.py:590-616 | libs/agno/agno/workflow/condition.py:1043-1069 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/condition.py:588\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/condition.py:1042\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df27e49838eb83a7ab2adaec968c7467198d8c995b99116a8a01267be87de3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/agno/agno/workflow/router.py:534-560 | libs/agno/agno/workflow/router.py:574-600 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/router.py:602\u0060 calls \u0060iscoroutinefunction\u0060, \u0060selector\u0060 and \u0060libs/agno/agno/workflow/router.py:562\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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2335224c1f26c1f7e2eda6ba31ba0c40590059eebf6bee4d81ed165e3d2dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3144-3170 | libs/agno/agno/workflow/workflow.py:7445-7469 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92482304a743cd5409a3e0ec8e5a4b411e5bbbdf9523192d264b44b0b38201f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:4149-4175 | libs/agno/agno/workflow/workflow.py:9494-9518 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b95153d884ca73bf63ffcd809fb4309370f225a602f68328c14cb4ead85609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5370-5395 | libs/agno/agno/workflow/workflow.py:10525-10551 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:5370\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b1efceea1d8b046c89cd43883128fa81746a8a9d58bf10dacbf31aa2b2534f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 9): libs/agno/agno/models/dashscope/dashscope.py:43-67 | libs/agno/agno/models/deepseek/deepseek.py:113-138 | libs/agno/agno/models/groq/groq.py:73-94 | libs/agno/agno/models/minimax/minimax.py:38-62 | libs/agno/agno/models/moonshot/moonshot.py:105-130 | libs/agno/agno/models/n1n/n1n.py:31-56 | libs/agno/agno/models/openai/chat.py:107-131 | libs/agno/agno/models/openai/responses.py:208-232 | libs/agno/agno/models/synthorai/synthorai.py:31-56 \u2014 before extracting anything, compare \u0060libs/agno/agno/models/deepseek/deepseek.py\u0060 and \u0060libs/agno/agno/models/openai/chat.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. 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":"libs/agno/agno/models/dashscope/dashscope.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe011dfa3262e334146bcdc0840e625550b7f002be2caeda2ac56da28cac17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 7): libs/agno/agno/db/dynamo/dynamo.py:3792-3814 | libs/agno/agno/db/firestore/firestore.py:3494-3516 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2398-2420 | libs/agno/agno/db/json/json_db.py:2556-2578 | libs/agno/agno/db/redis/redis.py:3362-3387 | libs/agno/agno/db/surrealdb/surrealdb.py:3019-3041 | libs/agno/agno/db/valkey/valkey.py:3759-3784 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060agent_id\u0060 to \u0060Any\u0060 in one and \u0060Optional[str]\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3792}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ccc3e0f934edfceac2cc768f9b82a2f560c16f357d135fd5ae5de82110cf9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201326 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1197-1218 | libs/agno/agno/db/mysql/mysql.py:1213-1234 | libs/agno/agno/db/postgres/async_postgres.py:1827-1847 | libs/agno/agno/db/postgres/postgres.py:2063-2083 | libs/agno/agno/db/singlestore/singlestore.py:1260-1285 | libs/agno/agno/db/sqlite/async_sqlite.py:1758-1777 | libs/agno/agno/db/sqlite/sqlite.py:2027-2046 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1197\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8305db880c18851b3740daf376ddc3b1cf6543dae2c51a85d130774f059068c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 6): libs/agno/agno/db/sqlite/async_sqlite.py:2047-2072 | libs/agno/agno/db/sqlite/async_sqlite.py:2119-2144 | libs/agno/agno/db/sqlite/async_sqlite.py:2191-2216 | libs/agno/agno/db/sqlite/sqlite.py:2315-2340 | libs/agno/agno/db/sqlite/sqlite.py:2387-2412 | libs/agno/agno/db/sqlite/sqlite.py:2459-2484 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2047\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ffa93f05cb54809f97c226005ec752a50a822db7f08e8e58d25d2419e2ee72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2958-2983 | libs/agno/agno/db/postgres/postgres.py:3775-3800 | libs/agno/agno/db/singlestore/singlestore.py:2951-2976 | libs/agno/agno/db/sqlite/sqlite.py:3712-3737 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:2957\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:3774\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9785aedc6883151fb50c0ab5f6eb43b25d5f72ade6cc6ffd57ac5b026c0c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 4): libs/agno/agno/eval/agent_as_judge.py:546-569 | libs/agno/agno/eval/agent_as_judge.py:644-669 | libs/agno/agno/eval/agent_as_judge.py:714-738 | libs/agno/agno/eval/agent_as_judge.py:783-807 \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 \u0060libs/agno/agno/eval/agent_as_judge.py:644\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d3f40b75051b5f55f571e872c31b9d23555606fe1dae92d9efa52caa4bb497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1550-1575 | libs/agno/agno/db/mysql/async_mysql.py:1611-1636 | libs/agno/agno/db/mysql/async_mysql.py:1672-1697 \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 \u0060libs/agno/agno/db/mysql/async_mysql.py:1550\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e78e07604168cc28807c28361dc40f5dd44b992429ef38a4282d3c5ed2fb34f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3401-3426 | libs/agno/agno/db/postgres/async_postgres.py:3656-3681 | libs/agno/agno/db/sqlite/async_sqlite.py:3895-3920 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"62219fe7649acde63b2a0825064e34d37ea068348cea7842b2643028ff608d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4550-4575 | libs/agno/agno/db/postgres/async_postgres.py:4945-4970 | libs/agno/agno/db/sqlite/async_sqlite.py:5128-5153 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfa13700ecb6594fed63052a8ccd4679f16e51592cd91136ab3e838da91f6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): libs/agno/agno/db/sqlite/async_sqlite.py:2077-2102 | libs/agno/agno/db/sqlite/async_sqlite.py:2149-2174 | libs/agno/agno/db/sqlite/async_sqlite.py:2221-2246 \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 \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2077\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4a38b796965830712858cc6a63134468f6fb0f213f22c499dc62839e26b05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): libs/agno/agno/db/sqlite/sqlite.py:2345-2370 | libs/agno/agno/db/sqlite/sqlite.py:2417-2442 | libs/agno/agno/db/sqlite/sqlite.py:2489-2514 \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 \u0060libs/agno/agno/db/sqlite/sqlite.py:2345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7fb97a0580d7d9ed33cf320b0aae02a18b837b3944dc9509f0358074d56c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 3): libs/agno/agno/media/media.py:215-240 | libs/agno/agno/media/media.py:378-401 | libs/agno/agno/media/media.py:555-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. 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":"libs/agno/agno/media/media.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5aa439bcf969a5ef181d95558abb4ef65f0e7101d8f17ae400a72bc3471315"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/agent/_cli.py:100-125 | libs/agno/agno/team/_cli.py:119-143 \u2014 \u0060libs/agno/agno/agent/_cli.py\u0060 and \u0060libs/agno/agno/team/_cli.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 101 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_cli.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0e0fa678e9ebf84297584f0f92c02d1927087bc274f2e02c134a1f0e0a1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:221-246 | libs/agno/agno/team/_default_tools.py:1728-1753 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_default_tools.py:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e50af101ecaa79eb17b5b27c5018b6e1c1237a63446a735b990f0193c7437c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/agent/_hooks.py:311-336 | libs/agno/agno/agent/_hooks.py:415-439 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a0dc6565670c0d0a5d6b3494060c01a9e7a4ecf969d731bf8d19b1f6f11743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/agent/_messages.py:774-799 | libs/agno/agno/agent/_messages.py:845-870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py: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. 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"b989929dd4167d9c418c3edc50a7e5a33a634fc9c78fbe235764b3a5442f8013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/agent/_run.py:920-945 | libs/agno/agno/agent/_run.py:2279-2304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:920\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac637b9c1b9cd8114699705636ad1ed6fafaed8ad22e2059dd902e6722bcdd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/agent/_run.py:1204-1228 | libs/agno/agno/agent/_run.py:2564-2589 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py: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. 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f331f357abc9a4461a46aa986cf233d4253b5857926bb420e2333a63a3fa42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/agent/_run.py:5943-5968 | libs/agno/agno/team/_run.py:4401-4426 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5943}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeed4ed68f8cd65aab4b77fd5ef40ef6022c1168cd6f13d90ab12be1981c0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201326 lines \u00D7 2): libs/agno/agno/agent/_storage.py:480-505 | libs/agno/agno/team/_storage.py:238-253 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4880a65058aff535d1bca0ed3f2c0e577a6060d2189bdc47539cf855c2f570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): libs/agno/agno/agent/_tools.py:684-709 | libs/agno/agno/team/_tools.py:499-521 \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 \u0060libs/agno/agno/agent/_tools.py:684\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadef4026a54004e6a6a18e5d55c877192355dbb2441637c4950824493c402d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/context/calendar/provider.py:106-130 | libs/agno/agno/context/gmail/provider.py:113-138 \u2014 \u0060libs/agno/agno/context/calendar/provider.py\u0060 and \u0060libs/agno/agno/context/gmail/provider.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 4 separate duplicated blocks between them, totalling at least 54 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3002e3cb26d4edcde12f3ba0328bffb50440838eeacde6227fbb662e5a6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3012-3037 | libs/agno/agno/db/mongo/mongo.py:2767-2792 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3012}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5fb749545bb47eecce3e62912518897db039e72206e61db24bf1a660b3939a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:4134-4159 | libs/agno/agno/db/mysql/mysql.py:4075-4100 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py: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. 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6e9292bb16f08fbcfda7e703e2c9e8ccde46c5d29b9d8b5e38878ace02e68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:554-579 | libs/agno/agno/db/sqlite/sqlite.py:572-596 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba34769e87cc47302b176f0a3aabd6d593422dabd65607564c6645a5b0caa00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7511-7536 | libs/agno/agno/db/sqlite/sqlite.py:7314-7339 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd194b9523504a6aec1036569a10b9e46d0ff6210aca62e8f8995984287805f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:11175-11207 | libs/agno/agno/db/sqlite/sqlite.py:10116-10148 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":11175}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5df518f697943470abe1c2ae1f9016a1168e38310c90dbe41d769dcba7ad3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3061-3086 | libs/agno/agno/db/valkey/valkey.py:3410-3435 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc6622986c281c0e7c60b616b92647acba2ee322a879684b629b157a946b010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2018-2043 | libs/agno/agno/db/sqlite/sqlite.py:2286-2311 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cca845a92c3725ee40d871d72ae9d3ffeb991ffd8906ab5c27b7b6760d2da2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2605-2630 | libs/agno/agno/db/sqlite/sqlite.py:2871-2896 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cecfcda4ad4ac6dbb5d5df44d2253c706996b9bdc7471ee0bc208e322a68d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:4621-4646 | libs/agno/agno/db/sqlite/sqlite.py:4776-4801 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4621\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4621}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb7ce19ced8c57805b0dd16c305d12c7d22afc47e2222ba70a84b7643772b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3506-3531 | libs/agno/agno/knowledge/knowledge.py:3701-3726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:3506\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd1a417cd3fe5d19cd3b0ee6406f049b50188f40da95566109f93741239d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3790-3815 | libs/agno/agno/knowledge/knowledge.py:3903-3928 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615dc4a137e29d0053fd1ee83913def01cfd60628c1c7552e1aa71f5a47ba97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:5601-5626 | libs/agno/agno/knowledge/knowledge.py:5667-5691 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":5601}}}],"partialFingerprints":{"codehealthFindingId/v1":"78128895fdde7a12824f38a75b9501911df0526c31a7ce1eac81108c101cb768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/learn/stores/decision_log.py:585-610 | libs/agno/agno/learn/stores/decision_log.py:629-654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/decision_log.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. 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c79a8181b07635d98bd19368285132af5ff1868c185fc2cd321da4c4e030d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/models/base.py:1523-1548 | libs/agno/agno/models/base.py:1804-1829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:1523\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbcc0f8cacdf4692531fe3ed42366252fdc8f7ac7822caa9a60eafc48d433dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/offload/tools.py:62-88 | libs/agno/agno/offload/tools.py:97-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/offload/tools.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/offload/tools.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"024fcf22a27c87cca981a49a3638506223740b20e824ced0d8aabcbea87f9e70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:848-873 | libs/agno/agno/os/routers/teams/router.py:753-778 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38a0793c7b9769af85d162152f81e93c283a691f9c4ae1dc44cb624b3e446a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2423-2448 | libs/agno/agno/os/routers/teams/router.py:2234-2259 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d05d557a9f6ed9bb7d13808838149232eebf7b406804212deed5cbb55e84eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/reasoning/openai.py:148-173 | libs/agno/agno/reasoning/openai.py:204-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. 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":"libs/agno/agno/reasoning/openai.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"64371427050fefb39529ebe81b12b6aa565506ee6c1f6e10e6ad3249603d73d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): libs/agno/agno/run/agent.py:997-1020 | libs/agno/agno/run/team.py:1054-1079 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/run/agent.py:997\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbddd88519af4d21bcb7c4c51d3d9de1c12814e6b09d1340f97e002f159e1293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/tools/gitlab.py:331-355 | libs/agno/agno/tools/gitlab.py:482-507 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ff7fc7b83fe6f1874f2b7510789740f4200f5518a5ae62818fba5f4804e6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:697-722 | libs/agno/agno/tools/scheduler.py:1086-1111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/scheduler.py:697\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9781db51e22287d0d4d017ca234d9e467febf312ea323f443aa99640630550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/tools/serper.py:107-132 | libs/agno/agno/tools/serper.py:185-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The 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":"libs/agno/agno/tools/serper.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cb89d85c4f78737ea5ab3670ec57f7b04654d058b30498ad0915b9d52a126d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201326 lines \u00D7 2): libs/agno/agno/vectordb/chroma/chromadb.py:461-481 | libs/agno/agno/vectordb/chroma/chromadb.py:662-687 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b47086657c9654ff43868304fb483f48a5cd9c66247146d70c0456ea41532c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/workflow/condition.py:377-402 | libs/agno/agno/workflow/condition.py:420-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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, \u0060libs/agno/agno/workflow/condition.py:447\u0060 calls \u0060iscoroutinefunction\u0060, \u0060evaluator\u0060 and \u0060libs/agno/agno/workflow/condition.py:404\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e553fb84154bb830a99cdb9b8e03fde3e15c7a51fff775f12336d5b6252f72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3341-3364 | libs/agno/agno/workflow/workflow.py:3791-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 \u0060libs/agno/agno/workflow/workflow.py:3341\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa666e6d65942e104fa8c322aa8accd8d502ea42e3c14d02694ab90c724a4dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3409-3434 | libs/agno/agno/workflow/workflow.py:4439-4463 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3409}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d5a2b94520a5620f2f578eaa6142d58922473958c7e2a3479258ee7f0695cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7209-7234 | libs/agno/agno/workflow/workflow.py:9271-9295 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7209}}}],"partialFingerprints":{"codehealthFindingId/v1":"495ed5417c06207decd762ef9ec3ba37c7fdfcaa3f5f3c94c5c8feaf07babf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:8062-8106 | libs/agno/agno/workflow/workflow.py:9824-9868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:8062\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8062}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64f646fad15ef93a5cee280edca8fde1a8630713de776558e840e3f046b30f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:8326-8351 | libs/agno/agno/workflow/workflow.py:10089-10114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:8326\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8326}}}],"partialFingerprints":{"codehealthFindingId/v1":"095feb11a3ab4e814db9d85fa60f2af8dc32403f3236717108b6d707b60a7c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): libs/agno_infra/agno/aws/app/base.py:153-178 | libs/agno_infra/agno/docker/app/base.py:104-129 \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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17e2b059c6e5ccaa9b31661af6ed3ea11cdb14f0bb08da0f6df38e684a065e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 11): libs/agno/agno/models/dashscope/dashscope.py:45-68 | libs/agno/agno/models/deepseek/deepseek.py:115-139 | libs/agno/agno/models/groq/groq.py:75-95 | libs/agno/agno/models/minimax/minimax.py:40-63 | libs/agno/agno/models/moonshot/moonshot.py:107-131 | libs/agno/agno/models/n1n/n1n.py:33-57 | libs/agno/agno/models/nebius/nebius.py:30-53 | libs/agno/agno/models/openai/chat.py:109-132 | libs/agno/agno/models/openai/responses.py:210-234 | libs/agno/agno/models/synthorai/synthorai.py:33-57 | libs/agno/agno/models/trustedrouter/trustedrouter.py:30-53 \u2014 before extracting anything, compare \u0060libs/agno/agno/models/deepseek/deepseek.py\u0060 and \u0060libs/agno/agno/models/openai/chat.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/models/n1n/n1n.py:32\u0060 calls \u0060getenv\u0060 and \u0060libs/agno/agno/models/nebius/nebius.py:29\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":"libs/agno/agno/models/dashscope/dashscope.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c69f3acc4f939b0257e53f6ce895a2e3afecc2210a0282163e227f8f4b382a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 8): libs/agno/agno/reasoning/azure_ai_foundry.py:26-50 | libs/agno/agno/reasoning/azure_ai_foundry.py:60-83 | libs/agno/agno/reasoning/groq.py:33-56 | libs/agno/agno/reasoning/groq.py:71-94 | libs/agno/agno/reasoning/ollama.py:83-107 | libs/agno/agno/reasoning/ollama.py:117-140 | libs/agno/agno/reasoning/openai.py:55-79 | libs/agno/agno/reasoning/openai.py:94-117 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59c1f60ccd5e825a7c7076bc75e741a9f91eb9ce46d1ba5a1c72ccf0ed41447"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 6): libs/agno/agno/db/mysql/mysql.py:1557-1581 | libs/agno/agno/db/mysql/mysql.py:1617-1641 | libs/agno/agno/db/mysql/mysql.py:1677-1701 | libs/agno/agno/db/singlestore/singlestore.py:1592-1616 | libs/agno/agno/db/singlestore/singlestore.py:1652-1676 | libs/agno/agno/db/singlestore/singlestore.py:1712-1736 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:1557\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4875c1e733369e2510dec056b38f5f3b679670c4e8c3b132d922082cd1eb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1822-1845 | libs/agno/agno/db/postgres/postgres.py:2710-2734 | libs/agno/agno/db/singlestore/singlestore.py:1845-1868 | libs/agno/agno/db/sqlite/sqlite.py:2647-2670 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b292c7d46ba5620b2df9a70b8ce70d23be4a8d1b75480792c391ae098cb12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1921-1945 | libs/agno/agno/db/postgres/postgres.py:2808-2832 | libs/agno/agno/db/singlestore/singlestore.py:1942-1966 | libs/agno/agno/db/sqlite/sqlite.py:2744-2768 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75140a8d492357885970d11be83f77a7579698107f37a927132244ee8b613d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 4): libs/agno/agno/db/mysql/utils.py:989-1036 | libs/agno/agno/db/postgres/utils.py:926-973 | libs/agno/agno/db/singlestore/utils.py:657-704 | libs/agno/agno/db/sqlite/utils.py:938-985 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0a1aaf50275b2073257c2435b734d17e4fe250245eb616d6d47213f82c83e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 4): libs/agno/agno/reasoning/deepseek.py:70-92 | libs/agno/agno/reasoning/groq.py:101-125 | libs/agno/agno/reasoning/moonshot.py:142-164 | libs/agno/agno/reasoning/openai.py:124-148 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/deepseek.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa23ada80c097da6137bda514035c7cbc979febfb9f4da0ca89c0cd4fea10958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 4): libs/agno/agno/reasoning/deepseek.py:149-171 | libs/agno/agno/reasoning/groq.py:152-176 | libs/agno/agno/reasoning/moonshot.py:187-209 | libs/agno/agno/reasoning/openai.py:180-204 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/deepseek.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31fe3036eddef91b2cc7f708679d59e98f03b030b53de69f9464633de41ec1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py:148-171 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py:144-168 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py:200-223 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py\u0060 and \u0060cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_function.py\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_class.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0181c3a0b0199501f336af0bf770755c365ba9699843ccf80378d47c5489f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1687-1710 | libs/agno/agno/db/mysql/mysql.py:1690-1714 | libs/agno/agno/db/singlestore/singlestore.py:1725-1747 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1687\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"4595970bb50fa9f58ff2b5892ea157b76dba4fbc23b53b5940bb1104c9b61cc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4443-4467 | libs/agno/agno/db/mysql/mysql.py:4381-4405 | libs/agno/agno/db/singlestore/singlestore.py:4291-4315 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4443\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/singlestore/singlestore.py:4317\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:4409\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f3119500286aeaf56a9fdd6e7b3ddab523e513ada86a4beb092ac38eeafdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 3): libs/agno/agno/media/media.py:325-346 | libs/agno/agno/media/media.py:499-521 | libs/agno/agno/media/media.py:663-687 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"libs/agno/agno/media/media.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c392a9a85aff6e288823e60158358b15ddb48c39934173ccc6c21b9b48aeba22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201325 lines \u00D7 3): libs/agno/agno/models/anthropic/claude.py:753-769 | libs/agno/agno/models/anthropic/claude.py:864-881 | libs/agno/agno/models/anthropic/claude.py:915-939 \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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2317bd2f639f406ca5768972b73035443f56267754c2d69d4d06db2126c800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201350 lines \u00D7 3): libs/agno/agno/team/_run.py:507-551 | libs/agno/agno/team/_run.py:1351-1400 | libs/agno/agno/team/_run.py:8392-8435 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/team/_run.py:499\u0060 calls \u0060raise_if_cancelled\u0060, \u0060generate_team_followups\u0060 and \u0060libs/agno/agno/team/_run.py:8389\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"88960ca75d2d4ac4441788672d88c2eeba1e38b5b9baf63437ba7678b36d4c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:142-166 | cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py:125-148 \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 \u0060cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:142\u0060 it begins part-way through the construct above it, so those exact 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":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e60529d180eec69d5f21a50dff7675f024cee78f249ba1fd89082cd44670b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/metrics_agentos.py:74-98 | cookbook/frameworks/codex/codex_metrics_agentos.py:71-95 \u2014 \u0060cookbook/frameworks/claude-agent-sdk/metrics_agentos.py\u0060 and \u0060cookbook/frameworks/codex/codex_metrics_agentos.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 65 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/frameworks/claude-agent-sdk/metrics_agentos.py:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/frameworks/claude-agent-sdk/metrics_agentos.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b173eff6c1c2512b9a0f2e760dd0615555742111727b5b3300f27e4ac3a3c817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/agent/_cli.py:201-225 | libs/agno/agno/team/_cli.py:225-249 \u2014 \u0060libs/agno/agno/agent/_cli.py\u0060 and \u0060libs/agno/agno/team/_cli.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 101 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_cli.py: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":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1ccd47b86b4863a11935a25b08c52cddfea84fb02f48dc2c4403b97cb59214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/agent/_response.py:1621-1645 | libs/agno/agno/team/_response.py:1574-1597 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ddd908cef956ebe856a89f723a90f16c77eb531d6222d2677472b48d0a86c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/agent/_run.py:2554-2578 | libs/agno/agno/agent/_run.py:5706-5730 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f2b54c9d8be75fb1a01c7860e0f72c6214744e8a4d119ec02e7e43c9492e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/agent/_run_options.py:105-129 | libs/agno/agno/team/_run_options.py:103-127 \u2014 \u0060libs/agno/agno/agent/_run_options.py\u0060 and \u0060libs/agno/agno/team/_run_options.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 4 separate duplicated blocks between them, totalling at least 101 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"354f1d406a685bb989abd37dcc6b5fd64fd52fcc7bee8bcbb0a82bbc2033c91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2819-2843 | libs/agno/agno/db/mongo/mongo.py:2854-2878 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/firestore/firestore.py:2846\u0060 calls \u0060_read_records\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py:2879\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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2819}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f22adb02a6ec5fdded5d9a708e2451a2150dc0ae159be4c59bddb3789e173b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:471-489 | libs/agno/agno/db/json/json_db.py:529-553 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5d7730c533b4a42b58edc6618a28f036368e5408467bdffc4cfea12060f2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4880-4904 | libs/agno/agno/db/mongo/mongo.py:4629-4652 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4880}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b80c2d14eefe0cc96303c9fe41d09bfa467d7f22614847ee599494c3f9c2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7112-7136 | libs/agno/agno/db/sqlite/async_sqlite.py:6324-6348 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d5d906421b413a94f502da9886ae4445dbf2378143db24035b56f0589eb792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7280-7304 | libs/agno/agno/db/sqlite/sqlite.py:7089-7112 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:7280\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c19c5c7720aefa59602c8c0ef67e3e102184552baa7e8e0ff44d29bcbd6fdc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/knowledge/reranker/infinity.py:63-87 | libs/agno/agno/knowledge/reranker/infinity.py:135-159 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reranker/infinity.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac121de99bd65a186bd82b84e49078bc9e7e40a121795a9b4149855f7c11edf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201325 lines \u00D7 2): libs/agno/agno/os/middleware/jwt.py:906-930 | libs/agno/agno/os/middleware/jwt.py:974-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. 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef04aaad1ae5c56327b3a9af77668f2ade6eec70175f42fe06dcfe89a43c44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1462-1486 | libs/agno/agno/os/routers/teams/router.py:1396-1419 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1462\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aa68f3ed4ba26eb8a88404a82e09613a3de1c95e2401f5e33d73cb6fa65d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:1139-1161 | libs/agno/agno/os/routers/teams/router.py:1191-1215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/teams/router.py:1139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b254afed1a6ae0c0d953f7dc7cec31c7734c44da22788348b1a73d93b5c6eb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:2572-2594 | libs/agno/agno/os/routers/workflows/router.py:2624-2648 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/workflows/router.py:2572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77b5c06f348f17233238325564e8d412be77d375153f80d254b22e9cdd3887d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/session/agent.py:100-122 | libs/agno/agno/session/team.py:104-128 \u2014 before extracting anything, compare \u0060libs/agno/agno/session/agent.py\u0060 and \u0060libs/agno/agno/session/team.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"14661d61028e9d25544022ea61be4abeddb8e1424d5efd0644dd3f6d89b78e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/team/_cli.py:104-128 | libs/agno/agno/team/_cli.py:210-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 \u0060libs/agno/agno/team/_cli.py:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_cli.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4037c6604e7e8da9ede4e53be69ef5d4979c47d782881af03cc2ee3a27da963b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/team/_run.py:982-1004 | libs/agno/agno/team/_run.py:1779-1803 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:982\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0533507811083b2fe61245c806ce5751940d1c6a299556097e904fbd710914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/team/_run.py:1747-1771 | libs/agno/agno/team/_run.py:8617-8639 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:1747\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"637f00326901e227a3067ab43babb47698418f0edb146d1cac2eeb8db53fbad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/team/_run.py:1842-1865 | libs/agno/agno/team/_run.py:8698-8722 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f0200ddad9c1f8df9cb197303c4c9ab66b7e1dd0cfb052cdc2b730ff5e847e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/team/_run.py:2441-2464 | libs/agno/agno/team/_run.py:3379-3403 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77ad1b7f4d33a98e42cb2912b056e2cabfbbc606be9b5a315a1829a283bf80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/team/_run.py:3948-3972 | libs/agno/agno/team/_run.py:10463-10485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:3948\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_run.py:3943\u0060 calls \u0060merge_background_metrics\u0060, \u0060collect_background_metrics\u0060, \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:10460\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db8d9f8fef977764a88500f10a29cdce6a8a7f140ca577eaed4aefbd190030e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/team/_run.py:8155-8179 | libs/agno/agno/team/_run.py:8207-8231 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8155}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c3f2c162538b43feb4060facee83fac95a1388e46a240d6a2cd5bee36f5736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/agno/agno/team/_run.py:9611-9635 | libs/agno/agno/team/_run.py:10090-10112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:9611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":9611}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaa50f4814f6f1a0106c99fbc43dd58d2a4869384a990c8429ad338f76d9b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/tools/openweather.py:111-135 | libs/agno/agno/tools/openweather.py:198-222 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/openweather.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de92c6ac1169dfe03d0c45afd64e219c6c6f6d0cca08f1474d66a1d809e07c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/tools/reasoning.py:80-104 | libs/agno/agno/tools/reasoning.py:153-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/reasoning.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":"libs/agno/agno/tools/reasoning.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e544a83c706e346e2ad84878f357931d31dd69e4befc9e07dc23cf1ec824f8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:401-425 | libs/agno/agno/vectordb/couchbase/couchbase.py:515-536 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d2e17076f9e2000313cfda4844bcd63c10f12729692b1ed5d8ea35be1d5920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:1119-1143 | libs/agno/agno/vectordb/couchbase/couchbase.py:1233-1257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1119\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1259\u0060 calls \u0060info\u0060 and \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1145\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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8386b492733d8d7fc9d4cbf25ecd6365810a26b92d8f8ee7abb3f0efe34255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2684-2708 | libs/agno/agno/vectordb/opensearch/opensearch.py:2339-2363 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2684}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e17c997fcf4b37968ab6bb6fc15c11d0ae1e5cad953bec776bec1dc0b2a9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:1152-1175 | libs/agno/agno/vectordb/pgvector/pgvector.py:1454-1478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1b8b87b151c48fa7a055fa4702bf4f9ebc5873b64e955324edb67503867bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/workflow/loop.py:657-681 | libs/agno/agno/workflow/steps.py:434-457 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/loop.py\u0060 and \u0060libs/agno/agno/workflow/steps.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py:657\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dc92ca8ac281ab17013afa00e04421b6622c115a2bcbcaf6f2f3513b73ef65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/agno/agno/workflow/loop.py:1054-1078 | libs/agno/agno/workflow/steps.py:739-762 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/loop.py\u0060 and \u0060libs/agno/agno/workflow/steps.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py:1054\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac53e74d76a48d7065277222049644cbdca6ad92d8d789d4f35e678a68185a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5990-6014 | libs/agno/agno/workflow/workflow.py:6408-6432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:5990\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:6016\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/workflow.py:6435\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5990}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c784ced1c1a939d25f6231d9e68df5c622f960c756558e1b525a3417c3cc35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 12): libs/agno/agno/utils/print_response/agent.py:526-549 | libs/agno/agno/utils/print_response/agent.py:912-935 | libs/agno/agno/utils/print_response/team.py:235-258 | libs/agno/agno/utils/print_response/team.py:311-334 | libs/agno/agno/utils/print_response/team.py:694-717 | libs/agno/agno/utils/print_response/team.py:852-875 | libs/agno/agno/utils/print_response/team.py:928-951 | libs/agno/agno/utils/print_response/team.py:1170-1193 | libs/agno/agno/utils/print_response/team.py:1244-1267 | libs/agno/agno/utils/print_response/team.py:1626-1649 | libs/agno/agno/utils/print_response/team.py:1801-1824 | libs/agno/agno/utils/print_response/team.py:1877-1900 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/utils/print_response/team.py:718\u0060 calls \u0060update\u0060, \u0060Group\u0060 and \u0060libs/agno/agno/utils/print_response/team.py:336\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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc54e30f2e27b7397b0ef21e83f967bfa078210371ecef0fa0d075618f4a988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 9): libs/agno/agno/db/mysql/async_mysql.py:1523-1546 | libs/agno/agno/db/mysql/async_mysql.py:1584-1607 | libs/agno/agno/db/mysql/async_mysql.py:1645-1668 | libs/agno/agno/db/mysql/mysql.py:1530-1553 | libs/agno/agno/db/mysql/mysql.py:1590-1613 | libs/agno/agno/db/mysql/mysql.py:1650-1673 | libs/agno/agno/db/singlestore/singlestore.py:1565-1588 | libs/agno/agno/db/singlestore/singlestore.py:1625-1648 | libs/agno/agno/db/singlestore/singlestore.py:1685-1708 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1523\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/mysql/mysql.py:1528\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:1563\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6b68408a1e01b91c181ffcf7ae577f5d7801f047392cf4617dccbdf246dc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 8): libs/agno/agno/agent/_hooks.py:85-108 | libs/agno/agno/agent/_hooks.py:195-218 | libs/agno/agno/agent/_hooks.py:300-323 | libs/agno/agno/agent/_hooks.py:404-427 | libs/agno/agno/team/_hooks.py:281-303 | libs/agno/agno/team/_hooks.py:381-403 | libs/agno/agno/team/_hooks.py:480-502 | libs/agno/agno/team/_hooks.py:578-600 \u2014 \u0060libs/agno/agno/agent/_hooks.py\u0060 and \u0060libs/agno/agno/team/_hooks.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 4 separate duplicated blocks between them, totalling at least 106 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_hooks.py:85\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43fe0f6a83c0b23cfc2c2dbb88a9fe38c02efce05b12d1cc858657b509366b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 5): libs/agno/agno/workflow/workflow.py:3637-3660 | libs/agno/agno/workflow/workflow.py:7973-7996 | libs/agno/agno/workflow/workflow.py:8471-8492 | libs/agno/agno/workflow/workflow.py:9735-9758 | libs/agno/agno/workflow/workflow.py:10234-10255 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"08966bb193569250db8c20caf1c3e7ad8c25fffa0ae4cecdac794c79df3a96ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201324 lines \u00D7 4): cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py:25-47 | cookbook/02_agents/10_human_in_the_loop/confirmation_required.py:25-47 | cookbook/91_tools/python_function_as_tool.py:19-42 | cookbook/91_tools/tool_calls_accesing_agent.py:22-35 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060num_stories\u0060 to \u0060int\u0060 in one and \u0060int = 10\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":"cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e206050f483a2d20602a6f330f88a7e6718b93d9980dd54fe4191861ded472c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1754-1774 | libs/agno/agno/db/postgres/postgres.py:2623-2646 | libs/agno/agno/db/singlestore/singlestore.py:1783-1803 | libs/agno/agno/db/sqlite/sqlite.py:2577-2597 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:2648\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1776\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"536d77f1c33b05640b9652ad3e28367cc41a2e0d9d548bd86e6e9e7ae4134eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3288-3311 | libs/agno/agno/db/postgres/postgres.py:4124-4147 | libs/agno/agno/db/singlestore/singlestore.py:3281-3304 | libs/agno/agno/db/sqlite/sqlite.py:4058-4081 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2628a38f7c869be96ac5439e3326febca3512fdc27d6d76794a408e4c846a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3341-3364 | libs/agno/agno/db/postgres/postgres.py:4177-4200 | libs/agno/agno/db/singlestore/singlestore.py:3334-3357 | libs/agno/agno/db/sqlite/sqlite.py:4111-4134 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf1d2c71712c2c0e9b991e7e1b0b561480a19f5b2361ad483ef984cc3dd5c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5084-5107 | libs/agno/agno/db/postgres/postgres.py:5615-5638 | libs/agno/agno/db/sqlite/async_sqlite.py:5270-5293 | libs/agno/agno/db/sqlite/sqlite.py:5423-5446 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5084}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbcdd49d962ec7b20a8f7b1b96a329cfe3326944cdab413f47a05a4af490bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): libs/agno/agno/workflow/condition.py:824-847 | libs/agno/agno/workflow/condition.py:1278-1301 | libs/agno/agno/workflow/router.py:853-876 | libs/agno/agno/workflow/router.py:1194-1217 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:824\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"905f455cda9f0454c98bce8d723ec386d4be21c8dd8c4a05ce327db070f4da8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1818-1840 | libs/agno/agno/db/postgres/async_postgres.py:2220-2243 | libs/agno/agno/db/sqlite/async_sqlite.py:2379-2402 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"594af878d744283b552f52df42c3a5a049797f47e636067c1a5833983e418980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3348-3371 | libs/agno/agno/db/postgres/async_postgres.py:3603-3626 | libs/agno/agno/db/sqlite/async_sqlite.py:3842-3865 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4532d2c4ef6231dd3efc0e99d0cc8f0c3ac0df7fa1b040dc45f381f3fc263562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3846-3869 | libs/agno/agno/db/postgres/async_postgres.py:4127-4150 | libs/agno/agno/db/sqlite/async_sqlite.py:4331-4354 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3846}}}],"partialFingerprints":{"codehealthFindingId/v1":"076560e06ded5987ca5b845929e0e1d26006836c8d98d706c36230f1bf6164a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:4486-4509 | libs/agno/agno/db/postgres/postgres.py:5478-5501 | libs/agno/agno/db/singlestore/singlestore.py:4402-4425 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"9573ae3e0d80fb38bf910a387eee220fb9e7b625009d4e7d67bd0ab6c34645df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): libs/agno/agno/workflow/condition.py:608-631 | libs/agno/agno/workflow/condition.py:1061-1084 | libs/agno/agno/workflow/router.py:1055-1078 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc99229ae570a45f426ef57e6bbf217785ef12f7779aab596b2a0d12d767c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 2): cookbook/03_teams/15_distributed_rag/01_distributed_rag_pgvector.py:145-162 | cookbook/03_teams/15_distributed_rag/01_distributed_rag_pgvector.py:166-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/15_distributed_rag/01_distributed_rag_pgvector.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b74ab5f9b9b6e75471e0f400fdba8a87d15483b5993d6ada13bf3a2b84d2daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/claude_media.py:61-84 | cookbook/frameworks/codex/codex_media.py:59-81 \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 \u0060cookbook/frameworks/claude-agent-sdk/claude_media.py:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/frameworks/claude-agent-sdk/claude_media.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abfa12d8f2c068bbfb87ebaffcc264887fd866ddc621b61d06c4c4448462fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_hooks.py:128-151 | libs/agno/agno/agent/_hooks.py:236-259 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f04822983b2092373f4a5aa474aa96b9e2a1ab777c08f80490b0ab058a55c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_response.py:371-394 | libs/agno/agno/agent/_response.py:419-442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:371\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b092c0dde9725c0b106883f7d90816812ee9713ed9389534f66f6aa759a279f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_run.py:1875-1898 | libs/agno/agno/agent/_run.py:5143-5166 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_run.py:5142\u0060 calls \u0060RunOutput\u0060 and \u0060libs/agno/agno/agent/_run.py:1874\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"4823bff4d93f258a53883bdf04369629af0e3ea1bfaac423002c4f4af068256e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/agent/_run.py:2589-2612 | libs/agno/agno/agent/_run.py:5744-5766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:2589\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/agent/_run.py:5768\u0060 calls \u0060RunOutput\u0060 and \u0060libs/agno/agno/agent/_run.py:2613\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1d9e98bb8da60abe0839b5962e08c408237a0a6536b854bd64f9c5750cd978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_run.py:2858-2881 | libs/agno/agno/team/_run.py:4267-4290 \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 \u0060libs/agno/agno/agent/_run.py:2858\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2858}}}],"partialFingerprints":{"codehealthFindingId/v1":"a608effaab9eb00c7c1cb1ad4fea9e1944796cc06bad932fe9f857a8e1b2fd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_run_options.py:135-158 | libs/agno/agno/team/_run_options.py:131-154 \u2014 \u0060libs/agno/agno/agent/_run_options.py\u0060 and \u0060libs/agno/agno/team/_run_options.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 4 separate duplicated blocks between them, totalling at least 101 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fde2dd36e591c1b92f772cce250a455ad3357d3a0dfe0065f4ae7da2f0a0341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_storage.py:569-592 | libs/agno/agno/team/_storage.py:438-461 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060AgentSession\u0060 in one and \u0060TeamSession\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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ab76a9cabe4e5b3ec8574f4bbc256c589d3ae648eef3bbf1f3b70335146472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1114-1137 | libs/agno/agno/team/_storage.py:674-697 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab910ef21b5426029edb5c1d8caf46f392d0093cc6a145c72f7f9550ddddc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/client/os.py:694-717 | libs/agno/agno/client/os.py:732-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":"libs/agno/agno/client/os.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fc5fa270ef92fd95c1393cc78d5d2cd3c2826c247c9ea60c923a62f943ad26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/company/manager.py:507-530 | libs/agno/agno/company/manager.py:1478-1501 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdc3460df1f70a288fb839296d662ddace377e250f47dc580284e6e20a6dfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): libs/agno/agno/db/filter_converter.py:88-111 | libs/agno/agno/db/valkey/utils.py:267-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/filter_converter.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7a352612e8dec4ab1e28d6f5fab10c3acf3cedc582dd82b3e5bbddff5690e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:697-715 | libs/agno/agno/db/firestore/firestore.py:826-849 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7ebef1b4d19780cec0f0d927e7beb0e2accc09462fba6bb3b0de4f5ac8b218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2766-2789 | libs/agno/agno/db/mongo/mongo.py:2801-2824 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"734f613cb138f42bdcef9f21b5b7b06db705985c0300a3885751adf1fef7bc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/json/json_db.py:2821-2844 | libs/agno/agno/db/redis/redis.py:3656-3679 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/json/json_db.py\u0060 and \u0060libs/agno/agno/db/redis/redis.py\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 474 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ae1f2c9716fac16e500fde19d8a681bc7237d4b0d274a069b9602100a66255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1902-1925 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1995-2018 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"512af4c4e57d24eb32946887bda7b196d244b8f1efb61537c4a05dca196d4e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:451-473 | libs/agno/agno/db/sqlite/async_sqlite.py:434-457 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:451\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"21db471dbdcea66165359895652000af4b192b8c6c1d8aded57bd2ea06baaa17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4417-4440 | libs/agno/agno/db/postgres/postgres.py:4953-4976 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:4417\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd013681e7463b80f42d1a8d141c6418f73df74815df6a2bc4d9cdb53ae58eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6009-6032 | libs/agno/agno/db/sqlite/async_sqlite.py:6151-6174 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6009}}}],"partialFingerprints":{"codehealthFindingId/v1":"abddac3c80c9263dffa2932ca1bbee8b5a4a73aee3442f0d987a5fa5b18a7f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1652-1675 | libs/agno/agno/db/sqlite/sqlite.py:1640-1663 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff348e88743365626ffe19945f613e8fcecdda8ce06f0a1cf6f4779e86c783e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9773-9796 | libs/agno/agno/db/sqlite/sqlite.py:8717-8740 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9773}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cd9a32169010bf71bdaf90fb6865972e884ce743a08864b51f777832d7af10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201324 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1640-1654 | libs/agno/agno/db/redis/redis.py:2158-2181 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6206dfe185a8578d6eb994f79e20b4ec638bb881b62efdb5b9e9516e2be8133d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3259-3282 | libs/agno/agno/db/valkey/valkey.py:3656-3679 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4555cace11746673e0eda874aab901fd8d68fca06b94b9217b4e2d16fb36cb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/guardrails/openai.py:75-98 | libs/agno/agno/guardrails/openai.py:121-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/guardrails/openai.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"41721c96e81c9bb2b3c81fb9dd2d0b213fa68b68dcd7f90aa0f59186f868bcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): libs/agno/agno/knowledge/utils.py:181-202 | libs/agno/agno/knowledge/utils.py:211-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. 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, \u0060libs/agno/agno/knowledge/utils.py:180\u0060 calls \u0060ValueError\u0060 and \u0060libs/agno/agno/knowledge/utils.py:210\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":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a4741f2881a4cb2c9e95aa72c777bcb3b6380989971acae6bc32384ed66c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:540-563 | libs/agno/agno/learn/stores/session_context.py:610-633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/session_context.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"b022a82320215ad08b15167452281dd8d39b368bd4f8612f27a69832b4bdb5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/memory/manager.py:1480-1503 | libs/agno/agno/memory/manager.py:1525-1548 \u2014 both copies are in the same file, so extract the block 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: \u0060UserMemory\u0060 names \u0060agno.db.base\u0060 in one and \u0060agno.db.schemas\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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"875d4ce75c91854ac44404c9abb6c9a47a38d6241cc1a29f6be6678a156b36fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/models/base.py:1428-1451 | libs/agno/agno/models/base.py:1709-1732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:1428\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"611aa05bf5a6075535a33970d3c730f850368c792dab273644836705e7f0cb9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/models/base.py:1453-1476 | libs/agno/agno/models/base.py:1734-1757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:1453\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d87184bb92d4f8416a80c7026525abd8e19df5907920b44520ca4a51b8aea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/offload/runs.py:76-99 | libs/agno/agno/offload/runs.py:140-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/offload/runs.py:76\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/offload/runs.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b7212fd21df90b69d749e58e1c4da11427e48627f16d27cdeee4180cffc044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:295-318 | libs/agno/agno/os/routers/workflows/router.py:879-902 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16baab6d543ac7bf7d743986b1a6f7588aa552505b0d783a0844d382168e91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/team/_run.py:270-293 | libs/agno/agno/team/_run.py:618-641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8925523125d3faa54be5f73811c5c9142b9bf30991021662246bec26c5b3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/team/_run.py:6474-6497 | libs/agno/agno/team/_run.py:6561-6583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:6474\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":6474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9450faa2daea0c94627b66095446167efa433c5f4c4c2af16e3821a5346500e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/team/_run.py:10196-10219 | libs/agno/agno/team/_run.py:10325-10348 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":10196}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ea2fc3acdc0d23279acd7a505e9be652bac3f01dd96961e56f9de37a232f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:630-651 | libs/agno/agno/team/_task_tools.py:818-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_task_tools.py:818\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5d23951cc1123aca03ea2cc5658ccaaa75fe7ec4f67ccee4dd3b75d655c19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): libs/agno/agno/tools/e2b.py:163-184 | libs/agno/agno/tools/e2b.py:224-247 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060agent\u0060 to \u0060Union[Agent, Team]\u0060 in one and \u0060Agent\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":"libs/agno/agno/tools/e2b.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bd60996d63e25101fdb319ff1ba32ff583b879e6beceb6aa89a108728391bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/tools/function.py:2703-2726 | libs/agno/agno/tools/function.py:2991-3014 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1951a03f5812af1ff028cc29c3cc439cdd02d97c01971a5164a947adc78feab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/tools/google/gmail.py:1517-1539 | libs/agno/agno/tools/google/gmail.py:1770-1793 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9023d929f15658d8bbae64f86713dd53fc4b7e2738a311bebbfd536b059816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/tools/postgres.py:175-198 | libs/agno/agno/tools/redshift.py:258-281 \u2014 before extracting anything, compare \u0060libs/agno/agno/tools/postgres.py\u0060 and \u0060libs/agno/agno/tools/redshift.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3f882884ba4afd1aee9007d8d65b8dc07fd25f38429a9d0bc4c2ef79f7f3b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): libs/agno/agno/tools/whatsapp.py:224-244 | libs/agno/agno/tools/whatsapp.py:296-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d11fdc4d3c40d92e7229c525d1f8e86a1480baef47f8ad7dfc3859465fb43e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/utils/agent.py:1143-1166 | libs/agno/agno/utils/agent.py:1172-1194 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8574b77a9ee42577e97db39d7d951781acfcf19f781bcaa2f2128847d8477a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:878-901 | libs/agno/agno/vectordb/opensearch/opensearch.py:799-822 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff419b60ade36cce9714f90091eb72b878678ff44769c81fbd1f6372ce243988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1097-1120 | libs/agno/agno/vectordb/opensearch/opensearch.py:1015-1038 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"22244661e549fa197eb5dfaaadb0552d2f5e3f7e278e08d8c65aaa08782477b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/vectordb/milvus/milvus.py:943-966 | libs/agno/agno/vectordb/milvus/milvus.py:1017-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 \u0060libs/agno/agno/vectordb/milvus/milvus.py:943\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31ac5cd346d956cbb5658b518ce7677f1d2c2d836c1fe218de2cbcadcd2faf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:503-525 | libs/agno/agno/vectordb/pgvector/pgvector.py:692-715 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a48ba30612f20139dc9a72f7fb586a174948290f4adad625cded3eeeb0061e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:646-668 | libs/agno/agno/vectordb/weaviate/weaviate.py:839-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. 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b9bf33e3820addfd534faac6a9d4585049cca2960b453381a1782451953fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:434-457 | libs/agno/agno/workflow/parallel.py:802-823 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/parallel.py:434\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c2ba573313325f893aa5b01aeeef67060d0f499ed3c7eb530767402a494218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): libs/agno/agno/workflow/step.py:1224-1247 | libs/agno/agno/workflow/step.py:1935-1955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1224\u0060 it begins part-way through the construct above it, so those exact 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 first that the copies are not typed on the same thing: \u0060Team\u0060 names \u0060agno.team\u0060 in one and \u0060agno.team.team\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b21ff89b97f932dc716ca6888e2669440d510869232be5ba05b010dd92a6668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/workflow/step.py:3135-3158 | libs/agno/agno/workflow/step.py:3413-3436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:3135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"496c8fdd40eddb4eeb87a3086be1c0540a0751d45adfbe416a80dd619c722532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:1737-1760 | libs/agno/agno/workflow/workflow.py:1781-1804 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7d5588c9c4dc14625217bc4b4cb51eb3fe0e3e22e254a3b3b855cdbd843488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7040-7063 | libs/agno/agno/workflow/workflow.py:9106-9129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:7040\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7040}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab70ca64f78b6dbbfc854f3d066c8124f6c9472b0e0c5fb7d30bf2945f32ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:36-59 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:41-64 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec263864a6d5df4450699179677f823bdd7633bea0aa19b3c4527df0d68bf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:2784-2805 | libs/agno/agno/db/mysql/mysql.py:2765-2786 | libs/agno/agno/db/postgres/async_postgres.py:3027-3049 | libs/agno/agno/db/postgres/postgres.py:3587-3609 | libs/agno/agno/db/singlestore/singlestore.py:2764-2785 | libs/agno/agno/db/sqlite/async_sqlite.py:3265-3287 | libs/agno/agno/db/sqlite/sqlite.py:3523-3545 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:3027\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:2778\u0060 calls \u0060sleep\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:2759\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6fdee015997fc9110c3d4ac4863a2af9f95c502f907d8a29cf236468c0d3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:4348-4370 | libs/agno/agno/db/mysql/mysql.py:4288-4310 | libs/agno/agno/db/postgres/async_postgres.py:4637-4659 | libs/agno/agno/db/postgres/postgres.py:5173-5195 | libs/agno/agno/db/singlestore/singlestore.py:4192-4214 | libs/agno/agno/db/sqlite/async_sqlite.py:4836-4858 | libs/agno/agno/db/sqlite/sqlite.py:4995-5017 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4348}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f288102389bde966f988e6aff0c9d479ef0ed5c5c16158bcae8eb0ed6080fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 5): libs/agno/agno/tools/visualization.py:144-165 | libs/agno/agno/tools/visualization.py:217-238 | libs/agno/agno/tools/visualization.py:282-303 | libs/agno/agno/tools/visualization.py:371-392 | libs/agno/agno/tools/visualization.py:445-467 \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. 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, \u0060libs/agno/agno/tools/visualization.py:213\u0060 calls \u0060grid\u0060 and \u0060libs/agno/agno/tools/visualization.py:140\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":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fbb842b7f4c60ad7442106b8d915f6beffec391e56384315cb65f42412ea63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v2_5_0.py:369-391 | libs/agno/agno/db/migrations/versions/v2_5_0.py:501-523 | libs/agno/agno/db/migrations/versions/v2_5_0.py:690-712 | libs/agno/agno/db/migrations/versions/v2_5_0.py:820-842 \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 \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:369\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdd7691de6b03a5a3fd14333c0f25b7f5385eb081ccddd5f0a8cf8bdf5d386e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8200-8223 | libs/agno/agno/db/postgres/postgres.py:10933-10956 | libs/agno/agno/db/sqlite/async_sqlite.py:7414-7437 | libs/agno/agno/db/sqlite/sqlite.py:9874-9897 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48cef7bde2195512102078a6651efcd510ceb7ee44bac256e9bf576fff4d705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 4): libs/agno/agno/tools/google/slides.py:605-627 | libs/agno/agno/tools/google/slides.py:734-752 | libs/agno/agno/tools/google/slides.py:984-1006 | libs/agno/agno/tools/google/slides.py:1039-1061 \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. 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, \u0060libs/agno/agno/tools/google/slides.py:631\u0060 calls \u0060_generate_id\u0060 and \u0060libs/agno/agno/tools/google/slides.py:1010\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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d499ee005137e804cad069c3ae9dbeae32715895fd9cc9cc7aeff3cf87023c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): libs/agno/agno/workflow/router.py:729-751 | libs/agno/agno/workflow/router.py:903-925 | libs/agno/agno/workflow/router.py:1066-1088 | libs/agno/agno/workflow/router.py:1244-1266 \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. 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, \u0060libs/agno/agno/workflow/router.py:1063\u0060 calls \u0060getattr\u0060, \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/router.py:727\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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e51ff3d8a44106ca8d8ae51642d6153442f74fbd08112f2f0356482a758ca1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/agno/agno/agent/_response.py:1607-1629 | libs/agno/agno/team/_response.py:1560-1582 | libs/agno/agno/utils/agent.py:367-389 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7927a260b6ccfb41339012e60f4a596bc7a798516031546715ee0c31a476b1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/agno/agno/db/dynamo/utils.py:418-440 | libs/agno/agno/db/redis/utils.py:517-539 | libs/agno/agno/db/valkey/utils.py:898-920 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"1454c02d987cb27f8dc3c2d9272c30e0358f39d471b6eb2b4dd93cbddd79b9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:2668-2690 | libs/agno/agno/db/json/json_db.py:2819-2841 | libs/agno/agno/db/redis/redis.py:3654-3676 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb188e1323bf9322f3201a98a68bd0d26a9cd9c0c60e44982900749a3b69a6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1746-1767 | libs/agno/agno/db/postgres/async_postgres.py:2131-2153 | libs/agno/agno/db/sqlite/async_sqlite.py:2309-2329 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/mysql/async_mysql.py:1769\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2331\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac815c7d609682f7436aae17f440f92a67e363ada896fbda34e6990aec2fba88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 3): libs/agno/agno/learn/schemas.py:119-141 | libs/agno/agno/learn/schemas.py:217-239 | libs/agno/agno/learn/schemas.py:384-402 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3e36328f50000c229f32309dcc2628f13c15f9877d656bc346d5fa1911ab1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/agno/agno/learn/stores/session_context.py:280-302 | libs/agno/agno/learn/stores/user_memory.py:444-466 | libs/agno/agno/learn/stores/user_profile.py:606-628 \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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e8f1dc18f7bea0fdf0a0175b61d09595a2605322d87de12312735c62028e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:504-526 | libs/agno/agno/os/routers/teams/router.py:266-288 | libs/agno/agno/os/routers/workflows/router.py:1452-1474 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fca3c40d5bb7b32db5333b5eacf0b72c5c6b2655d839456c9daefdbe25652b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:7479-7501 | libs/agno/agno/workflow/workflow.py:8536-8558 | libs/agno/agno/workflow/workflow.py:9528-9550 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7479}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c68152121a8052a40e7eb5fe5d3afd329602704b73862263cc4221e0c68b1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py:44-66 | cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py:47-69 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py\u0060 and \u0060cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"862c3948335c8c462ae5cdebd18328883180a6038cdc17303747d6be51d11aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py:157-178 | cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py:272-294 \u2014 both copies are in the same file, so extract the block 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":"cookbook/04_workflows/06_advanced_concepts/session_state/state_in_function.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a695dcae2274ca33037c2f0eb12adac22ab33b3aac4627055484dd674073371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:195-217 | libs/agno/agno/team/_default_tools.py:1704-1726 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbb2abf77cde6c0d4c303d72632cdeaf743494e9685d769b8acb60b083a2bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/agent/_run.py:1152-1174 | libs/agno/agno/agent/_run.py:2506-2528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f368b5375ec105943bd38710b8a5638845935030feaff8f26fd8725b3b0bc423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): libs/agno/agno/agent/_run.py:1809-1831 | libs/agno/agno/agent/_run.py:5073-5094 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1809\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ca07c1b6c633874fd2e1cfe96388ca2cbbd1b1776f86490bb037c6724762b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/agent/_run.py:4077-4099 | libs/agno/agno/agent/_run.py:5662-5684 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:4077\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4077}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6960945df0f7475c9f8a011307d274ada98a8a1cca32f92304c7c303a6e861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/agent/_session.py:807-829 | libs/agno/agno/agent/_session.py:863-885 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0375abaf6df7fa3ef6c13eff3b426ba694aacfa8997a16ba96012beb9662502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/agent/_utils.py:74-96 | libs/agno/agno/team/_utils.py:72-94 \u2014 \u0060libs/agno/agno/agent/_utils.py\u0060 and \u0060libs/agno/agno/team/_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 5 separate duplicated blocks between them, totalling at least 107 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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a245400c04ed9151e5d66efd6a0c9ec1f090c2a1a9637cc20cf0aa314af647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/agents/base.py:827-849 | libs/agno/agno/agents/base.py:873-895 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3e587db3f99842e7e98a96a6c7aa41e36cbb6a6aac6eab2819c317d39361be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1033-1055 | libs/agno/agno/db/json/json_db.py:1119-1141 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"4680e0ab470ba47461a742f7962c7cfb4e33f7981cc1ff0b258b8ff9fe9cd1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:272-294 | libs/agno/agno/db/migrations/versions/v2_5_6.py:371-393 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c0b36f85199472451b0b31f7859da52d93d0c38b4b1f1f0d01c50c1035dd86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:353-375 | libs/agno/agno/db/migrations/versions/v2_5_6.py:674-696 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e913e64b8c803df4cc3f42e360597e3ddd35fd3c1670e76513530fff33c326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1829-1851 | libs/agno/agno/db/mongo/async_mongo.py:5037-5056 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1829\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac4b8a6b8c71cd44924e6a1aed8ca6ea3091f29d3779cb065ad65f9c6d445c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1222-1244 | libs/agno/agno/db/postgres/async_postgres.py:1849-1871 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6997cf3e2b8ab3db680b5c05daba7a0c31fb073150ab2e65aeeace2f689be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8155-8177 | libs/agno/agno/db/sqlite/sqlite.py:7945-7965 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8155}}}],"partialFingerprints":{"codehealthFindingId/v1":"928b8c6f03397f4e2785b510f0c75fd1c4fc9fec8fb3e6533054f71c4bc268ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8746-8768 | libs/agno/agno/db/sqlite/sqlite.py:8550-8571 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b188b2d1e0e64be3173681ed50cfed18356072f20c5503c3fab8d4c9c6c460a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2706-2728 | libs/agno/agno/db/valkey/valkey.py:3053-3075 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c71ee073d267289a68ad19fba30726f85cf9d5520fcdbb4541d45920307910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/singlestore/singlestore.py:3630-3652 | libs/agno/agno/db/sqlite/sqlite.py:4415-4437 \u2014 \u0060libs/agno/agno/db/singlestore/singlestore.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 139 separate duplicated blocks between them, totalling at least 2547 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dfbed24bad3a7098b57ad2b0dec45210f66581ae86f216be41bb05c1c99287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): libs/agno/agno/eval/performance.py:513-533 | libs/agno/agno/eval/performance.py:651-673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/performance.py: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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbfb5defc8e123d57101bba0ced73a5b0c3a775b32b7c3a07c6456ee5cece80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/eval/performance.py:551-573 | libs/agno/agno/eval/performance.py:691-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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1605d84967d2897f6d0085ed8595a1293ed13a5aa00a3b17665f8a1f355a6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2555-2577 | libs/agno/agno/knowledge/knowledge.py:2746-2768 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"d143c7fa583946b4cb6cc54be29907cb3658882abc84a860faf442cbdffbae24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3568-3590 | libs/agno/agno/knowledge/knowledge.py:3759-3781 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc583c47a77816b87a17f21f82ddf371f5310c6132e4124b8f96eb2dc7be035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4015-4037 | libs/agno/agno/knowledge/knowledge.py:4076-4098 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4015}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff04027a640d627d00849106f2787b758de8cae1c1e53d0e9bb4344da68ddf6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:343-365 | libs/agno/agno/knowledge/loaders/github.py:502-524 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"084d44474ba09e477d657b2f5a2dcbf077b529c625a11d2180c9add1bbef3a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/models/google/gemini.py:584-606 | libs/agno/agno/models/google/gemini.py:699-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/google/gemini.py:584\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"588ad8e9aceb574d527630b14d59be8721287d9bb5e969d891623ed60e05c462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1275-1297 | libs/agno/agno/os/routers/agents/router.py:1329-1351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f273a2dde34b28ab60ec5290b28ef85aafd2b0bf391b86b6d290f1a83aa486df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): libs/agno/agno/os/routers/traces/traces.py:162-184 | libs/agno/agno/os/routers/traces/traces.py:540-559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/traces/traces.py:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"591611ff90f882045c407b7fe6421a533db483b6d5607d025a310c1d554bca86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): libs/agno/agno/os/utils.py:2695-2717 | libs/agno/agno/os/utils.py:2730-2748 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/os/utils.py:2718\u0060 calls \u0060getattr\u0060, \u0060add_db\u0060 and \u0060libs/agno/agno/os/utils.py:2749\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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2695}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5217e7f2f4004ce219b775f1f869361300832b754005a3fef8b1782c3e93d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/os/utils.py:3346-3368 | libs/agno/agno/os/utils.py:3427-3449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/utils.py:3346\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"023111d9db90858c5439ff15e23785fe1f6610064be9259b96cb27f8fc229b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): libs/agno/agno/team/_response.py:280-302 | libs/agno/agno/team/_response.py:353-374 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d017dd0af6cb0819eae11be627fae4b4e51854f6f811858879388a55f6609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): libs/agno/agno/team/_run.py:2238-2260 | libs/agno/agno/team/_run.py:3220-3241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:2238\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_run.py:3217\u0060 calls \u0060cast\u0060, \u0060_astart_memory_task\u0060 and \u0060libs/agno/agno/team/_run.py:2238\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f6ac12e7f6a60ca03dc44ca8d4d5d70653ffc99295b32ff3406d073927683c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:499-521 | libs/agno/agno/team/_task_tools.py:680-702 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd1f557744dec329b28947a370cdf4de5a71fa5c9160b8319c4d58362c97eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:800-822 | libs/agno/agno/utils/print_response/team.py:1738-1760 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ca957c9b4e49f5cc38c32d9b6814071c261d2737334f3b767faf5fe94c7622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2166-2184 | libs/agno/agno/vectordb/opensearch/opensearch.py:2168-2190 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee5569588779d9d54cffe93f6a590a83e1986f1bffb1984e0923f4f2f09c678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:2908-2930 | libs/agno/agno/workflow/workflow.py:3874-3896 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"315e09ad9f762bcc2160020a7ee571d4fd87231973e00f3302e1f5a936240129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7161-7202 | libs/agno/agno/workflow/workflow.py:9224-9265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:7161\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7161}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c488f1200cd303081b6fdf2a3a6c76ad5406d3987fb3dd77e8d8fad1c5888f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno_infra/agno/aws/app/base.py:181-203 | libs/agno_infra/agno/docker/app/base.py:132-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno_infra/agno/docker/app/base.py:159\u0060 calls \u0060format\u0060 and \u0060libs/agno_infra/agno/aws/app/base.py:204\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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7701ff4b99fe5bcbfd995594a9f8259a4431db5dcb3205567c08a00c5220bc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno_infra/agno/cli/operator.py:243-265 | libs/agno_infra/agno/infra/operator.py:390-412 \u2014 \u0060libs/agno_infra/agno/cli/operator.py\u0060 and \u0060libs/agno_infra/agno/infra/operator.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 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/cli/operator.py:243\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c779de1e2423d5a043c28aacf0d276cfbc0dded613e7a65751d21b7d5325ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 8): libs/agno/agno/db/dynamo/dynamo.py:2836-2857 | libs/agno/agno/db/firestore/firestore.py:2546-2567 | libs/agno/agno/db/mongo/mongo.py:2565-2586 | libs/agno/agno/db/mysql/mysql.py:3043-3064 | libs/agno/agno/db/postgres/postgres.py:3867-3888 | libs/agno/agno/db/singlestore/singlestore.py:3036-3057 | libs/agno/agno/db/sqlite/sqlite.py:3801-3822 | libs/agno/agno/db/surrealdb/surrealdb.py:2136-2157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"361282a31eef94f4ec37cd600cb012316d82d35fa799ab54a4b7f36d966d9b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 5): libs/agno/agno/db/gcs_json/gcs_json_db.py:2287-2303 | libs/agno/agno/db/in_memory/in_memory_db.py:2004-2020 | libs/agno/agno/db/json/json_db.py:2441-2457 | libs/agno/agno/db/redis/redis.py:3244-3264 | libs/agno/agno/db/valkey/valkey.py:3640-3661 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3388a1db4e3389da42f11cca38201d9117b15cc705972ae5e9e4d1c51c06988a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): libs/agno/agno/os/routers/metrics/metrics.py:1207-1228 | libs/agno/agno/os/routers/metrics/metrics.py:1333-1354 | libs/agno/agno/os/routers/metrics/metrics.py:1577-1598 | libs/agno/agno/os/routers/metrics/metrics.py:1734-1755 | libs/agno/agno/os/routers/metrics/metrics.py:1882-1903 \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 \u0060libs/agno/agno/os/routers/metrics/metrics.py:1207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/os/routers/metrics/metrics.py:1881\u0060 calls \u0060_latency\u0060, \u0060_merge_totals\u0060, \u0060list\u0060 and \u0060libs/agno/agno/os/routers/metrics/metrics.py:1206\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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dfa3e120ac0b1aef2053b6bb7237f469cd77fa45b1ebe9378af06439bf8fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/agent/_response.py:259-280 | libs/agno/agno/agent/_response.py:296-317 | libs/agno/agno/team/_response.py:733-754 | libs/agno/agno/team/_response.py:768-789 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b19e4d846a176605185faeb60143124a3bf92f465b5f7e52e0c40a3efc800c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): libs/agno/agno/db/dynamo/dynamo.py:2155-2175 | libs/agno/agno/db/firestore/firestore.py:1913-1934 | libs/agno/agno/db/mongo/mongo.py:2004-2025 | libs/agno/agno/db/surrealdb/surrealdb.py:1625-1645 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7af6e55fd1ee00069300ef9f814217382847e148c6c3b633dacf28be571129c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): libs/agno/agno/db/gcs_json/gcs_json_db.py:2655-2676 | libs/agno/agno/db/json/json_db.py:2806-2827 | libs/agno/agno/db/redis/redis.py:3642-3662 | libs/agno/agno/db/valkey/valkey.py:4098-4118 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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, \u0060libs/agno/agno/db/valkey/valkey.py:4119\u0060 calls \u0060record_matches_filter_expr\u0060 and \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:2678\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68ebed1a6f7738b9610a42cc37b6d0d466e216e3dfe0222d466c7fec8a5b579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:940-961 | libs/agno/agno/db/postgres/postgres.py:1481-1502 | libs/agno/agno/db/singlestore/singlestore.py:985-1006 | libs/agno/agno/db/sqlite/sqlite.py:1484-1505 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:1503\u0060 calls \u0060is_foreign_key_violation\u0060, \u0060log_warning\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:962\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec7f9480e64c80c32ea0f36e31c0208fe1b398b11a60df30090e522559fcbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5260-5281 | libs/agno/agno/db/postgres/postgres.py:7984-8005 | libs/agno/agno/db/sqlite/async_sqlite.py:5447-5468 | libs/agno/agno/db/sqlite/sqlite.py:7774-7795 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:5260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f69f7a6a956c1f7728b24ba16efc0763453ce06387fc5a756473c41edb2a62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/models/base.py:825-846 | libs/agno/agno/models/base.py:1048-1069 | libs/agno/agno/models/base.py:1556-1577 | libs/agno/agno/models/base.py:1837-1858 \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 \u0060libs/agno/agno/models/base.py:825\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/base.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5254403c4d89645553c08abc109a326864cb6153a253b90d95e3f9801fa24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 4): libs/agno/agno/team/_run.py:299-317 | libs/agno/agno/team/_run.py:649-667 | libs/agno/agno/team/_run.py:1185-1206 | libs/agno/agno/team/_run.py:1548-1569 \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 \u0060libs/agno/agno/team/_run.py:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a032f934b77823dd734ec37a51236781667928174fd08342655b45679814db97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/utils/print_response/agent.py:62-83 | libs/agno/agno/utils/print_response/agent.py:269-290 | libs/agno/agno/utils/print_response/team.py:414-435 | libs/agno/agno/utils/print_response/team.py:1348-1369 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"330db341bb822116bed8b08a0632dbb53bbdb5850542a7c4d58745d0076f6cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): libs/agno/agno/utils/print_response/team.py:641-662 | libs/agno/agno/utils/print_response/team.py:878-898 | libs/agno/agno/utils/print_response/team.py:1572-1593 | libs/agno/agno/utils/print_response/team.py:1827-1847 \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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fe26ecd09896757a89a5a370d6c3ea09ae0c11ada7050191a2c26d679e4659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/vectordb/singlestore/singlestore.py:273-294 | libs/agno/agno/vectordb/singlestore/singlestore.py:350-371 | libs/agno/agno/vectordb/singlestore/singlestore.py:712-733 | libs/agno/agno/vectordb/singlestore/singlestore.py:809-830 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/singlestore/singlestore.py:272\u0060 calls \u0060embed\u0060 and \u0060libs/agno/agno/vectordb/singlestore/singlestore.py:711\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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6041b637cae56433db9b0473a15f7ab9c04610e28f056754acdb273d709eb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3095-3112 | libs/agno/agno/workflow/workflow.py:4102-4119 | libs/agno/agno/workflow/workflow.py:7394-7415 | libs/agno/agno/workflow/workflow.py:9444-9464 \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 \u0060libs/agno/agno/workflow/workflow.py:3095\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3095}}}],"partialFingerprints":{"codehealthFindingId/v1":"1339b7374a03af184712d29b5d29d2b3c8092714bae7d1ba154e2e18f81b7e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7031-7052 | libs/agno/agno/workflow/workflow.py:7879-7900 | libs/agno/agno/workflow/workflow.py:9097-9118 | libs/agno/agno/workflow/workflow.py:9642-9663 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7031}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cc6747af6fc950b5f9ad14d9a283d8f4b72e1205ebef9d5ccbd2c9570b0614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): libs/agno/agno/db/dynamo/dynamo.py:585-604 | libs/agno/agno/db/gcs_json/gcs_json_db.py:436-457 | libs/agno/agno/db/json/json_db.py:494-515 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcc7e24945e672df0d8e1bb2871acd034376233cb34c7313eddc47dc531f73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:2134-2155 | libs/agno/agno/db/in_memory/in_memory_db.py:1861-1882 | libs/agno/agno/db/json/json_db.py:2270-2291 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eda2f004b5b637c4694e410644aa932b19f4c0b6bbd0ad1f36a75d0e6d0b605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): libs/agno/agno/db/json/json_db.py:2827-2847 | libs/agno/agno/db/redis/redis.py:3662-3683 | libs/agno/agno/db/valkey/valkey.py:4120-4141 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/json/json_db.py\u0060 and \u0060libs/agno/agno/db/redis/redis.py\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 474 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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, \u0060libs/agno/agno/db/valkey/valkey.py:4119\u0060 calls \u0060record_matches_filter_expr\u0060 and \u0060libs/agno/agno/db/json/json_db.py:2826\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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a67cf1912d2895217722ccef09bb9157169ebb077ed0237ceac212d13206d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201322 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:828-838 | libs/agno/agno/db/postgres/async_postgres.py:1033-1054 | libs/agno/agno/db/sqlite/async_sqlite.py:986-1007 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1008\u0060 calls \u0060isinstance\u0060, \u0060get\u0060, \u0060loads\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:839\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f210d4ae1fbfafa8595421b4f09f2df9b6cb97ee242409a9b331087cd257b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:3369-3390 | libs/agno/agno/db/postgres/postgres.py:4205-4226 | libs/agno/agno/db/sqlite/sqlite.py:4141-4162 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcf7ab560adaf88517f014f1047d8fe422d67c59a0ef75bafd8cb0439e6fac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/agno/agno/db/singlestore/singlestore.py:1565-1586 | libs/agno/agno/db/sqlite/async_sqlite.py:2047-2068 | libs/agno/agno/db/sqlite/sqlite.py:2315-2336 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/singlestore/singlestore.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 799 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad6c430a032c0e39096f1134005790970b5915fc6c2776d8db89f6fb38f78ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/agno/agno/learn/stores/session_context.py:307-328 | libs/agno/agno/learn/stores/user_memory.py:471-492 | libs/agno/agno/learn/stores/user_profile.py:633-654 \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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78759f220b6fdd67b7fc3eb81b4c4cc3a6723b64e4fb754f590e5d2904b9701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 3): libs/agno/agno/learn/stores/session_context.py:622-643 | libs/agno/agno/learn/stores/user_memory.py:846-861 | libs/agno/agno/learn/stores/user_profile.py:925-940 \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 \u0060libs/agno/agno/learn/stores/session_context.py:622\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/learn/stores/user_memory.py:844\u0060 calls \u0060_build_functions_for_model\u0060 and \u0060libs/agno/agno/learn/stores/session_context.py:622\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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64a0ff3274ad78cb784abb7ccfddddaf8c861bd787dc27f42ba591771e85d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 3): libs/agno/agno/os/routers/teams/router.py:238-256 | libs/agno/agno/os/routers/teams/router.py:458-479 | libs/agno/agno/os/routers/teams/router.py:525-543 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5273b8e92101f92b6f090162bd542f9193e71c1bd2bc3c53d3a22832bca120fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201322 lines \u00D7 3): libs/agno/agno/os/utils.py:3208-3229 | libs/agno/agno/os/utils.py:3303-3315 | libs/agno/agno/os/utils.py:3384-3396 \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":"libs/agno/agno/os/utils.py"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bddec68c0ddb1604adb83cacf51d01145725cdc7dee91e4db369cb172433f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): libs/agno/agno/tools/studio_runner.py:2094-2115 | libs/agno/agno/tools/studio_runner.py:2147-2167 | libs/agno/agno/tools/studio_runner.py:2203-2223 \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 \u0060libs/agno/agno/tools/studio_runner.py:2094\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"7648240ba03861096cdc8280688fd03a9f6c256dc2a6cbea4bb5d818bdcd002f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 3): libs/agno/agno/workflow/condition.py:248-269 | libs/agno/agno/workflow/loop.py:253-270 | libs/agno/agno/workflow/router.py:292-312 \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 \u0060libs/agno/agno/workflow/condition.py:248\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/condition.py:272\u0060 calls \u0060ValueError\u0060 and \u0060libs/agno/agno/workflow/loop.py:272\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c234e00be07c3cc9589263034894c4b46ec90fce6828faee3664318d34544e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:5082-5100 | libs/agno/agno/workflow/workflow.py:5322-5341 | libs/agno/agno/workflow/workflow.py:5570-5591 \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 \u0060libs/agno/agno/workflow/workflow.py:5570\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df5ef9725772ca6f745a60bd99b794795de7ad8433346b231ee65ace14da4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:7605-7626 | libs/agno/agno/workflow/workflow.py:7694-7715 | libs/agno/agno/workflow/workflow.py:7779-7800 \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 \u0060libs/agno/agno/workflow/workflow.py:7605\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7605}}}],"partialFingerprints":{"codehealthFindingId/v1":"914b9c4cb1a84cca55f39d5cfcde6edbcf1d83578f2f9ffcd65a5ef1e5ba3a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/metrics_agentos.py:110-131 | cookbook/frameworks/codex/codex_metrics_agentos.py:105-125 \u2014 \u0060cookbook/frameworks/claude-agent-sdk/metrics_agentos.py\u0060 and \u0060cookbook/frameworks/codex/codex_metrics_agentos.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 65 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/frameworks/claude-agent-sdk/metrics_agentos.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cookbook/frameworks/codex/codex_metrics_agentos.py:128\u0060 calls \u0060get\u0060 and \u0060cookbook/frameworks/claude-agent-sdk/metrics_agentos.py:132\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":"cookbook/frameworks/claude-agent-sdk/metrics_agentos.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5065a70c25f69e3b352b561409e27d279ff19358a474e072028e034503214977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/agno/agno/agent/_run.py:1916-1936 | libs/agno/agno/agent/_run.py:5198-5219 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/agent/_run.py:5194\u0060 calls \u0060create_run_error_event\u0060, \u0060str\u0060, \u0060error_type_of\u0060 and \u0060libs/agno/agno/agent/_run.py:1913\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dbac56c1a8327edcb627221e2390776933ae8c92633684e02736a6caf56fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/agent/_run.py:2100-2121 | libs/agno/agno/team/_run.py:3594-3615 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bc10ced0ef8ed83d9e53deeea73045e5dfdb55111bbd541f0d6d742c173201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/agent/_run.py:2670-2691 | libs/agno/agno/agent/_run.py:5837-5858 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc84a7de8d710859f8a3d8a73996b04e9749dcd84f853fcbd8ca30034ec7b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/agno/agno/agent/_run.py:4678-4698 | libs/agno/agno/team/_run.py:9204-9225 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4678}}}],"partialFingerprints":{"codehealthFindingId/v1":"475f33d32613ae5beff99e506db214ec3a8b6755e60b6bd4bacab887fee8d512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/agent/_run_options.py:165-186 | libs/agno/agno/team/_run_options.py:161-182 \u2014 \u0060libs/agno/agno/agent/_run_options.py\u0060 and \u0060libs/agno/agno/team/_run_options.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 4 separate duplicated blocks between them, totalling at least 101 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":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bcc236de3b13494c994422256991d59af7ebb2f7bfecf175c4249467d7e0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1018-1036 | libs/agno/agno/team/_storage.py:789-810 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98decab7a101e05266affcd1e26bb0fccb108b8f852356ca60ceeba4d071116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/agno/agno/agent/_tools.py:576-597 | libs/agno/agno/team/_tools.py:431-451 \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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae674acb3067423ec91c8b9b0c086517d98017013623647ebe679510e41f1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/context/web/exa.py:71-92 | libs/agno/agno/context/web/parallel.py:160-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":"libs/agno/agno/context/web/exa.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3ed2df8226d7fdaad1abb9c0961d64263ea4e80ef3a4d4346e253f205be008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:752-773 | libs/agno/agno/db/json/json_db.py:820-841 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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, \u0060libs/agno/agno/db/json/json_db.py:843\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:775\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7956227c8537e12902d9a07efe5ce05dbcc1d5a559174b125daf92226b565c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2758-2779 | libs/agno/agno/db/json/json_db.py:2907-2928 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7f34a375e5859a92814d0d97032ef57d21d3c00023a7872d154c72bc1d7c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201322 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1617-1638 | libs/agno/agno/db/mongo/async_mongo.py:3472-3484 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/mongo/async_mongo.py:3486\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py:1640\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9638d6e783e788d18f2432b01799972ddad41b2b1f9cd965a2ab66973ce61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4003-4024 | libs/agno/agno/db/mongo/mongo.py:3811-3832 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4003}}}],"partialFingerprints":{"codehealthFindingId/v1":"1704be25a2ce15d5f08dd5e7ce96adb452e9f56dc082b1fcdfbdec7f12e2594a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201322 lines \u00D7 2): libs/agno/agno/db/mongo/mongo.py:1429-1450 | libs/agno/agno/db/mongo/mongo.py:3222-3234 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/mongo/mongo.py:3236\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py:1452\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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5413a83333c18b9fa2feb2bf3a226cf718d95c7e6b7d243961e56b0bfab1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:687-708 | libs/agno/agno/db/sqlite/async_sqlite.py:941-962 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:687\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e961c162ca6f12618e458d45b0a5aa4b970b84e8d643c3e3e11a9dd1ccd88d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2062-2083 | libs/agno/agno/db/mysql/mysql.py:2059-2080 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2062\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cc628439d1344ecd1ffbcff254f9b57566ec9907ea886938be969df5851f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:988-1024 | libs/agno/agno/db/singlestore/singlestore.py:1033-1069 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f849c0fccb5bf25c4c9acbd9d2f58e1466d34406c9561b8c349b34d6e67ee6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:3711-3732 | libs/agno/agno/db/singlestore/singlestore.py:3667-3688 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/singlestore/singlestore.py:3690\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:3734\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8c8b987936f66c6d735517bc615f0ac918cae22f25fa15e3b63eddfc0d16fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6492-6513 | libs/agno/agno/db/postgres/postgres.py:9178-9199 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6492\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6492}}}],"partialFingerprints":{"codehealthFindingId/v1":"425b4259bdaf71d9d9c632d648e021f38153b529fd9a00a1efb7bce878a13be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1560-1581 | libs/agno/agno/db/sqlite/sqlite.py:1555-1573 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:1582\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py:1574\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"517d3b84e1501ec551cb7722bcce84a9dced43cf30863a8e5856cc628d3a8ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8482-8503 | libs/agno/agno/db/sqlite/sqlite.py:8269-8290 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56502647174d4a925fae7443df92f762da3d58e826415aedc763a8316c2cd7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10852-10873 | libs/agno/agno/db/sqlite/sqlite.py:9793-9814 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10852}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2b56d608bc5efa0c3486dceb2d27c6f42521aadba231d1778c6da36046284f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201322 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:32-53 | libs/agno/agno/db/sql/authz.py:558-569 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b24aa2121edcf628ecbc810303412c23630496db63b17bf85cc568283bcc81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:263-283 | libs/agno/agno/db/sqlite/sqlite.py:313-334 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4023762e6a3d38a2c56fbd01eccfe9bea4b69344a1904fcfa5ba4b5547f747"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/guardrails/pii.py:57-78 | libs/agno/agno/guardrails/pii.py:81-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/guardrails/pii.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4fede371462f559a40857f634a60bc262ebcd520af0713edf5627a1ca722b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): libs/agno/agno/media/media.py:81-102 | libs/agno/agno/media/media.py:135-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. 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":"libs/agno/agno/media/media.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fe0cb8c926fa88a0379900ecc9c176b8712c89583c1b58642173481606d897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/models/cerebras/cerebras.py:76-97 | libs/agno/agno/models/meta/llama.py:73-94 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd57bac8102838f26b4e31eff3664ebed935c3e971e5de9bfe09da93a570992d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/offload/store.py:686-707 | libs/agno/agno/offload/store.py:725-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 \u0060libs/agno/agno/offload/store.py:686\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/offload/store.py"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"564dd947787a8e66c88baaed3a0c716ce7b99934436eaef0e5e798f48d44b215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201322 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:358-379 | libs/agno/agno/os/routers/teams/router.py:438-453 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:358\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd7e60899e449c54dffa14a6d7274344816fcfb3322868422e5fe4c20e0e5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:778-799 | libs/agno/agno/os/routers/workflows/router.py:1856-1877 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/workflows/router.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 13 separate duplicated blocks between them, totalling at least 344 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py: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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73ae3b087f7c12d636b1b920ba7f65bc11d4d7df61f7bd5f43daa947c982f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2363-2384 | libs/agno/agno/os/routers/teams/router.py:2174-2195 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea758856229300cb8646515a621843c600f76e31c39e5604201f3c45ca0b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): libs/agno/agno/os/routers/registry/registry.py:177-195 | libs/agno/agno/os/routers/registry/registry.py:237-258 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/registry/registry.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a519afe3e722fbc0d604e1a3b780cd78376f1e5b652f7007e6e3e9edd7c8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/team/_hooks.py:314-335 | libs/agno/agno/team/_hooks.py:417-438 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_hooks.py:414\u0060 calls \u0060iscoroutinefunction\u0060, \u0060hook\u0060 and \u0060libs/agno/agno/team/_hooks.py:312\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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cda6cc7ba8a12efa605cda8e9e45c912fa82c4f7fd1dfb51e7879f3e9b97bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/team/_response.py:241-262 | libs/agno/agno/team/_response.py:312-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_response.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a6eae401aab4d29807267c30595e4410192da16fda8410fe3a977146b88ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): libs/agno/agno/team/_run.py:1063-1081 | libs/agno/agno/team/_run.py:1879-1900 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0bdc271b84fca76f9468fd5f6c0fe2d61069657ec9e1fea7fa664726c873bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/team/_run.py:3163-3184 | libs/agno/agno/team/_run.py:3738-3759 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:3163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":3163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31ae0be2b02e7e2fe6037930849ef1726cd6b6c9baa5a5235a5937191559ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/team/_run.py:4674-4695 | libs/agno/agno/team/_run.py:4757-4778 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:4674\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":4674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d132334d12e0f1c573e3cfde00e6ecdb9a7809f40c31070f51a796d85de649b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/team/_run.py:8629-8650 | libs/agno/agno/team/_run.py:10475-10496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:8629\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":8629}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea5a54642c7cf75a10eea77ea59a4d9d923e1daf313d54bceb33af57ca8396a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/team/_run.py:9706-9727 | libs/agno/agno/team/_run.py:9755-9776 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9706}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acf5116b2998d44c4824f8e1029866480d855f0f746609ce98920e4b8abb126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/tools/google/gmail.py:853-874 | libs/agno/agno/tools/google/gmail.py:878-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. 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad856a98925d945a0748a8df834a4e7a2082fe1b6de734f0d008cc79ba62bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/tools/google/slides.py:916-937 | libs/agno/agno/tools/google/slides.py:944-965 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"75914754f6ad4c378e103a635cf2b8961866179284be9d122fc5f2b37563add2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): libs/agno/agno/tools/studio.py:3112-3133 | libs/agno/agno/tools/studio.py:3242-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 \u0060libs/agno/agno/tools/studio.py:3112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2816e9e66b5448315bbadf89896e57340a20085b90432f1616ca2a26b3122b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): libs/agno/agno/tools/studio.py:3491-3512 | libs/agno/agno/tools/studio.py:3580-3599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/studio.py:3491\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadc1e7bbd6a6ddff6dcd81429e74f8eef15494abbda2c784a05c160ed7b158d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:228-248 | libs/agno/agno/vectordb/couchbase/couchbase.py:956-977 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/couchbase/couchbase.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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"865c273c227499a1129c5e64a69c1c63cfab0384b4cb542e4bccf6b547fa342c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1167-1187 | libs/agno/agno/vectordb/opensearch/opensearch.py:1075-1096 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1075\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82f52f26a4dfb09f688a25dd160a9b38e53de5fafe837faafb8b53b634ea42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2299-2320 | libs/agno/agno/vectordb/opensearch/opensearch.py:1844-1865 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0979c46d419fd5ed10d9d8e98ac6fad126393f2b3fb157d15e7215d11e6aeb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:616-637 | libs/agno/agno/vectordb/weaviate/weaviate.py:809-830 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/weaviate/weaviate.py:616\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d6c051f5c673f32a66d7a5172e03026edba54669ad38953e24e7dd71420a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/workflow/condition.py:805-826 | libs/agno/agno/workflow/parallel.py:534-555 \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 \u0060libs/agno/agno/workflow/condition.py:805\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eaf5ce9daa6435cb79e12e3635dc5225a200c150c9109dad7d33ac89b970aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/workflow/condition.py:1259-1280 | libs/agno/agno/workflow/parallel.py:900-921 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:1259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7d71de96cfb8afe562d48eb4773954134c263362d6b6336f97e5d748e9755a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3626-3647 | libs/agno/agno/workflow/workflow.py:4671-4692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:3626\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c0e84aa358cf97f6ec5acac85ab40374b79e69b2d06317c9cb4100d605079c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:10728-10749 | libs/agno/agno/workflow/workflow.py:11009-11030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:10728\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3712dc7b6211f444d0128b9352ed0a9ac978b9e9894ec980b9201fc45cc073e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): libs/agno_infra/agno/aws/app/fastapi/fastapi.py:41-62 | libs/agno_infra/agno/docker/app/fastapi/fastapi.py:37-56 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/app/fastapi/fastapi.py\u0060 and \u0060libs/agno_infra/agno/docker/app/fastapi/fastapi.py\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 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 \u0060libs/agno_infra/agno/aws/app/fastapi/fastapi.py: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. 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":"libs/agno_infra/agno/aws/app/fastapi/fastapi.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da9711ab2c71d8760ca49b8f5af8fab9209562d5e30ac957defebfaa833b51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:111-132 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:116-137 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273c6e7981da39b68e04ab017702dfb295dfc658674db034f82fa885e1ac4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 10): libs/agno/agno/vectordb/chroma/chromadb.py:480-500 | libs/agno/agno/vectordb/chroma/chromadb.py:686-706 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:420-440 | libs/agno/agno/vectordb/couchbase/couchbase.py:1098-1118 | libs/agno/agno/vectordb/couchbase/couchbase.py:1212-1232 | libs/agno/agno/vectordb/mongodb/mongodb.py:1169-1189 | libs/agno/agno/vectordb/mongodb/mongodb.py:1248-1268 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:390-410 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:665-685 | libs/agno/agno/vectordb/weaviate/weaviate.py:397-417 \u2014 there are 10 copies across 7 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eef6a0d88827121422bb096e503e566447a0831f5c3b55fde0a04765e104571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 8): libs/agno/agno/workflow/condition.py:818-838 | libs/agno/agno/workflow/condition.py:1272-1292 | libs/agno/agno/workflow/loop.py:673-693 | libs/agno/agno/workflow/loop.py:1070-1090 | libs/agno/agno/workflow/router.py:847-867 | libs/agno/agno/workflow/router.py:1188-1208 | libs/agno/agno/workflow/steps.py:449-469 | libs/agno/agno/workflow/steps.py:754-774 \u2014 there are 8 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:818\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/condition.py:840\u0060 calls \u0060getattr\u0060, \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/steps.py:472\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"650226fbe2431f28cceb8c8dc9ca0a93185aef33b17e3d778b90326497dd9b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 7): libs/agno/agno/db/dynamo/dynamo.py:2755-2772 | libs/agno/agno/db/firestore/firestore.py:2472-2492 | libs/agno/agno/db/mongo/mongo.py:2497-2514 | libs/agno/agno/db/mysql/mysql.py:2962-2979 | libs/agno/agno/db/postgres/postgres.py:3779-3796 | libs/agno/agno/db/singlestore/singlestore.py:2955-2972 | libs/agno/agno/db/sqlite/sqlite.py:3716-3733 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/dynamo/dynamo.py:2755\u0060 it does not close everything it opens, so those exact 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060fingerprint\u0060 to \u0060rebuild_from) # Yesterday and today are picked by the\u0060 in one and \u0060starting_date=rebuild_from) # Yesterday and today are picked by the\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc827dc30810cd60ecd14a95302b21746661b528c699081140f3d8bde82294d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:2452-2472 | libs/agno/agno/db/mysql/mysql.py:2440-2460 | libs/agno/agno/db/postgres/async_postgres.py:2719-2739 | libs/agno/agno/db/postgres/postgres.py:3284-3304 | libs/agno/agno/db/singlestore/singlestore.py:2432-2452 | libs/agno/agno/db/sqlite/async_sqlite.py:2957-2977 | libs/agno/agno/db/sqlite/sqlite.py:3221-3241 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e7806486b858337825f7e34b6adc53a9476b4099e2b49567c76c09d8b9b2fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 6): libs/agno/agno/db/migrations/versions/v2_5_0.py:243-263 | libs/agno/agno/db/migrations/versions/v2_5_0.py:359-379 | libs/agno/agno/db/migrations/versions/v2_5_0.py:491-511 | libs/agno/agno/db/migrations/versions/v2_5_0.py:558-577 | libs/agno/agno/db/migrations/versions/v2_5_0.py:681-700 | libs/agno/agno/db/migrations/versions/v2_5_0.py:811-830 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b93f614b5230db86b1aaadce6e7e7341252abc5439433f63b45c506c858562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 6): libs/agno/agno/db/migrations/versions/v2_5_6.py:207-227 | libs/agno/agno/db/migrations/versions/v2_5_6.py:303-323 | libs/agno/agno/db/migrations/versions/v2_5_6.py:402-422 | libs/agno/agno/db/migrations/versions/v2_5_6.py:541-560 | libs/agno/agno/db/migrations/versions/v2_5_6.py:628-647 | libs/agno/agno/db/migrations/versions/v2_5_6.py:716-735 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"678616b5fad7752d6d4380741613e5a9c1121ed64e94dfc72dd625da97bc691b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 6): libs/agno/agno/reasoning/deepseek.py:44-63 | libs/agno/agno/reasoning/deepseek.py:123-142 | libs/agno/agno/reasoning/gemini.py:65-84 | libs/agno/agno/reasoning/gemini.py:95-114 | libs/agno/agno/reasoning/moonshot.py:81-101 | libs/agno/agno/reasoning/moonshot.py:116-135 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/deepseek.py\u0060 and \u0060libs/agno/agno/reasoning/gemini.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d300a875556812e416f1125327481120bb94cb651104782f208fb2ed8ee311f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:1374-1394 | libs/agno/agno/db/mysql/mysql.py:1387-1407 | libs/agno/agno/db/postgres/async_postgres.py:2031-2051 | libs/agno/agno/db/postgres/postgres.py:2266-2286 | libs/agno/agno/db/singlestore/singlestore.py:1439-1459 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1374\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c058e19be6f7f2dd0b514182f35aec0060829fda8a635a56b2efe3abde4b4c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): libs/agno/agno/agent/_response.py:1103-1123 | libs/agno/agno/agent/_response.py:1269-1289 | libs/agno/agno/team/_response.py:1055-1075 | libs/agno/agno/team/_response.py:1217-1237 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:1103\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5641a4cccbd0b7df6c4bedb267b04c83063101cc38d36d891faf708f2c1426d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 4): libs/agno/agno/agent/_run.py:443-460 | libs/agno/agno/agent/_run.py:851-868 | libs/agno/agno/agent/_run.py:1590-1607 | libs/agno/agno/agent/_run.py:2203-2223 \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 \u0060libs/agno/agno/agent/_run.py:2203\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae796838c05181130abfd505e2c7a3ed96807cd028376b7af77ea1012fef220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 4): libs/agno/agno/agent/_run.py:1147-1166 | libs/agno/agno/agent/_run.py:2501-2520 | libs/agno/agno/agent/_run.py:4071-4091 | libs/agno/agno/agent/_run.py:5657-5676 \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 \u0060libs/agno/agno/agent/_run.py:1147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cbd68072be3dce47f585f18c167fe635b11b941ed16e18691abc7cf59e89f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:4155-4175 | libs/agno/agno/db/mongo/mongo.py:3963-3983 | libs/agno/agno/db/mysql/async_mysql.py:4486-4506 | libs/agno/agno/db/mysql/mysql.py:4422-4442 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3212615bc3850d4a881cad1c06bea04b203a87c41dfdd1c34ee03eea883a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2869-2889 | libs/agno/agno/db/postgres/postgres.py:3689-3709 | libs/agno/agno/db/singlestore/singlestore.py:2865-2885 | libs/agno/agno/db/sqlite/sqlite.py:3625-3645 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2869\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c01fcad8768deb0274e840cea41bfaf6b575a013fc7d9175bf4cd91b03be5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:4479-4497 | libs/agno/agno/db/postgres/postgres.py:5015-5033 | libs/agno/agno/db/sqlite/async_sqlite.py:4680-4700 | libs/agno/agno/db/sqlite/sqlite.py:4835-4855 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:4479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4479}}}],"partialFingerprints":{"codehealthFindingId/v1":"473870772eb5507cdfae62b4c5e8c1a0d73ff4bd16aee27172b43772c09e89b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5569-5589 | libs/agno/agno/db/postgres/postgres.py:8290-8310 | libs/agno/agno/db/sqlite/async_sqlite.py:5693-5713 | libs/agno/agno/db/sqlite/sqlite.py:8077-8097 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5569}}}],"partialFingerprints":{"codehealthFindingId/v1":"28abd5fa66a214a917c47ad5968d91abfa5bca10be877e2c57bde4d8f9bd5806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): libs/agno/agno/team/_run.py:2218-2238 | libs/agno/agno/team/_run.py:2601-2621 | libs/agno/agno/team/_run.py:3195-3215 | libs/agno/agno/team/_run.py:3770-3790 \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 \u0060libs/agno/agno/team/_run.py:2218\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_run.py:3217\u0060 calls \u0060cast\u0060 and \u0060libs/agno/agno/team/_run.py:2241\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"29167d48513db44a744e45f03ba7e25264424e4492cdb354557ffb90f6363cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): libs/agno/agno/workflow/condition.py:719-739 | libs/agno/agno/workflow/condition.py:772-792 | libs/agno/agno/workflow/condition.py:1172-1192 | libs/agno/agno/workflow/condition.py:1225-1245 \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. 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"231bcb0886bf010b4a00c4998d1ad21d4cf63c01807a097d2414653fc521b480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:4954-4974 | libs/agno/agno/workflow/workflow.py:5157-5177 | libs/agno/agno/workflow/workflow.py:10701-10719 | libs/agno/agno/workflow/workflow.py:10954-10972 \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 \u0060libs/agno/agno/workflow/workflow.py:4954\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d65e1ba86dae6b5a05f65d3b438af1789aacf7883fef36be9027ecf2ed1013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201321 lines \u00D7 3): cookbook/91_tools/other/human_in_the_loop.py:54-74 | cookbook/91_tools/tool_decorator/tool_decorator.py:25-36 | cookbook/91_tools/tool_hooks/pre_and_post_hooks.py:38-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/other/human_in_the_loop.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a194adee1b9baa3360a05e3235da7e6b023c54a00d4eedbbd1bdb0c93914507c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): libs/agno/agno/agent/_run.py:199-218 | libs/agno/agno/team/_run.py:5236-5256 | libs/agno/agno/team/_run.py:5268-5288 \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. 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, \u0060libs/agno/agno/team/_run.py:5292\u0060 calls \u0060iscoroutine\u0060 and \u0060libs/agno/agno/team/_run.py:5260\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0213a359e1502f71b98dd31dde68e56a3afde9d1372bab64ac7fa85ee6bb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/agno/agno/agent/agent.py:1904-1924 | libs/agno/agno/team/team.py:1930-1950 | libs/agno/agno/workflow/workflow.py:11984-12004 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b72d83cef1f51872ea08cc7fb4f43b859fbe2bbfc04f897000e9287b487ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:2307-2327 | libs/agno/agno/db/in_memory/in_memory_db.py:2024-2044 | libs/agno/agno/db/json/json_db.py:2461-2481 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3fedbd0a05d1e35b1b9ea3a18c615b1acd8f2453516675653d48923d347e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3795-3815 | libs/agno/agno/db/postgres/async_postgres.py:4076-4096 | libs/agno/agno/db/sqlite/async_sqlite.py:4280-4299 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"11759468e2580d1c155164fcee3eee768955bc585f110d6970830e4cde66510c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:2002-2022 | libs/agno/agno/db/postgres/postgres.py:2894-2914 | libs/agno/agno/db/singlestore/singlestore.py:2010-2030 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2002\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffeedbfcdda0e12fd3523b7177d4217fae2644b0e4612dca65bff0956fe401d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/agno/agno/knowledge/loaders/azure_blob.py:392-412 | libs/agno/agno/knowledge/loaders/github.py:597-617 | libs/agno/agno/knowledge/loaders/sharepoint.py:409-429 \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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6cc321d5c77e5a5afe3baee9bd20f103c37a992e85d85103578d5abdad9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:8218-8238 | libs/agno/agno/workflow/workflow.py:9339-9359 | libs/agno/agno/workflow/workflow.py:9981-10001 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8218}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f7198bdc2a92d49b9f3c8f73f713d0f920011cc15a298a1c33c563b2773489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py:94-114 | cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py:167-187 \u2014 both copies are in the same file, so extract the block 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":"cookbook/04_workflows/01_basic_workflows/02_step_with_function/step_with_additional_data.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9b2b530bb4e3a94fd793d94150c997b30b0dff09a3214d8ad3004c592fc3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:404-424 | libs/agno/agno/team/_default_tools.py:1576-1596 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e01cd78caa44756422e66f8a1d622177537d719fc044ce31a73f47e098f601c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/agent/_response.py:145-165 | libs/agno/agno/team/_response.py:559-579 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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 \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e36efcb617fa603b4fc1cecc995eaf3d1b9cbafaecea53b3ecdcdc76d5a703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/agent/_response.py:452-472 | libs/agno/agno/agent/_response.py:520-540 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"800ecbb54d21f98de38933a0747cb357b4e1a9208ec8217f34ea8726c5123088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/agent/_response.py:615-635 | libs/agno/agno/agent/_response.py:696-716 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0d3326480999f7ecd38ba3162f2d917eff3d8271b9912f3255e8514ab1ff46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/company/manager.py:482-502 | libs/agno/agno/company/manager.py:1453-1473 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba393486ec5e9f56ac2519ea04ee124cfd88b271a3ab2f294c226791abef4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:232-252 | libs/agno/agno/db/singlestore/utils.py:194-214 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 10 separate duplicated blocks between them, totalling at least 214 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"191c7bafa898949da69ee917ea52e9537eb89b4f66ba0b688e44cf2ca3e0d0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1395-1415 | libs/agno/agno/db/sqlite/async_sqlite.py:1354-1374 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:1416\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1375\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86f707f285ab188e7b08db110c2481cac05d4395b23d5cdd5b7c9f34a13e5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5290-5310 | libs/agno/agno/db/sqlite/async_sqlite.py:5477-5497 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5290}}}],"partialFingerprints":{"codehealthFindingId/v1":"405bff1646783362b3486ce5f7cc95eb4e53531a4a7d2ed3f2cd9cfee1c8e359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5743-5763 | libs/agno/agno/db/sqlite/async_sqlite.py:5868-5888 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5743}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2af3bc363530704f0b5a2559da02f28f2f675d3dcfabbeeb0dd62819804302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5856-5876 | libs/agno/agno/db/postgres/postgres.py:8598-8618 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5856}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e49455a7affad99354bd7cbec7f880051bebc7d0e9a6ed2f9b8a85fe8286a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7141-7161 | libs/agno/agno/db/sqlite/async_sqlite.py:6353-6373 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651ce93c4bac970ed62506b59dca05e23dd0d06dc9fbab12d657b29da48f71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7245-7263 | libs/agno/agno/db/sqlite/async_sqlite.py:6457-6477 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fac63e07cf4e856270efb7c8b7ee2eef4dd74d2ffcf8ffda322742d6641be29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:5809-5829 | libs/agno/agno/db/sqlite/sqlite.py:5670-5690 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:5809\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5809}}}],"partialFingerprints":{"codehealthFindingId/v1":"05203ff6cb6e0d2f4c33e4cc78e6131375a1ea4eaf9eb188ca4d4a4183115671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7307-7327 | libs/agno/agno/db/sqlite/sqlite.py:7115-7135 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7307}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7338379b70d4e09a4ed25bda7dcc3274b4f7007b3cbd56a0251b95c2079a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8014-8034 | libs/agno/agno/db/sqlite/sqlite.py:7804-7824 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8014}}}],"partialFingerprints":{"codehealthFindingId/v1":"875d8ba919b57c9f0081de299dfc15556c18fee82eac482adfc084be650a3c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9998-10018 | libs/agno/agno/db/sqlite/sqlite.py:8942-8961 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9998}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d9324f03f63cc8b11ebe14ad0f7e122dfdec6f5a860475a298ac1308ccd984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2244-2271 | libs/agno/agno/db/valkey/valkey.py:2576-2603 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4178315a37e62d9e3db8b8a2caeb4eb8a6ee5b9739d2aa56cf797e2a73d46379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): libs/agno/agno/knowledge/loaders/sharepoint.py:50-70 | libs/agno/agno/knowledge/remote_content/sharepoint.py:59-76 \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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1279fe513444276e7cc98b4c7c7982a024961414a21909fd69c9e0e4c7c6406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/knowledge/remote_content/s3.py:68-88 | libs/agno/agno/knowledge/remote_content/s3.py:243-263 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/remote_content/s3.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe52064c1bfa076b8df7dcb658a5f4854f298ee24eee2f88d8ce19a418928b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:776-796 | libs/agno/agno/learn/stores/user_profile.py:858-878 \u2014 before extracting anything, compare \u0060libs/agno/agno/learn/stores/user_memory.py\u0060 and \u0060libs/agno/agno/learn/stores/user_profile.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 262 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/user_memory.py:776\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0239660795f87395235684d5f28da229d44e95ebbf735e539b73cb7e70bd8822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/memory/strategies/summarize.py:99-119 | libs/agno/agno/memory/strategies/summarize.py:176-196 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/memory/strategies/summarize.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbac32dc1d01075adf0dc29a92b8ad9841ddc6c2f4c558ee4bf528cf0dcd6d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): libs/agno/agno/os/app.py:1071-1091 | libs/agno/agno/os/app.py:2188-2207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/app.py:1071\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"341cb72b9642bbc3d12e43870d6fee352e6e82d9513c06f0cabebaefd88e6710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/os/router.py:752-774 | libs/agno/agno/os/router.py:859-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/router.py:752\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/router.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"0878c52f55c13a553746883caf91768b7095f862b0327f6ad594727801a0a482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/os/routers/session/session.py:861-881 | libs/agno/agno/os/routers/session/session.py:1022-1042 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbf8258f96a873c1f80881b0d71c0e26996085b77d1d680caaa200db63bb606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:1314-1334 | libs/agno/agno/os/routers/workflows/router.py:1422-1442 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bb11171527f4c66f5a28ede547a7f24e50f43c34bd5346d8f794f7f0d4ff20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:998-1018 | libs/agno/agno/team/_task_tools.py:765-784 \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 \u0060libs/agno/agno/team/_default_tools.py:998\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8050382a03bb5829169780f2bd370a497980200f8a7937d3f662aa1b0900586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): libs/agno/agno/team/_messages.py:439-459 | libs/agno/agno/team/_messages.py:697-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. 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c219325d7f0b4b622e831f53561e4bf1b5fd37d03b182b2d4ccf05e3f7ba303f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/team/_messages.py:1132-1152 | libs/agno/agno/team/_messages.py:1274-1294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_messages.py:1132\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"38161403691e21abfc2e873fa6a03bee6a3a2c9e3dff8568278f919eba84d782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/team/_run.py:366-386 | libs/agno/agno/team/_run.py:2263-2283 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c15220f930d793e4a2d3fe2270e205f82f6a20e66a80890b7af18c3f71a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): libs/agno/agno/team/_run.py:2058-2075 | libs/agno/agno/team/_run.py:4251-4271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:4251\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_run.py:2055\u0060 calls \u0060_resolve_run_dependencies\u0060 and \u0060libs/agno/agno/team/_run.py:4251\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fc1748d42f1d932c4b97b653353ac6912426b3d6fa39c47a90e1084ee6662a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/tools/coding.py:400-420 | libs/agno/agno/tools/coding.py:475-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. 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b64c4b93b8dcfea62d74dc0f385e51931f092a2f4e0806af5191ca77ea9680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/tools/websearch.py:113-133 | libs/agno/agno/tools/websearch.py:144-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. 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":"libs/agno/agno/tools/websearch.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"df178c6d27cf318acf5c0f2307f1733bfb636b1da3ac137e776e04997bfea7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/tracing/schemas.py:47-67 | libs/agno/agno/tracing/schemas.py:114-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tracing/schemas.py: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. 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":"libs/agno/agno/tracing/schemas.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d915badbef1aa25d5a8e3b27425e5a31e55df77f0b18f50bef31890e19375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/utils/media_offload.py:273-293 | libs/agno/agno/utils/media_offload.py:481-501 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cc48f25821b2beb950cffb16062cccf65745ea85826bcec6fd0403f4fbae90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/agno/agno/utils/print_response/agent.py:192-232 | libs/agno/agno/utils/print_response/agent.py:399-439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/print_response/agent.py:192\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10eb7861c67199474444d64a7f076664c6012fdaaba90c6503a64abe64307fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:439-459 | libs/agno/agno/utils/print_response/team.py:1382-1401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/print_response/team.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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"768559fd38776c228cf1d60b420c9c036bf137fb689395f0442eb3b0bd673259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:471-509 | libs/agno/agno/utils/print_response/team.py:1403-1441 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d797a1357644694479a4f90a93ca78235e1815acadd357dbfd4a95c883ba7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/utils/print_response/team.py:512-532 | libs/agno/agno/utils/print_response/team.py:1444-1464 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5d559c5b81417834f9e19594dea2439eaa6cc5e34f96059b34a1d6734b04c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:904-924 | libs/agno/agno/vectordb/opensearch/opensearch.py:825-845 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba18667adb6ba369cd39bdaaa72e6883d5486321c26bede6dc1fbe7697bf1e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1254-1274 | libs/agno/agno/vectordb/opensearch/opensearch.py:1166-1186 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27961fefd6495dc488b81ef4d4bc708b02b559acd9ff739500f5774cb881e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2389-2409 | libs/agno/agno/vectordb/opensearch/opensearch.py:1933-1953 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b28ecf57d41b31937be9b5dd7c272e3a9cfcad23529f72f2fc85b9a5f069661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7529-7549 | libs/agno/agno/workflow/workflow.py:7769-7785 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:7554\u0060 calls \u0060_find_paused_executor_run\u0060 and \u0060libs/agno/agno/workflow/workflow.py:7790\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7529}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb728431896f273065faf2e990f3206a11f94f39c40d0b14d1ff29a0ffd1837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elasticache/cluster.py:406-426 | libs/agno_infra/agno/aws/resource/elasticache/cluster.py:436-456 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b103558414cb637d60b968db52130a79d60e8bacf413f50ef406f755b4a8bb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): libs/agno_infra/agno/docker/resources.py:102-122 | libs/agno_infra/agno/docker/resources.py:426-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/docker/resources.py:102\u0060 it does not close everything it opens, so those exact 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d5d7d7f1789fea682c70e61c9a004ac528d756d4ecab2b7a74a16768b13d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1361-1380 | libs/agno/agno/db/mysql/mysql.py:1374-1393 | libs/agno/agno/db/postgres/async_postgres.py:2018-2037 | libs/agno/agno/db/postgres/postgres.py:2253-2272 | libs/agno/agno/db/singlestore/singlestore.py:1426-1445 | libs/agno/agno/db/sqlite/async_sqlite.py:1899-1918 | libs/agno/agno/db/sqlite/sqlite.py:2167-2186 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"4828d81f4b52abb7c31fffe4e1395e033be73de4ca4a2db9f1d2da27ac0161cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:2293-2312 | libs/agno/agno/db/mysql/mysql.py:2280-2299 | libs/agno/agno/db/postgres/async_postgres.py:2594-2613 | libs/agno/agno/db/postgres/postgres.py:3156-3175 | libs/agno/agno/db/singlestore/singlestore.py:2288-2307 | libs/agno/agno/db/sqlite/async_sqlite.py:2840-2859 | libs/agno/agno/db/sqlite/sqlite.py:3101-3120 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a136dcad1c5a2939b757659241d3d42c7099feb0c6311050eefbe7be61e2bedc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 6): libs/agno/agno/db/sqlite/async_sqlite.py:2092-2110 | libs/agno/agno/db/sqlite/async_sqlite.py:2164-2182 | libs/agno/agno/db/sqlite/async_sqlite.py:2236-2254 | libs/agno/agno/db/sqlite/sqlite.py:2359-2378 | libs/agno/agno/db/sqlite/sqlite.py:2431-2450 | libs/agno/agno/db/sqlite/sqlite.py:2503-2522 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2092\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"933cc2ec34c2524477ca4a38da7383d300d255884cbd99cd2ebe247ab4a2f7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): libs/agno/agno/reasoning/azure_ai_foundry.py:109-128 | libs/agno/agno/reasoning/azure_ai_foundry.py:155-174 | libs/agno/agno/reasoning/groq.py:125-144 | libs/agno/agno/reasoning/groq.py:176-195 | libs/agno/agno/reasoning/ollama.py:166-185 | libs/agno/agno/reasoning/ollama.py:212-231 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7d89bac81b097ad4cd2bffe46babbc4bb56cb753b6054c6afafbafd404f37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 6): libs/agno_infra/agno/cli/operator.py:118-136 | libs/agno_infra/agno/cli/operator.py:191-209 | libs/agno_infra/agno/cli/operator.py:263-281 | libs/agno_infra/agno/infra/operator.py:267-286 | libs/agno_infra/agno/infra/operator.py:338-357 | libs/agno_infra/agno/infra/operator.py:411-430 \u2014 \u0060libs/agno_infra/agno/cli/operator.py\u0060 and \u0060libs/agno_infra/agno/infra/operator.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 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/cli/operator.py:118\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04d4a49146ffccc6126c39ec1525e602ed0a555cafeefe83ab3081ad6978271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1681-1700 | libs/agno/agno/agent/_messages.py:1851-1870 | libs/agno/agno/team/_messages.py:1395-1414 | libs/agno/agno/team/_messages.py:1554-1573 \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 \u0060libs/agno/agno/agent/_messages.py:1681\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d5dfef72c038689ac0bc394bd2102a906d43493edb6561072a24c5835420e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/agent/_messages.py:2633-2652 | libs/agno/agno/agent/_messages.py:2741-2760 | libs/agno/agno/team/_default_tools.py:1818-1837 | libs/agno/agno/team/_default_tools.py:1921-1940 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2633}}}],"partialFingerprints":{"codehealthFindingId/v1":"be878e1290eae3326b597518ed354f5e25b8fda23eaa98f17f49401a5a527fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2008-2027 | libs/agno/agno/db/postgres/postgres.py:2900-2919 | libs/agno/agno/db/singlestore/singlestore.py:2016-2035 | libs/agno/agno/db/sqlite/sqlite.py:2821-2840 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1a2d0ff04da7a79d96faee59e12c695d97d69876bf1bf4147aa52e80a957f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3002-3020 | libs/agno/agno/db/postgres/postgres.py:3825-3844 | libs/agno/agno/db/singlestore/singlestore.py:2997-3014 | libs/agno/agno/db/sqlite/sqlite.py:3759-3778 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:3002\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e38c0adf41a1470e1fc873fbe640f11f54268ab8c99495909203ba8961a0b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3894-3913 | libs/agno/agno/db/postgres/postgres.py:4768-4787 | libs/agno/agno/db/singlestore/singlestore.py:3854-3873 | libs/agno/agno/db/sqlite/sqlite.py:4647-4665 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:3894\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3894}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc52dc7ab804c0e2021b254467ce8484db87992f0932db333ccef2c1bba5fe6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/models/google/gemini.py:600-619 | libs/agno/agno/models/google/gemini.py:655-674 | libs/agno/agno/models/google/gemini.py:715-734 | libs/agno/agno/models/google/gemini.py:773-792 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b1176066303796c269c55a4d14877c7f9f555a3c5a89689321ae44e6616a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/models/groq/groq.py:465-484 | libs/agno/agno/models/huggingface/huggingface.py:408-427 | libs/agno/agno/models/ibm/watsonx.py:330-349 | libs/agno/agno/models/openai/chat.py:768-787 \u2014 before extracting anything, compare \u0060libs/agno/agno/models/groq/groq.py\u0060 and \u0060libs/agno/agno/models/openai/chat.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb394bd99f13baea1c1b76c25b77a1dce64498a1c630212d91da679b29c6dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): libs/agno/agno/team/_default_tools.py:604-623 | libs/agno/agno/team/_default_tools.py:677-696 | libs/agno/agno/team/_task_tools.py:383-400 | libs/agno/agno/team/_task_tools.py:446-463 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"e297c31f2981173d6dcf0f861294f546ec4982dc9a8b3b3165b417ef15da08da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): libs/agno/agno/team/_run.py:2197-2215 | libs/agno/agno/team/_run.py:2580-2598 | libs/agno/agno/team/_run.py:3173-3192 | libs/agno/agno/team/_run.py:3748-3767 \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 \u0060libs/agno/agno/team/_run.py:2197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8a2315506f7fd64d482e3da68dfe48b50f54643a909b2230acb15bc45172dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 4): libs/agno/agno/team/_run.py:4683-4702 | libs/agno/agno/team/_run.py:4766-4785 | libs/agno/agno/team/_run.py:4914-4928 | libs/agno/agno/team/_run.py:4974-4988 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/team/_run.py:4681\u0060 calls \u0060isolate_media_scrub_targets\u0060 and \u0060libs/agno/agno/team/_run.py:4913\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4683}}}],"partialFingerprints":{"codehealthFindingId/v1":"7852e1256b3273dc9fb90501fadc2ba5504587485771e3a15cdf48d72d103640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): libs/agno/agno/vectordb/milvus/milvus.py:571-589 | libs/agno/agno/vectordb/milvus/milvus.py:665-684 | libs/agno/agno/vectordb/milvus/milvus.py:745-763 | libs/agno/agno/vectordb/milvus/milvus.py:845-863 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/milvus/milvus.py:569\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/vectordb/milvus/milvus.py:744\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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f4be82ee50f0a3ccd0b827c7c510024eacd9893891fbbc7200f0016630d9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7103-7122 | libs/agno/agno/workflow/workflow.py:7962-7981 | libs/agno/agno/workflow/workflow.py:9164-9183 | libs/agno/agno/workflow/workflow.py:9724-9743 \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. 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8182b34d8173b9d709588f8a3d9bab301cfa421fcd872ce01f3b1f3b7b33d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:303-318 | libs/agno/agno/db/mysql/mysql.py:298-313 | libs/agno/agno/db/singlestore/singlestore.py:368-387 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79b403e62e911319b658a457ef0792ac6d796996461ddcab580862896e8ec51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201320 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:938-949 | libs/agno/agno/db/postgres/async_postgres.py:1320-1339 | libs/agno/agno/db/sqlite/async_sqlite.py:1287-1306 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:1340\u0060 calls \u0060is_foreign_key_violation\u0060, \u0060log_warning\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:950\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"575b1922999c5b8fa57aa7629e5deeae1249f085a18d062090fa5fa6ac779374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:4108-4127 | libs/agno/agno/db/singlestore/singlestore.py:4013-4032 | libs/agno/agno/db/sqlite/sqlite.py:4809-4828 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4108}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e272918aa6ca7235b89479c28dd6999e288238951fd27d68c17c87261f8a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 3): libs/agno/agno/models/aws/claude.py:208-227 | libs/agno/agno/models/azure/claude.py:139-155 | libs/agno/agno/models/vertexai/claude.py:131-150 \u2014 \u0060libs/agno/agno/models/aws/claude.py\u0060 and \u0060libs/agno/agno/models/azure/claude.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 64 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":"libs/agno/agno/models/aws/claude.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe05492fa22116026258faf386c0012879876579aadffa253acaed4e1a129934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:1093-1112 | libs/agno/agno/os/routers/teams/router.py:967-986 | libs/agno/agno/os/routers/workflows/router.py:2073-2092 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1093\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"c300134fda621f5ef473e3125cef8fcd3bc50d7f86164ae2490e168266cc0911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): libs/agno/agno/reasoning/azure_ai_foundry.py:90-109 | libs/agno/agno/reasoning/gemini.py:121-138 | libs/agno/agno/reasoning/ollama.py:147-166 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/gemini.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cb9e1e2387549baa2a0cd2f7912f52b36fa988fc2f8e77ce2820c843a5dbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): libs/agno/agno/reasoning/azure_ai_foundry.py:136-155 | libs/agno/agno/reasoning/gemini.py:161-178 | libs/agno/agno/reasoning/ollama.py:193-212 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/gemini.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 115 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f300b87af9d6aa7d8b9f501ae1bbfb34d143ce91bb5dcfc40edc68ff8ffb8d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/agno/agno/team/_run.py:3885-3904 | libs/agno/agno/team/_run.py:10298-10317 | libs/agno/agno/team/_run.py:10416-10435 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/team/_run.py:3882\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:10413\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb09530039d8a6799d4e661e2b14a4f95becce6d7d69c07a0b5e23f0215fe9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py:68-84 | cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.py:36-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py:68\u0060 it does not close everything it opens, so those exact 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, \u0060cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py:68\u0060 calls \u0060hasattr\u0060 and \u0060cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.py:36\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":"cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"283c8e9d9e96a40cd5fab2b3ded21016307805cdad968804374bbe046e5f57e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/agent/_hooks.py:342-360 | libs/agno/agno/agent/_hooks.py:442-461 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df3a6461997b4ecb2ab21c3301036ffff4c97b6c3579d3aa7a65f65d2ed496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/agent/_response.py:491-510 | libs/agno/agno/agent/_response.py:561-579 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee044a33f19090497130db02dc05a1a4b571d629817f3e67be013750c3dac3f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/agent/_response.py:783-800 | libs/agno/agno/team/_response.py:835-854 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:783\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ced7c477d37beddae62b0edd971be4135b9fd5cd3f268e457fc034b999e983b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/agent/_run.py:684-703 | libs/agno/agno/agent/_run.py:1845-1864 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:684\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e074529b9f727ca881bd606f56d35bfd37fcea6cc6cda35baad76e623d8646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/agent/_run.py:1932-1950 | libs/agno/agno/agent/_run.py:2687-2706 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1932\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"6694a614bf62d5e5b44d8531645d292ec8046594fa80995c53c90db390972b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/agent/_run.py:2747-2766 | libs/agno/agno/team/_run.py:4190-4209 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"768d62a987af58546e54a42ceec16209f4b88a6f9abb1c8285b963f0366a831e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/db/base.py:657-677 | libs/agno/agno/db/base.py:3152-3172 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/base.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac174dd24fdf52867c1dbc86235ced4d6333700d07c93da9ba7968f68b8c3aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1377-1396 | libs/agno/agno/db/in_memory/in_memory_db.py:1139-1158 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc115e44c96d7d169c2e7f775eb39833178bae62c458a2d81833ae447c30b33f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3503-3522 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3583-3597 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060db\u0060 to \u0060BaseDb\u0060 in one and \u0060AsyncBaseDb\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ad808e321ec4c2721c42f9bcb2839cfe251c2d7a51f5e33c621378a4aaf4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:4167-4186 | libs/agno/agno/db/sqlite/async_sqlite.py:4654-4673 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a359f607dbac5d812325b33bb55ffded91451bd8da8e13a7c20eb936c7a4a997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:3528-3547 | libs/agno/agno/db/sqlite/sqlite.py:4303-4322 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 141 separate duplicated blocks between them, totalling at least 2627 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"459d967dc91887d0f786174b87aba807fe6dd5d21a7353883ad4c05e8d62f61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:4464-4483 | libs/agno/agno/db/singlestore/singlestore.py:4380-4399 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9ed19245a38fc1a89f9d9b2c259e211360c4323244597b1828e17df1191d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:284-303 | libs/agno/agno/db/postgres/postgres.py:323-342 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"361ddf5aaaedded49f810d705efba8acd97c7ac62f6d4ae10d40520c73117c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1930-1949 | libs/agno/agno/db/postgres/postgres.py:2165-2184 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b708413afa932e4349991036c735bd7c22dd5ef652dca6e0b2800ab26f92f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2974-2993 | libs/agno/agno/db/sqlite/async_sqlite.py:3214-3233 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2974\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2974}}}],"partialFingerprints":{"codehealthFindingId/v1":"22abe0ec7c7518fc7fc3c13a61082d23e8d6a0688610d6a58f3ac7f0c2a9095e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:3505-3524 | libs/agno/agno/db/sqlite/async_sqlite.py:3745-3764 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5c70469136ad1948ef02f4c176752d0458bdcaed3de4bbf78fdc763fb49d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6394-6412 | libs/agno/agno/db/postgres/postgres.py:9085-9104 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6394}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a77d9959524b4398c23ace81a28760900eedf153fb72f93e6ea35a80b52ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8319-8338 | libs/agno/agno/db/sqlite/async_sqlite.py:7533-7552 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8319}}}],"partialFingerprints":{"codehealthFindingId/v1":"214f35823c42c76dd4df373f1990390e9e714da5d85f22af1abea5ff230c4ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:4027-4046 | libs/agno/agno/db/sqlite/sqlite.py:3961-3980 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd8231763183060220b5d5fbb4232d6a823582724b0c2e2f3fcf60e6032471b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8455-8474 | libs/agno/agno/db/sqlite/sqlite.py:8242-8261 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa2adb8133ff3e18d6b6a2fe306e191e01d8c610599df1c82942a807d57f3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9900-9919 | libs/agno/agno/db/sqlite/sqlite.py:8844-8863 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9900}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0b2a13d56e2cd0a34f8355ffa53d9081360605702633294ee6013f7734ff97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:279-298 | libs/agno/agno/db/postgres/utils.py:306-325 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060Session\u0060 in one and \u0060AsyncSession\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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b57d2fb6ce2f44913a297bb2bef1884c58cd284ad8698aa5057239153d2956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:674-693 | libs/agno/agno/db/valkey/valkey.py:779-798 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"505fc11701b6c3749df0e33ed99ee8ed2662ef2111c1d121395942abf2c6b6f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:727-746 | libs/agno/agno/db/valkey/valkey.py:832-851 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfd42e856dfb533c10f91d47a29da10aec042b2e8fe2d8aa038e80b3c663c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1210-1229 | libs/agno/agno/db/valkey/valkey.py:1549-1568 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5b15d54a4454148091d1d3d286e8aeda0f9371016065f41bffe7099c670e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2961-2980 | libs/agno/agno/db/valkey/valkey.py:3310-3329 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e3809bc8df54826240d0d60fccb6aaaf6f83195fabeefca61393f778456982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1676-1695 | libs/agno/agno/db/sqlite/sqlite.py:1945-1964 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"de20e7bcbb2bc36da30b9729ce02b534d85684365260da91bfa9cd1fbf5c2da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:3076-3090 | libs/agno/agno/db/sqlite/sqlite.py:3336-3355 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:3076\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":3076}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c28695c412a406f987b86ea9e8ed3436ba3f8988ee39a5c96ca40b980793b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/db/sqlite/utils.py:219-238 | libs/agno/agno/db/sqlite/utils.py:246-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. 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 \u0060session\u0060 to \u0060Session\u0060 in one and \u0060AsyncSession\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":"libs/agno/agno/db/sqlite/utils.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c8ed5f8a19e4cb8717e93a9069e415d13e231781027b98a4e4f1c93bad5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:407-426 | libs/agno/agno/eval/accuracy.py:549-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 \u0060libs/agno/agno/eval/accuracy.py:407\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d2cddc1713f6d436642b59cb2169f8be466abb6466ce5fac128553c7dfca90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/knowledge/embedder/azure_openai.py:52-71 | libs/agno/agno/knowledge/embedder/azure_openai.py:80-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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac9ecf7f2a07abe44cb6f31b0a98392179c20a940b4d210ff85c1e7f6193f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:1212-1231 | libs/agno/agno/knowledge/knowledge.py:1278-1296 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/knowledge/knowledge.py:1297\u0060 calls \u0060_search_limit\u0060 and \u0060libs/agno/agno/knowledge/knowledge.py:1234\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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4249e8b8bde6dd8cd45bd71f749c5a96d77b7f979b04cdff22761c99171ce7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4935-4954 | libs/agno/agno/knowledge/knowledge.py:5108-5127 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4935}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b32a7866a4cbda8171c5ca7c029bf00d45fbb3edfdfc32b0fc9ee86b8bcaec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:231-249 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:264-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c39b050592d4bce79512fca30c9648edd4fd8a47364789d6c7116e9c75edb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/media/storage/s3/async_s3.py:119-138 | libs/agno/agno/media/storage/s3/s3.py:119-138 \u2014 before extracting anything, compare \u0060libs/agno/agno/media/storage/s3/async_s3.py\u0060 and \u0060libs/agno/agno/media/storage/s3/s3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d0297f165e61fe1480b07aa05e1917280b95869ca7f304913ae7d1ee3ac93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/models/moonshot/moonshot.py:82-101 | libs/agno/agno/models/xiaomi/mimo.py:66-85 \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":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fad171cd35bdf15f7b195298138ecd658af11a46a95ca454251e2216ad3a5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/models/openai/responses.py:1118-1137 | libs/agno/agno/models/openai/responses.py:1227-1246 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e007269e0904631aed98663f4c41fa2d5e4a7e278b16f930b1db734ea9e298b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/os/routers/evals/evals.py:488-506 | libs/agno/agno/os/routers/evals/evals.py:514-533 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/os/routers/evals/evals.py:485\u0060 calls \u0060log_warning\u0060, \u0060isinstance\u0060 and \u0060libs/agno/agno/os/routers/evals/evals.py:513\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":"libs/agno/agno/os/routers/evals/evals.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4258276d2eba3b5b86d110901243d12f8cb48bc9625e018eaf2823d6fcf1ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/os/routers/traces/traces.py:257-274 | libs/agno/agno/os/routers/traces/traces.py:619-638 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/traces/traces.py: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. 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":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32501ff004e8be7a8ce07607f5c1e825177428caeaff79fe9a82155c7ff8545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/reasoning/anthropic.py:111-130 | libs/agno/agno/reasoning/vertexai.py:102-121 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/vertexai.py\u0060 as WHOLE FILES: this scan already matched 8 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. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac5af49c84e378510cd4274a6903ee04024e754ff34d68701e5be7b7737df3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/reasoning/anthropic.py:190-209 | libs/agno/agno/reasoning/vertexai.py:144-163 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/vertexai.py\u0060 as WHOLE FILES: this scan already matched 8 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. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7e775c36a50e8897a14258e3a64a2a86f97142a72fe683d008a781390cb982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:735-754 | libs/agno/agno/team/_default_tools.py:1088-1106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_default_tools.py:735\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_default_tools.py:1107\u0060 calls \u0060member_knowledge_filters\u0060 and \u0060libs/agno/agno/team/_default_tools.py:755\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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59acbece510bdfce79727740fe2dcece6972beafc5503f59fcd24623835004e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:814-833 | libs/agno/agno/team/_task_tools.py:584-599 \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 \u0060libs/agno/agno/team/_default_tools.py:814\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"2499193273b5ca7fe5ac846484e71cfdec18d2ed6b88ad727c4589aa6782b736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/team/_hooks.py:514-533 | libs/agno/agno/team/_hooks.py:615-633 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_hooks.py:612\u0060 calls \u0060iscoroutinefunction\u0060, \u0060hook\u0060 and \u0060libs/agno/agno/team/_hooks.py:512\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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b42e7bc493d65a4320d75dc1bc749c181fe9087f63959a44d69c803362e426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/team/_response.py:418-437 | libs/agno/agno/team/_response.py:503-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. 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0340e294aeccabf2c964adc58764b76169d9ad3778a6add1c758a1c828f626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/team/_run.py:2178-2195 | libs/agno/agno/team/_run.py:3144-3163 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"83846c0cd059192746397fa1666229ae70fa11ae601e5b031abfc23558eeb068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/team/_run.py:5422-5441 | libs/agno/agno/team/_run.py:5484-5501 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5422}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe49adb86403a0209fa22969d193b512742e08f4d200ab0bbe92ce7140c3f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/team/_run.py:6611-6630 | libs/agno/agno/team/_run.py:6819-6838 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6611}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aac46e8cf157c175318daea3140241da95a13f66bcc8b7cafb48d5602817f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/team/_run.py:7794-7813 | libs/agno/agno/team/_run.py:7897-7914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:7794\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7794}}}],"partialFingerprints":{"codehealthFindingId/v1":"31481b7a29f19394ffaeb8bba701ce79bc521fe0e4ce85e985e48264f90ac056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:478-497 | libs/agno/agno/team/_task_tools.py:659-678 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdb9633a296a686c53fbb6c6ae117e447a5d425e3f95af4bbb2467efe9f97d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:600-619 | libs/agno/agno/team/_task_tools.py:784-802 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_task_tools.py:600\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1118311b6721ed8f23b68b0190952efe6d41e958cde67414d12fa546305bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/utils/agent.py:127-146 | libs/agno/agno/utils/agent.py:187-206 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5d8721f6b49f84ffaafcc97ae78ced34881333e015716121dd1ebb473b4ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/utils/agent.py:1242-1261 | libs/agno/agno/utils/agent.py:1304-1321 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/utils/agent.py:1303\u0060 calls \u0060getattr\u0060 and \u0060libs/agno/agno/utils/agent.py:1240\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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6157c28c2a5f66d1d1ff3a255958ce2f1687e82a102f75d9a5524fa9fb9d78cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/utils/callables.py:458-477 | libs/agno/agno/utils/callables.py:491-510 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e815616c6df175950a57a29272c33523904917b88f3be2f684ee5c256391796b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/utils/callables.py:520-539 | libs/agno/agno/utils/callables.py:548-567 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"788ef6a68fc0ee677274124d5d6246ab52052ce564992deb0d2e49f4b2e222f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:656-675 | libs/agno/agno/vectordb/opensearch/opensearch.py:570-589 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"9565157acc7948e873d2d2f2b651764c3837e25dd81eed5a3562909e0b1f1020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): libs/agno/agno/vectordb/milvus/milvus.py:86-101 | libs/agno/agno/vectordb/qdrant/qdrant.py:101-120 \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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f49fb8a536bf6aa773a8708be6b52d66b4b2e7c75ec3db72cc838b3ed3b940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/vectordb/mongodb/mongodb.py:740-759 | libs/agno/agno/vectordb/mongodb/mongodb.py:1331-1350 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7d0ca0ccbc67d56436b07f2b665d107d2d2aba8f017dd6762aa66bc99c02ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:1095-1112 | libs/agno/agno/vectordb/pgvector/pgvector.py:1405-1424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e0556fb67fdc9cd5765ff255bef996c55fc3175b1826943638d354c3079f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/workflow/condition.py:153-172 | libs/agno/agno/workflow/steps.py:91-110 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/steps.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 268 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py: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. 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f77d16ab2fbde06911923ffe297a199b9ac1d9ea334e7185a62394e1099b486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/workflow/loop.py:613-632 | libs/agno/agno/workflow/loop.py:1010-1029 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a003d015e2e269f428df6bb8ba06408a7f8c0fc1683152840479c892a9e405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): libs/agno/agno/workflow/router.py:653-669 | libs/agno/agno/workflow/router.py:984-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 \u0060libs/agno/agno/workflow/router.py:984\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce48a868ed7b1a5734eb7cc56d5fec6719bbb52377e61f18a3b5038ec222f212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/workflow/step.py:1172-1191 | libs/agno/agno/workflow/step.py:1858-1877 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/step.py:1854\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/step.py:1167\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a89aae5f637270e2d05fa4743fd06d83c619fc7878d532366964c47cd71a4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3484-3503 | libs/agno/agno/workflow/workflow.py:4526-4544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:3484\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"36540bd335eeb65d8ada0a41803a16d0c82510757800169c9b6fdc8425eecc7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3605-3624 | libs/agno/agno/workflow/workflow.py:8441-8458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:3605\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3605}}}],"partialFingerprints":{"codehealthFindingId/v1":"798ef993d58c30d369aea46437fcda9fc53a07dba02d0c9c00838ce954e6a9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:4470-4489 | libs/agno/agno/workflow/workflow.py:10049-10068 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:4470\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"4426116aad875eaf157b3feb8e71336a1e584e35fc44cf79f16d41a579cdaea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:9144-9161 | libs/agno/agno/workflow/workflow.py:9318-9337 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd8a8714931c5c8aabbbfd7fe29a8f17e935fefad715f282356a8938b900303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/migrations/v1_to_v2/migrate_vectordbs_to_v2.py:83-102 | libs/agno/migrations/v1_to_v2/migrate_vectordbs_to_v2.py:160-179 \u2014 both copies are in the same file, so extract the block 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. 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":"libs/agno/migrations/v1_to_v2/migrate_vectordbs_to_v2.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"49285c8ebb430fa7241fe3abddbde0380caf4c36c9aabb6c7e1cef03c9333a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:354-373 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:276-295 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/rds/db_cluster.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_instance.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e5823ac766488e3617b20641219878233a5d3a821fee9ddcb3dd80d167d663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_instance.py:701-720 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:723-742 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0285d446b8791a03cf33a3621fb4404566c19fd547cfb0ba38d87382209fe4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 8): libs/agno/agno/workflow/workflow.py:3142-3159 | libs/agno/agno/workflow/workflow.py:3670-3688 | libs/agno/agno/workflow/workflow.py:4147-4164 | libs/agno/agno/workflow/workflow.py:4715-4733 | libs/agno/agno/workflow/workflow.py:7443-7460 | libs/agno/agno/workflow/workflow.py:8502-8520 | libs/agno/agno/workflow/workflow.py:9492-9509 | libs/agno/agno/workflow/workflow.py:10265-10283 \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 \u0060libs/agno/agno/workflow/workflow.py:3670\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff987b95c68b70edc3577f8259cfd59983fc33f0fc1e109057f920c85280784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): libs/agno/agno/db/firestore/firestore.py:3530-3548 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2432-2450 | libs/agno/agno/db/json/json_db.py:2590-2608 | libs/agno/agno/db/redis/redis.py:3399-3417 | libs/agno/agno/db/valkey/valkey.py:3796-3814 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060agent_id\u0060 to \u0060Any\u0060 in one and \u0060Optional[str]\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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3530}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d3e20da266c912cbc6a49b4162ceabbeba023f8b6cdb231bb4f17d2d1d7a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:1120-1138 | libs/agno/agno/db/mysql/mysql.py:1135-1153 | libs/agno/agno/db/postgres/async_postgres.py:1745-1763 | libs/agno/agno/db/postgres/postgres.py:1980-1998 | libs/agno/agno/db/singlestore/singlestore.py:1181-1199 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"db78cbe0b3121a22f24e11b0b45fcdb604077461231d00e996a14f2b3e8ab8af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:2586-2599 | libs/agno/agno/db/mysql/mysql.py:2568-2586 | libs/agno/agno/db/postgres/async_postgres.py:2838-2851 | libs/agno/agno/db/postgres/postgres.py:3399-3417 | libs/agno/agno/db/singlestore/singlestore.py:2560-2578 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2568\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de5c1ec80cde418c4b29f81808aaa29fda74e73d047dfd165901017b2451836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2734-2752 | libs/agno/agno/db/mysql/async_mysql.py:3015-3033 | libs/agno/agno/db/postgres/async_postgres.py:3253-3271 | libs/agno/agno/db/sqlite/async_sqlite.py:3495-3513 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebe11bfc1ed46e7799fc59657f8abd7f311a864e1e00d35a50dc81bbc623a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): libs/agno/agno/utils/print_response/agent.py:580-597 | libs/agno/agno/utils/print_response/agent.py:700-717 | libs/agno/agno/utils/print_response/team.py:63-81 | libs/agno/agno/utils/print_response/team.py:998-1016 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c64da0cdc31abdc51f72510239981a2cbcaab7dab28b3280e330f96447c99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3487-3505 | libs/agno/agno/workflow/workflow.py:4528-4546 | libs/agno/agno/workflow/workflow.py:8335-8353 | libs/agno/agno/workflow/workflow.py:10098-10116 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d665d4e30eabd9648c7d915c3c99589374b8a1f96aae7d05a1a58f787563373a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:345-362 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:630-648 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:267-284 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:545-563 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/rds/db_cluster.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_instance.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d899e35e9bfedc506f18c07c1ec8bf68634a4dbb09e69eb04cfa85e91f47b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/agno/agno/db/mongo/async_mongo.py:1563-1581 | libs/agno/agno/db/mysql/async_mysql.py:1699-1716 | libs/agno/agno/db/sqlite/async_sqlite.py:2256-2273 \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. 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"14941f6f3615226750116834ed177cce442a9526f95b5699fbeb01634d76d6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/agno/agno/db/mongo/mongo.py:1375-1393 | libs/agno/agno/db/mysql/mysql.py:1703-1720 | libs/agno/agno/db/sqlite/sqlite.py:2524-2541 \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. 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3d0a73511abf2df3778d17df121481e8508524a84aa5d9c3b80112fa2ea88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3429-3447 | libs/agno/agno/db/postgres/async_postgres.py:3684-3702 | libs/agno/agno/db/sqlite/async_sqlite.py:3930-3948 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3429}}}],"partialFingerprints":{"codehealthFindingId/v1":"3810f25346de7f9987bd3a4b44b27d395a882e42d2a39700741bc7729b47eaac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:682-701 | libs/agno/agno/db/singlestore/singlestore.py:759-778 | libs/agno/agno/db/sqlite/sqlite.py:1113-1132 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:682\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5113300a8a2fed98851516e71004e98a5d9941ff5fb2ec7818d708746034e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:2172-2190 | libs/agno/agno/db/singlestore/singlestore.py:2174-2192 | libs/agno/agno/db/sqlite/sqlite.py:2991-3009 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2172\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"186903eecea5c053c4acea31364b0c2ea749e704d9b3cde5f8e349376cf57ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:3537-3555 | libs/agno/agno/db/singlestore/singlestore.py:2714-2732 | libs/agno/agno/db/sqlite/sqlite.py:3475-3493 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:3537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3537}}}],"partialFingerprints":{"codehealthFindingId/v1":"55090a3edb5e7073713c70408d96dc7d125fc715f43abfa1be6625656e1c4300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/knowledge/loaders/azure_blob.py:244-262 | libs/agno/agno/knowledge/loaders/github.py:438-456 | libs/agno/agno/knowledge/loaders/sharepoint.py:290-308 \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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf205ea005da1f7fc4cfa0789e17de28cdf69ff862001ccf7e86e3d31ba8ef78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/learn/schemas.py:480-498 | libs/agno/agno/learn/schemas.py:622-640 | libs/agno/agno/learn/schemas.py:1112-1130 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14fb4f3296951bfc64513495ba779d31063057451d22a10431e8926e1b9f436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:2267-2285 | libs/agno/agno/os/routers/agents/router.py:2615-2633 | libs/agno/agno/os/routers/workflows/router.py:2763-2781 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/workflows/router.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 13 separate duplicated blocks between them, totalling at least 344 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2267\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7f6b79985782f8681c0f7d052121dbeb3ee3f50c23d8ad705cae585cbe4aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:2269-2286 | libs/agno/agno/os/routers/agents/router.py:2431-2449 | libs/agno/agno/os/routers/agents/router.py:2617-2634 \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 \u0060libs/agno/agno/os/routers/agents/router.py:2269\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"48017abc52988268c3f12fadcd7220b4f0be9777b562486212ac631ce8e746bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/agno/agno/os/routers/teams/router.py:2083-2100 | libs/agno/agno/os/routers/teams/router.py:2242-2260 | libs/agno/agno/os/routers/teams/router.py:2306-2323 \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 \u0060libs/agno/agno/os/routers/teams/router.py:2083\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"397c7755116e7e097fc50ff290d59cdc295914150550156dcb7751d7878a4ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/agno/agno/os/utils.py:3240-3258 | libs/agno/agno/os/utils.py:3327-3344 | libs/agno/agno/os/utils.py:3408-3425 \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 \u0060libs/agno/agno/os/utils.py:3240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"731f30d90834edb470874361dc1dd4d8940bb691d6f02c01ede58c95c0a6bec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/agno/agno/os/utils.py:3263-3281 | libs/agno/agno/os/utils.py:3350-3367 | libs/agno/agno/os/utils.py:3431-3448 \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 \u0060libs/agno/agno/os/utils.py:3263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":3263}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d4286f228c723a0dfc31773457b1b7dd5843921a27ee18534bd056a2d9f675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/team/_default_tools.py:747-765 | libs/agno/agno/team/_task_tools.py:526-544 | libs/agno/agno/team/_task_tools.py:707-725 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_default_tools.py:747\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce7b252997e2f451d7c329b33233198af7b9f428ea22e94412e4ed5f9f2ab8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/tools/serper.py:119-137 | libs/agno/agno/tools/serper.py:197-215 | libs/agno/agno/tools/serper.py:237-255 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/tools/serper.py:236\u0060 calls \u0060log_warning\u0060 and \u0060libs/agno/agno/tools/serper.py:118\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":"libs/agno/agno/tools/serper.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc52dc37648d941b59f0ea9a02f9c254e978cd08d47f09f0f68fe6721bb47fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/agno/agno/workflow/step.py:472-490 | libs/agno/agno/workflow/step.py:594-612 | libs/agno/agno/workflow/step.py:751-769 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38572862c034d70f82337a5c6272a30df7b840c2d805e3448b59eaf07f2c848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): libs/agno/agno/workflow/step.py:1247-1265 | libs/agno/agno/workflow/step.py:1601-1617 | libs/agno/agno/workflow/step.py:1962-1979 \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 \u0060libs/agno/agno/workflow/step.py:1247\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/step.py:1618\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/step.py:1266\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff57587ee8a2cd7ef361b5710da8b9312b38a939e51c55c62f14b5ad99c3e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.py:66-84 | cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.py:106-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/previous_step_outputs/access_previous_outputs.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f75167133893ab814734f13439af461414b232b60f96c121af2b40abf45d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/error/01_error_retry_skip.py:89-107 | cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:92-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":"cookbook/04_workflows/08_human_in_the_loop/error/01_error_retry_skip.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4758258d9eeea6a9c7c4bf83f9c3df27c2e2cbfe5c82606b2e03958777a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cookbook/05_agent_os/08_os_config/config_basics.py:100-118 | cookbook/05_agent_os/08_os_config/yaml_config.py:60-78 \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, \u0060cookbook/05_agent_os/08_os_config/yaml_config.py:80\u0060 calls \u0060RuntimeError\u0060 and \u0060cookbook/05_agent_os/08_os_config/config_basics.py:120\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":"cookbook/05_agent_os/08_os_config/config_basics.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fddbfb55ce8e9d72123fac8157dc431097b0b24c79eb959e3b4d7c6f007a4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/agent/_response.py:219-237 | libs/agno/agno/team/_response.py:633-650 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:219\u0060 it begins part-way through the construct above it, so those exact 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 \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9f5ff7243eb9d16972f0a46a9320e5d72f971a04fad0a61b082fbdecb38320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_run.py:488-506 | libs/agno/agno/agent/_run.py:897-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py: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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"449a4e5d7ce793c9417cbb52eabb028378f0386afe350decfb1c2ad96d4cc679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_run.py:1361-1379 | libs/agno/agno/agent/_run.py:2744-2762 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf154abefac0d6340b225e3012d4031e0ee1d940fbe4a169b478483be2ab6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_run.py:1856-1874 | libs/agno/agno/agent/_run.py:5122-5140 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c26a9c5b4de4d6dcfb02cd1ace596671747e17163709b1c5c9735cc9d4fc5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_run.py:2348-2366 | libs/agno/agno/agent/_run.py:5532-5550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:2348\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"258e6e1b9a1f688b30249518951560ee499dbac22447a8afd1ba219a03f0b8dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/agent/_run.py:3373-3390 | libs/agno/agno/agent/_run.py:4278-4296 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa9c9f1b68b1a48aedfaa35f9cc3cbe0cdbece2cea887b9ab7c41d3266c76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_run.py:6484-6506 | libs/agno/agno/team/_run.py:7283-7301 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060source_session\u0060 to \u0060AgentSession\u0060 in one and \u0060TeamSession\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6484}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc5b8762142d40c77542f2efadefc99f4c4aeece6ca4f9e6b8d5be46017e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_storage.py:884-902 | libs/agno/agno/team/_storage.py:709-727 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93059b12407ef94a845c424d40619dbed862cf98ea7fcdbe7714e025cef3576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/agent/_tools.py:85-103 | libs/agno/agno/agent/_tools.py:111-129 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9032f4aab59ad96fdcf4c00efd2a93916c5e8a0a8a9406ec6e10df9c9d4361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/agent/_tools.py:1107-1124 | libs/agno/agno/agent/_tools.py:1159-1177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_tools.py:1107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b2122c1d5568ded61f51f62aeff051f8df6f800deeddf07e8c40f4c5fe1780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:2768-2785 | libs/agno/agno/db/surrealdb/surrealdb.py:2049-2067 \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 \u0060libs/agno/agno/db/dynamo/dynamo.py:2768\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/surrealdb/surrealdb.py:2069\u0060 calls \u0060table_exists\u0060 and \u0060libs/agno/agno/db/dynamo/dynamo.py:2786\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b06ccb8dbabcf254ee9c23e25e68a9317e6176118bde75b5ba342d448fdc27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2494-2512 | libs/agno/agno/db/mongo/mongo.py:2515-2533 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/firestore/firestore.py:2494\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5b47da55df124f7583b4eb9e1832f9ae59a00597dfdd0fc383deda43d16bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:950-967 | libs/agno/agno/db/json/json_db.py:1032-1050 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5078f27b66a62f90c267c527a3eafccad1ff19d6d3c2ab48563e2e7eaa54d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2071-2085 | libs/agno/agno/db/json/json_db.py:2193-2211 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7b6f42c38a78551a1de09db0cb5e0a89b39bec2ea0bae90b80aa2346fc7b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_0.py:23-41 | libs/agno/agno/db/migrations/versions/v2_5_6.py:19-37 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c304ad34dc023d9535df760f64477e37014aa256b9fee02ef88785f6066017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_0.py:81-99 | libs/agno/agno/db/migrations/versions/v2_5_6.py:75-93 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdbf834a03c0bd2282788e1afbff062f8828bcacfc6399d573cb6d408b26778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:254-272 | libs/agno/agno/db/migrations/versions/v2_5_6.py:587-604 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9184d031069e3ee74dd8164809a05aba549fe68dc2ccd02d466620ff0f6b89c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1234-1252 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1304-1318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py: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. 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37c729dce7d757700bee747662feb7cf9dddd7ef04882cfe7c4b6fcd4de3f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:4057-4075 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4165-4183 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4057}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d9c1a35e00f290c139b37e76fe0fc80eb86da1dc7ecf382311c3723991bc27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:4290-4308 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4353-4367 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060db\u0060 to \u0060BaseDb\u0060 in one and \u0060AsyncBaseDb\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4290}}}],"partialFingerprints":{"codehealthFindingId/v1":"48973baa10182f929e88b186e6776be159e97837f444ed2453abc8071db6848f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4546-4564 | libs/agno/agno/db/mongo/mongo.py:4364-4382 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4546}}}],"partialFingerprints":{"codehealthFindingId/v1":"80683a928b93c0ec8847f8e4c68d8fb1b82546cab81b396cecc2ba83b35cfc04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4952-4970 | libs/agno/agno/db/mongo/mongo.py:4696-4714 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4952}}}],"partialFingerprints":{"codehealthFindingId/v1":"a890a360779cea9ba56593bd320ba3fdb125a06d83ba25d471586739bfc5bc60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/db/mongo/utils.py:83-101 | libs/agno/agno/db/mongo/utils.py:128-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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 \u0060collection\u0060 to \u0060Collection\u0060 in one and \u0060Any\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":"libs/agno/agno/db/mongo/utils.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e059ab51bf182f10919be7f3890134c0f913129f07298b9285cc9daf579338c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1480-1498 | libs/agno/agno/db/sqlite/async_sqlite.py:2006-2024 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b457a1f8102008a768d6361e3a6839020fad39999655915aa341d8530465af41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1780-1798 | libs/agno/agno/db/singlestore/singlestore.py:1810-1827 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e59bf2345d3cb487f94175b9026f9ee4a5e6012d193bd87f232073d90e6cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1482-1500 | libs/agno/agno/db/sqlite/async_sqlite.py:1437-1455 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e3fa9a0156ae58ed1796ceae3843c753d650977a3a3bb684829e523f857237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2059-2077 | libs/agno/agno/db/postgres/postgres.py:2294-2312 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2059\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"6851ac77c66146dec25bebe9019a36304ff7572be046c4daddecfd4cbb02efd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6696-6714 | libs/agno/agno/db/postgres/postgres.py:9377-9395 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6696\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6696}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4f233e9b7ce72f81c41a129e37559d97561aa13b33097347196aea1fad793b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6885-6903 | libs/agno/agno/db/postgres/postgres.py:9555-9573 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6885}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd57274a52c3dd52dfe08224bff80baf62dc7c35e06b8415d025308c612f8b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1884-1902 | libs/agno/agno/db/sqlite/sqlite.py:1847-1865 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1884}}}],"partialFingerprints":{"codehealthFindingId/v1":"233196b77cf21bc742dd508db3f21bc33cd7c7a0060a1ceeab12e87d9e3a5703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:761-779 | libs/agno/agno/db/redis/redis.py:3143-3160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:761\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"0374a68c3fd78b784783342fa12fe10580a540ccfae235d82a1cddeb3d95c80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1319-1337 | libs/agno/agno/db/valkey/valkey.py:1658-1676 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:1319\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18557cf7e30284bd25ca6593f1375894a38552bc7bcc329a04fed1d0376fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3122-3140 | libs/agno/agno/db/valkey/valkey.py:3471-3489 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bebbdd65d5c6a1e150d4d6acaa064eca2784b559eb234417ea3a753b4d8965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1808-1826 | libs/agno/agno/db/sqlite/sqlite.py:2075-2093 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1808\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d74fb415a24d0845605baf604369a1ddc8eae9aeee8671c5299f7d89976ce79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1938-1959 | libs/agno/agno/db/sqlite/sqlite.py:2206-2227 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1938\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b98706dc11e95b5d845498b0f72522fbc495ddad79e20d2f35cb899e06f436a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/surrealdb/models.py:253-271 | libs/agno/agno/db/surrealdb/models.py:276-294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/surrealdb/models.py:253\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/surrealdb/models.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1822c983a699bd11ca977e90dd793f89aba67aa960de7bc596f05b0fe7f84975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:722-740 | libs/agno/agno/eval/accuracy.py:834-852 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"642b09e4bc6543372142973b6729375f4cbb131c211dde34d987be68a79acaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2649-2666 | libs/agno/agno/knowledge/knowledge.py:2835-2853 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5f0c36703224f854a9f50bdb78f0ceec043ca4ffeba7e8f6df5cc2a075078e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:5135-5152 | libs/agno/agno/knowledge/knowledge.py:5197-5215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:5135\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":5135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1539ec3d36bffa90731e985571cd6b048986ff7905fa4078077a7178844a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/knowledge/loaders/gcs.py:140-158 | libs/agno/agno/knowledge/loaders/s3.py:124-142 \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":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f428e2d210eded1c736c8d66eaf3429ebd81c8aff971cfb4e3654ee1811279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/knowledge/loaders/gcs.py:227-245 | libs/agno/agno/knowledge/loaders/s3.py:220-238 \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":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"309c71c0039c60ae47dfc7ec7369842825cdd12fb27087d61bb287f87c87163e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): libs/agno/agno/knowledge/reader/markdown_reader.py:97-133 | libs/agno/agno/knowledge/reader/text_reader.py:75-111 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/reader/markdown_reader.py\u0060 and \u0060libs/agno/agno/knowledge/reader/text_reader.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5727687ef93c2b371ac5e0fcaa65f0c69159f8c51ff211df5789f19f7dc0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): libs/agno/agno/knowledge/reader/website_reader.py:269-285 | libs/agno/agno/knowledge/reader/website_reader.py:380-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/website_reader.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9ca87a798735e69c20f4dd729f45025cc56d720c6ffab16b5e103e7d133ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:1146-1164 | libs/agno/agno/learn/stores/entity_memory.py:1275-1293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:1146\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb76e9b7c967bea698e2c36bc97aa38acf4322c5e3574a8e774a29e64aa98a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/learn/stores/learned_knowledge.py:776-794 | libs/agno/agno/learn/stores/learned_knowledge.py:819-837 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"7319bae67ee5f53d9d9985784152188d7b529dd50bbc94a4fb02d86118cad54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/models/base.py:1347-1365 | libs/agno/agno/models/base.py:1628-1646 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:1347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a102a3af6fae00590dd7a034996bd6994e417d0052e5747c6d70df7dc721bc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/models/base.py:2473-2491 | libs/agno/agno/models/base.py:2689-2707 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f79aede7ad45008ec74658587fac61ba560cf3d79b0cb8b8b109ca973887d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): libs/agno/agno/models/groq/groq.py:499-514 | libs/agno/agno/models/perplexity/perplexity.py:120-138 \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 \u0060libs/agno/agno/models/perplexity/perplexity.py:120\u0060 it begins part-way through the construct above it, so those exact 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: \u0060ChatCompletion\u0060 names \u0060groq.types.chat\u0060 in one and \u0060openai.types.chat.chat_completion\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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a796bdf0c62959cbc8afd8d9a28e3abf37cd772c154b590c408b13ad8e92d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/authz/_role_store.py:297-315 | libs/agno/agno/os/authz/_role_store.py:848-866 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc81406a7bf4137f0ad57ddc214e5dc6e7cdcfb938ff9ed17891d306c5c7cc34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): libs/agno/agno/os/middleware/jwt.py:1123-1141 | libs/agno/agno/os/middleware/jwt.py:1312-1328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/middleware/jwt.py:1123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe78a4f3c1495dd9324841112e70e26b42fa4cc1e96eff5f5f8bcd5129f65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1273-1291 | libs/agno/agno/os/routers/agents/router.py:2549-2567 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dd20e729debe10992c90ab8408ff76b9ca709fe439fa5299b8db7c1f523e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1505-1523 | libs/agno/agno/os/routers/agents/router.py:2235-2253 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d4615a3f5509b9e95ae78551a11e38223d0249d75d9f79d1978248ef5e7820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2314-2332 | libs/agno/agno/os/routers/teams/router.py:2128-2144 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2314\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7522a4a74568b3730b26cafb147230c16e7d59f56bf16cadb41278cba39fed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/routers/components/components.py:1289-1307 | libs/agno/agno/os/routers/components/components.py:1357-1375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/components/components.py:1289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c01dfbbb7cd4052371aad468caded15e2023492f1b6d003133ba792bb3fad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:1137-1155 | libs/agno/agno/os/routers/teams/router.py:1267-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df0c2d27fff744d5b32dce471195eccee462601b86d2f8dcabf95513dd9680b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:1437-1455 | libs/agno/agno/os/routers/teams/router.py:2058-2076 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"6642610027a3919ae4a2cd1844e1a6a862ce6182ae59a1facb814f2b99e71390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:2535-2553 | libs/agno/agno/os/routers/workflows/router.py:2766-2783 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/workflows/router.py:2535\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da7ef2fc81187dc20b17832c0b83562fac568fea0d2618bcf7949264d2b17f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:2570-2588 | libs/agno/agno/os/routers/workflows/router.py:2700-2718 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f37287a22b62fcf7419f916d43a22466c822addc84a57ca3305bc069c170701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/scheduler/manager.py:309-327 | libs/agno/agno/scheduler/manager.py:559-577 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/scheduler/manager.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c54a229f898ca76bfc98435f4ad8d4ea4fcd2d8ebf2743a709535c8ae8d3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/team/_cli.py:81-99 | libs/agno/agno/team/_cli.py:187-205 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_cli.py:78\u0060 calls \u0060_has_async_db\u0060, \u0060Exception\u0060 and \u0060libs/agno/agno/team/_cli.py:186\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":"libs/agno/agno/team/_cli.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"05df796e59ffca291d6b2dc9b04c0f1a119d0223d597ec77443f028dd1df693c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/team/_messages.py:1621-1639 | libs/agno/agno/team/_messages.py:1648-1666 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"374cd0096acb4df5e841c0d9570b8e366858e38b042572e52f481f7526f770bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/team/_messages.py:1741-1759 | libs/agno/agno/utils/prompts.py:10-28 \u2014 before extracting anything, compare \u0060libs/agno/agno/team/_messages.py\u0060 and \u0060libs/agno/agno/utils/prompts.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060output_schema\u0060 to \u0060Optional[Union[Type[BaseModel], Dict[str, Any]]] = None\u0060 in one and \u0060Union[str, list, dict, BaseModel]\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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e0f0ad5fa7ebefaebdf3926567c2b398d01e5aee38b704ef8ac647daa51629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/team/_run.py:1133-1151 | libs/agno/agno/team/_run.py:3099-3117 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:1133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1472433befea20af8059371f7d497c2979b796fc4a9507efc1a1ee5e1988a61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/team/_run.py:2560-2578 | libs/agno/agno/team/_run.py:3720-3738 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:2557\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:3719\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471dc235ebd34a3e1206be09a791b7f8ad32d5a3f53276c978292f0016b1fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/team/_session.py:86-104 | libs/agno/agno/team/_session.py:157-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_session.py:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/team/_session.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34df1ffa0768d1d9583267aac61d5eee2de3d947eb4294408bd98251cecc3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:945-963 | libs/agno/agno/team/_task_tools.py:1163-1178 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cfeeaae5f8dfbb4925430f0791e21c3b3415d6e2327fdba7c879835d542c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/tools/daytona.py:362-380 | libs/agno/agno/tools/daytona.py:426-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/daytona.py:426\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/tools/daytona.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d6aadd22b6f63dc105e904887a63e6732d85d198b5887dd166cf3c851c652c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/tools/duckdb.py:283-301 | libs/agno/agno/tools/duckdb.py:336-354 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/duckdb.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"668184d281e9790ccf48fb04d3289764140e27705bda2d347e2988f175a2e323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/tools/eleven_labs.py:143-161 | libs/agno/agno/tools/eleven_labs.py:178-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/eleven_labs.py:143\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/eleven_labs.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64ff8f66437d329c0576695c0b56abdac784f05e952f8013a9c8dd1ba8c98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/tools/plivo.py:174-192 | libs/agno/agno/tools/plivo.py:214-232 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/plivo.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"430ff1f37e11972ef308dff9d52c4d6d6ffa52db0d31387ee9da129e81f237b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/utils/print_response/agent.py:88-105 | libs/agno/agno/utils/print_response/agent.py:293-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/print_response/agent.py:293\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaf3e7051327430accbfd9557b707f0b377470a8b2d4a86568af1e1514bcca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:775-793 | libs/agno/agno/vectordb/opensearch/opensearch.py:687-705 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"f041ad414dacbf8a33e4bd004960f357b61e4b86965dc40e4fd1cfb78e3aae4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:830-852 | libs/agno/agno/vectordb/opensearch/opensearch.py:742-764 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09fd665bf82cb7de4a37eee888acf0e4c5ce86aa5865d3ba707837daa050d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2831-2846 | libs/agno/agno/vectordb/opensearch/opensearch.py:2222-2240 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98199bcef33ab5b2756bd55dd85cf543a33f35f11a8a578066f6a9545ea4698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/workflow/condition.py:569-587 | libs/agno/agno/workflow/condition.py:1024-1042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:569\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/condition.py:588\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/condition.py:1043\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a623b168376f11c1a26edc7689ed8d68c2c570dd23e5b9f9f749a314f95734c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:521-539 | libs/agno/agno/workflow/parallel.py:888-905 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"327276bec0b49b3303ca4db5fbc64ed7aa6a24d6e05f0a003fa2419c5cea4faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/security_group.py:331-349 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:466-484 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f34e32edededa155a147edb1652ada16500dddf312404dd8cffea990c888e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ecs/service.py:229-247 | libs/agno_infra/agno/aws/resource/ecs/service.py:315-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8afffa114c89651cdb7a23445d9c55c24f087583d7e8993297449b1a09785c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 10): libs/agno/agno/reasoning/anthropic.py:126-143 | libs/agno/agno/reasoning/anthropic.py:205-222 | libs/agno/agno/reasoning/deepseek.py:89-106 | libs/agno/agno/reasoning/deepseek.py:168-185 | libs/agno/agno/reasoning/gemini.py:135-152 | libs/agno/agno/reasoning/gemini.py:175-192 | libs/agno/agno/reasoning/moonshot.py:161-178 | libs/agno/agno/reasoning/moonshot.py:206-223 | libs/agno/agno/reasoning/vertexai.py:117-134 | libs/agno/agno/reasoning/vertexai.py:159-176 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/deepseek.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/reasoning/anthropic.py:126\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f6e46c5c8e25ffd6d5b76b3e2a03d6ea459b80e87091570f980011adde4dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 8): libs/agno/agno/workflow/workflow.py:3637-3654 | libs/agno/agno/workflow/workflow.py:3680-3696 | libs/agno/agno/workflow/workflow.py:7973-7990 | libs/agno/agno/workflow/workflow.py:8471-8487 | libs/agno/agno/workflow/workflow.py:8512-8528 | libs/agno/agno/workflow/workflow.py:9735-9752 | libs/agno/agno/workflow/workflow.py:10234-10250 | libs/agno/agno/workflow/workflow.py:10275-10291 \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 \u0060libs/agno/agno/workflow/workflow.py:3637\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3e33de2124b1ce67ed9445cd725e708ebf3e4267ffdfbba06f6d9fcb306454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 7): libs/agno/agno/os/routers/agents/router.py:1301-1318 | libs/agno/agno/os/routers/agents/router.py:1932-1949 | libs/agno/agno/os/routers/agents/router.py:2048-2065 | libs/agno/agno/os/routers/agents/router.py:2295-2312 | libs/agno/agno/os/routers/agents/router.py:2393-2410 | libs/agno/agno/os/routers/agents/router.py:2458-2475 | libs/agno/agno/os/routers/agents/router.py:2645-2662 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6998d170b94c02059121ab7124b2dd4d83718bd178718d33f082e29df64e8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 7): libs/agno/agno/workflow/workflow.py:3636-3652 | libs/agno/agno/workflow/workflow.py:7972-7988 | libs/agno/agno/workflow/workflow.py:8228-8245 | libs/agno/agno/workflow/workflow.py:8469-8486 | libs/agno/agno/workflow/workflow.py:9734-9750 | libs/agno/agno/workflow/workflow.py:9991-10008 | libs/agno/agno/workflow/workflow.py:10232-10249 \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 \u0060libs/agno/agno/workflow/workflow.py: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/workflow/workflow.py:3653\u0060 calls \u0060getattr\u0060 and \u0060libs/agno/agno/workflow/workflow.py:8246\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3636}}}],"partialFingerprints":{"codehealthFindingId/v1":"da42607168183a708a76e3fc9cb02c06610a28da0381c8b854497783a5398e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): libs/agno/agno/os/routers/teams/router.py:1165-1182 | libs/agno/agno/os/routers/teams/router.py:1783-1800 | libs/agno/agno/os/routers/teams/router.py:2109-2126 | libs/agno/agno/os/routers/teams/router.py:2204-2221 | libs/agno/agno/os/routers/teams/router.py:2269-2286 | libs/agno/agno/os/routers/teams/router.py:2334-2351 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"759bb3452434f1e58eec857a38e06c8351beee7aad06ad962efaa0d1d551a516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 6): libs/agno/agno/team/_default_tools.py:805-822 | libs/agno/agno/team/_default_tools.py:989-1006 | libs/agno/agno/team/_task_tools.py:576-592 | libs/agno/agno/team/_task_tools.py:757-773 | libs/agno/agno/team/_task_tools.py:909-925 | libs/agno/agno/team/_task_tools.py:1113-1129 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_default_tools.py:805\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"40944c4527d2e45fa37967bcf7c573453e5d5acd6912fdabaeffc6477f6662cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 5): libs/agno/agno/db/firestore/firestore.py:1542-1557 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1086-1100 | libs/agno/agno/db/in_memory/in_memory_db.py:877-891 | libs/agno/agno/db/json/json_db.py:1172-1186 | libs/agno/agno/db/redis/redis.py:1371-1388 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6eb15018f61c63788dc0c8ac77b8fe5a497cf46d28be38d8a1e5297fd1cd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): libs/agno/agno/os/routers/metrics/metrics.py:1136-1153 | libs/agno/agno/os/routers/metrics/metrics.py:1264-1281 | libs/agno/agno/os/routers/metrics/metrics.py:1502-1519 | libs/agno/agno/os/routers/metrics/metrics.py:1642-1659 | libs/agno/agno/os/routers/metrics/metrics.py:1818-1835 \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 \u0060libs/agno/agno/os/routers/metrics/metrics.py:1136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"992c2c0be8d8694cbae1aa50b124b7cb077da897ef2f79a740a0544c281f08d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): libs/agno_infra/agno/aws/resources.py:169-186 | libs/agno_infra/agno/aws/resources.py:324-341 | libs/agno_infra/agno/aws/resources.py:472-489 | libs/agno_infra/agno/docker/resources.py:291-308 | libs/agno_infra/agno/docker/resources.py:447-464 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno_infra/agno/aws/resources.py:187\u0060 calls \u0060get_aws_region\u0060, \u0060print_info\u0060, \u0060get_aws_profile\u0060 and \u0060libs/agno_infra/agno/docker/resources.py:309\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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"309e5db1ed4b77c9dd82afb5285b90b453583ffb1649a73147b6a46a6040d76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/agent/_cli.py:83-100 | libs/agno/agno/agent/_cli.py:184-201 | libs/agno/agno/team/_cli.py:108-125 | libs/agno/agno/team/_cli.py:214-231 \u2014 \u0060libs/agno/agno/agent/_cli.py\u0060 and \u0060libs/agno/agno/team/_cli.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 101 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b93b47b5edac2b206dd4deaf5eee6dc9591e3cb186e6cc0704a48cdd591ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/agent/_run.py:2371-2388 | libs/agno/agno/agent/_run.py:5554-5571 | libs/agno/agno/team/_run.py:10275-10291 | libs/agno/agno/team/_run.py:10395-10411 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/agent/_run.py:2389\u0060 calls \u0060isinstance\u0060 and \u0060libs/agno/agno/team/_run.py:10292\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a190932b7fa85ee294f74182c846fe2d21cf30dc8ea37387bc3751456bde42af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/gcs_json/gcs_json_db.py:2563-2580 | libs/agno/agno/db/json/json_db.py:2717-2734 | libs/agno/agno/db/redis/redis.py:3547-3564 | libs/agno/agno/db/valkey/valkey.py:3993-4010 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b7240e042dd40807ad18220ef5f61c0104993b26891006de4114ff37a08d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v2_5_0.py:297-314 | libs/agno/agno/db/migrations/versions/v2_5_0.py:622-638 | libs/agno/agno/db/migrations/versions/v2_5_6.py:259-276 | libs/agno/agno/db/migrations/versions/v2_5_6.py:592-608 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01f0cc1f3621fc7e44d1dbbbe8e16ffb3ab5899b6b2b25a6da78b1633effd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v2_5_0.py:429-446 | libs/agno/agno/db/migrations/versions/v2_5_0.py:752-769 | libs/agno/agno/db/migrations/versions/v2_5_6.py:358-375 | libs/agno/agno/db/migrations/versions/v2_5_6.py:679-696 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cad3db46eab0f5c4cc3686fd4abbf0cb346f9ae4874c267100e1e252d01c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:873-890 | libs/agno/agno/db/postgres/postgres.py:1415-1432 | libs/agno/agno/db/singlestore/singlestore.py:919-936 | libs/agno/agno/db/sqlite/sqlite.py:1411-1428 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cba6f4d3aac9f3f6a3ebcc194f24d67d190db52ff4f29e8ad76e436d9feebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3085-3102 | libs/agno/agno/db/postgres/postgres.py:3909-3926 | libs/agno/agno/db/singlestore/singlestore.py:3078-3095 | libs/agno/agno/db/sqlite/sqlite.py:3843-3860 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d28de247d8889a5cff92e91583508e79422d6e570b6428b7a3831d4fe0f18c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3763-3779 | libs/agno/agno/db/postgres/postgres.py:4635-4652 | libs/agno/agno/db/singlestore/singlestore.py:3722-3738 | libs/agno/agno/db/sqlite/sqlite.py:4515-4531 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3763}}}],"partialFingerprints":{"codehealthFindingId/v1":"da266beaadf98e4bb6f0c30bf262976c5d1e816d796eb99140ed723a40f73ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3967-3984 | libs/agno/agno/db/postgres/postgres.py:4845-4862 | libs/agno/agno/db/singlestore/singlestore.py:3930-3947 | libs/agno/agno/db/sqlite/sqlite.py:4725-4742 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66ba7b03966c35ce550434742b232cf37eedf4251bf9b0295e92bf86fd54887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5793-5810 | libs/agno/agno/db/postgres/postgres.py:8536-8553 | libs/agno/agno/db/sqlite/async_sqlite.py:5918-5935 | libs/agno/agno/db/sqlite/sqlite.py:8323-8340 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:5793\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5793}}}],"partialFingerprints":{"codehealthFindingId/v1":"036dca3eb8e3426b587133f1518d61b0bb8ce39287c23658ece7a039644a4219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8334-8351 | libs/agno/agno/db/postgres/postgres.py:11060-11076 | libs/agno/agno/db/sqlite/async_sqlite.py:7548-7565 | libs/agno/agno/db/sqlite/sqlite.py:10001-10017 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:8334\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8334}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea378113a9081e83c6e036bf8479d218d5fdb51b16835ea315707014bef1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/models/aws/bedrock.py:561-578 | libs/agno/agno/models/aws/bedrock.py:607-624 | libs/agno/agno/models/aws/bedrock.py:657-674 | libs/agno/agno/models/aws/bedrock.py:706-723 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/models/aws/bedrock.py:579\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/models/aws/bedrock.py:625\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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ef01230760134bedaed0a8dac1f1a297127a1afa7f2bf492177efb358c0814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 4): libs/agno/agno/models/azure/openai_chat.py:152-169 | libs/agno/agno/models/cerebras/cerebras.py:152-166 | libs/agno/agno/models/groq/groq.py:121-135 | libs/agno/agno/models/meta/llama.py:120-134 \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. 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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc7e7a7c150bf54efb55a003c1cfc67b57dd1774ab146dedb008e2f81e7845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/models/base.py:251-267 | libs/agno/agno/models/base.py:300-316 | libs/agno/agno/models/base.py:350-367 | libs/agno/agno/models/base.py:404-420 \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 \u0060libs/agno/agno/models/base.py:300\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b588ca3cfe7d7577144f59f5d0f7d4d159e522171dde38203faf36edb2cace79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 4): libs/agno/agno/os/routers/session/session.py:604-614 | libs/agno/agno/os/routers/session/session.py:858-868 | libs/agno/agno/os/routers/session/session.py:972-989 | libs/agno/agno/os/routers/session/session.py:1012-1029 \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 \u0060libs/agno/agno/os/routers/session/session.py:604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"77703f32e5a1f16a6c135c97fbf5e6d06932c22e6f30a9a41ecff5541abe5986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/team/_run.py:2731-2748 | libs/agno/agno/team/_run.py:3862-3879 | libs/agno/agno/team/_run.py:10276-10293 | libs/agno/agno/team/_run.py:10396-10413 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/team/_run.py:2750\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/team/_run.py:10416\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2731}}}],"partialFingerprints":{"codehealthFindingId/v1":"350f3ac5991431a423eac549fe78ce4d88167a3051925513384da65c8c78bbef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3431-3448 | libs/agno/agno/workflow/workflow.py:4460-4477 | libs/agno/agno/workflow/workflow.py:8277-8293 | libs/agno/agno/workflow/workflow.py:10040-10056 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4bf7ff89991fcbb0819040313ac8a947312bed0999058f6178a8d9616611a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3617-3634 | libs/agno/agno/workflow/workflow.py:4662-4679 | libs/agno/agno/workflow/workflow.py:8452-8467 | libs/agno/agno/workflow/workflow.py:10215-10230 \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 \u0060libs/agno/agno/workflow/workflow.py:8452\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2c7a8d30385e3a29abdfc852c79e922900b89a7af3e9d68936265d29fbbb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7317-7334 | libs/agno/agno/workflow/workflow.py:8264-8280 | libs/agno/agno/workflow/workflow.py:9370-9387 | libs/agno/agno/workflow/workflow.py:10027-10043 \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 \u0060libs/agno/agno/workflow/workflow.py:8264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7317}}}],"partialFingerprints":{"codehealthFindingId/v1":"03340e33f628341e06bb06e37803501c7b580df733a7777438f81b88e6783ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 3): cookbook/frameworks/claude-agent-sdk/continue_from/05_agentos_api.py:83-100 | cookbook/frameworks/claude-agent-sdk/metrics_agentos.py:53-65 | cookbook/frameworks/codex/codex_metrics_agentos.py:54-65 \u2014 \u0060cookbook/frameworks/claude-agent-sdk/metrics_agentos.py\u0060 and \u0060cookbook/frameworks/codex/codex_metrics_agentos.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 65 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. 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":"cookbook/frameworks/claude-agent-sdk/continue_from/05_agentos_api.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e45d13c4c39ea34fbc7bf0d8ab0a4986cd344faf4291668b4e7c9d9bd9eac39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/agent/agent.py:1932-1949 | libs/agno/agno/team/team.py:1965-1982 | libs/agno/agno/workflow/workflow.py:12019-12036 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fab7fefd1e0a86d5e96bd55617cdb12339d2fe0fae623e53c05da592bbda25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1042-1059 | libs/agno/agno/db/in_memory/in_memory_db.py:831-848 | libs/agno/agno/db/json/json_db.py:1128-1145 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c92953996247011f38e2377247851de6226cdf1592bd220e14c157b3493aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1387-1404 | libs/agno/agno/db/in_memory/in_memory_db.py:1149-1166 | libs/agno/agno/db/json/json_db.py:1498-1515 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1387\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebe8d7689f4df5c866a823c7283e90eae97858c9e6ff74f09bb28df367bba41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1695-1712 | libs/agno/agno/db/in_memory/in_memory_db.py:1428-1445 | libs/agno/agno/db/json/json_db.py:1800-1817 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/in_memory/in_memory_db.py:1447\u0060 calls \u0060stop_metrics_refresh_on_read\u0060 and \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1714\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cff4f45f7f66352f076eeca4d455524a5f7c01fb61034f1deb831e3c26866b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): libs/agno/agno/db/migrations/versions/v2_5_0.py:585-602 | libs/agno/agno/db/migrations/versions/v2_5_0.py:716-732 | libs/agno/agno/db/migrations/versions/v2_5_0.py:846-862 \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 \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:716\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a276f2c4dbcc47d2d78a42e09bff1371a96ea34ec4f03b47dfccbdbc83092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2740-2757 | libs/agno/agno/db/postgres/async_postgres.py:2983-3000 | libs/agno/agno/db/sqlite/async_sqlite.py:3223-3240 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2740\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:2734\u0060 calls \u0060connection\u0060, \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:2981\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dec5f6fa2cf6265f4edb0306cc6956dac0bff9a0a9aa4b5dc03c58ec80b063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3678-3694 | libs/agno/agno/db/postgres/async_postgres.py:3932-3948 | libs/agno/agno/db/sqlite/async_sqlite.py:4185-4202 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3678\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3678}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5ac2e89d03c9d2305ce3d373381fb77249d101eb0fe4fdb1567f66e7a97436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3818-3835 | libs/agno/agno/db/postgres/async_postgres.py:4099-4116 | libs/agno/agno/db/sqlite/async_sqlite.py:4303-4319 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c372468d6bf6bebabeb5338a027ca0be67d91e9640577db10975502166d2281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4024-4041 | libs/agno/agno/db/postgres/async_postgres.py:4309-4326 | libs/agno/agno/db/sqlite/async_sqlite.py:4513-4530 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4024}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fbc3f7333d68ee61313da1a452c36366744629d0a28a61313ae3dcf6599f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:823-838 | libs/agno/agno/db/postgres/postgres.py:1198-1215 | libs/agno/agno/db/singlestore/singlestore.py:874-886 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03b7b6ab0c9aee78979d4085714670e5bbc7be5751c652936fdf7a615b315b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:1343-1360 | libs/agno/agno/os/routers/teams/router.py:1205-1222 | libs/agno/agno/os/routers/workflows/router.py:2638-2655 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1343\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5d1756611e6596fb105f6aa2a6cabc64e25d80d7c8057d7ef870287183bb69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): libs/agno/agno/team/_run.py:409-423 | libs/agno/agno/team/_run.py:1283-1300 | libs/agno/agno/team/_run.py:8341-8358 \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 \u0060libs/agno/agno/team/_run.py:1283\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"005877b10d4756fc029c1fa6952b390b8ae6d0932e2ba2ff2afd949a8592092b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): libs/agno/agno/team/_run.py:1042-1057 | libs/agno/agno/team/_run.py:1845-1862 | libs/agno/agno/team/_run.py:8701-8718 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"669a412a3c736e860ecf34f15a561ac34ac9fb7c154e0e905f0cabfa8396c5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): libs/agno/agno/team/_run.py:2306-2320 | libs/agno/agno/team/_run.py:3276-3293 | libs/agno/agno/team/_run.py:6954-6970 \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 \u0060libs/agno/agno/team/_run.py:3276\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b1ba3b5ffc63810d253f7b516402b894adfbd9aae1777e4b3a44533b11f0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/team/_run.py:2445-2462 | libs/agno/agno/team/_run.py:3384-3401 | libs/agno/agno/team/_run.py:9855-9872 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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, \u0060libs/agno/agno/team/_run.py:9853\u0060 calls \u0060TeamRunOutput\u0060, \u0060cast\u0060 and \u0060libs/agno/agno/team/_run.py:2444\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"538692569f9e555bcb24797e99cb0e261879802d04f05ccf63be58235ec862c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): libs/agno/agno/team/_run.py:3025-3041 | libs/agno/agno/team/_run.py:3429-3446 | libs/agno/agno/team/_run.py:4110-4127 \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 \u0060libs/agno/agno/team/_run.py:3025\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba1a9eab49456641e976156675f2e2bc735434cd02c4bf8a8deb1f29418c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/tools/zoom.py:157-174 | libs/agno/agno/tools/zoom.py:190-213 | libs/agno/agno/tools/zoom.py:238-257 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/zoom.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1027139bae3a48878ba3e1384886db78b4668fdd17ade4fcaf41ba6be074852b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/utils/print_response/agent.py:205-222 | libs/agno/agno/utils/print_response/agent.py:412-429 | libs/agno/agno/utils/print_response/agent.py:650-667 \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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc31c120fbf141c81842ebca896664e946b38f72f4bf7e2fb0829e5c9592680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/vectordb/weaviate/weaviate.py:675-692 | libs/agno/agno/vectordb/weaviate/weaviate.py:764-781 | libs/agno/agno/vectordb/weaviate/weaviate.py:871-888 \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 \u0060libs/agno/agno/vectordb/weaviate/weaviate.py:675\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dfda74459cc55853c2b12939623f94a86ec320e4cef555687e007b0e649e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cookbook/02_agents/11_approvals/approval_async.py:26-43 | cookbook/02_agents/11_approvals/approval_basic.py:25-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. 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":"cookbook/02_agents/11_approvals/approval_async.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"40de7e15f857a67f4c5e9cf48a5aa44114e459dcfb0acccd9aab6dffcbec1203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py:114-131 | cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.py:71-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py:110\u0060 calls \u0060hasattr\u0060 and \u0060cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.py:69\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":"cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be069236c2016595cb2a19ed331eb60c30e07b3146d783686770b5d38bbdc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cookbook/91_tools/mcp/sse_transport/client.py:42-59 | cookbook/91_tools/mcp/streamable_http_transport/client.py:41-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/sse_transport/client.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b599943006c63fa5364564fdbf84346654107c266d00a9e0d5f3f62bd9fea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cookbook/91_tools/tool_decorator/async_tool_decorator.py:23-40 | cookbook/91_tools/tool_hooks/pre_and_post_hooks.py:76-93 \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":"cookbook/91_tools/tool_decorator/async_tool_decorator.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3436d2fb699f85213a821b8ea2b019a39b8f7ecf489732a3255a8f743c30787d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cookbook/data_labeling/_26_scale_out/basic.py:96-113 | cookbook/data_labeling/_26_scale_out/with_cost_tracking.py:106-123 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from 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":"cookbook/data_labeling/_26_scale_out/basic.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"de45c7fe168d1ce324f5a8a372499239d2cac7351f99c7b9926ebb837eed05cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_hooks.py:114-131 | libs/agno/agno/agent/_hooks.py:328-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_hooks.py:114\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"39545d16dd4e9c0939457142d83afd42ffdb3726e7fe8407f43b0a555467e63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/agent/_messages.py:1200-1216 | libs/agno/agno/agent/_messages.py:1497-1514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_messages.py:1200\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/agent/_messages.py:1515\u0060 calls \u0060getattr\u0060 and \u0060libs/agno/agno/agent/_messages.py:1217\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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5f986bf5fb6b6d86eee55eab80b04c94f2662cfe89efc399ad98a3607a96c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_response.py:195-212 | libs/agno/agno/team/_response.py:609-626 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:195\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe83cb09b3b821e6b040a74ef8d8b551bcad2b1f69ced4698a66ea7a055db58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_run.py:1127-1144 | libs/agno/agno/agent/_run.py:2481-2498 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1408801e2f42ee98291244779f27fec3f99e628a3d31104307f1ff05d41c2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_run.py:1199-1216 | libs/agno/agno/agent/_run.py:1253-1270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1199\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f14c0a53161d7400d789f764b6cc43bb8d170a9be299457d537ca33653bdd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_run.py:1410-1427 | libs/agno/agno/agent/_run.py:2802-2819 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1410\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0032ab70b232617caa3bdac3045b2bae26c03b714d30c2dac751bb4b367e172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/agent/_run.py:4593-4610 | libs/agno/agno/team/_run.py:8989-9005 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4593}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea63be171ec91fedd1a3420d648d1d5b0e45c001e0ab4e93e596ef50e2b95a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1297-1314 | libs/agno/agno/team/_storage.py:1209-1226 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15ad5ee4c7d12de8badc01ee0255f17cbb5a177f2654dceaa3aa263e2effc97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/agent/_utils.py:161-178 | libs/agno/agno/team/_utils.py:143-160 \u2014 \u0060libs/agno/agno/agent/_utils.py\u0060 and \u0060libs/agno/agno/team/_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 5 separate duplicated blocks between them, totalling at least 107 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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"44244d86a5d44f3d3f09b6d37cbdd90128189ea6cd25dca8e3da36bdcf3104ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/client/a2a/utils.py:101-118 | libs/agno/agno/client/a2a/utils.py:403-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/client/a2a/utils.py:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc7a2e3a0dc5006e413b7381cb9ab4f4c4774c5cac0a2655f016903ace4fc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1460-1477 | libs/agno/agno/db/json/json_db.py:1570-1587 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"007041808b7d0904acda17b2fa077cce56dfdbdf8900e683c1832bae4fea397e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:828-844 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1045-1062 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceb2d322c83641588f131d5b125e2f58d790a313bc9bb6e00c9ef98e9cdf411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3080-3097 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3350-3367 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3346\u0060 calls \u0060execute\u0060, \u0060text\u0060, \u0060scalar\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3079\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3080}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f6aeb240e28a67c9ce4eeccdf81969052771a695ecbc2a1c1005da8e808556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3344-3361 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4159-4176 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3344}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a6e16aeb327bf56825c1ce8e78f263a6029c3a40f06d0e2f7ce359a279e2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3421-3438 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4226-4243 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f075e3141d109a4b53302798a9471ecbe0e7c23ea1d352dd669f7a37a24b044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1982-1998 | libs/agno/agno/db/mongo/mongo.py:1787-1804 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1982\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"6638e0afeef8a12d2c839aaf89d566031404281612af08952924075d3a3e045a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2476-2492 | libs/agno/agno/db/mongo/mongo.py:2261-2278 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/mongo.py:2261\u0060 it begins part-way through the construct above it, so those exact 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 \u0060runs_collection\u0060 to \u0060AsyncMongoCollectionType\u0060 in one and \u0060Collection\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6e3783f546340a1da6da6cdcae1ba9d61fa3f4f59f4f2d6fc97d6b077960b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2889-2906 | libs/agno/agno/db/mongo/mongo.py:2647-2664 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2889\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"4203b220011e5f03e3352e0e358e375c6411ce328f102d3c3a772bdf7af5b301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3592-3609 | libs/agno/agno/db/mongo/mongo.py:3342-3359 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3592}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc5aa6c89268848173a78e3d1b6f7002d0d5491eca021c2a9a67b13df2ec1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:206-223 | libs/agno/agno/db/singlestore/singlestore.py:215-232 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c0b64c62f78cd407cf8f02e9651063ae121ec2d1aa49edcb6a126737218891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1326-1338 | libs/agno/agno/db/postgres/postgres.py:2180-2197 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:2180\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/postgres.py:2199\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1340\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a46c0a8d50a8f95b24c969f075f553db72bd6c268564b4c8bb829bc9ce9b9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:3818-3832 | libs/agno/agno/db/sqlite/async_sqlite.py:4065-4082 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f385f7a65453ae91103bd2d87282849bbefc4a036bc71f5e26781ae9e08554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4047-4064 | libs/agno/agno/db/postgres/postgres.py:4582-4599 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4047}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1ff2e2d312f0ba6c9d2dad96e29dfdeb5d46e207bfdf5fa1218808d9c67f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5634-5651 | libs/agno/agno/db/sqlite/async_sqlite.py:5759-5776 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5634}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a15c55731baa517aa0c37aa8257132d25f4c10c90d5b7e5b8ea22049bd4699d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6832-6849 | libs/agno/agno/db/postgres/postgres.py:9506-9522 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6832\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6832}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aa48efe3afc98f51e3ae691be4b56b701eea06ee06adcabb535eabd02df657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7569-7586 | libs/agno/agno/db/sqlite/async_sqlite.py:6783-6800 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab5b5438acd1068477038497544af240afc32a3dcd9aaac38fb339315afcaa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:2187-2204 | libs/agno/agno/db/singlestore/singlestore.py:1382-1395 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0bb62d92b89161f921cefe66f92043c398da3c531e5d093925f7119e45a3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:4362-4379 | libs/agno/agno/db/singlestore/singlestore.py:3518-3535 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db856b6c9de956abe2056ab6f773e5481cd0df31d6ab1ba27f3134fa86d9ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10314-10331 | libs/agno/agno/db/sqlite/sqlite.py:9255-9272 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10314}}}],"partialFingerprints":{"codehealthFindingId/v1":"932934e2aca73cc687a19e8988b7bc7ed3924192088649d196ba6ad4c852d60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:307-324 | libs/agno/agno/eval/accuracy.py:340-357 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a0d16d5d9c58b0ac9c1c8c330afaf4898a6f5963cb11768299819d39c59f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): libs/agno/agno/eval/performance.py:281-298 | libs/agno/agno/eval/performance.py:340-353 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b130a9e714312b5607ff40d6cbd8ebd4b8ab566b0cc46ba59f0f9fdb6803046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/knowledge/embedder/mistral.py:101-118 | libs/agno/agno/knowledge/embedder/mistral.py:131-148 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/mistral.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aa78a58dcf8f32a62994fd6f53ee31a6b47447799e39e9824a7d741c285a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2441-2458 | libs/agno/agno/knowledge/knowledge.py:2516-2533 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:2441\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69d33b9ffa63323bd7bd0cdd9084cb020bd86935bd0255c4923826873de27d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2688-2705 | libs/agno/agno/knowledge/knowledge.py:2872-2889 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"428132ea392605e2e36a19e4f8e52f73e80fd085073e079131a955d7dcb03635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3428-3445 | libs/agno/agno/knowledge/knowledge.py:3627-3642 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3428}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec3726b03407f1ae4fa7019af407761b9975f7c23274735c72d1575e6f8017c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4960-4977 | libs/agno/agno/knowledge/knowledge.py:5020-5037 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:4960\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4960}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71287044c686dac9cde3689f2c1c5b266ec67bcb4908732b3e3237d9b020bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/knowledge/loaders/sharepoint.py:217-234 | libs/agno/agno/knowledge/loaders/sharepoint.py:336-353 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe616fbf2bdbc6617f75c7b627fd11e39be7e85aa4a9e48a8772ebe45b709eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/knowledge/remote_knowledge.py:63-80 | libs/agno/agno/knowledge/remote_knowledge.py:104-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. 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":"libs/agno/agno/knowledge/remote_knowledge.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f817ece9a29dc802b73efd132bb4bd2d586eca3dbf2b79a6da88ee4fbc0b172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/learn/stores/decision_log.py:885-902 | libs/agno/agno/learn/stores/decision_log.py:917-934 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e5a67756fd094640ce47c0d19270ca77f767902dee5ae29a25410f5d645791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/models/anthropic/claude.py:492-509 | libs/agno/agno/models/anthropic/claude.py:520-537 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7216aacf5eda0dffea515b24c48fae09eb208cd267b5e10a8df8dd427fbf45d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/models/anthropic/claude.py:1000-1017 | libs/agno/agno/models/anthropic/claude.py:1236-1253 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b2670438b462846839ab11ec861f1ca9f2d2a6ace975d698f0b8b7c95c160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/models/azure/ai_foundry.py:219-236 | libs/agno/agno/models/azure/ai_foundry.py:257-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/azure/ai_foundry.py:219\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68a822ce3320b7bfa692f8df8bc50d0b0d9b6e623c706587826f0f968ec5c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/models/base.py:2317-2334 | libs/agno/agno/models/base.py:3037-3053 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abca424a96d9d33561e2d130dd5b50aca4df95f32c5ca79d5b2896ee29b34d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/models/deepseek/deepseek.py:186-203 | libs/agno/agno/models/openai/chat.py:362-379 \u2014 before extracting anything, compare \u0060libs/agno/agno/models/deepseek/deepseek.py\u0060 and \u0060libs/agno/agno/models/openai/chat.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4ff22390e283e4a661ed5c47469df8c9f4be096bdbc8813c4eef24c97245b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): libs/agno/agno/models/ollama/chat.py:380-397 | libs/agno/agno/models/ollama/chat.py:421-433 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060dict\u0060 in one and \u0060ChatResponse\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":"libs/agno/agno/models/ollama/chat.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b992b2aa8baa85b28865c3f2372704cc712c0ace5a2136df9c69831b4101d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/os/middleware/jwt.py:1152-1169 | libs/agno/agno/os/middleware/jwt.py:1336-1353 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8723f4a2bc4fe7f9c607dbbb10b1d50580e1f0df8b634b77ca19012138761cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): libs/agno/agno/os/router.py:736-753 | libs/agno/agno/os/router.py:838-851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/router.py:736\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/router.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3e3a7382a1e4801727f12a0ac91d4b3a26b49d61c4b4ccfe521d110e921cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:383-400 | libs/agno/agno/os/routers/agents/router.py:466-482 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b1b7db7e0016e09194754c906d0b695e879ed49c0d3476103ffddf9d921777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1668-1685 | libs/agno/agno/os/routers/teams/router.py:1535-1552 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/os/routers/agents/router.py:1666\u0060 calls \u0060RunRequirement\u0060 and \u0060libs/agno/agno/os/routers/teams/router.py:1534\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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"5409c9723c25b4a36faf31194c772112f98dd5d83e6ce585df8ea5f422f7c51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:860-875 | libs/agno/agno/os/routers/workflows/router.py:1975-1992 \u2014 \u0060libs/agno/agno/os/routers/teams/router.py\u0060 and \u0060libs/agno/agno/os/routers/workflows/router.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 13 separate duplicated blocks between them, totalling at least 355 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/teams/router.py:860\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5466c0afadb7a91c9fd1ff4726b3bdf7630456d542c8e012fb7834310c789cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:2598-2615 | libs/agno/agno/os/routers/workflows/router.py:2800-2817 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa54704eda4a28f0327d0a1248ef3cffb3f08914e0d61465282948dc8ade971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/reasoning/manager.py:963-980 | libs/agno/agno/reasoning/manager.py:1012-1029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/reasoning/manager.py:963\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"1167807714a93a80cee762168f591b3d782dc406ce36b102043f1771366f8409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/skills/loaders/local.py:179-196 | libs/agno/agno/skills/loaders/local.py:199-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. 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":"libs/agno/agno/skills/loaders/local.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd5e79ecc04e40e0a29fbee3d494546f22c294a727d50e2ce1918ab3ad5435b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/team/_run.py:2034-2051 | libs/agno/agno/team/_run.py:4234-4251 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:2055\u0060 calls \u0060_resolve_run_dependencies\u0060 and \u0060libs/agno/agno/team/_run.py:4254\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"495202e2843d0e051382fcc1a2aa76375ba9da80da54fa567b0d6b26b997347c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/team/_run.py:2945-2962 | libs/agno/agno/team/_run.py:10513-10530 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da56a8ad75c4e000bc9889e8acdac6d7b0b16912379921209a4c84c1d8868ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/team/_run.py:5559-5575 | libs/agno/agno/team/_run.py:5638-5655 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3059db10e7099dcfd72905a60d15640ad2c9e9ca28c3da5bd6ab4a6c9d9aa74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/team/_run.py:7586-7603 | libs/agno/agno/team/_run.py:9328-9345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:7586\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7586}}}],"partialFingerprints":{"codehealthFindingId/v1":"165bcc46c5da60337f736f1a04166633dd4aa86a81d1d53861c827b855107945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/team/_run.py:8186-8203 | libs/agno/agno/team/_run.py:8235-8252 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3181feaebf9c544e59ebd649a6579fa708762269d6bd2cdbebbb9cc75e556841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/tools/csv_toolkit.py:169-186 | libs/agno/agno/tools/duckdb.py:141-158 \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":"libs/agno/agno/tools/csv_toolkit.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db73c7bc27d7ba1db04deb9889553049cad8bb3187df1bfd1234abcf313d403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/tools/function.py:2214-2231 | libs/agno/agno/tools/function.py:2735-2752 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3e7e699627eccafa4bfccd165485b8270ac6e3b6e777b3e35f2f531c38bd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/tools/function.py:2244-2261 | libs/agno/agno/tools/function.py:2766-2783 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc23edfb2b2da6e9779ac623ce7092ae05bde49df544d303f5a6b14a04c4156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/tools/github.py:505-522 | libs/agno/agno/tools/github.py:525-542 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/github.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cb6f842eb523cb37efe52a0be2b90a5ab43cee17b8eb90640be8d313e00987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): libs/agno/agno/tools/google/calendar.py:154-171 | libs/agno/agno/tools/google/gmail.py:308-322 \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 \u0060libs/agno/agno/tools/google/calendar.py:154\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d961f79ec4ad8917fcfae34a44a979863b399c6a2afb1bd5dd70b406a4230615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): libs/agno/agno/tools/lumalab.py:94-111 | libs/agno/agno/tools/lumalab.py:152-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/lumalab.py:94\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/lumalab.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"429e84891809dda498e74a72ea27c5775d5355762446c3648470609627815552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/utils/hooks.py:99-116 | libs/agno/agno/utils/hooks.py:142-159 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/hooks.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b826032a11f1490b4bdf4ffbbbca98ee999a301fb1066c51cbcd996505aa18e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:623-640 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:691-708 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce91b86d7c4001cf554dc49972614001f2dd95d0d781dbda55b698b1401ef730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:372-389 | libs/agno/agno/vectordb/couchbase/couchbase.py:492-509 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"891caa1a083cadc6116669457df2977cfd8bb135b27a5e85a46f06a10d79f1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2779-2796 | libs/agno/agno/vectordb/opensearch/opensearch.py:2436-2453 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2779\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2779}}}],"partialFingerprints":{"codehealthFindingId/v1":"980d3cb91652758ecbcc8c060302ff6d00e23ad0bfe39961509079c406cb946b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:694-711 | libs/agno/agno/vectordb/redis/redisdb.py:732-747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/redis/redisdb.py:694\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4788785e2ae9a789d3e1c1b39b7cdc5eae56fe3001f55a34257a56286dc1a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:329-345 | libs/agno/agno/vectordb/weaviate/weaviate.py:431-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. 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e7de7db3b1873b4b94398f292083720326cd33958337e2917d5b3f4b6570d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/workflow/loop.py:291-308 | libs/agno/agno/workflow/loop.py:319-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. 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, \u0060libs/agno/agno/workflow/loop.py:337\u0060 calls \u0060iscoroutinefunction\u0060, \u0060end_condition\u0060 and \u0060libs/agno/agno/workflow/loop.py:309\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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea63c708000f1fe822062d7d218ab03f02dad2b6bcbfc280495b8dc6875f641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/workflow/steps.py:262-279 | libs/agno/agno/workflow/steps.py:568-585 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e35bd12bcb212ef2d6bb51c53bc27f8309beff4a26c76af4603195e8e3473f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:4682-4699 | libs/agno/agno/workflow/workflow.py:4725-4741 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:4682\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4682}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c39678e1d6f08247c7f83214ae9b50b44bc7d02a0498126de06e77092a42dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno_infra/agno/aws/resource/base.py:23-40 | libs/agno_infra/agno/aws/resources.py:27-44 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno_infra/agno/aws/resources.py:23\u0060 calls \u0060PrivateAttr\u0060 and \u0060libs/agno_infra/agno/aws/resource/base.py:19\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/base.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6b7107d63d490f0ee38aa3818927276d8ccf02b344b4e95dd0b3624c5c6006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno_infra/agno/aws/resource/base.py:44-61 | libs/agno_infra/agno/aws/resources.py:48-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. 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":"libs/agno_infra/agno/aws/resource/base.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc40d805e17c3a77b3f418621c1877d3f1e1cea9e2c6b60a3f30e61800e9d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:62-79 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:67-84 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a578898822c6340ba1dd133dfdedca4837fbcb06cd3601e98c30a64d4004be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elb/target_group.py:71-88 | libs/agno_infra/agno/aws/resource/elb/target_group.py:177-194 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/elb/target_group.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f706448f25622b3be1191e9e78b53e24e55dfb0ebd2a4daf71abb3fadba2a92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno_infra/agno/aws/resource/iam/policy.py:58-75 | libs/agno_infra/agno/aws/resource/iam/role.py:74-91 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/iam/policy.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/iam/role.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/aws/resource/iam/policy.py: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. 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":"libs/agno_infra/agno/aws/resource/iam/policy.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde6ebba8f8a2892c712075858d75fd280b59f7b0fceccb4953856d8559d2b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 18): libs/agno/agno/reasoning/manager.py:404-420 | libs/agno/agno/reasoning/manager.py:428-444 | libs/agno/agno/reasoning/manager.py:452-468 | libs/agno/agno/reasoning/manager.py:476-492 | libs/agno/agno/reasoning/manager.py:500-516 | libs/agno/agno/reasoning/manager.py:524-540 | libs/agno/agno/reasoning/manager.py:548-564 | libs/agno/agno/reasoning/manager.py:572-588 | libs/agno/agno/reasoning/manager.py:596-612 | libs/agno/agno/reasoning/manager.py:644-660 | libs/agno/agno/reasoning/manager.py:668-684 | libs/agno/agno/reasoning/manager.py:692-708 | libs/agno/agno/reasoning/manager.py:716-732 | libs/agno/agno/reasoning/manager.py:740-756 | libs/agno/agno/reasoning/manager.py:764-780 | libs/agno/agno/reasoning/manager.py:788-804 | libs/agno/agno/reasoning/manager.py:812-828 | libs/agno/agno/reasoning/manager.py:836-852 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63769c516780b6df01443656e4e9a9f29d3a9348c7e877c1f60eb62797eb6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py:96-112 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py:107-123 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py:126-142 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.py:133-149 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py:90-106 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py:109-125 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py:126-142 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:216-232 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py\u0060 and \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cd6f0ec3ddb9f2c260d34f6f635f205c565f509ffda190f5a8faca6c7725be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py:115-131 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py:126-142 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py:145-161 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.py:152-168 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py:109-125 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py:129-145 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py:144-160 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:234-250 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py\u0060 and \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97a1c48b17ca0365165671b964fec4e0d7334dece083722cfa819801bb5e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 8): libs/agno/agno/db/mysql/async_mysql.py:182-197 | libs/agno/agno/db/mysql/mysql.py:180-195 | libs/agno/agno/db/postgres/async_postgres.py:282-297 | libs/agno/agno/db/postgres/postgres.py:321-336 | libs/agno/agno/db/singlestore/singlestore.py:179-194 | libs/agno/agno/db/sqlite/async_sqlite.py:219-234 | libs/agno/agno/db/sqlite/sqlite.py:269-284 | libs/agno/agno/db/valkey/valkey.py:209-225 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3854539ab059663639ebccd6a422981155fa89e5920ed276724a034b5bb4c34f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:4448-4464 | libs/agno/agno/db/mysql/mysql.py:4386-4402 | libs/agno/agno/db/postgres/async_postgres.py:4794-4810 | libs/agno/agno/db/postgres/postgres.py:5328-5344 | libs/agno/agno/db/singlestore/singlestore.py:4296-4312 | libs/agno/agno/db/sqlite/async_sqlite.py:4995-5011 | libs/agno/agno/db/sqlite/sqlite.py:5153-5169 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4448\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/singlestore/singlestore.py:4317\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:4409\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ef0ca8f266d1b295c9f716b5cfe15dc458d0f75e1206dd91338de0f39aa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): libs/agno/agno/db/mysql/async_mysql.py:4105-4121 | libs/agno/agno/db/mysql/mysql.py:4046-4062 | libs/agno/agno/db/postgres/async_postgres.py:4388-4404 | libs/agno/agno/db/postgres/postgres.py:4924-4940 | libs/agno/agno/db/singlestore/singlestore.py:3951-3967 | libs/agno/agno/db/sqlite/async_sqlite.py:4592-4608 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1710a2e6766a02c690b00aa60162caeb3f220582b47533d4625e9d53036111e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): libs/agno_infra/agno/cli/operator.py:95-112 | libs/agno_infra/agno/cli/operator.py:169-186 | libs/agno_infra/agno/cli/operator.py:242-258 | libs/agno_infra/agno/infra/operator.py:244-261 | libs/agno_infra/agno/infra/operator.py:316-333 | libs/agno_infra/agno/infra/operator.py:389-405 \u2014 \u0060libs/agno_infra/agno/cli/operator.py\u0060 and \u0060libs/agno_infra/agno/infra/operator.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 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/cli/operator.py: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. 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":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0ca445bc543162c8812a5cd7a03833c13741a9ada9d624f58e75e7445fad90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): libs/agno/agno/vectordb/cassandra/cassandra.py:267-283 | libs/agno/agno/vectordb/milvus/milvus.py:629-645 | libs/agno/agno/vectordb/milvus/milvus.py:806-822 | libs/agno/agno/vectordb/singlestore/singlestore.py:687-703 | libs/agno/agno/vectordb/singlestore/singlestore.py:784-800 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81541586b0b5083179ba8307236d097433022d0a13bc671aefb118c804dfa37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/agent/_default_tools.py:607-623 | libs/agno/agno/agent/_default_tools.py:666-682 | libs/agno/agno/team/_default_tools.py:395-411 | libs/agno/agno/team/_default_tools.py:444-460 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77c12ebe1f5777143081715ea56bbe7888aba073ea3f2ef7262430735eff613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/agent/_run.py:1219-1235 | libs/agno/agno/agent/_run.py:2580-2596 | libs/agno/agno/agent/_run.py:4140-4156 | libs/agno/agno/agent/_run.py:5735-5751 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_run.py:4138\u0060 calls \u0060cast\u0060 and \u0060libs/agno/agno/agent/_run.py:1217\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"27eed45f3322a7e28701df0e43cb5a7ce0b2452391291d455def94907ee6ced1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/agent/_run.py:1636-1652 | libs/agno/agno/agent/_run.py:2253-2269 | libs/agno/agno/agent/_run.py:4941-4957 | libs/agno/agno/agent/_run.py:5464-5480 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb8796d71e1d901678e20ee63bedebd679c37efa39b0e3f4e3fe05f405a4955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:2186-2201 | libs/agno/agno/db/mysql/mysql.py:2180-2195 | libs/agno/agno/db/sqlite/async_sqlite.py:2733-2749 | libs/agno/agno/db/sqlite/sqlite.py:2999-3015 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2186\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6dd7b5dc0c68eed15dd199f1447333ff19675eb51e573ce3f85dae8c71afe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2582-2598 | libs/agno/agno/db/postgres/postgres.py:3413-3429 | libs/agno/agno/db/singlestore/singlestore.py:2574-2590 | libs/agno/agno/db/sqlite/sqlite.py:3351-3367 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2582\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"b611fda75a66a8c8028f5952c761008d5756201538cecb57243a6d618f106870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8503-8519 | libs/agno/agno/db/postgres/postgres.py:11226-11242 | libs/agno/agno/db/sqlite/async_sqlite.py:7714-7730 | libs/agno/agno/db/sqlite/sqlite.py:10164-10180 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:8503\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b52a417f641b88d7c0af3770f697a5986bcf4f8e5d09cfcb5cbfb94caf3e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 4): libs/agno/agno/models/anthropic/claude.py:547-560 | libs/agno/agno/models/aws/claude.py:184-200 | libs/agno/agno/models/azure/claude.py:121-131 | libs/agno/agno/models/vertexai/claude.py:107-123 \u2014 \u0060libs/agno/agno/models/aws/claude.py\u0060 and \u0060libs/agno/agno/models/azure/claude.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 64 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d50fe4259ce5bf988db5e5f0560bfeb8569af2106b4778266afa50d9d2c71b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): libs/agno/agno/models/ibm/watsonx.py:172-187 | libs/agno/agno/models/ibm/watsonx.py:209-224 | libs/agno/agno/models/ibm/watsonx.py:246-261 | libs/agno/agno/models/ibm/watsonx.py:282-298 \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":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"16844f9a3f3f1b3101c8db18f844cb7e0562eae381d2ad958729d621f2fdd2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/workflow/condition.py:568-584 | libs/agno/agno/workflow/condition.py:1023-1039 | libs/agno/agno/workflow/steps.py:287-303 | libs/agno/agno/workflow/steps.py:593-609 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/steps.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 268 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:568\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c8fdfbe10331cdc4b1821fbb0c415877e17a603037e9bb1b463bd8ca4e53e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/workflow/step.py:1393-1409 | libs/agno/agno/workflow/step.py:1808-1824 | libs/agno/agno/workflow/step.py:2116-2132 | libs/agno/agno/workflow/step.py:2537-2553 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e999986d6a4ef81c3192a91aa59326e284810d7650f823d4835191e02a65e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/workflow/steps.py:352-368 | libs/agno/agno/workflow/steps.py:526-542 | libs/agno/agno/workflow/steps.py:657-673 | libs/agno/agno/workflow/steps.py:830-846 \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 \u0060libs/agno/agno/workflow/steps.py:352\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbcf8fe57c80ff028d68efebf3c5f40fd907a04e3bc52e175a8a63ff0bcd92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:6998-7014 | libs/agno/agno/workflow/workflow.py:7857-7873 | libs/agno/agno/workflow/workflow.py:9076-9092 | libs/agno/agno/workflow/workflow.py:9620-9636 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6998}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ae84f219a5f0cee13f011c2c86f4430761a3a01c6cc85e67f1d25d91962de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 3): cookbook/02_agents/20_time_travel/01_continue_from.py:82-97 | cookbook/02_agents/20_time_travel/02_fork_run.py:73-89 | cookbook/03_teams/25_time_travel/01_continue_from.py:80-92 \u2014 before extracting anything, compare \u0060cookbook/02_agents/20_time_travel/01_continue_from.py\u0060 and \u0060cookbook/02_agents/20_time_travel/02_fork_run.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/02_agents/20_time_travel/01_continue_from.py:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/20_time_travel/01_continue_from.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3980c1ef1b772c0a41f041c5698f10f6e997ee4dcf4ba324596bf45e629cec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): cookbook/05_agent_os/21_factories/01_basic.py:99-113 | cookbook/05_agent_os/21_factories/05_team_factory.py:107-123 | cookbook/05_agent_os/21_factories/06_workflow_factory.py:113-126 \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 \u0060cookbook/05_agent_os/21_factories/01_basic.py:99\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/21_factories/01_basic.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"073303804e6fee2255d4b74eac8b6438268216b878e62f0c6d057b9d8add4a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/agent/_response.py:1675-1691 | libs/agno/agno/agent/_tools.py:952-968 | libs/agno/agno/agent/_tools.py:1068-1084 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060agent\u0060 to \u0060\u0022Agent\u0022\u0060 in one and \u0060Agent\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aab188c28f42826544280d0fa5d083c2c2cb5a44b7e805db91cdfa79d4c2e28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/agent/_run.py:2667-2683 | libs/agno/agno/agent/_run.py:5195-5211 | libs/agno/agno/agent/_run.py:5834-5850 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd49eb55e8049ed3fdc643b5ba5ce16bad515dad4518f458cca7807bb63010a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): libs/agno/agno/db/dynamo/dynamo.py:164-180 | libs/agno/agno/db/redis/redis.py:167-183 | libs/agno/agno/db/surrealdb/surrealdb.py:160-175 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5dee2a9d840ab72103a08ad42a2ee907f1005bc9d25b59a53ed8de8f56b013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): libs/agno/agno/db/mongo/async_mongo.py:1985-2001 | libs/agno/agno/db/mysql/async_mysql.py:2189-2204 | libs/agno/agno/db/sqlite/async_sqlite.py:2736-2752 \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. 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b33c8c5d32c575d17aa5b4ad4c9a32254b372d8bcf050b77f460bc955938bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): libs/agno/agno/db/mongo/mongo.py:1791-1807 | libs/agno/agno/db/mysql/mysql.py:2183-2198 | libs/agno/agno/db/sqlite/sqlite.py:3002-3018 \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. 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4365b8964345b31e61774b93c998fd66f637d13f4cee82a443c76ec8f6e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:315-331 | libs/agno/agno/db/mysql/mysql.py:310-326 | libs/agno/agno/db/postgres/async_postgres.py:487-503 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e7737a34f8302c4ab99a74c1d6ed5814a0b635a2cf6560a23b95c555e7edec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2496-2511 | libs/agno/agno/db/mysql/mysql.py:2481-2497 | libs/agno/agno/db/singlestore/singlestore.py:2473-2489 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2496\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"78078e7c8428000986a6f1b0a1ad6b29d8f97a5d43e1209227093c2a98cc1dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3584-3600 | libs/agno/agno/db/postgres/async_postgres.py:3839-3855 | libs/agno/agno/db/sqlite/async_sqlite.py:4090-4109 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3584}}}],"partialFingerprints":{"codehealthFindingId/v1":"888d824a7a8210d8debcbe87ad41a624d68d2f1d8e61907609683f40eacb5550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3931-3947 | libs/agno/agno/db/mysql/mysql.py:3874-3890 | libs/agno/agno/db/singlestore/singlestore.py:3834-3850 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3931}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0682822277aa553c5614411b8e621a4eb13e4c66464cb4858822c348b5a47b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): libs/agno/agno/models/openrouter/responses.py:65-80 | libs/agno/agno/models/ramp/router.py:158-174 | libs/agno/agno/models/xai/responses.py:124-138 \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. 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":"libs/agno/agno/models/openrouter/responses.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5333bb5e8583fb978de9af401c1d0be2a41f34b90d67c05b75365dc1426e8b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/os/middleware/user_scope.py:713-729 | libs/agno/agno/os/middleware/user_scope.py:756-772 | libs/agno/agno/os/middleware/user_scope.py:799-815 \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 \u0060libs/agno/agno/os/middleware/user_scope.py:713\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/user_scope.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c02b0f26fa83a96e91ca521e6dd22fdded9a89412629be984802c26bcd101fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/os/routers/agents/schema.py:54-70 | libs/agno/agno/os/routers/teams/schema.py:54-70 | libs/agno/agno/os/routers/workflows/schema.py:101-117 \u2014 \u0060libs/agno/agno/os/routers/agents/schema.py\u0060 and \u0060libs/agno/agno/os/routers/teams/schema.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 157 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060factory\u0060 to \u0060AgentFactory\u0060 in one and \u0060TeamFactory\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":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bcd09ec5ec840d4a7b9338a49b2cc92b48a3e6e353895c968144ade5b00faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): libs/agno/agno/team/_run.py:1818-1834 | libs/agno/agno/team/_run.py:4022-4037 | libs/agno/agno/team/_run.py:8673-8688 \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 \u0060libs/agno/agno/team/_run.py:1818\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"8265c1daf3a18b4e7c92cdded671f913cf843761ed7391020d238a60a0e3fbf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): libs/agno/agno/tools/studio_runner.py:2994-3010 | libs/agno/agno/tools/studio_runner.py:3062-3076 | libs/agno/agno/tools/studio_runner.py:3128-3144 \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 \u0060libs/agno/agno/tools/studio_runner.py:2994\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"4570474c78c9f5822ae25dd72f3d8aab3839163101c5f9fdcb522aa29c71a77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): libs/agno/agno/vectordb/couchbase/couchbase.py:364-380 | libs/agno/agno/vectordb/couchbase/couchbase.py:1126-1141 | libs/agno/agno/vectordb/couchbase/couchbase.py:1240-1255 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1259\u0060 calls \u0060info\u0060 and \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1145\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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2536a9071bb9f7c8473edc17b8d061cca38f3f02a1b211f0119388f7c740b07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:3491-3507 | libs/agno/agno/workflow/workflow.py:7939-7953 | libs/agno/agno/workflow/workflow.py:8339-8355 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039b77b183ac1ecc1052fa798b36f42277ca212d6f4a4d28f2d597335254f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:4532-4548 | libs/agno/agno/workflow/workflow.py:9701-9715 | libs/agno/agno/workflow/workflow.py:10102-10118 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4532}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c8b331aafee402de26ebae5da6f430f0d29ce45917f02c47a6d8ee783923c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py:99-115 | cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py:128-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 \u0060cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py:99\u0060 it begins part-way through the construct above it, so those exact 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":"cookbook/08_learning/08_custom_stores/02_custom_store_with_db.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d1a499b13edc45380b697e5250da9571532af3ed34124eef519dad06e5928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:145-161 | cookbook/data_labeling/_19_inter_annotator_agreement/jury_votes.py:180-196 \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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4f4c0027cc5bca2d7f4ea208cb10ba73182c0e1f789965f83a1c5fb7419038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/claude_media.py:33-49 | cookbook/frameworks/codex/codex_media.py:32-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/frameworks/claude-agent-sdk/claude_media.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"15801c781f91d95ec36d7f2f9d594dddcf9012f600a9d9879d154f20bf910ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:500-516 | libs/agno/agno/agent/_default_tools.py:555-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c75aca57610f7d44b879a7d74e5d9b6970a478f39332774fd0e1a967c798b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_hooks.py:430-446 | libs/agno/agno/team/_hooks.py:603-619 \u2014 \u0060libs/agno/agno/agent/_hooks.py\u0060 and \u0060libs/agno/agno/team/_hooks.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 4 separate duplicated blocks between them, totalling at least 106 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_hooks.py:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6532d9d9f978a7d12d109764e851060188e357b56d34639e7f879df6c285c208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_messages.py:393-409 | libs/agno/agno/agent/_messages.py:430-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 \u0060libs/agno/agno/agent/_messages.py:393\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537ae27f04ad07bd186adf0bf660cd7c0203ce9c40539350c73e1dd8af4bd2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_run.py:1048-1064 | libs/agno/agno/agent/_run.py:3999-4015 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:1048\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0365a75c77774f06adeb4706c86924888b1549b4846cb2cd9da45d712637125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_run.py:2640-2656 | libs/agno/agno/team/_run.py:4074-4090 \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 \u0060libs/agno/agno/agent/_run.py:2640\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0855ef3ecce2f568d6f122fc0dd14ea4bce7a0541c2464b0f099df21ca8c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_session.py:51-67 | libs/agno/agno/team/_init.py:778-794 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"39de938766b3b5331b375d41499fb28672ce9890d10983a01e3a6d0c387486c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_tools.py:241-257 | libs/agno/agno/agent/_tools.py:393-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_tools.py: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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4275236d1f5f57e83cfadd242e2c1029b9b7d22f8e26cde4de97c2efa7bc959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/remote.py:321-337 | libs/agno/agno/team/remote.py:314-330 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/remote.py:321\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c32f59a2ed6d39d89f5955850f21903491f73c03cc384bc32fd8c6a49bdd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/remote.py:344-360 | libs/agno/agno/team/remote.py:337-353 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/remote.py:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/remote.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cf9ae430230f89310dd4c543b72d4a8ee37437666ed0b7a9a88a6f6f0b8719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2673-2689 | libs/agno/agno/db/mongo/mongo.py:2704-2720 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd1b7661874752abf9d00a5d2f8f998352f8153400a41a8e5ec45ee0fd389f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:3660-3676 | libs/agno/agno/db/firestore/firestore.py:3751-3765 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1372135a5d5842f319bba1bf2a7784f0b94466947a3e383ff14e60f036600d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2378-2394 | libs/agno/agno/db/json/json_db.py:2536-2552 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2204e35b7248fe8bc58ea6193c562952eb92212d2e604d6a2340d5e795150929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/in_memory/in_memory_db.py:332-348 | libs/agno/agno/db/in_memory/in_memory_db.py:827-843 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"23823fdad915ae1da895a2e48e2740ad295f694f97161ae7e8390fd54dfd858d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:2055-2071 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2124-2138 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"1168ae3ae9e3f3f86fd8b0f986b6146afb0318f1adfd0fa1ad55e5269cc7ba4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1065-1081 | libs/agno/agno/db/mongo/mongo.py:876-892 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"00263e3aafdb4daa9f71c219a5f3f1b1865930cd69da19a9d9034e81a108f893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4289-4305 | libs/agno/agno/db/mongo/async_mongo.py:4609-4625 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4289}}}],"partialFingerprints":{"codehealthFindingId/v1":"93315d4cfe4b5d3895c211c5c1766faf18041d1fcd14e39e4065e0160d7a8c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/db/mongo/mongo.py:4097-4113 | libs/agno/agno/db/mongo/mongo.py:4425-4440 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":4097}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a8fc4fa41a359464c04a229f6d1249f1186c670a65cc2f9a275181a3d36969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1796-1812 | libs/agno/agno/db/mysql/mysql.py:1800-1816 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b865de229625bb35e90d57d2be46f015af36d32639b3723beb5acfa79857229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2088-2104 | libs/agno/agno/db/postgres/async_postgres.py:2498-2514 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fa1585c3828857df8168593b6564a18b96a369302d11f9c08a7cadec19c66a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:3195-3211 | libs/agno/agno/db/singlestore/singlestore.py:3188-3204 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26140cada30004a65ae98117da05e8d1bc2f5baf1f2e13bc189b46de84f2770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:859-875 | libs/agno/agno/db/sqlite/async_sqlite.py:813-827 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc647faad7f25caf553e49499a5cc85be1214ed40df4563a268fd7e9be0ca4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5204-5220 | libs/agno/agno/db/sqlite/async_sqlite.py:5391-5407 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ef3610b7c07e9e251edf0118d21c76feeb55192daea5a5fc3ca558fa10b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5315-5331 | libs/agno/agno/db/sqlite/async_sqlite.py:5502-5518 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8434c97187c61ec558956a62ae148bb30878765e256b33ca7a733fc042efbb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5535-5551 | libs/agno/agno/db/sqlite/async_sqlite.py:5659-5675 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a6f42a08ba75bd1ecf82d69af31c55cff7f5d161b920780fb25ba4f57d422d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6428-6444 | libs/agno/agno/db/postgres/postgres.py:9119-9134 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6428\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6428}}}],"partialFingerprints":{"codehealthFindingId/v1":"97077cebf7a3524da3ae85987f56476098674a84f8db5236ed5162fe2a933b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6783-6799 | libs/agno/agno/db/postgres/postgres.py:9459-9475 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6783}}}],"partialFingerprints":{"codehealthFindingId/v1":"460ada247f6e8b5fdd0a38f0434a67d44c38f9a46f1ffdaf243826bbfc87ea9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7066-7082 | libs/agno/agno/db/sqlite/async_sqlite.py:6278-6294 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7066}}}],"partialFingerprints":{"codehealthFindingId/v1":"09548f48c5d9f6b2e22e81b15bff73f3dff19ba0fbc885649851842a2db63239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7192-7208 | libs/agno/agno/db/sqlite/async_sqlite.py:6404-6420 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ab1adc66bd1ba6748b27caafe6dc21c4d344ec315e3754f6e4d96981021cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7602-7618 | libs/agno/agno/db/sqlite/async_sqlite.py:6816-6832 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7602}}}],"partialFingerprints":{"codehealthFindingId/v1":"b658282a87764c5c145b3fae14b68caa87b7b8b7cf82bd86506de0482bf2f870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:4339-4355 | libs/agno/agno/db/singlestore/singlestore.py:3495-3510 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/singlestore/singlestore.py:3512\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:4357\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4339}}}],"partialFingerprints":{"codehealthFindingId/v1":"199744e8d18752b809e9fa3095d2bccdf2e1c85b8e1edb0bd945407955057890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8037-8053 | libs/agno/agno/db/sqlite/sqlite.py:7827-7843 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8037}}}],"partialFingerprints":{"codehealthFindingId/v1":"320dad59ccef7972c3b9ddb407dc19e94f98440eb5f1daf3105bc60467abbefd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8350-8366 | libs/agno/agno/db/sqlite/sqlite.py:8137-8153 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8350}}}],"partialFingerprints":{"codehealthFindingId/v1":"1279ae9336e13daae65cb74602425e13d3d35048a8084f4b1f37ed413fb64589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10347-10363 | libs/agno/agno/db/sqlite/sqlite.py:9288-9304 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10347}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c2b25b8f678ceac582046282f49f5b7fbdf7f20a8a3e14895e61e6179c944a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1380-1396 | libs/agno/agno/db/valkey/valkey.py:1719-1735 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0ab9a6509d605c014a10a1b1a1f07131e1803b063d9cfb794df3dc67fc33f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2355-2371 | libs/agno/agno/db/sqlite/sqlite.py:2623-2639 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db5a3be00dde930f47d8378a1bf0620966f212d45a828320bfa7e91d3614d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/db/valkey/valkey.py:899-915 | libs/agno/agno/db/valkey/valkey.py:3534-3549 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6472db5bdb7234b7ab6b615a63447551e295831540fef283cb09da8e42738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/valkey/valkey.py:1505-1521 | libs/agno/agno/db/valkey/valkey.py:3520-3536 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab38f9255e14cdb09aa42b5bdfa4a6f4bf2449f43771c7cb935051ac14298ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2631-2646 | libs/agno/agno/knowledge/knowledge.py:2817-2833 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"08585b6cb3cea4e2fac022bd25e77b9b0b0199d79b0564a1a39a06bea38232e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2707-2723 | libs/agno/agno/knowledge/knowledge.py:2891-2906 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:2707\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7223e281dc93a2c85de3aa74cfcda10ade87b3592c83f84c18539184f7d9c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3072-3088 | libs/agno/agno/knowledge/knowledge.py:3184-3200 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c00f5f9a74540147cadfa1923d6d88e46e044f80fd978a4da660163b26cda2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3484-3500 | libs/agno/agno/knowledge/knowledge.py:3679-3695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:3484\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"418317e22857c0354ef9b4e139a1fd15b89bddc4ce863742f5504ba841207613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4987-5003 | libs/agno/agno/knowledge/knowledge.py:5162-5178 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4987}}}],"partialFingerprints":{"codehealthFindingId/v1":"04199c187308160c24fbc530a7d0b96f7d8bd3735cc4801c5c58b6d2a0bf4eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/knowledge/loaders/azure_blob.py:272-288 | libs/agno/agno/knowledge/loaders/github.py:469-485 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/knowledge/loaders/github.py:486\u0060 calls \u0060BytesIO\u0060 and \u0060libs/agno/agno/knowledge/loaders/azure_blob.py:289\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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba7e6e05d753e01af3c583e79cecbfdeb892200db7acc6b5404b16efc191935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/knowledge/loaders/azure_blob.py:419-435 | libs/agno/agno/knowledge/loaders/github.py:628-644 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/knowledge/loaders/github.py:645\u0060 calls \u0060BytesIO\u0060 and \u0060libs/agno/agno/knowledge/loaders/azure_blob.py:436\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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e6dae09b1b97d22a83302b475ed7e2b6769046825d43cfe461a4d47153d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:1507-1523 | libs/agno/agno/learn/stores/entity_memory.py:1540-1556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:1507\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d84ca54e9cac800d3f4a3cae13021a6d783d65782a49f11c4a1347d1e73ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/models/base.py:2437-2453 | libs/agno/agno/models/base.py:2652-2668 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd207c2fcb3fc0d8ba431305966524fae21f195aac1d8be984c8d7fac51ccc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/models/cerebras/cerebras.py:291-307 | libs/agno/agno/models/cerebras/cerebras.py:361-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 \u0060libs/agno/agno/models/cerebras/cerebras.py:291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf495ad4b00a3b72f07a27ec1d18e5fed5e4dd32a6d120e780d6e93b8742bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2127-2143 | libs/agno/agno/os/routers/teams/router.py:1909-1925 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57edacfa7753b87b4e4224702c2b63dbb788cb7df945df63d2549d63ab87a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/os/routers/traces/traces.py:609-625 | libs/agno/agno/os/routers/traces/traces.py:747-763 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/traces/traces.py:609\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"596ac610f685bb22527b887361e6600725d7dab0f3e5d8242508b49a0a18a38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/scheduler/manager.py:194-210 | libs/agno/agno/scheduler/manager.py:444-460 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8f5c948218330ed5afa51d40eef6ea93b7525442e206caae658c272ce91867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:300-316 | libs/agno/agno/team/_default_tools.py:337-353 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42bc4d7bc8d04cdcf0b4ca438aa3f8810b5520896bce484ed862260219e2730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/team/_messages.py:578-593 | libs/agno/agno/team/_messages.py:828-844 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_messages.py:578\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_messages.py:845\u0060 calls \u0060getattr\u0060 and \u0060libs/agno/agno/team/_messages.py:594\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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd76ecacd96bf2e735f289b700975408b21cbe8683f5ce3ec17e0fe37f6af7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/team/_messages.py:1113-1129 | libs/agno/agno/team/_messages.py:1255-1271 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9463fd59c954091bc51d304fdc100c7280514fb8e4256d6173dbd6fcd2e485ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/team/_run.py:965-980 | libs/agno/agno/team/_run.py:1761-1777 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:965\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4d6c73877c1a3c81dcb3e0a6f68d4311f1f84ce604c7132932e4ab2d560ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/team/_run.py:7883-7899 | libs/agno/agno/team/_run.py:9680-9696 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:7883\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d722cc3fc9c1e59e9007413a92d382eb984e6f291401a38ccec72309088102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/team/_run.py:9765-9781 | libs/agno/agno/team/_run.py:10337-10353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:9765\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":9765}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfbb136cfd4ec6b72897f2536834c6e7605e327f7500c7433231d8676feb40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/team/_storage.py:1218-1234 | libs/agno/agno/workflow/workflow.py:1337-1353 \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 \u0060libs/agno/agno/team/_storage.py:1218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8108b4225847bd04ef49a8bccbbfaeac2932c4a06146fde4843ac8941259986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:889-905 | libs/agno/agno/team/_task_tools.py:1094-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e4b1e305bf9be0a13eac35fca4f2b22b1ddd66ef550b61b9d104c534173845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:978-994 | libs/agno/agno/team/_task_tools.py:1192-1205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_task_tools.py:1192\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb931eaeade17084be3b68f9f002314fa5fdab52bb116afa38cd8061a8f2ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/tools/parallel.py:510-526 | libs/agno/agno/tools/parallel.py:558-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. 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":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3342efb88540998b5b9d53af7c8a9355769bea947e3a326e0eeb4e874f3adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/tools/studio.py:3917-3933 | libs/agno/agno/tools/studio.py:4000-4016 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f147d4c2d3c0c00e92f8827f57e59c4b7dcad05868be4b359e6b4333c6c9b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/tools/workflow.py:149-165 | libs/agno/agno/tools/workflow.py:188-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/workflow.py:149\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/workflow.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f562af71b8027a7f9e271880649f1e6916a3da034934ceb30a2447f9ca5510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/utils/agent.py:96-112 | libs/agno/agno/utils/agent.py:161-177 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ab9af33ea8d7c37236daaae53ecfe85207efc218082279be2c61107c19bc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/vectordb/cassandra/cassandra.py:219-238 | libs/agno/agno/vectordb/cassandra/cassandra.py:291-310 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/cassandra/cassandra.py:218\u0060 calls \u0060embed\u0060 and \u0060libs/agno/agno/vectordb/cassandra/cassandra.py:290\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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32c7b756f2b793f81232e37b3b836c732cca49e1ea3081d63181bb61c628f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/vectordb/cassandra/cassandra.py:501-521 | libs/agno/agno/vectordb/cassandra/cassandra.py:636-652 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbcdc170ae9e94230a3600f5d1917c610decfda657d1106759f8230bc61bb25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:1059-1074 | libs/agno/agno/vectordb/lancedb/lance_db.py:1098-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. 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"46738a0de1ebda7c5f2c75e56a950124f42b113429b0ab7b802900d67f3dfab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201317 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:427-443 | libs/agno/agno/vectordb/pgvector/pgvector.py:482-492 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:494\u0060 calls \u0060_async_embed_documents\u0060, \u0060retrievable_documents\u0060 and \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:445\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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"8929779d2bff52bb2c00974f3056b3f3b7a93fbc1a302b1b899c8958dd791e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5857-5873 | libs/agno/agno/workflow/workflow.py:6264-6278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:5857\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:6279\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/workflow.py:5874\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5857}}}],"partialFingerprints":{"codehealthFindingId/v1":"0757bb0f970816dbee427cb363d5a0a83b49d75afabc177407b001b7d7523dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5913-5929 | libs/agno/agno/workflow/workflow.py:6327-6342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:5913\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:6326\u0060 calls \u0060_broadcast_to_websocket\u0060 and \u0060libs/agno/agno/workflow/workflow.py:5913\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5913}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4d89c782083fc1898c529fbcbd8a3627c2aff0b7380d46cb19ca44236cc822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:8584-8600 | libs/agno/agno/workflow/workflow.py:10351-10367 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:8580\u0060 calls \u0060cleanup_run\u0060, \u0060cleanup_member_runs\u0060 and \u0060libs/agno/agno/workflow/workflow.py:10348\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8584}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb9d7bbd8e0c48a0bc4f98d3e90a6bcccedfc1c1c961331a0b0c0059eedd285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:11146-11162 | libs/agno/agno/workflow/workflow.py:11222-11238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:11146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eb07271404e13c4d3114ae318ed8ad5142293c91d330c6a77cfbf375ecfca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno_infra/agno/docker/resources.py:156-172 | libs/agno_infra/agno/docker/resources.py:478-494 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0318cfb3ce7a67d105b623b7755f967d6a6ee00fbec9b89012d185fe3c980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 23): libs/agno/agno/agent/_cli.py:121-136 | libs/agno/agno/agent/_cli.py:221-236 | libs/agno/agno/agent/_run.py:4414-4429 | libs/agno/agno/agent/agent.py:1328-1343 | libs/agno/agno/agent/agent.py:1386-1401 | libs/agno/agno/agent/agent.py:1558-1573 | libs/agno/agno/agent/agent.py:1667-1682 | libs/agno/agno/agent/agent.py:1751-1766 | libs/agno/agno/agent/agent.py:1837-1852 | libs/agno/agno/agent/remote.py:320-335 | libs/agno/agno/agent/remote.py:343-358 | libs/agno/agno/team/_cli.py:140-155 | libs/agno/agno/team/_cli.py:246-261 | libs/agno/agno/team/_run.py:9406-9421 | libs/agno/agno/team/remote.py:313-328 | libs/agno/agno/team/remote.py:336-351 | libs/agno/agno/team/team.py:952-967 | libs/agno/agno/team/team.py:1062-1077 | libs/agno/agno/team/team.py:1151-1166 | libs/agno/agno/team/team.py:1238-1253 | libs/agno/agno/team/team.py:1327-1342 | libs/agno/agno/team/team.py:1387-1402 | libs/agno/agno/workflow/workflow.py:10877-10892 \u2014 \u0060libs/agno/agno/agent/_cli.py\u0060 and \u0060libs/agno/agno/team/_cli.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 101 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_cli.py:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"076163b05746a4cb51577bb2513a812661f2ae7091483609a78679fed37940e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 14): libs/agno/agno/db/dynamo/dynamo.py:2808-2821 | libs/agno/agno/db/firestore/firestore.py:2518-2531 | libs/agno/agno/db/mongo/async_mongo.py:2774-2787 | libs/agno/agno/db/mongo/mongo.py:2537-2550 | libs/agno/agno/db/mysql/async_mysql.py:3067-3082 | libs/agno/agno/db/mysql/mysql.py:3013-3028 | libs/agno/agno/db/postgres/async_postgres.py:3311-3326 | libs/agno/agno/db/postgres/postgres.py:3837-3852 | libs/agno/agno/db/redis/redis.py:2483-2496 | libs/agno/agno/db/singlestore/singlestore.py:3008-3021 | libs/agno/agno/db/sqlite/async_sqlite.py:3551-3566 | libs/agno/agno/db/sqlite/sqlite.py:3771-3786 | libs/agno/agno/db/surrealdb/surrealdb.py:2096-2109 | libs/agno/agno/db/valkey/valkey.py:2822-2835 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaedc5ffa6bbc944565932d733d2b325e455ab07dadb9b76c5a6bc00be94089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 8): libs/agno/agno/workflow/workflow.py:3554-3569 | libs/agno/agno/workflow/workflow.py:4594-4609 | libs/agno/agno/workflow/workflow.py:8059-8069 | libs/agno/agno/workflow/workflow.py:8163-8175 | libs/agno/agno/workflow/workflow.py:8394-8405 | libs/agno/agno/workflow/workflow.py:9821-9831 | libs/agno/agno/workflow/workflow.py:9926-9938 | libs/agno/agno/workflow/workflow.py:10157-10168 \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 \u0060libs/agno/agno/workflow/workflow.py:3554\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:4612\u0060 calls \u0060RunCancelledException\u0060 and \u0060libs/agno/agno/workflow/workflow.py:3571\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80d9ac00de6029814962c20a8f4a8404bce13de45bc39331d71d514bc5743a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:867-882 | libs/agno/agno/db/mysql/mysql.py:862-877 | libs/agno/agno/db/postgres/async_postgres.py:1250-1265 | libs/agno/agno/db/postgres/postgres.py:1404-1419 | libs/agno/agno/db/singlestore/singlestore.py:908-923 | libs/agno/agno/db/sqlite/async_sqlite.py:1205-1220 | libs/agno/agno/db/sqlite/sqlite.py:1400-1415 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d687efc88b79d2e2a38a1d3d8d11a6a4646944c2f4bc0cebff47cebd022eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3324-3339 | libs/agno/agno/db/mysql/mysql.py:3264-3279 | libs/agno/agno/db/postgres/async_postgres.py:3579-3594 | libs/agno/agno/db/postgres/postgres.py:4100-4115 | libs/agno/agno/db/singlestore/singlestore.py:3257-3272 | libs/agno/agno/db/sqlite/async_sqlite.py:3818-3833 | libs/agno/agno/db/sqlite/sqlite.py:4034-4049 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3324}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f96f556be6af58f3e9c18aaaff6fda9daeed0be401c794da0955df52246fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:4116-4131 | libs/agno/agno/db/mysql/mysql.py:4057-4072 | libs/agno/agno/db/postgres/async_postgres.py:4399-4414 | libs/agno/agno/db/postgres/postgres.py:4935-4950 | libs/agno/agno/db/singlestore/singlestore.py:3962-3977 | libs/agno/agno/db/sqlite/async_sqlite.py:4603-4618 | libs/agno/agno/db/sqlite/sqlite.py:4758-4773 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b214fe553e606a21a4e0a9a93fad0bb6a921b5bef4e6b246242a91dd16ed59ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): libs/agno/agno/workflow/workflow.py:3459-3474 | libs/agno/agno/workflow/workflow.py:8037-8052 | libs/agno/agno/workflow/workflow.py:8142-8157 | libs/agno/agno/workflow/workflow.py:8305-8320 | libs/agno/agno/workflow/workflow.py:9799-9814 | libs/agno/agno/workflow/workflow.py:9905-9920 | libs/agno/agno/workflow/workflow.py:10068-10083 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d26452ea27c226b0a0dec8758bee18ccd8bd5d53f6f9b50b233516233817b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 6): libs/agno/agno/db/migrations/versions/v2_5_0.py:429-444 | libs/agno/agno/db/migrations/versions/v2_5_0.py:752-767 | libs/agno/agno/db/migrations/versions/v2_5_6.py:358-373 | libs/agno/agno/db/migrations/versions/v2_5_6.py:679-694 | libs/agno/agno/db/migrations/versions/v3_0_0.py:827-841 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1044-1058 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0131ff455ca55e6b6370537c417c1139bc1026976d9350d0d9565a7843c00ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): libs/agno/agno/db/mongo/async_mongo.py:1562-1578 | libs/agno/agno/db/mongo/mongo.py:1374-1390 | libs/agno/agno/db/mysql/async_mysql.py:1698-1713 | libs/agno/agno/db/mysql/mysql.py:1702-1717 | libs/agno/agno/db/sqlite/async_sqlite.py:2255-2270 | libs/agno/agno/db/sqlite/sqlite.py:2523-2538 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1562\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d12292f192d7a7f9d8efcef4da211dd7f7a0bd820f94544a50412aef4746117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 5): libs/agno/agno/agent/_run.py:1939-1953 | libs/agno/agno/agent/_run.py:2694-2709 | libs/agno/agno/team/_run.py:3030-3043 | libs/agno/agno/team/_run.py:3435-3449 | libs/agno/agno/team/_run.py:4116-4130 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eba02879e210e5db750acc364df74e987e050f74807b065bff7ca8f43f7721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:301-312 | libs/agno/agno/db/mysql/mysql.py:296-307 | libs/agno/agno/db/postgres/async_postgres.py:473-484 | libs/agno/agno/db/singlestore/singlestore.py:366-381 | libs/agno/agno/db/sqlite/async_sqlite.py:457-468 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caede01a320dddddb1763e88eb8ba63b2d117e7a3f25959f18df13a1118b5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): libs/agno/agno/db/postgres/async_postgres.py:281-296 | libs/agno/agno/db/postgres/postgres.py:320-335 | libs/agno/agno/db/sqlite/async_sqlite.py:218-233 | libs/agno/agno/db/sqlite/sqlite.py:268-283 | libs/agno/agno/tools/studio.py:2508-2523 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cad38bdf399b06bbd4f5bc3ab2885020a776c9d2708a6747b1de43412c0655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): libs/agno/agno/os/routers/metrics/metrics.py:1163-1178 | libs/agno/agno/os/routers/metrics/metrics.py:1291-1306 | libs/agno/agno/os/routers/metrics/metrics.py:1529-1544 | libs/agno/agno/os/routers/metrics/metrics.py:1669-1684 | libs/agno/agno/os/routers/metrics/metrics.py:1845-1860 \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 \u0060libs/agno/agno/os/routers/metrics/metrics.py:1163\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/metrics/metrics.py:1179\u0060 calls \u0060_previous_starting_date\u0060 and \u0060libs/agno/agno/os/routers/metrics/metrics.py:1862\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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd5f9d85e99be917597f4ddd552a8615e495b717ca49f09ac14dd69092aa708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): libs/agno/agno/utils/print_response/team.py:643-658 | libs/agno/agno/utils/print_response/team.py:880-894 | libs/agno/agno/utils/print_response/team.py:1574-1589 | libs/agno/agno/utils/print_response/team.py:1727-1741 | libs/agno/agno/utils/print_response/team.py:1829-1843 \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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b21ca530f2a960151d4f666d3bc232d38dd88cf6abf24d0a8b3ebd24178b3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): libs/agno/agno/workflow/condition.py:566-581 | libs/agno/agno/workflow/loop.py:471-486 | libs/agno/agno/workflow/parallel.py:356-371 | libs/agno/agno/workflow/router.py:670-685 | libs/agno/agno/workflow/steps.py:285-300 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7edce1db6ea5d358b3082f0481a986fffb0375c051d00e35470fd7171668763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): libs/agno/agno/workflow/condition.py:871-886 | libs/agno/agno/workflow/condition.py:1325-1340 | libs/agno/agno/workflow/router.py:726-741 | libs/agno/agno/workflow/router.py:900-915 | libs/agno/agno/workflow/router.py:1241-1256 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1663dfc22b1fa3d74a4bde85cd2a39482c4015582474b09848c11cab7d8cd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): libs/agno/agno/workflow/condition.py:1021-1036 | libs/agno/agno/workflow/loop.py:869-884 | libs/agno/agno/workflow/parallel.py:724-739 | libs/agno/agno/workflow/router.py:1004-1019 | libs/agno/agno/workflow/steps.py:591-606 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca01e85a3a5e927b83997b5c96be63825392f0397ab973903f1da5393d624ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1082-1097 | libs/agno/agno/agent/_messages.py:1379-1394 | libs/agno/agno/team/_messages.py:545-560 | libs/agno/agno/team/_messages.py:799-814 \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 \u0060libs/agno/agno/agent/_messages.py:1082\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6334aa62dda379d830b2e26b0721b580e8bb98e7f2d3587b629643a1b5d33040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/agent/_run.py:1432-1447 | libs/agno/agno/agent/_run.py:2824-2839 | libs/agno/agno/team/_run.py:2031-2046 | libs/agno/agno/team/_run.py:4231-4246 \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 \u0060libs/agno/agno/agent/_run.py:1432\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aee2feb819b6dbd7dedada7df99783f8ba167e218a57d3d37deb645800bf5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:272-287 | libs/agno/agno/db/postgres/postgres.py:485-500 | libs/agno/agno/db/singlestore/singlestore.py:342-357 | libs/agno/agno/db/sqlite/sqlite.py:495-510 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"52705e62100e74ffe5f3984b0fe34e30763864c8a94678cd200afa54a1de4225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2724-2739 | libs/agno/agno/db/postgres/postgres.py:3546-3561 | libs/agno/agno/db/singlestore/singlestore.py:2723-2738 | libs/agno/agno/db/sqlite/sqlite.py:3484-3499 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2724\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/mysql/mysql.py:2718\u0060 calls \u0060connection\u0060, \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:3544\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"90afa399208ebd75fad4a48f41929343e862d4f5486e23479714e6bde634356c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3369-3384 | libs/agno/agno/db/postgres/postgres.py:4205-4220 | libs/agno/agno/db/singlestore/singlestore.py:3360-3375 | libs/agno/agno/db/sqlite/sqlite.py:4141-4156 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8da0fe931d9d8763c000cb529c955609d0178279bc19c9cac0b5632449c1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3625-3643 | libs/agno/agno/db/postgres/postgres.py:4470-4485 | libs/agno/agno/db/singlestore/singlestore.py:3613-3628 | libs/agno/agno/db/sqlite/sqlite.py:4398-4413 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3625}}}],"partialFingerprints":{"codehealthFindingId/v1":"848acfc24cd713a41b58dddc45ce133d42fd3866ab0b8c74c5e8aba2de230ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5897-5912 | libs/agno/agno/db/postgres/postgres.py:8638-8653 | libs/agno/agno/db/sqlite/async_sqlite.py:6039-6054 | libs/agno/agno/db/sqlite/sqlite.py:8442-8457 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5897}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffcaf11e206fe0201af355cf7415fb9654d2c15a6c8fd4a7e3e95c6622d620d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5982-5997 | libs/agno/agno/db/postgres/postgres.py:8719-8734 | libs/agno/agno/db/sqlite/async_sqlite.py:6124-6139 | libs/agno/agno/db/sqlite/sqlite.py:8523-8538 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5982}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058b045e01cea6f846010aa989706047d248d90d3a899eda999cea334f7f860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/knowledge/embedder/google.py:74-89 | libs/agno/agno/knowledge/embedder/google.py:130-145 | libs/agno/agno/knowledge/embedder/google.py:161-176 | libs/agno/agno/knowledge/embedder/google.py:213-228 \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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c5e64ee679044266f1536d556df2ec059563af198a3683d7b0d03c9d17e15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/session/agent.py:247-262 | libs/agno/agno/session/team.py:258-273 | libs/agno/agno/session/workflow.py:318-333 | libs/agno/agno/session/workflow.py:430-445 \u2014 before extracting anything, compare \u0060libs/agno/agno/session/agent.py\u0060 and \u0060libs/agno/agno/session/team.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9f249ecc4ba11c49647d8c4d36f62c00a57628460abde0e5e64cc2eb58e463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/team/_run.py:2700-2715 | libs/agno/agno/team/_run.py:3831-3846 | libs/agno/agno/team/_run.py:10245-10260 | libs/agno/agno/team/_run.py:10365-10380 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9944686a3873b8a40e2781e47498ced0644afaf06cbd5a808166cced77bd23e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/vectordb/surrealdb/surrealdb.py:401-416 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:445-460 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:779-794 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:823-838 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/surrealdb/surrealdb.py:839\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/vectordb/surrealdb/surrealdb.py:461\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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"695fbf75c23bab4d542223ad960bedfac3f0b00428f23a7691075996653bbf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/workflow/step.py:1172-1187 | libs/agno/agno/workflow/step.py:1500-1515 | libs/agno/agno/workflow/step.py:1858-1873 | libs/agno/agno/workflow/step.py:2164-2179 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/workflow/step.py:1854\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/step.py:1167\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab52b8eb3491df4b7878bd3a7db1c85352d63e052c57dfe428ae7b488eb145ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): libs/agno/agno/workflow/step.py:2951-2966 | libs/agno/agno/workflow/step.py:3072-3087 | libs/agno/agno/workflow/step.py:3228-3243 | libs/agno/agno/workflow/step.py:3349-3364 \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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae07fd71275e070a63a2ae9b7343e3038b7c82e3c684d9d0a5456577f8a382f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7192-7207 | libs/agno/agno/workflow/workflow.py:8096-8110 | libs/agno/agno/workflow/workflow.py:9255-9269 | libs/agno/agno/workflow/workflow.py:9858-9872 \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. 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e85ad89b5d6c4082a038f001bd05d9fa5d0e6da5da5f6546ddfdd97b72d254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): libs/agno_infra/agno/aws/resource/ec2/security_group.py:356-371 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:447-462 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:491-506 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:573-587 \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 \u0060libs/agno_infra/agno/aws/resource/ec2/security_group.py:356\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a77e57f3441288a4859b6bcd7f5b560ee8ba185157da9168da9f59d0679ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): cookbook/environments/_22_sql_generation/basic.py:24-39 | cookbook/environments/_22_sql_generation/joins.py:23-38 | cookbook/environments/_22_sql_generation/window_functions.py:24-39 \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":"cookbook/environments/_22_sql_generation/basic.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb2a9620146f184799a846b356ced2d86803c928d1c567f12f6f6f283764aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/agent/_run.py:505-520 | libs/agno/agno/agent/_run.py:1656-1671 | libs/agno/agno/agent/_run.py:2273-2288 \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 \u0060libs/agno/agno/agent/_run.py:505\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae69881f9bf791ba842bfe839886d67cc46eb06176954e1453d585ce34e6ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/agent/_run.py:1364-1379 | libs/agno/agno/agent/_run.py:2747-2762 | libs/agno/agno/team/_run.py:4190-4205 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5e497f553fa4679b0f64c81426b4ab5468c3fe42e1cf56417de4f700598e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/agent/_run.py:3546-3561 | libs/agno/agno/agent/_run.py:4891-4907 | libs/agno/agno/agent/_run.py:5414-5430 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3546}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5afbe4a83316da0e7e20cb1e73ce3afe885b7ed7e34901fbcb48ffbcd1c1603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): libs/agno/agno/agent/_tools.py:929-944 | libs/agno/agno/agent/_tools.py:1045-1060 | libs/agno/agno/team/_response.py:1620-1634 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_tools.py:929\u0060 it does not close everything it opens, so those exact 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060agent\u0060 to \u0060\u0022Agent\u0022\u0060 in one and \u0060Agent\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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d275a4f04d7c7da71399660ae71004f972cf94863f0e235aa24419e09c4d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/db/dynamo/dynamo.py:2761-2776 | libs/agno/agno/db/mongo/mongo.py:2503-2518 | libs/agno/agno/db/surrealdb/surrealdb.py:2042-2057 \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 \u0060libs/agno/agno/db/dynamo/dynamo.py:2761\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2761}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd10ed9f8369a1a0a4f36d1538be7620575b739fa3214d7955ad1e2af657bdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1938-1953 | libs/agno/agno/db/in_memory/in_memory_db.py:1652-1667 | libs/agno/agno/db/json/json_db.py:2060-2075 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1938\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce58e6429428ca841359a8ff3b1c34f98175bb238fe4799d9ceb6840505b1ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:647-662 | libs/agno/agno/db/mysql/mysql.py:643-658 | libs/agno/agno/db/singlestore/singlestore.py:720-735 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:663\u0060 calls \u0060execute\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:659\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cf6baac3bac4ae0adddec26572d65d6c1e97ab5379e06dd4b2688646de59c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1492-1507 | libs/agno/agno/db/mysql/mysql.py:1499-1514 | libs/agno/agno/db/singlestore/singlestore.py:1540-1555 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1492\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec05bb598140077ee5d1624ced5cc6e2b2b13ca2574be02b00c31e0c77b7202f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2526-2541 | libs/agno/agno/db/postgres/async_postgres.py:2778-2793 | libs/agno/agno/db/sqlite/async_sqlite.py:3016-3031 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cef97ffb25ec7a3bc177969b8dfacbfa9215251fed5405a6e267f7fc477eb63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/learn/stores/learned_knowledge.py:1368-1383 | libs/agno/agno/learn/stores/user_memory.py:954-969 | libs/agno/agno/learn/stores/user_profile.py:1008-1023 \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, \u0060libs/agno/agno/learn/stores/user_memory.py:970\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/learn/stores/learned_knowledge.py:1384\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":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7f8ebcc1a68a4eb33d69a7c5a0d3e87cf17f51df61abc5c1f14abf09469f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/learn/stores/session_context.py:552-573 | libs/agno/agno/learn/stores/user_memory.py:783-798 | libs/agno/agno/learn/stores/user_profile.py:865-880 \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 \u0060libs/agno/agno/learn/stores/session_context.py:552\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/learn/stores/user_memory.py:781\u0060 calls \u0060_build_functions_for_model\u0060 and \u0060libs/agno/agno/learn/stores/session_context.py:552\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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a9632762181f7d92769ce3d8c1ef098a42ecec6030783a2b707115ab826611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:2316-2333 | libs/agno/agno/os/routers/teams/router.py:2130-2145 | libs/agno/agno/os/routers/workflows/router.py:2821-2836 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2316\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"164ec8ea2980f0d44c22e2dd55b2bde8cde4fe58c04067ab6e0f60d9221f9e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/team/_run.py:1008-1023 | libs/agno/agno/team/_run.py:1808-1823 | libs/agno/agno/team/_run.py:8663-8678 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"42949cde2bf839bf4d1e7b364075d85492c4f4abba28dc98150132dfc712fb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/tools/google/gmail.py:903-918 | libs/agno/agno/tools/google/gmail.py:922-937 | libs/agno/agno/tools/google/gmail.py:941-956 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ce11e03f892198552b76780d5787b5577e27f04fd5283ce7d0706bf549b716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): libs/agno/agno/utils/agent.py:1148-1163 | libs/agno/agno/utils/agent.py:1177-1191 | libs/agno/agno/workflow/workflow.py:11379-11394 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/utils/agent.py:1148\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bb22c44b4e0873aac8b1d2c66ad2cb1a3b0c4a1b57b8693c6dcb2b15dd616a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:7941-7956 | libs/agno/agno/workflow/workflow.py:8196-8213 | libs/agno/agno/workflow/workflow.py:9959-9976 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/workflow/workflow.py:7957\u0060 calls \u0060_check_failed_step\u0060 and \u0060libs/agno/agno/workflow/workflow.py:8215\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7941}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa6219d4a5bbf878536c595a15b2229c7897cbd43ad62041e218b7c28377bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py:103-118 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py:88-101 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py\u0060 and \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8edb982d8291396f77a89b565ee7b914424e35dc0b17142bc94abe38a03b196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:155-170 | cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py:235-250 \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 \u0060cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py: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":"cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fb8901a792cf7a2c8fe7439f243ecddba595956b003eb5fad0ea58b5680a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_cli.py:251-266 | libs/agno/agno/team/_cli.py:274-289 \u2014 \u0060libs/agno/agno/agent/_cli.py\u0060 and \u0060libs/agno/agno/team/_cli.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 101 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab876a50eb3407900f80d3dc171ddc078e5b1139de28c26981d7d9c555fd59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_messages.py:376-391 | libs/agno/agno/agent/_messages.py:413-428 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2763cfbbe128d14ad29385b033307476bfa8f38fc625beeb8aa8608e0b1885c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_messages.py:752-767 | libs/agno/agno/agent/_messages.py:825-840 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c10c7c4aebcb57a8c95b8a27a60544d5a9f8088acb2136ef1b028b97b41c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_response.py:1042-1057 | libs/agno/agno/agent/_response.py:1206-1221 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"2010b8ed6e4d93085ffa85fa54c6dfee24bf6d88c07e40e3ca198ab8933d4a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_run.py:163-178 | libs/agno/agno/agent/_run.py:208-223 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66baedbb35c1c66d977d6151468d969cf34b37eef1a26728dcfb01f429e3a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): libs/agno/agno/agent/_run.py:6076-6091 | libs/agno/agno/agent/_run.py:6117-6128 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6076}}}],"partialFingerprints":{"codehealthFindingId/v1":"3858ce5cd04126bf1efe2e9e549737ba55b34b493558382fc91ce7fccdbf1b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_run.py:6636-6652 | libs/agno/agno/team/_run.py:7450-7465 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6636}}}],"partialFingerprints":{"codehealthFindingId/v1":"95447b1389932782a34cea3a6de214a23d435f164ff41e0f7537e179b20f3bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_storage.py:829-844 | libs/agno/agno/team/_storage.py:532-547 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba76d59baca87b9325fe9bd786861612a5cd2cee0d4d8f85a7beaecda0ca6699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agents/codex/agent.py:767-782 | libs/agno/agno/agents/codex/agent.py:793-808 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"3557a9803db9091058f2f7cd4ff1693f41e988afa4506927262c3aedfb0d37a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/company/manager.py:580-595 | libs/agno/agno/company/manager.py:1551-1566 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdfcb72a91c9e3c9d99cf9a42ff06a95ec464504a0088ca65c1c314abdab66c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2357-2372 | libs/agno/agno/db/json/json_db.py:2515-2530 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d96fdf82ad6787d98741729c39109295138dfab587300ec742584640df699e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2740-2755 | libs/agno/agno/db/json/json_db.py:2889-2904 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf33897b771be1fb0feba7bfc84a4778f87a9bbd98867aa91172fe94b9bc2527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:2089-2104 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2155-2170 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ba677ab8e0fb1b529cb52528d062eb67c595c94e5cbabc78f572569e6be405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1429-1444 | libs/agno/agno/db/mongo/mongo.py:1240-1255 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1429\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7209a7ed96c4052bb70dc9d6bbecdbff6386e9c526d3ce04d51e02847f774a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2580-2594 | libs/agno/agno/db/mongo/mongo.py:2348-2363 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2580\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"1083dd3c75b8febc852cff1b442ccbe5475a12cc52bea7cf9d1016181e54d037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:4446-4461 | libs/agno/agno/db/singlestore/singlestore.py:4362-4377 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45009ecd1a7e11c5ecc3ecfff80b60543de2e9812543dce8fa88d0a01a3e1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:515-529 | libs/agno/agno/db/postgres/postgres.py:609-624 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57260a1045f33f2360a529868ce3543779aac9730541ab09d4d2a88ca750ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:948-963 | libs/agno/agno/db/postgres/postgres.py:1105-1120 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:948\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef566b85e5b945053630c0aee1759f18e7197c1c44aa24d0e3d54c1288d2961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1074-1089 | libs/agno/agno/db/sqlite/async_sqlite.py:1029-1044 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"da96f22b09fb9c8892b0c1dd79fbfa78ee86723e077a957c871f77842716015b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1878-1893 | libs/agno/agno/db/postgres/postgres.py:2113-2128 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:1878\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0e0aa212a0fec9ee7e3048ba479aef062ffc85aab4d2dd17d66a47afd3f6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7669-7684 | libs/agno/agno/db/sqlite/async_sqlite.py:6883-6898 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7669}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e50d095956a0a0bcfc8b8534ad34985d8ec951eb13e061549d3c7ba47da4764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8143-8158 | libs/agno/agno/db/sqlite/async_sqlite.py:7357-7372 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8143}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d3d192fea0fe09d701b81fd17ba3cbb293775a33fcaca5fa59fe3434287c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1226-1241 | libs/agno/agno/db/sqlite/sqlite.py:1219-1234 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ef176f522ae414617de6debdb02d0d90d954497a71e32078b9296913f1f4a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9729-9744 | libs/agno/agno/db/sqlite/sqlite.py:8673-8688 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a464641784251adf31bcd17f37cface2f354642e75b2cf9048d79028a85650f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9950-9965 | libs/agno/agno/db/sqlite/sqlite.py:8894-8909 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a78de2dc0a27f84f3ea38b9901e17c03c2e726269e35828e2121068c0bdd93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10414-10430 | libs/agno/agno/db/sqlite/sqlite.py:9355-9371 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10414}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0411c9e511f57e6526106c1ae03b8236c9be1068199252011a69853ee0765b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10623-10638 | libs/agno/agno/db/sqlite/sqlite.py:9564-9579 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10623}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ae90db8af8c52d610d03dcf3a92f5f3293c02fe280d272a4f4a5c7330bb64e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10876-10891 | libs/agno/agno/db/sqlite/sqlite.py:9817-9832 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10876}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac518aa51e705fe722608751c6ceb0655b7e371357994f99e4eb009c043c44c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8425-8428 | libs/agno/agno/db/postgres/postgres.py:11138-11153 | libs/agno/agno/db/sqlite/async_sqlite.py:7639-7642 | libs/agno/agno/db/sqlite/sqlite.py:10079-10094 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8425}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e859a689eec700eaf7ef9b94746513325e82d7eab7dc0aeb3559ca7584579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1933-1948 | libs/agno/agno/db/valkey/valkey.py:2266-2281 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1933}}}],"partialFingerprints":{"codehealthFindingId/v1":"787b4b0202f038bf82611fed5d5851a5a9f07e313f2a883dd66047bce6baf56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2197-2212 | libs/agno/agno/db/valkey/valkey.py:2529-2544 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e210403fd16f1a5d11667476d6415db13cf742ed98bb926f3689b20ae76558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2546-2561 | libs/agno/agno/db/valkey/valkey.py:2885-2900 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3762b41ba9dfc16bac0411849844f0f9d8fef9e1851fd78656e57dbb091dd670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1135-1150 | libs/agno/agno/db/sqlite/sqlite.py:1330-1345 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"021c97568cf9b2cf9e5c843418ff50b31beee1d5b3abeee14f7a4ab3ea245be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/eval/performance.py:117-132 | libs/agno/agno/eval/performance.py:162-177 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dce2e0eae64363f3a4cd083e8e3abd7355020dfa44162eac79d595a038dfdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/fs/fs.py:509-524 | libs/agno/agno/fs/fs.py:713-728 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8456ab95a8ccedb02e442c31de59f3250693d37b17417460dbd41e8b9d520a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:439-454 | libs/agno/agno/fs/toolkit.py:840-855 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f97cf1a3044a70055c49bebc8f772ecd53d41a3674bc1c643c4e92d36cd489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): libs/agno/agno/knowledge/chunking/document.py:85-98 | libs/agno/agno/knowledge/chunking/markdown.py:275-290 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/chunking/document.py\u0060 and \u0060libs/agno/agno/knowledge/chunking/markdown.py\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 \u0060libs/agno/agno/knowledge/chunking/document.py:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6ca94102ac5fbae4005b78650132c9572f355a39dd95eda4b746b1f0b0ac03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/knowledge/embedder/jina.py:84-102 | libs/agno/agno/knowledge/embedder/jina.py:123-141 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/jina.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"398d5c21de11b67b56589d38d9b598c9374b050ab96d1544025425f47e2360ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201316 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2977-2992 | libs/agno/agno/knowledge/knowledge.py:3100-3108 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8335bd1e2a98d468448c353c86a5045b73b9838a0f7715a964e173be4e501a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:476-491 | libs/agno/agno/learn/stores/entity_memory.py:526-537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:476\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"963ea907b0598dbc9f0e2d2abd5f14afa814045334c0621051b5f6787f84f280"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:3528-3543 | libs/agno/agno/learn/stores/entity_memory.py:3582-3597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:3528\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00b5da54738f6e3084fd3ae00e945bcf079a7d2e752525bf696f056f7247bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/learn/stores/learned_knowledge.py:1135-1150 | libs/agno/agno/learn/stores/learned_knowledge.py:1187-1202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/learned_knowledge.py:1135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8457f07ef54f03d5caa0d67f60873c9454761730be02c07e77922dcdeba3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:565-580 | libs/agno/agno/learn/stores/session_context.py:635-650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/session_context.py:565\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda74c188841a45af7a63f6e5e3994c7a045745f1112a506af37ff031a9160f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:790-805 | libs/agno/agno/learn/stores/user_memory.py:853-868 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/user_memory.py:790\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"de336f2c3154d8cf34060aa235048dfdd125b189ff80d5a94213c8c5e1b2fab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/learn/stores/user_profile.py:872-887 | libs/agno/agno/learn/stores/user_profile.py:932-947 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/user_profile.py:872\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/user_profile.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fa8f729115c6ecf6160481a481fbc85b8680bb7f0727bceb921ffd417dcf01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 3): libs/agno/agno/media/storage/gcs/gcs.py:103-106 | libs/agno/agno/media/storage/s3/async_s3.py:80-95 | libs/agno/agno/media/storage/s3/s3.py:82-97 \u2014 before extracting anything, compare \u0060libs/agno/agno/media/storage/s3/async_s3.py\u0060 and \u0060libs/agno/agno/media/storage/s3/s3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/agno/agno/media/storage/gcs/gcs.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb25f4644f6e206d6d5bd41ac556c6b4ef44c7c3bc1dbfed77320814c5c2f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/memory/manager.py:1103-1118 | libs/agno/agno/memory/manager.py:1188-1203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/memory/manager.py:1103\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcd9a50080cf6ff239682cd0c098ee155576bf0a1214d1bbc0a194c4a5c36a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/memory/manager.py:1369-1384 | libs/agno/agno/memory/manager.py:1493-1508 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: \u0060UserMemory\u0060 names \u0060agno.db.base\u0060 in one and \u0060agno.db.schemas\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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dbb377609204d39f87dc7f32e80b4000ba3e1fb43e173bd52747664bd7f7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/memory/manager.py:1401-1416 | libs/agno/agno/memory/manager.py:1538-1553 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: \u0060UserMemory\u0060 names \u0060agno.db.base\u0060 in one and \u0060agno.db.schemas\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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5f4f93d2effdc3d3904b645265e04287583cec9237c087403eb25ac07c8f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/models/groq/groq.py:296-311 | libs/agno/agno/models/groq/groq.py:338-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/groq/groq.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. 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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e14ae249447655bbcda418254dd7af4adc72060d8865642876298f0f9d31beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/models/mistral/mistral.py:217-232 | libs/agno/agno/models/mistral/mistral.py:287-301 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/mistral/mistral.py:217\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b180209231567a0f0b7de6e898577f371b577bd38171cba4c6f593c3c71f043d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): libs/agno/agno/os/authz/_role_store.py:513-528 | libs/agno/agno/os/authz/_role_store.py:1019-1031 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d75af95636b3839233cc59b74dd5f0eca885a2c3b138facfa243bafe00d2f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1029-1044 | libs/agno/agno/os/routers/teams/router.py:901-916 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1029\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c23cd3345872d43e7d798a74d16eea4ae351ba0da7be132b09b806afba36e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1812-1827 | libs/agno/agno/os/routers/teams/router.py:1681-1696 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1812\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e23f1729f6e6b2e9680f3825f9753513d57bcd4935b2f0bea9551eb014d5def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/os/routers/evals/utils.py:161-176 | libs/agno/agno/os/routers/evals/utils.py:221-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/evals/utils.py: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. 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":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"402c683e119fdbf1c053ca470d5090b78b9365d3e35629cf336fcf55b39f7f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/os/routers/knowledge/knowledge.py:226-241 | libs/agno/agno/os/routers/knowledge/knowledge.py:392-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/knowledge/knowledge.py:226\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec1283a60b7cb4b6c1b26ff6a29aa3f7ea03da5ae31c01303dd7a3323a713bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201316 lines \u00D7 2): libs/agno/agno/os/routers/knowledge/knowledge.py:670-678 | libs/agno/agno/os/routers/knowledge/knowledge.py:711-726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/knowledge/knowledge.py:670\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/knowledge/knowledge.py:727\u0060 calls \u0060get_scoped_user_id\u0060 and \u0060libs/agno/agno/os/routers/knowledge/knowledge.py:679\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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbcadaceaa22871b2a8f75f385463ac321ca42da8b1a1984e6089502e307c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/os/routers/knowledge/knowledge.py:966-981 | libs/agno/agno/os/routers/knowledge/schemas.py:44-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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e263bb3f9d4276be3026945760eec72b266ad760988c4599d2dc8dd3ed20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/reasoning/manager.py:276-291 | libs/agno/agno/reasoning/manager.py:358-373 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c037384acbf39913d7c082c6ab452ad75aede5426f601da73b6c6ac4653a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/run/agent.py:972-987 | libs/agno/agno/run/team.py:1004-1018 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"519cf111b674cc07cacb47ddac48b8a2a951fd64a6101126c563fa3cf1168e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:842-857 | libs/agno/agno/team/_default_tools.py:1026-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 \u0060libs/agno/agno/team/_default_tools.py:1026\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1195bb814916d2ad62a3daa1041ac5f7fdb4a90f5369e11c9fb9b2f6b67d7abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:1784-1799 | libs/agno/agno/team/_default_tools.py:1887-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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"58150829142f0e73b9a5bd4d3597e17e30233b951fb41232c91b37209e357e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/team/_run.py:948-963 | libs/agno/agno/team/_run.py:1743-1759 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:948\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060libs/agno/agno/team/_run.py:1741\u0060 calls \u0060merge_background_metrics\u0060, \u0060collect_background_metrics\u0060 and \u0060libs/agno/agno/team/_run.py:947\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe06d2654fb02f6bba6a42d49b301262603ce947a1e85ea606c7fefad2ca32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/team/_run.py:1993-2008 | libs/agno/agno/team/_run.py:9304-9319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:1993\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_run.py:9323\u0060 calls \u0060RunContext\u0060 and \u0060libs/agno/agno/team/_run.py:2009\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"e739de47f6b2a6e2c8bfd119672bd76f71b454438e0700becdb69cdbd453adab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/team/_run.py:5446-5460 | libs/agno/agno/team/_run.py:5513-5528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:5446\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":5446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2ecb454872c37c7a581f5f7c1cd5b0bbaba6d5f144bcb49ce9bcb263cadbe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): libs/agno/agno/team/_run.py:6514-6529 | libs/agno/agno/team/_run.py:6628-6640 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6514}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d554e83f30b6385135f9af02ebd264e2e40dd6690e1f992d4816ebed8927aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/team/_run.py:6669-6684 | libs/agno/agno/team/_run.py:6770-6785 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6669}}}],"partialFingerprints":{"codehealthFindingId/v1":"16258fa5313dc43b841b86a388a0442b9dff35b44ab1d89eabb5d68f0c168e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): libs/agno/agno/team/_run.py:7939-7954 | libs/agno/agno/team/_run.py:8175-8186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:7939\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb5e423d9b7889cb025c07c781b04583bbb1591a4d6cef75f83d29a16a328b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:995-1010 | libs/agno/agno/team/_task_tools.py:1207-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 \u0060libs/agno/agno/team/_task_tools.py:1207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc82ee941fd9f018c8fff0f3c7f7a40653fcc3c4f87ef071032b5f994df1d98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): libs/agno/agno/tools/function.py:611-624 | libs/agno/agno/tools/function.py:1516-1531 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fa52cee52d3ae9fa1073aab25110cff2731be35b8d55ff9a0cd274be469bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/tools/google/calendar.py:239-253 | libs/agno/agno/tools/google/calendar.py:887-902 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c18d2bd3fd8df2a8b1beefe322bbb0d6e0edf85b827b0163963017085f0da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201316 lines \u00D7 4): libs/agno/agno/tools/google/gmail.py:445-448 | libs/agno/agno/tools/google/gmail.py:550-565 | libs/agno/agno/tools/google/gmail.py:609-612 | libs/agno/agno/tools/google/gmail.py:819-835 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"11372075adab4e1865a02dfb97466ded48099141de10dca14494c5a982511a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/tools/lumalab.py:113-128 | libs/agno/agno/tools/lumalab.py:168-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. 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":"libs/agno/agno/tools/lumalab.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3c08820eb1fd993f44b80e0723843cdd81fd1a841b76fbbe5b7d6b11050e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/tools/studio_runner.py:2803-2818 | libs/agno/agno/tools/studio_runner.py:2869-2884 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2803}}}],"partialFingerprints":{"codehealthFindingId/v1":"579aa0775bc1bddc563e9bc5d09838f28e20051345d6e535c0677379dd9ee655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/tools/superserve.py:666-680 | libs/agno/agno/tools/superserve.py:686-701 \u2014 both copies are in the same file, so extract the block 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. 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, \u0060libs/agno/agno/tools/superserve.py:680\u0060 calls \u0060_error\u0060 and \u0060libs/agno/agno/tools/superserve.py:701\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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"22676f9987abc9032ec6fa736bae13d332cc01423ae35db1afd652eeaa5e6cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/tools/zep.py:224-239 | libs/agno/agno/tools/zep.py:443-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/zep.py:224\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c0b170991bb1b48302bf5abe941748597881cfcea9fc4d5a7873b23972207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/utils/hooks.py:80-95 | libs/agno/agno/utils/hooks.py:123-138 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/hooks.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff742ca39f4391dad4a66ddf24349a16d94b5fc173c8cd4aed1bbecb1b69fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/utils/pprint.py:79-94 | libs/agno/agno/utils/pprint.py:164-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19d8109b5447a3ee5f1741c02c8cfa313522362fbb0467e344cf6b36dbb97c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:1155-1170 | libs/agno/agno/vectordb/couchbase/couchbase.py:1271-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"186f550dd16553eb12befc488e564282c28bcea0238389c31ae61b7aa7362ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:1639-1654 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:960-975 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba0d3cf03ebf916b626b1975a52014970422438127edd6434153a018c1b0a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:950-965 | libs/agno/agno/vectordb/opensearch/opensearch.py:871-886 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ab5d5e6d05d530be398a8552af67133b7da398578b0bfce2d059463c58e4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/mongodb/mongodb.py:703-718 | libs/agno/agno/vectordb/mongodb/mongodb.py:1363-1378 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9cf80010c38d2db47dc3a6874d4f0f08f2accdd128965db2122dbeb894a2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:831-846 | libs/agno/agno/vectordb/redis/redisdb.py:906-921 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/redis/redisdb.py:831\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28a5c7358920bdd0356e3ab36fa3b8bd6c29bb26af631a34d0894a6d008c87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/valkey/valkeydb.py:780-795 | libs/agno/agno/vectordb/valkey/valkeydb.py:839-854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/valkey/valkeydb.py:780\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"075941be9326559d9d5150ea8d6f478effc842838c368c659323a9565d0d150b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/workflow/step.py:1897-1912 | libs/agno/agno/workflow/step.py:1926-1941 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.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. 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"1293ac694141e497c29bd34ade2a3454351c819ae010419d9f8b389660c7e418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:6073-6088 | libs/agno/agno/workflow/workflow.py:6503-6518 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6073}}}],"partialFingerprints":{"codehealthFindingId/v1":"399dd0d047f18cdf9644ade51df12b807b1b3f6afab456423c3cf33141bdc987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7936-7951 | libs/agno/agno/workflow/workflow.py:9698-9713 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7936}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec879a6c2ce0ef5d54c3ffc797cbcab4ef51eba7e440c5e00beb6a77f5701e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:10683-10698 | libs/agno/agno/workflow/workflow.py:10988-11003 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:10679\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/workflow.py:10983\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bca59f40b8f50b27a475a8295275c72c62b2afdd301d116369e1cd3d42dd323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elb/listener.py:48-63 | libs/agno_infra/agno/aws/resource/elb/listener.py:176-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno_infra/agno/aws/resource/elb/listener.py:66\u0060 calls \u0060get_listener_tags\u0060 and \u0060libs/agno_infra/agno/aws/resource/elb/listener.py:193\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":"libs/agno_infra/agno/aws/resource/elb/listener.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b84e1a531b2ff4eac374726fa348a1d3cbfecd3e459492d6d0bba421f15dde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno_infra/agno/aws/resource/iam/policy.py:135-150 | libs/agno_infra/agno/aws/resource/iam/role.py:151-166 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/iam/policy.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/iam/role.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/iam/policy.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"46180d39b245f45d3595036b92f5c0e379fa125901b6268d458318cdfdd799d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:449-464 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:711-726 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd09f97e154ba0878b75a3a913b1af8b5fba91b52804b0b083e76bfbd163a2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 17): libs/agno/agno/vectordb/cassandra/cassandra.py:254-266 | libs/agno/agno/vectordb/chroma/chromadb.py:472-484 | libs/agno/agno/vectordb/chroma/chromadb.py:678-690 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:412-424 | libs/agno/agno/vectordb/couchbase/couchbase.py:1090-1102 | libs/agno/agno/vectordb/couchbase/couchbase.py:1204-1216 | libs/agno/agno/vectordb/milvus/milvus.py:616-628 | libs/agno/agno/vectordb/milvus/milvus.py:793-805 | libs/agno/agno/vectordb/mongodb/mongodb.py:1161-1173 | libs/agno/agno/vectordb/mongodb/mongodb.py:1240-1252 | libs/agno/agno/vectordb/pgvector/pgvector.py:731-743 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:382-394 | libs/agno/agno/vectordb/qdrant/qdrant.py:473-485 | libs/agno/agno/vectordb/singlestore/singlestore.py:674-686 | libs/agno/agno/vectordb/singlestore/singlestore.py:771-783 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:655-669 | libs/agno/agno/vectordb/weaviate/weaviate.py:389-401 \u2014 there are 17 copies across 12 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 17 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/upstashdb/upstashdb.py:655\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a6e22a0c8ca1bb29a1edcef7d68072ec8a3cb1fc9c3c70c9c89f739b30ba7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 16): libs/agno/agno/db/postgres/async_postgres.py:281-295 | libs/agno/agno/db/postgres/postgres.py:320-334 | libs/agno/agno/db/sqlite/async_sqlite.py:218-232 | libs/agno/agno/db/sqlite/sqlite.py:268-282 | libs/agno/agno/os/interfaces/slack/context.py:124-138 | libs/agno/agno/os/interfaces/slack/router.py:186-200 | libs/agno/agno/team/team.py:692-706 | libs/agno/agno/team/team.py:1501-1515 | libs/agno/agno/team/team.py:1616-1630 | libs/agno/agno/tools/studio.py:3119-3133 | libs/agno/agno/tools/studio.py:3245-3259 | libs/agno/agno/tools/studio.py:4222-4236 | libs/agno/agno/tools/studio.py:4271-4285 | libs/agno/agno/tools/studio.py:4349-4363 | libs/agno/agno/tools/studio.py:4400-4414 | libs/agnoctl/agnoctl/commands/connect.py:570-584 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8650a78b4aeca2e5c6e7fe16c7b8d281fea685561ad2731e7499c514a1f91558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 12): libs/agno/agno/db/dynamo/dynamo.py:162-176 | libs/agno/agno/db/gcs_json/gcs_json_db.py:121-135 | libs/agno/agno/db/json/json_db.py:117-131 | libs/agno/agno/db/mysql/async_mysql.py:179-193 | libs/agno/agno/db/mysql/mysql.py:177-191 | libs/agno/agno/db/postgres/postgres.py:299-313 | libs/agno/agno/db/redis/redis.py:165-179 | libs/agno/agno/db/singlestore/singlestore.py:176-190 | libs/agno/agno/db/sqlite/async_sqlite.py:205-219 | libs/agno/agno/db/sqlite/sqlite.py:248-262 | libs/agno/agno/db/surrealdb/surrealdb.py:158-172 | libs/agno/agno/db/valkey/valkey.py:206-220 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 12 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 12 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/dynamo/dynamo.py: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/json/json_db.py:135\u0060 calls \u0060Path\u0060, \u0060join\u0060, \u0060getcwd\u0060 and \u0060libs/agno/agno/db/dynamo/dynamo.py:179\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b4403389dbe460e6138ae87a51eb9be2ea3e83ebe5f2669140982007318bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 11): libs/agno/agno/team/_run.py:527-538 | libs/agno/agno/team/_run.py:1026-1037 | libs/agno/agno/team/_run.py:1370-1384 | libs/agno/agno/team/_run.py:1826-1840 | libs/agno/agno/team/_run.py:2427-2438 | libs/agno/agno/team/_run.py:2965-2976 | libs/agno/agno/team/_run.py:3364-3375 | libs/agno/agno/team/_run.py:4031-4042 | libs/agno/agno/team/_run.py:8409-8420 | libs/agno/agno/team/_run.py:8682-8693 | libs/agno/agno/team/_run.py:10535-10546 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/team/_run.py:539\u0060 calls \u0060log_error\u0060 and \u0060libs/agno/agno/team/_run.py:1841\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a50e7615c818c284d1a35cdd8d9d943bc2b3c629200af90851d544685572a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): libs/agno/agno/db/mysql/async_mysql.py:183-197 | libs/agno/agno/db/mysql/mysql.py:181-195 | libs/agno/agno/db/postgres/async_postgres.py:283-297 | libs/agno/agno/db/postgres/postgres.py:322-336 | libs/agno/agno/db/redis/redis.py:168-183 | libs/agno/agno/db/singlestore/singlestore.py:180-194 | libs/agno/agno/db/sqlite/async_sqlite.py:220-234 | libs/agno/agno/db/sqlite/sqlite.py:270-284 | libs/agno/agno/db/surrealdb/surrealdb.py:161-175 | libs/agno/agno/db/valkey/valkey.py:210-225 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"661e612f95e6aa87c7a7fe3470d250f8226e46f170f5cebb97c89f2b5c8394f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): libs/agno/agno/workflow/condition.py:818-832 | libs/agno/agno/workflow/condition.py:1272-1286 | libs/agno/agno/workflow/loop.py:673-687 | libs/agno/agno/workflow/loop.py:1070-1084 | libs/agno/agno/workflow/parallel.py:547-561 | libs/agno/agno/workflow/parallel.py:913-927 | libs/agno/agno/workflow/router.py:847-861 | libs/agno/agno/workflow/router.py:1188-1202 | libs/agno/agno/workflow/steps.py:449-463 | libs/agno/agno/workflow/steps.py:754-768 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:818\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/parallel.py:563\u0060 calls \u0060put\u0060 and \u0060libs/agno/agno/workflow/condition.py:833\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"9750e642cc1191fc0969969dd288538c7b6e7deaf5cfc38fb96e84d5397f550c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 9): libs/agno/agno/db/mongo/async_mongo.py:3025-3039 | libs/agno/agno/db/mongo/mongo.py:2780-2794 | libs/agno/agno/db/mysql/async_mysql.py:3327-3341 | libs/agno/agno/db/mysql/mysql.py:3267-3281 | libs/agno/agno/db/postgres/async_postgres.py:3582-3596 | libs/agno/agno/db/postgres/postgres.py:4103-4117 | libs/agno/agno/db/singlestore/singlestore.py:3260-3274 | libs/agno/agno/db/sqlite/async_sqlite.py:3821-3835 | libs/agno/agno/db/sqlite/sqlite.py:4037-4051 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3e7fb326b75920644e6f2ca524619cc006ad0931632b120de352259cfa114e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 9): libs/agno/agno/db/mysql/mysql.py:1561-1575 | libs/agno/agno/db/mysql/mysql.py:1621-1635 | libs/agno/agno/db/mysql/mysql.py:1681-1695 | libs/agno/agno/db/singlestore/singlestore.py:1596-1610 | libs/agno/agno/db/singlestore/singlestore.py:1656-1670 | libs/agno/agno/db/singlestore/singlestore.py:1716-1730 | libs/agno/agno/db/sqlite/sqlite.py:2350-2364 | libs/agno/agno/db/sqlite/sqlite.py:2422-2436 | libs/agno/agno/db/sqlite/sqlite.py:2494-2508 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:1561\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c848d7fb2b60f6b6769ce0eaeb6ec49a6769fda721f6b62665af2d894deea254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): libs/agno/agno/db/postgres/async_postgres.py:4662-4676 | libs/agno/agno/db/postgres/async_postgres.py:4813-4827 | libs/agno/agno/db/postgres/postgres.py:5198-5212 | libs/agno/agno/db/postgres/postgres.py:5347-5361 | libs/agno/agno/db/sqlite/async_sqlite.py:4861-4875 | libs/agno/agno/db/sqlite/async_sqlite.py:5014-5028 | libs/agno/agno/db/sqlite/sqlite.py:5020-5034 | libs/agno/agno/db/sqlite/sqlite.py:5172-5186 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:4678\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4879\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4662}}}],"partialFingerprints":{"codehealthFindingId/v1":"694363abc94c863cf6029b17d178bfbc01cb3a9ab20952983597b058f50c5f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): libs/agno/agno/workflow/condition.py:567-581 | libs/agno/agno/workflow/condition.py:1022-1036 | libs/agno/agno/workflow/router.py:671-685 | libs/agno/agno/workflow/router.py:1005-1019 | libs/agno/agno/workflow/steps.py:286-300 | libs/agno/agno/workflow/steps.py:592-606 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py: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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"848d47e028413fa4d4c9260f6b7bfda49552618e09fdef1eafcb283c073c1a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/agent/_messages.py:982-996 | libs/agno/agno/agent/_messages.py:1278-1292 | libs/agno/agno/team/_messages.py:448-462 | libs/agno/agno/team/_messages.py:702-716 \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. 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2f20e12daee5d4e44303d61bcf5158b10da5ab00d1b8175c0fd26ff863475c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): libs/agno/agno/db/in_memory/in_memory_db.py:1535-1548 | libs/agno/agno/db/json/json_db.py:1907-1921 | libs/agno/agno/db/redis/redis.py:2637-2651 | libs/agno/agno/db/valkey/valkey.py:2975-2989 \u2014 \u0060libs/agno/agno/db/in_memory/in_memory_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.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 28 separate duplicated blocks between them, totalling at least 577 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"430fb50e1e77a7252e8c24016d811adf41a31521cbe6d7f766bab667ebb74ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2854-2866 | libs/agno/agno/db/postgres/postgres.py:3674-3686 | libs/agno/agno/db/singlestore/singlestore.py:2850-2862 | libs/agno/agno/db/sqlite/sqlite.py:3610-3624 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2854\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/mysql/mysql.py:2853\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:3673\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"257628fc9cf085155bfb444c5ca89610ec1e4d3d799646e950d622156e92f51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3741-3754 | libs/agno/agno/db/postgres/postgres.py:4611-4625 | libs/agno/agno/db/singlestore/singlestore.py:3699-3712 | libs/agno/agno/db/sqlite/sqlite.py:4492-4505 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02e67bd6473566169497927ef28d6ba913281567641bbc86047ae5300e65a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:4313-4327 | libs/agno/agno/db/postgres/postgres.py:5212-5226 | libs/agno/agno/db/singlestore/singlestore.py:4217-4231 | libs/agno/agno/db/sqlite/sqlite.py:5034-5048 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4223dd22e59fac104a00f87e1d32688c1a675ed59cd00d23b957152b94286082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5110-5124 | libs/agno/agno/db/postgres/postgres.py:5641-5655 | libs/agno/agno/db/sqlite/async_sqlite.py:5296-5309 | libs/agno/agno/db/sqlite/sqlite.py:5449-5462 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5110}}}],"partialFingerprints":{"codehealthFindingId/v1":"15107528bf888cd4d29aaab3c850bea1d8b20ba334f92fb4db67f1bd3bb3c43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8088-8102 | libs/agno/agno/db/postgres/postgres.py:10821-10835 | libs/agno/agno/db/sqlite/async_sqlite.py:7302-7316 | libs/agno/agno/db/sqlite/sqlite.py:9762-9776 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8088}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e30dd8959f7c9d1d64ccb2225fa72e564365b8201f5a8b8d1559bfdfe3d7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:6199-6213 | libs/agno/agno/db/postgres/postgres.py:7478-7492 | libs/agno/agno/db/sqlite/sqlite.py:6058-6072 | libs/agno/agno/db/sqlite/sqlite.py:7281-7295 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6199\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7bbfe5414973bec23f048db484e2231c3aaddf48d85d4f1cc63a3a68ba72b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): libs/agno/agno/knowledge/embedder/azure_openai.py:210-223 | libs/agno/agno/knowledge/embedder/mistral.py:207-221 | libs/agno/agno/knowledge/embedder/openai.py:188-201 | libs/agno/agno/knowledge/embedder/vllm.py:243-256 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/embedder/azure_openai.py\u0060 and \u0060libs/agno/agno/knowledge/embedder/openai.py\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 \u0060libs/agno/agno/knowledge/embedder/azure_openai.py:210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5919cab1a6680a59288fe13e3663f549cc8d444b586ae91604de63df1a4d1ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): libs/agno/agno/models/base.py:719-733 | libs/agno/agno/models/base.py:943-957 | libs/agno/agno/models/base.py:1478-1491 | libs/agno/agno/models/base.py:1759-1772 \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 \u0060libs/agno/agno/models/base.py:719\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"911eb7e5eb29f08b6306b7d88bc2db7dfe49c700d6388b1af0c2d04e404d9021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/reasoning/deepseek.py:38-52 | libs/agno/agno/reasoning/groq.py:27-41 | libs/agno/agno/reasoning/moonshot.py:75-89 | libs/agno/agno/reasoning/openai.py:49-63 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/deepseek.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6970d314f0b15dd2d1044e15f4ee16aa5717efb365742fdd56cda6b59e67d126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/reasoning/deepseek.py:117-131 | libs/agno/agno/reasoning/groq.py:65-79 | libs/agno/agno/reasoning/moonshot.py:110-124 | libs/agno/agno/reasoning/openai.py:88-102 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/deepseek.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 155 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/deepseek.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e34e68961c39e433adfbe14fbf20251eff9ded37d2ea07e50cd249ddfb9fc18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): libs/agno/agno/reasoning/manager.py:969-982 | libs/agno/agno/reasoning/manager.py:989-1003 | libs/agno/agno/reasoning/manager.py:1018-1031 | libs/agno/agno/reasoning/manager.py:1040-1054 \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. 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":"libs/agno/agno/reasoning/manager.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca33f486ae0a45a035133def32d0ad2936733a87ac21df7e08fc568666a4ea49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/utils/print_response/team.py:189-203 | libs/agno/agno/utils/print_response/team.py:600-614 | libs/agno/agno/utils/print_response/team.py:1125-1139 | libs/agno/agno/utils/print_response/team.py:1531-1545 \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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab804e786b7666339566207a0c8ae679320d353a9456cac1859faf962c5f3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:3635-3649 | libs/agno/agno/workflow/workflow.py:4680-4694 | libs/agno/agno/workflow/workflow.py:7971-7985 | libs/agno/agno/workflow/workflow.py:9733-9747 \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 \u0060libs/agno/agno/workflow/workflow.py:3635\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3635}}}],"partialFingerprints":{"codehealthFindingId/v1":"d572366f057af6a5b3dd1a779f934dad0d6d418727f665f8c29d87344d94e106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7537-7551 | libs/agno/agno/workflow/workflow.py:7599-7613 | libs/agno/agno/workflow/workflow.py:7688-7702 | libs/agno/agno/workflow/workflow.py:7773-7787 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/workflow/workflow.py:7554\u0060 calls \u0060_find_paused_executor_run\u0060 and \u0060libs/agno/agno/workflow/workflow.py:7616\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b18d1ec6cef2709366682d65905f05b1e21bfe278b16419843bc38c2bab5d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/db/firestore/firestore.py:154-168 | libs/agno/agno/db/mongo/async_mongo.py:263-277 | libs/agno/agno/db/mongo/mongo.py:163-177 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 80 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 \u0060libs/agno/agno/db/firestore/firestore.py:154\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dabbeaccb952443ac1633d4262357d9a2a4ee050f6aec105c60083b10c080c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1574-1588 | libs/agno/agno/db/in_memory/in_memory_db.py:1333-1347 | libs/agno/agno/db/json/json_db.py:1677-1691 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:1574\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaf9bc7c31f1bb1c61cd9bc1ae59a693a8f99401dc46a5681f0255eb804e9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1719-1733 | libs/agno/agno/db/in_memory/in_memory_db.py:1456-1470 | libs/agno/agno/db/json/json_db.py:1828-1842 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb155faac35d9e81710a0e0751843e564357469f4c0873887baace5e6ac64e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2056-2070 | libs/agno/agno/db/mysql/mysql.py:2053-2067 | libs/agno/agno/db/singlestore/singlestore.py:2061-2075 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2056\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fcef315349c50401cab5903628ab80ccb75560926fe253ca596b3ae3fa96a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2768-2781 | libs/agno/agno/db/postgres/async_postgres.py:3011-3025 | libs/agno/agno/db/sqlite/async_sqlite.py:3249-3263 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:3011\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:3010\u0060 calls \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:2767\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c42207953f1604df642c6d8fd044ede5d8ccaf203df774ed09d463c492c067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1948-1957 | libs/agno/agno/db/postgres/postgres.py:2835-2849 | libs/agno/agno/db/singlestore/singlestore.py:2196-2210 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b78b7b9fc9a45f99a00c330ff29c137a8d80eff7c2f79bc3054cc58c835ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:2318-2332 | libs/agno/agno/db/postgres/postgres.py:3194-3208 | libs/agno/agno/db/singlestore/singlestore.py:2326-2340 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"241e16da2557a582423c6c1c90649be163080227ad2e3d69bfbb4385d570827f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): libs/agno/agno/team/_run.py:993-1006 | libs/agno/agno/team/_run.py:1791-1805 | libs/agno/agno/team/_run.py:8648-8660 \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 \u0060libs/agno/agno/team/_run.py:8648\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/team/_run.py:1788\u0060 calls \u0060generate_team_followups_stream\u0060 and \u0060libs/agno/agno/team/_run.py:8648\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71c08cd7beae0db8866ae75b6881d56919edd9ae67286795ff9c5cb322d4c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): libs/agno/agno/team/_run.py:1282-1296 | libs/agno/agno/team/_run.py:6953-6966 | libs/agno/agno/team/_run.py:8340-8354 \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 \u0060libs/agno/agno/team/_run.py:1282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8009a3382dc00b1889b4bca52213dfa45ecd67b0f7fe03e4e2bba973ec74aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/tools/google/calendar.py:154-168 | libs/agno/agno/tools/google/gmail.py:308-322 | libs/agno/agno/tools/google/slides.py:169-183 \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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8680c3621b2107944a6da57c463df5a7d3060bc87d96b4579e04bb4c76fdd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/vectordb/pgvector/pgvector.py:166-180 | libs/agno/agno/vectordb/redis/redisdb.py:110-124 | libs/agno/agno/vectordb/valkey/valkeydb.py:180-194 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:163\u0060 calls \u0060MetaData\u0060 and \u0060libs/agno/agno/vectordb/valkey/valkeydb.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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b208035c55f67548e9a86bfe7692b1f32321140efb3e60aa68ea1758890207cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:7838-7852 | libs/agno/agno/workflow/workflow.py:9059-9073 | libs/agno/agno/workflow/workflow.py:9601-9615 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7838}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0503e90b369ddc3505fbee7b7cf01c68a0a21b777901a50bfe8202296b0c773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cookbook/02_agents/11_approvals/approval_async.py:97-111 | cookbook/02_agents/11_approvals/audit_approval_async.py:83-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/11_approvals/approval_async.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1751148415ca167f5e2651628b85a40e3be49afa0dcb0cf9798e63f259c0a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py:169-183 | cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:180-194 \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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6b879208070dc0d59b2de53c4a50c616614da90c83ec9aa543e17bd68203e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): cookbook/05_agent_os/01_getting_started/run_over_http.py:64-78 | cookbook/05_agent_os/09_serving_workflows/run_over_api.py:53-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 \u0060cookbook/05_agent_os/01_getting_started/run_over_http.py:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/01_getting_started/run_over_http.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5007641fe2a1dbae429b83510c53c55a7e60ab5c6210c29caa9057b90b8e2374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cookbook/05_agent_os/08_os_config/config_basics.py:118-132 | cookbook/05_agent_os/08_os_config/yaml_config.py:80-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/08_os_config/config_basics.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"821810e702cb83af7e7ce55a1a9a03db271c08ff33f8f8fba4243294caa5d1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/claude_retries.py:95-109 | cookbook/frameworks/codex/codex_retries.py:111-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/frameworks/claude-agent-sdk/claude_retries.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9780289d2d214ea474b8d8fcea0ee56a4b4329ee178cf4ecb6d663185d201b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/compaction.py:95-109 | cookbook/frameworks/codex/codex_compaction.py:67-81 \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":"cookbook/frameworks/claude-agent-sdk/compaction.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebf0742c0635d3698cdaf782b4ef958c2f662d697dc9c15e47053e32d22c577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/agent/_init.py:105-119 | libs/agno/agno/team/_init.py:584-598 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f85336a112cc698b50bed0d8010c9c6b383014f5779228bb928cc6237d5c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/agent/_managers.py:284-298 | libs/agno/agno/agent/_managers.py:319-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_managers.py:284\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"be149610fe233f1471a8107719db755fad4cb25906f7c385cc00d01cb71368e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/agent/_response.py:416-430 | libs/agno/agno/team/_response.py:211-225 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:416\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c14fb023429a0a72c7681675b974b9ea1744ff892f807a7ef8a6176bb1f59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/agno/agno/agent/_run.py:1190-1202 | libs/agno/agno/agent/_run.py:2548-2562 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31072540334a40218a98a518a961140e27dcd9eea74063b2ca97a094ceb3f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/agent/_run.py:4538-4552 | libs/agno/agno/team/_run.py:8939-8953 \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 \u0060libs/agno/agno/agent/_run.py:4538\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4538}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5cea2d0b0bba860fe924970e54ff49de253c8981920f18db7e38446c57a906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/agent/agent.py:767-781 | libs/agno/agno/team/team.py:721-735 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5b2351033bb8245ea1e8b3bf336d488c2769c018b33c7cfd2ec2d2959502cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/base.py:395-409 | libs/agno/agno/db/base.py:2922-2936 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/base.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"371b8b632db8dcb9a9261b03f524a364cbf0876c378b942b4d304b1cc232daad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:3615-3629 | libs/agno/agno/db/dynamo/dynamo.py:4163-4174 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3615}}}],"partialFingerprints":{"codehealthFindingId/v1":"441bcde5140269a08652ca47901629dcc3d6657131fce9281a42a684b5970b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2222-2236 | libs/agno/agno/db/json/json_db.py:2374-2388 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8706e722952969bccaa7defbe54944c000f4da276537176ca6fb96620539b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2245-2258 | libs/agno/agno/db/json/json_db.py:2398-2412 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b84857e01f735cf3c00218809d86c7d178300194d699f7c7ee3fbecc92b593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:456-470 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3670-3681 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"23092f5506d2677dd5cd41b639fd38a22be5387dd481e4371c77a6e5ec772f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:762-776 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3076-3090 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2951350cf6dbf25f3b680542f629f6a75613ee8548fcfb9845231b7e394793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:936-949 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1135-1149 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c88e1b669666f78cd872cd423f800c8816ff1c2460ce713559e6f8c801fab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1538-1552 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1742-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. 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccc33b03a081d49979a817071d8b91e5ee150efa819008979eef44ffdaf802a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:2785-2797 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2860-2874 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2785}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d7183cdf722680ffc45b2fdf9d4b5bdb492a1b27e378d29c7fee4433423255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2336-2349 | libs/agno/agno/db/mongo/mongo.py:2130-2144 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2336\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab13e2f8e45201f7f68f8fe5381453a9a213bfae3b1dd059df03a23a6dc85224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3672-3686 | libs/agno/agno/db/mongo/mongo.py:3422-3436 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:3672\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3672}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6a7e5e1131b9f043945cc9df7237473e8b1dc48a71316165a0a4ee16189c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1903-1917 | libs/agno/agno/db/mysql/mysql.py:1907-1921 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71885f823b874f41c2388ffefdb3ee638723ff5a286aa0402319012e2c21bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1945-1959 | libs/agno/agno/db/postgres/async_postgres.py:2345-2359 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8942bcb89e57df2c2517bafcc5ceaf65f0091b487161c08258bc12995d263a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:360-374 | libs/agno/agno/db/postgres/postgres.py:646-659 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:360\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"535288dba62b64e1c80ebbf14343a449053755d6ef7d26f84477efe582068cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:570-584 | libs/agno/agno/db/singlestore/singlestore.py:659-673 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:570\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9b711fb1fed514217a963508b41552a3807645993bd45b33b1ea057bfa48f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1194-1208 | libs/agno/agno/db/sqlite/async_sqlite.py:1149-1163 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:1194\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"505ad686103b50792ea7998f7b5cdadffdb011863b9abb1f60d3419c60322745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5334-5348 | libs/agno/agno/db/sqlite/async_sqlite.py:5521-5535 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60e7ceb86fb7a0d67a89d62a5be3629e4386f8c24dc16ded70c93d84e44a396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5400-5414 | libs/agno/agno/db/sqlite/async_sqlite.py:5591-5605 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f328f40bee64ac0781e2d435954c462c2b0cb46d44e054d47d55b9ed9c637e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6585-6599 | libs/agno/agno/db/postgres/postgres.py:9269-9283 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6585\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa9608a8ae105016ebef1b7dc4957dca1b5c1eb31c7ca909a388012a3f51678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6967-6981 | libs/agno/agno/db/sqlite/async_sqlite.py:6179-6193 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6967}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b7251bfc5930f04b35723b31cfa12e3bb8ce7764a5ab2cc73ee274830ca8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7268-7282 | libs/agno/agno/db/sqlite/async_sqlite.py:6482-6496 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3dde3fedc2207f27220df1c1107a93a2d07bd8ad8f95e32d87374b12fd9b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8134-8148 | libs/agno/agno/db/postgres/postgres.py:10867-10881 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:8134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8134}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd25e14a305dc1d60113a2806bd21574b931245f3847febcd6ac69d922a1f06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1348-1362 | libs/agno/agno/db/sqlite/sqlite.py:1344-1358 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:1348\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4738569e66a4b9667db78598fd301b1f580d05bbf62ed288d3b64fe0df96bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:7663-7677 | libs/agno/agno/db/sqlite/sqlite.py:7466-7480 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7663}}}],"partialFingerprints":{"codehealthFindingId/v1":"396e5796a51762468866429be23bb65d795ba40f89a4f52720d066aa867ac30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8056-8070 | libs/agno/agno/db/sqlite/sqlite.py:7846-7860 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8056}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b30de0dbb4ca44c998958fc37dbb047dab31a969260cb67dfcea5f2f52a8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1815-1829 | libs/agno/agno/db/valkey/valkey.py:2131-2145 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a613e58f3f2ed64dc38d15bb6293af5e0dd4eadaae4f6555be079b3d92a940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:421-435 | libs/agno/agno/db/sqlite/sqlite.py:483-497 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"8138209a3f941308d9dd2c5d61c4f5074c7877e5469542b0f2ca1e2854b8eee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1004-1018 | libs/agno/agno/db/sqlite/sqlite.py:1194-1208 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"461457cbef1a989e64e9ad160fd54bd94eb876f863e70baf04339de975102f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2480-2494 | libs/agno/agno/db/sqlite/async_sqlite.py:4446-4459 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4444\u0060 calls \u0060order_by\u0060, \u0060desc\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2477\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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"200490fa8c7a28ab860a95d4b620c8ae8068b72721e4de11dcea6d64679616c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2711-2725 | libs/agno/agno/db/sqlite/sqlite.py:2977-2991 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2711}}}],"partialFingerprints":{"codehealthFindingId/v1":"1676de05ae40259d1f454b51ad1cf8d6fb2f43b6499c4f01c2729bf0207cb3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:7348-7362 | libs/agno/agno/db/sqlite/sqlite.py:9808-9822 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:7348\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":7348}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d3778e639f6d7a35248eef9e7c32d52d5c5990353d230f79b0444ff9d47360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/surrealdb/surrealdb.py:816-829 | libs/agno/agno/db/surrealdb/surrealdb.py:1229-1243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/surrealdb/surrealdb.py:816\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d63fc97ef39ffaf9722a12610ee7127a529ce699dddfcd5bf0ff360182e19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/db/surrealdb/surrealdb.py:2178-2191 | libs/agno/agno/db/surrealdb/surrealdb.py:2229-2243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/surrealdb/surrealdb.py:2229\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"90162252ef8ca6e0074af838a4796ef162ab6873deabe401799275fb0e04d584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:743-757 | libs/agno/agno/eval/accuracy.py:855-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/accuracy.py:743\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a958b48d71a406b4689220377208f8510ef04b7f77848f155fbf49d0ff70e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:513-527 | libs/agno/agno/fs/toolkit.py:928-942 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"edde9524cd742cc626fd1ab7feb525d7a10495d750d189dded64ccc7cc284a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/integrations/discord/client.py:115-128 | libs/agno/agno/integrations/discord/client.py:132-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/integrations/discord/client.py:115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/integrations/discord/client.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56779f0d57e1c0a186a16e5095791694ea67d85e4d514aa4824e0dd08264d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:935-949 | libs/agno/agno/knowledge/knowledge.py:1104-1118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:935\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcaaf5272c967658257b3f437aaaa8cf23d9f8614cc358e36b0fd84d7ed6b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:1517-1531 | libs/agno/agno/knowledge/knowledge.py:1615-1629 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"149c55bdee359edf67a05124ae1935a98ede67db43e851f66f63fce0be266e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3448-3462 | libs/agno/agno/knowledge/knowledge.py:3645-3659 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:3448\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e914eaba9f51813338ee5e253b80846653d4500735937b822d6cca6833ed5d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/knowledge/loaders/s3.py:142-156 | libs/agno/agno/knowledge/loaders/s3.py:238-252 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d948946a587682660ca2d00edecab2d7d9b2d2835121bafe4b2ac6f40572924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/knowledge/reader/wikipedia_reader.py:49-63 | libs/agno/agno/knowledge/reader/wikipedia_reader.py: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":"libs/agno/agno/knowledge/reader/wikipedia_reader.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d458dbdb2ba75f3d2f5746ed6ca7c4f33e3eac96c16d004253f020bfdaaad5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/knowledge/remote_content/s3.py:46-60 | libs/agno/agno/knowledge/remote_content/s3.py:222-236 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/remote_content/s3.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cfdafb567bdc9bf145739326b8e6be6eb8420501e8a1a109a6b69c17772f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/learn/stores/decision_log.py:950-964 | libs/agno/agno/learn/stores/decision_log.py:987-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"2936879abed516aa8e788be048dfecab248af81bf387f60b62ab9882039b02d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:2912-2926 | libs/agno/agno/learn/stores/entity_memory.py:2955-2969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:2912\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e68dbc4f61bea3fde8b3c8c7abee50d276fa18acbfb854e7b2e264b440ef1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:3350-3364 | libs/agno/agno/learn/stores/entity_memory.py:3387-3401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:3350\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3350}}}],"partialFingerprints":{"codehealthFindingId/v1":"01139ca0a4448a3084ecb36cd217ababb1c04d95f42a60fa0d46d8daf2f5b1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/metrics.py:305-319 | libs/agno/agno/metrics.py:484-498 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/metrics.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b2754383b820b271a4c353396342ad6eb5388fec4f3ddb38260be001fe6d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/models/base.py:2563-2577 | libs/agno/agno/models/base.py:2788-2802 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:2563\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbb7a62636ed116258e0df30aeb99cb0ec6bffdfb2538c68dc36bce2ff5f6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/models/cerebras/cerebras.py:129-143 | libs/agno/agno/models/groq/groq.py:98-112 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac11eddbb1fd70cf608554dc0ad0938d9991096bb5f722f57663d165d52f24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/models/meta/llama.py:281-295 | libs/agno/agno/models/meta/llama.py:314-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/meta/llama.py:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/meta/llama.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3bb2c87cfb3696a506e33a15abb7c1ee12d25f5ba7d9371a8c5422de95a796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/models/xai/oauth.py:688-702 | libs/agno/agno/models/xai/oauth.py:708-722 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/xai/oauth.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82ba5c324f7463175a36ef1751559ce73868e8cca0d246825e4a83dc40ffc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/os/interfaces/agui/handlers.py:259-273 | libs/agno/agno/os/interfaces/agui/handlers.py:286-300 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/interfaces/agui/handlers.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf7634e038f745563700431882137fd7a03fd35fcf7a09e8f2cee5136a6ceaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/agno/agno/os/middleware/jwt.py:1701-1715 | libs/agno/agno/os/middleware/jwt.py:1882-1894 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/middleware/jwt.py:1701\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"be54f83ded0fd880b0c9e6d120d87feafa06bc45dd0d8d587d93724c2286d556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:149-163 | libs/agno/agno/os/routers/teams/router.py:147-161 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/os/routers/teams/router.py:162\u0060 calls \u0060_is_run_output_accumulator\u0060 and \u0060libs/agno/agno/os/routers/agents/router.py:164\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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0248446d5c400a32918fb1d6bbab4df164c15a8332d8a48da4053467b01bed51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:707-721 | libs/agno/agno/os/routers/teams/router.py:600-611 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/os/routers/teams/router.py:599\u0060 calls \u0060Form\u0060 and \u0060libs/agno/agno/os/routers/agents/router.py:706\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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73ee8188f86b097c960f263ffb25cb72a5a1b15477f0374e737102f84763dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:806-820 | libs/agno/agno/os/routers/teams/router.py:712-726 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ea9f92c96c1f425736657168e072169dedc81db89ca26bc7e989213a6cda8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/os/routers/agents/schema.py:94-108 | libs/agno/agno/os/routers/teams/schema.py:78-92 \u2014 \u0060libs/agno/agno/os/routers/agents/schema.py\u0060 and \u0060libs/agno/agno/os/routers/teams/schema.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 157 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/schema.py:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a9ad6930a8f5d2b588dd67edeed3b79629bbe51c8a60fe1ec26dc5aa63ba81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/os/routers/learnings/router.py:158-172 | libs/agno/agno/os/routers/learnings/router.py:391-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 \u0060libs/agno/agno/os/routers/learnings/router.py:158\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/learnings/router.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0b9c98715c02b644dc3870b0bafb3ee8b35eb3c4adf2d3556fd633b10cdcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/os/routers/traces/traces.py:193-207 | libs/agno/agno/os/routers/traces/traces.py:565-579 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/traces/traces.py:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0800a93e6b5df31afbf5074ac3cba38440730697efb9b3ab76fe1f4887707016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/run/agent.py:61-75 | libs/agno/agno/run/team.py:47-61 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04fcfa378ac0b1c9951ad028d575c984ea14f35b5ffb3b349141e0d6e2e5de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:537-551 | libs/agno/agno/team/_task_tools.py:327-337 \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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa3931372819510384dc291a6ffd6f5f3de5f22a1092f3e49abc3f1eac4873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:766-782 | libs/agno/agno/team/_default_tools.py:952-966 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d48bf4c3c6ca8b1e8b4061f110c853a88d7ad78a39aafccc31d6d03c15c139b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:984-998 | libs/agno/agno/team/_default_tools.py:1398-1412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_default_tools.py:984\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_default_tools.py:1414\u0060 calls \u0060member_knowledge_filters\u0060 and \u0060libs/agno/agno/team/_default_tools.py:999\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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"425266e05aedc80e07b62a99f4747af76c2100f1413b1a36d21e286866b75b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/team/_response.py:998-1012 | libs/agno/agno/team/_response.py:1159-1173 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab0aaa85a2be53d02558528e6b1929f9ab26d7adf2bddb9c75a1c2b1a38f79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/team/_run.py:4587-4601 | libs/agno/agno/team/_run.py:4619-4633 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":4587}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f4d77d72967d1806eb30c75287d2cb9ec2ce60867ce9ccabd99c981e618a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/team/_run.py:8435-8449 | libs/agno/agno/team/_run.py:8721-8735 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":8435}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b9c8912b8d1adaf70ac93b70c2745b266a9c11570c74a109b4d89518abe4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:545-559 | libs/agno/agno/team/_task_tools.py:727-740 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5f659c591eb037f51bc9a4c2f4a5af588a0b84e03ab22d9b1358bd22391b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/tools/coding.py:777-791 | libs/agno/agno/tools/coding.py:832-845 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e22f238b488c226e37dc7587f69c2e795af34fd525b07d722f78df39c8ced4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/tools/file/file.py:375-389 | libs/agno/agno/tools/workspace.py:825-838 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060limit\u0060 to \u0060int = 10\u0060 in one and \u0060int\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, \u0060libs/agno/agno/tools/file/file.py:374\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/tools/workspace.py:823\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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d4c88ce4cae842be118538c5fa873c0d56ecf2aa1d262c795e224b88659fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/agno/agno/tools/file/file.py:395-409 | libs/agno/agno/tools/workspace.py:840-852 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/tools/file/file.py:411\u0060 calls \u0060_extract_snippet\u0060 and \u0060libs/agno/agno/tools/workspace.py:854\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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1de0c09c8aa7a6c627e906820ccded6ae145f307cd8a4eba4dd7e9d46bc197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/tools/github.py:545-559 | libs/agno/agno/tools/github.py:566-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 \u0060libs/agno/agno/tools/github.py:566\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/github.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4490451826b8bb28ddeb83ceaec518937b570285d357837f37e9f8e82507ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/tools/google/gmail.py:465-481 | libs/agno/agno/tools/google/gmail.py:518-534 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525c471ecc000cf191bb15c02fd353bba530da46a30e1da5afe790df0978c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/tools/google/gmail.py:1493-1507 | libs/agno/agno/tools/google/gmail.py:1615-1629 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b2e944eb12775f92f508c7f93d60be35a92f94b93e19a55d5ff7f79a5d4eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/tools/models/aimlapi.py:539-553 | libs/agno/agno/tools/models/aimlapi.py:574-588 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/models/aimlapi.py:539\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffed0248d94010c83704fb4933dd3b3c3e52e4e28403da22fda6ad41f5c457d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/tools/models/nebius.py:92-106 | libs/agno/agno/tools/openai.py:131-144 \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 \u0060libs/agno/agno/tools/models/nebius.py:92\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/models/nebius.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08bcf6d43db07d22f1de38d0f846fa958c9b2dfb39e733e622819f487968964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:737-751 | libs/agno/agno/tools/scheduler.py:1126-1140 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a88e03b147fc7fd3eb125967fc0fdae6be5728003f10290eb10405b5e9fea5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/utils/agent.py:994-1008 | libs/agno/agno/utils/agent.py:1021-1035 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb624e5ae9cc6808de8856dcc7974552f1e5ab81191fb9d2d1e932880d19237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/utils/events.py:119-133 | libs/agno/agno/utils/events.py:146-160 \u2014 both copies are in the same file, so extract the block 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 \u0060from_run_response\u0060 to \u0060TeamRunOutput\u0060 in one and \u0060RunOutput\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":"libs/agno/agno/utils/events.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f02e63b30bf3dc2cc1cb4ea2414aa9ac4f13d28774939c15b1c206a041bed6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/vectordb/mongodb/mongodb.py:763-777 | libs/agno/agno/vectordb/mongodb/mongodb.py:1006-1020 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb5ed72a95549cf1d2bb01d49288cfcffa070b7271fc8cea7c06f0b673f126d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/vectordb/upstashdb/upstashdb.py:378-392 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:738-752 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/upstashdb/upstashdb.py:377\u0060 calls \u0060embed\u0060 and \u0060libs/agno/agno/vectordb/upstashdb/upstashdb.py:736\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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4294e8351745f2ff1cd16e71b2a1eeaccc31c1c6c2a4e067f6d13d798b8811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/workflow/step.py:1201-1215 | libs/agno/agno/workflow/step.py:1887-1900 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/step.py:1886\u0060 calls \u0060_is_generator_function\u0060 and \u0060libs/agno/agno/workflow/step.py:1200\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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1781dcd360b403a420f49e0677a0c662a7f6eb825efe4a343a059181ca585b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/workflow/step.py:1787-1801 | libs/agno/agno/workflow/step.py:2515-2529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/step.py:1787\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"496fbba2e1629ff031e23d4bff11080a779a65d0b6d6492645d8abc26cee65ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3852-3866 | libs/agno/agno/workflow/workflow.py:7509-7519 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3852}}}],"partialFingerprints":{"codehealthFindingId/v1":"b892208c17be0d9e123f135d73ba77615dcea24408620c483487b4c40ec4f836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:8560-8574 | libs/agno/agno/workflow/workflow.py:10330-10344 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/workflow/workflow.py:10326\u0060 calls \u0060isinstance\u0060, \u0060_persist_cancelled_run_in_background\u0060 and \u0060libs/agno/agno/workflow/workflow.py:8558\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":8560}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af77f4761f09e24497dd4288affe12cfc0eaadd0ff7b585d7d40a84898b294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:11610-11624 | libs/agno/agno/workflow/workflow.py:11678-11692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:11610\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11610}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c3dc094557ebe0e006d571ac01f669dc9ebce6bf11307cc4b8e96903cbcdfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno_infra/agno/aws/resource/base.py:123-139 | libs/agno_infra/agno/docker/resource/base.py:72-88 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/base.py\u0060 and \u0060libs/agno_infra/agno/docker/resource/base.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno_infra/agno/aws/resource/base.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5521706369f4030a8075a2354e263265b1ca34a390e8dfb7ece083c88018f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/volume.py:96-110 | libs/agno_infra/agno/aws/resource/ec2/volume.py:268-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"409b188cb7baf70e0af648d2d0fd0bc6a3714524ed127d73db6ec73561ad1e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/volume.py:121-135 | libs/agno_infra/agno/aws/resource/ec2/volume.py:285-299 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/ec2/volume.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9873ce938059b152c21733749592403748d509960584ab2139325de88a1935f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:83-97 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:88-102 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c209548e6393ada4dbf5b0c22a2ec073b71f218e2e9eaf20364bf276dffd9e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elb/listener.py:70-84 | libs/agno_infra/agno/aws/resource/elb/listener.py:193-206 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno_infra/agno/aws/resource/elb/listener.py:66\u0060 calls \u0060get_listener_tags\u0060 and \u0060libs/agno_infra/agno/aws/resource/elb/listener.py:191\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":"libs/agno_infra/agno/aws/resource/elb/listener.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bc06ef832f292207200113487ae9b31b57cbcecba6e89c4480360742a40f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elb/listener.py:142-156 | libs/agno_infra/agno/aws/resource/elb/target_group.py:142-156 \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":"libs/agno_infra/agno/aws/resource/elb/listener.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd591c2a117c60a7950f82583bb1fb19c634db2e977e69073f6a3ead1581908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:316-330 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:238-252 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/rds/db_cluster.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_instance.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc73be913725db6eaff8ae07df42c3b99e01b3ccdbdd40303d44017719d3e8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:306-320 | libs/agno_infra/agno/docker/resources.py:273-287 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a7c1838ddbe0f39a74ed36d1f770565b620e1ec2ca2e19e45fb993d0242d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 13): libs/agno/agno/db/migrations/versions/v2_5_0.py:253-267 | libs/agno/agno/db/migrations/versions/v2_5_0.py:369-383 | libs/agno/agno/db/migrations/versions/v2_5_0.py:501-515 | libs/agno/agno/db/migrations/versions/v2_5_0.py:567-581 | libs/agno/agno/db/migrations/versions/v2_5_0.py:690-704 | libs/agno/agno/db/migrations/versions/v2_5_0.py:820-834 | libs/agno/agno/db/migrations/versions/v2_5_6.py:217-231 | libs/agno/agno/db/migrations/versions/v2_5_6.py:313-327 | libs/agno/agno/db/migrations/versions/v2_5_6.py:412-426 | libs/agno/agno/db/migrations/versions/v2_5_6.py:550-564 | libs/agno/agno/db/migrations/versions/v2_5_6.py:637-651 | libs/agno/agno/db/migrations/versions/v2_5_6.py:725-739 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3080-3093 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2e1fba28f37e0aa57935bb8f8b1af11dba322d546f117a2714ab09414f1fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 12): libs/agno/agno/reasoning/azure_ai_foundry.py:116-129 | libs/agno/agno/reasoning/azure_ai_foundry.py:162-175 | libs/agno/agno/reasoning/deepseek.py:95-108 | libs/agno/agno/reasoning/deepseek.py:174-187 | libs/agno/agno/reasoning/gemini.py:141-154 | libs/agno/agno/reasoning/gemini.py:181-194 | libs/agno/agno/reasoning/groq.py:132-145 | libs/agno/agno/reasoning/groq.py:183-196 | libs/agno/agno/reasoning/moonshot.py:167-180 | libs/agno/agno/reasoning/moonshot.py:212-225 | libs/agno/agno/reasoning/ollama.py:173-186 | libs/agno/agno/reasoning/ollama.py:219-232 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/deepseek.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/reasoning/azure_ai_foundry.py:116\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6053714477590ff5e1b22db90ec547dffc180d1a602bc956978963e29cc3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): cookbook/12_context/18_gmail.py:67-80 | cookbook/12_context/18_gmail.py:102-115 | cookbook/12_context/19_calendar.py:67-81 | cookbook/12_context/19_calendar.py:103-116 | cookbook/12_context/25_write_tools_restriction.py:65-78 | cookbook/12_context/25_write_tools_restriction.py:110-123 | cookbook/12_context/25_write_tools_restriction.py:157-170 \u2014 there are 7 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/12_context/18_gmail.py: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":"cookbook/12_context/18_gmail.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddd7acbcdc55b8062bbb4e3012b278a4db156fb5780755c11ae517f6bbdf3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:672-693 | libs/agno/agno/db/mysql/mysql.py:667-688 | libs/agno/agno/db/postgres/async_postgres.py:975-996 | libs/agno/agno/db/postgres/postgres.py:1131-1152 | libs/agno/agno/db/singlestore/singlestore.py:744-765 | libs/agno/agno/db/sqlite/async_sqlite.py:926-947 | libs/agno/agno/db/sqlite/sqlite.py:1095-1119 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2089499a931fdec08378205485da8759d1641af64c1dd6beaf02e1fff7c92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:2635-2648 | libs/agno/agno/db/mysql/mysql.py:2626-2639 | libs/agno/agno/db/postgres/async_postgres.py:2887-2900 | libs/agno/agno/db/postgres/postgres.py:3457-3470 | libs/agno/agno/db/singlestore/singlestore.py:2618-2631 | libs/agno/agno/db/sqlite/async_sqlite.py:3126-3139 | libs/agno/agno/db/sqlite/sqlite.py:3395-3408 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"9204fab933851bc262ad252f4f491ad5c4b1dfcda32ee001d3e34413f13f88e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 7): libs/agno/agno/utils/print_response/team.py:187-196 | libs/agno/agno/utils/print_response/team.py:265-278 | libs/agno/agno/utils/print_response/team.py:598-607 | libs/agno/agno/utils/print_response/team.py:794-803 | libs/agno/agno/utils/print_response/team.py:1123-1132 | libs/agno/agno/utils/print_response/team.py:1200-1211 | libs/agno/agno/utils/print_response/team.py:1529-1538 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/utils/print_response/team.py:805\u0060 calls \u0060_get_member_name\u0060 and \u0060libs/agno/agno/utils/print_response/team.py:198\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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b4fec86257dc1643ac230a65391fa3f871c9fdae769ee6fb1c0af54e40a216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 5): libs/agno/agno/db/migrations/versions/v3_0_0.py:789-800 | libs/agno/agno/db/migrations/versions/v3_0_0.py:905-915 | libs/agno/agno/db/migrations/versions/v3_0_0.py:955-965 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1235-1248 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1305-1316 \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 \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:789\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a635429c6f329df5f23bf69055b80e7642feb1b46096615fcc5531ef23e4a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): libs/agno/agno/team/_run.py:7673-7685 | libs/agno/agno/team/_run.py:7916-7929 | libs/agno/agno/team/_run.py:7989-8002 | libs/agno/agno/team/_run.py:8154-8166 | libs/agno/agno/team/_run.py:8206-8218 \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 \u0060libs/agno/agno/team/_run.py:7673\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7673}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbea826bc2a19065bba1de9ba19a2c34986254c042f290c1a4a65dddecadccde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 5): libs/agno/agno/workflow/utils/hitl.py:480-491 | libs/agno/agno/workflow/workflow.py:3195-3208 | libs/agno/agno/workflow/workflow.py:3720-3733 | libs/agno/agno/workflow/workflow.py:4200-4213 | libs/agno/agno/workflow/workflow.py:4765-4778 \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. 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":"libs/agno/agno/workflow/utils/hitl.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c92150bea32fe91f31fe333e6d7785f1dbebd94a30c49814e213b182655d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py:110-123 | cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py:85-98 | cookbook/07_knowledge/09_archive/vector_dbs/mongo_db.py:114-127 | cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py:95-108 \u2014 before extracting anything, compare \u0060cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py\u0060 and \u0060cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py:105\u0060 calls \u0060delete_by_name\u0060, \u0060delete_by_metadata\u0060 and \u0060cookbook/07_knowledge/09_archive/vector_dbs/mongo_db.py:110\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":"cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"487f9ff06081bf1bfe4725b928b0a66f3e5abfdeb6f447628d3baf3440bf19a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1614-1627 | libs/agno/agno/agent/_messages.py:1784-1797 | libs/agno/agno/team/_messages.py:1320-1332 | libs/agno/agno/team/_messages.py:1479-1491 \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 \u0060libs/agno/agno/agent/_messages.py:1614\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"833540e6705d057244cd0125ace00d6d150ef690becaa51eff7249cda8da1d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1636-1649 | libs/agno/agno/agent/_messages.py:1806-1819 | libs/agno/agno/team/_messages.py:1347-1360 | libs/agno/agno/team/_messages.py:1506-1519 \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 \u0060libs/agno/agno/agent/_messages.py:1636\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"958c39bb5f43d08da61c1a333b220ace592d549d20c78ffe5d30f0c21c7b794b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): libs/agno/agno/agent/_run.py:1859-1871 | libs/agno/agno/agent/_run.py:2593-2606 | libs/agno/agno/agent/_run.py:5125-5137 | libs/agno/agno/agent/_run.py:5748-5761 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_run.py:5120\u0060 calls \u0060cast\u0060 and \u0060libs/agno/agno/agent/_run.py:1854\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e80ae294a4e13bc106a34e16441958659f3758cdf0afc15eb1cdeb57ed73c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:4011-4024 | libs/agno/agno/db/mongo/async_mongo.py:4102-4115 | libs/agno/agno/db/mongo/mongo.py:3819-3832 | libs/agno/agno/db/mongo/mongo.py:3910-3923 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4011}}}],"partialFingerprints":{"codehealthFindingId/v1":"56288bbb5ea1bb2080c21fa16c702128c1f32f3737cec69181dcb617c9559d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2512-2525 | libs/agno/agno/db/postgres/postgres.py:3343-3356 | libs/agno/agno/db/singlestore/singlestore.py:2504-2517 | libs/agno/agno/db/sqlite/sqlite.py:3280-3293 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cf1fb21fced920f789694fbed1019dbb683ba23389203accc352de86ebc01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2608-2621 | libs/agno/agno/db/postgres/postgres.py:3439-3452 | libs/agno/agno/db/singlestore/singlestore.py:2600-2613 | libs/agno/agno/db/sqlite/sqlite.py:3377-3390 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2608\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"293a427b7f4b47bd810243b88d5e37629a53ef09f07e6126b8c51333647b1431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2750-2762 | libs/agno/agno/db/postgres/postgres.py:3572-3585 | libs/agno/agno/db/singlestore/singlestore.py:2749-2761 | libs/agno/agno/db/sqlite/sqlite.py:3508-3521 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:3572\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/postgres/postgres.py:3571\u0060 calls \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:2749\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"08538718ebc32eab172ecf155c81d9fd1eec446559ef4998f5f21acd8f78516b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:269-282 | libs/agno/agno/db/postgres/postgres.py:301-314 | libs/agno/agno/db/sqlite/async_sqlite.py:207-220 | libs/agno/agno/db/sqlite/sqlite.py:250-263 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:269\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd87243d905f6aeea5330d08088d49c60e36d05b4efd37fc5c4d0a7ed992525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5618-5631 | libs/agno/agno/db/postgres/async_postgres.py:5962-5975 | libs/agno/agno/db/sqlite/async_sqlite.py:5743-5756 | libs/agno/agno/db/sqlite/async_sqlite.py:6104-6117 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5618}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41a0d99caf432d00eb5f7033def923c970a65c4671c14bff344195a5065bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): libs/agno/agno/os/routers/agents/router.py:173-185 | libs/agno/agno/os/routers/agents/router.py:269-281 | libs/agno/agno/os/routers/agents/router.py:391-404 | libs/agno/agno/os/routers/agents/router.py:474-486 \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 \u0060libs/agno/agno/os/routers/agents/router.py:173\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6477992e8b49a68834de3282a9006b53bff935de0d8e003f4347b5fa17cf1131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): libs/agno/agno/os/routers/schedules/router.py:299-312 | libs/agno/agno/os/routers/schedules/router.py:416-427 | libs/agno/agno/os/routers/schedules/router.py:439-451 | libs/agno/agno/os/routers/schedules/router.py:514-526 \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":"libs/agno/agno/os/routers/schedules/router.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f699658fbedd93c4d303cf3d5469b713634523ef23262236dd989b86588f52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/team/_run.py:9702-9715 | libs/agno/agno/team/_run.py:9751-9764 | libs/agno/agno/team/_run.py:10192-10205 | libs/agno/agno/team/_run.py:10321-10334 \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 \u0060libs/agno/agno/team/_run.py:9702\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":9702}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b91b1d9c2588a3c3ef487f2c0abe7716962be0522905ba51bdd7df53fe5830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/tools/scheduler.py:737-752 | libs/agno/agno/tools/scheduler.py:973-986 | libs/agno/agno/tools/scheduler.py:1126-1141 | libs/agno/agno/tools/scheduler.py:1368-1381 \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. 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef963c4e3ec6479c4dd25752f57dc91483c7c7a7e5c3b906c148e6dfc531bcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/agno/agno/tools/whatsapp.py:178-191 | libs/agno/agno/tools/whatsapp.py:353-366 | libs/agno/agno/tools/whatsapp.py:404-417 | libs/agno/agno/tools/whatsapp.py:451-464 \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. 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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c7ff10726fd41b37bb0c5c5e9b2eaad384d31609f15fb1a65bed59b10c6682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7054-7067 | libs/agno/agno/workflow/workflow.py:7903-7915 | libs/agno/agno/workflow/workflow.py:9120-9133 | libs/agno/agno/workflow/workflow.py:9666-9678 \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 \u0060libs/agno/agno/workflow/workflow.py:7903\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7054}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de4c4aef47c56d434b8965276984eaae0bffbf15b4193b2289c61fc2ee4de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): cookbook/02_agents/14_advanced/background_execution.py:65-78 | cookbook/02_agents/14_advanced/background_execution_structured.py:80-93 | cookbook/03_teams/14_run_control/background_execution.py:79-92 \u2014 before extracting anything, compare \u0060cookbook/02_agents/14_advanced/background_execution.py\u0060 and \u0060cookbook/03_teams/14_run_control/background_execution.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"cookbook/02_agents/14_advanced/background_execution.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4841de419dc79cedf65843efa2fe637ddba036b37e4a17c1a8f8a2d8fba85ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): cookbook/02_agents/20_time_travel/01_continue_from.py:52-65 | cookbook/02_agents/20_time_travel/01_continue_from.py:66-79 | cookbook/02_agents/20_time_travel/02_fork_run.py:57-70 \u2014 before extracting anything, compare \u0060cookbook/02_agents/20_time_travel/01_continue_from.py\u0060 and \u0060cookbook/02_agents/20_time_travel/02_fork_run.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/20_time_travel/01_continue_from.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e3eb94c8844abdb393be078c1f4e8c0166ffa04788c02c66fd2561d742c755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): cookbook/05_agent_os/05_human_in_the_loop/audit_record.py:70-83 | cookbook/05_agent_os/05_human_in_the_loop/basic.py:66-79 | cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py:85-98 \u2014 before extracting anything, compare \u0060cookbook/05_agent_os/05_human_in_the_loop/basic.py\u0060 and \u0060cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cookbook/05_agent_os/05_human_in_the_loop/basic.py:83\u0060 calls \u0060RuntimeError\u0060 and \u0060cookbook/05_agent_os/05_human_in_the_loop/audit_record.py:86\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":"cookbook/05_agent_os/05_human_in_the_loop/audit_record.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ab8c5f1198f31361d7e27ce2054049194bd301c69f927ee646fb46b82fd72f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:1025-1038 | libs/agno/agno/db/in_memory/in_memory_db.py:814-827 | libs/agno/agno/db/json/json_db.py:1111-1124 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4b9637d0d86c80049d2345de6d3d08c482b61ac656c993d11232c8d273d5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2595-2608 | libs/agno/agno/db/postgres/async_postgres.py:2847-2860 | libs/agno/agno/db/sqlite/async_sqlite.py:3086-3099 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2595\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec271b87c5c70a4f41f8530e56f5525f0586b7392400d6d5df84724032c4272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1238-1250 | libs/agno/agno/db/postgres/postgres.py:2085-2097 | libs/agno/agno/db/singlestore/singlestore.py:1288-1301 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:1238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6806bb9400d57b5ab1eaced157c09b8f41349421a782dc73251cbd92a61e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:1017-1030 | libs/agno/agno/db/singlestore/singlestore.py:643-656 | libs/agno/agno/db/sqlite/sqlite.py:1005-1018 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e00ca04a7311d2b3e8b45ab668ef7ae471a689ca616c1f35862fc60066ce715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:6352-6362 | libs/agno/agno/db/postgres/postgres.py:6716-6729 | libs/agno/agno/db/sqlite/sqlite.py:6211-6221 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py: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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6159a7a3f924791cc97222161967e37c34cff4b487729774cfd7f2e58fa461f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:1947-1961 | libs/agno/agno/os/routers/agents/router.py:2063-2076 | libs/agno/agno/os/routers/teams/router.py:1798-1812 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1947\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"964517504b4392a820316be0f1e693b86dc34f6554c24694d35b05f21247bc1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/run/agent.py:990-1003 | libs/agno/agno/run/team.py:1047-1060 | libs/agno/agno/run/workflow.py:1111-1124 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/run/agent.py:987\u0060 calls \u0060model_validate\u0060 and \u0060libs/agno/agno/run/workflow.py:1108\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":"libs/agno/agno/run/agent.py"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc28f41b8529d77865e0c13729d2951142157c997bd60cb33fd9ac7adafbf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): libs/agno/agno/tools/openweather.py:123-135 | libs/agno/agno/tools/openweather.py:164-177 | libs/agno/agno/tools/openweather.py:210-222 \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 \u0060libs/agno/agno/tools/openweather.py:164\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/tools/openweather.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba05cca15eee870ea1873e274f736a794fb691281faa44d9d0189ff9833478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/tools/studio_runner.py:2793-2809 | libs/agno/agno/tools/studio_runner.py:2859-2875 | libs/agno/agno/tools/studio_runner.py:2925-2941 \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 \u0060libs/agno/agno/tools/studio_runner.py:2793\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b993be888b1e845743ce8c450c1acbc3849fbb06f7c9175b102b34a190cc440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): libs/agno/agno/vectordb/couchbase/couchbase.py:1531-1544 | libs/agno/agno/vectordb/couchbase/couchbase.py:1572-1584 | libs/agno/agno/vectordb/couchbase/couchbase.py:1607-1619 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4fe35faf25b62f42f00a4a1511b9fefa9dc66e284921025df50ac8f2555c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): libs/agno/agno/vectordb/redis/redisdb.py:670-683 | libs/agno/agno/vectordb/redis/redisdb.py:741-754 | libs/agno/agno/vectordb/valkey/valkeydb.py:790-802 \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. 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, \u0060libs/agno/agno/vectordb/redis/redisdb.py:738\u0060 calls \u0060convert_bytes\u0060 and \u0060libs/agno/agno/vectordb/redis/redisdb.py:667\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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"21370dde7131d1f2e28cf407a1770392c5369948839f10aa7646812887f410aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/vectordb/redis/redisdb.py:827-840 | libs/agno/agno/vectordb/redis/redisdb.py:865-878 | libs/agno/agno/vectordb/redis/redisdb.py:902-915 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80f9371ff5d036ea732745727956e31eab695f1f52623063098c1c109b7d282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno_infra/agno/aws/resource/elasticache/cluster.py:271-284 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:543-556 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:464-477 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/rds/db_cluster.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_instance.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c4f57b9a5afef7e8e53f2ec32fff9d70a49774aa88fecc8cc754c97bfb07cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): libs/agno_infra/agno/aws/resources.py:83-95 | libs/agno_infra/agno/aws/resources.py:245-257 | libs/agno_infra/agno/aws/resources.py:401-414 \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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aa50e5fd4453de42de0fd396b938c210a3652b18bab8f3f4f9c6b8a931202e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:79-92 | cookbook/03_teams/23_checkpointing/02_tool_error_persistence.py:69-82 \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 \u0060cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/18_checkpointing/02_tool_error_persistence.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0f600790ae1f81fd91acd5b29e94044dd2d97b2f075917feb0ef1758bfeb66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/03_teams/25_time_travel/02_fork_run.py:30-43 | cookbook/03_teams/26_fork_session/01_fork_session.py:39-52 \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":"cookbook/03_teams/25_time_travel/02_fork_run.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17a95149d0e5e6d00b6537bf22835118ff1f072949f10ecbca299b1f8d23fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:125-138 | cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py:182-195 \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 \u0060cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e96277f14af11446a83d52f1dd42d2f22218f6877e747b54dca7dfd0d3d22a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/05_agent_os/05_human_in_the_loop/basic.py:70-83 | cookbook/05_agent_os/05_human_in_the_loop/external_execution.py:99-115 \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 \u0060cookbook/05_agent_os/05_human_in_the_loop/basic.py:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/05_human_in_the_loop/basic.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4e19b86fb7b960ef3a1af3384896872fc4bbe1c3a9748efe55bae2755e4202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/10_reasoning/teams/knowledge_tool_team.py:40-53 | cookbook/10_reasoning/teams/reasoning_finance_team.py:22-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/10_reasoning/teams/knowledge_tool_team.py:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/10_reasoning/teams/knowledge_tool_team.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9204a04b230e075400eb50a15b97812c98cc0830e050848caa3d9819005448a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/performance/comparison/long_conversation_comparison.py:152-165 | cookbook/performance/comparison/multi_turn_comparison.py:172-185 \u2014 before extracting anything, compare \u0060cookbook/performance/comparison/long_conversation_comparison.py\u0060 and \u0060cookbook/performance/comparison/multi_turn_comparison.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"cookbook/performance/comparison/long_conversation_comparison.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc81ed6740f6b0feec13e98ea6b64f17b75d03e533d47ce7130c20121cb8b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_cli.py:268-281 | libs/agno/agno/agent/_cli.py:314-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_cli.py:268\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_cli.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda9b8d6a52201f6d30ff16f7b29426ffc43d310f8917c9a4f7c7718cc4856bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_init.py:561-574 | libs/agno/agno/team/_init.py:992-1005 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdda1d72eb78280bea0b98b511bc17e5d616b800c9efb96b3978638fcd891a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/agent/_managers.py:308-321 | libs/agno/agno/team/_managers.py:251-263 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_managers.py:308\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4656836fd74524ba04e3467134bda70fd236f6f3a7ae0c85fc0c00942d92f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_response.py:356-369 | libs/agno/agno/agent/_response.py:404-417 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"effc1e90ec67ea1f35e9d8b5e9551f43487f6cf9f577b90827e5189e7ef230f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/agent/_response.py:755-767 | libs/agno/agno/team/_response.py:805-818 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:755\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f871ed0baebccc05f1d8bbd9b0b16fd4e95c99d7b99fcd9e4b41ddc578373ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_run.py:275-288 | libs/agno/agno/agent/_run.py:340-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3132e90b781b89e056b6e2b8dcf553e15eb218c9a401c572eec3103296e194a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/agent/_run.py:734-747 | libs/agno/agno/agent/_run.py:3877-3889 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeb28ba6779fd8ccde1bdfa96420f138775705093b481a6b24e8e7680ad224c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_run.py:1263-1277 | libs/agno/agno/team/_run.py:1857-1870 \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 \u0060libs/agno/agno/agent/_run.py:1263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/team/_run.py:1856\u0060 calls \u0060_cleanup_and_store\u0060 and \u0060libs/agno/agno/agent/_run.py:1263\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d65546a540d379e721b3df2d33888692d7c921aa676c5a6e44005d1b47cda11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_run.py:1841-1854 | libs/agno/agno/agent/_run.py:5106-5119 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af41c4e0a12ba8edf45e4c60ddeaa0bd09a25aee793e35dbf190b02a5b10d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_run.py:2075-2088 | libs/agno/agno/team/_run.py:3570-3583 \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 \u0060libs/agno/agno/agent/_run.py:2075\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a244ae28c2aafe269f7ea2cf5dd00b2ee02888bcf6dd2948170cb5198d32b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_run.py:3836-3849 | libs/agno/agno/agent/_run.py:5115-5128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:3836\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad0f2dd382330b84917631d14b6d7012978287cf4fce6d48b00e8c2b400fbf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_storage.py:910-923 | libs/agno/agno/team/_storage.py:742-755 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/agent/_storage.py:926\u0060 calls \u0060hasattr\u0060, \u0060to_dict\u0060 and \u0060libs/agno/agno/team/_storage.py:758\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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"d401f71eff489db914ac8eea5fc329fa79460bbdf96c1b0e82d34c0eb7635a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/client/a2a/utils.py:276-289 | libs/agno/agno/client/a2a/utils.py:480-493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/client/a2a/utils.py:276\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7e287a39d6a9d3c615e8e8ce7553db4f91241089697e2997ca81d98e62542d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/client/os.py:179-192 | libs/agno/agno/client/os.py:239-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/client/os.py:179\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/client/os.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"438a578f9fc39e8bb3b8456abe37cd247871342a595660b3d27848d0d4277e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/compression/manager.py:90-103 | libs/agno/agno/compression/manager.py:194-207 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/compression/manager.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded084f2ac335cff2c49a5dd7cdadd99da58f729859719d9007f713586806a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/compression/manager.py:110-123 | libs/agno/agno/compression/manager.py:215-228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/compression/manager.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba054a9594c6be2dac9034b9d30afcede90efb5accd43e383391290a998a4e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:866-879 | libs/agno/agno/db/redis/redis.py:823-835 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dcaeca47d38901d9b17aea65c722af48b8a039d26f96a35490c5c611a668bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:1489-1501 | libs/agno/agno/db/firestore/firestore.py:3374-3387 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"448169e7f71fcf2ccda15c342277c2c1e7d79cc679b78a293ff35e213103fd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2045-2058 | libs/agno/agno/db/json/json_db.py:2168-2181 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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, \u0060libs/agno/agno/db/json/json_db.py:2167\u0060 calls \u0060_refresh_metrics_before_read\u0060 and \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:2044\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"b886e3834e511cfea6d00187dccc638f20f618b9de9bc667ef7fc5e0c0872c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:766-779 | libs/agno/agno/db/migrations/versions/v3_0_0.py:995-1009 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a40be0340e5b64ff20142cdb99308115ebf43e6a1b6f52bdb96d11ecad7d23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3514-3527 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4300-4313 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb2aea1715bb394e9c8263fcafc3d20fbd72d4e68648dd6dcec646cb860d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3589-3602 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4359-4372 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3589}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80107de8a002db260660420b555cbc353093c44b8971c8b085a021188b600e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2624-2637 | libs/agno/agno/db/mongo/mongo.py:2391-2404 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2624\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c6ad71e82eb9206af7de407528c87fee6899a368fa63360e0cc77d257e9b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3118-3131 | libs/agno/agno/db/mongo/mongo.py:2872-2884 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:3118\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3118}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9efdd5685f06b3b0ab80811a9014446a3f5e94cb24adc278dc2a333786bc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4043-4056 | libs/agno/agno/db/mongo/mongo.py:3851-3864 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:4043\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca0f814284653517ea21966ea7ff68748a5e71b81f634a7c93f4e628137260e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4701-4714 | libs/agno/agno/db/mongo/mongo.py:4502-4514 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e883286add2eea626596d3f533a0c628104c36089d54f7ac6b67d9bd488d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1929-1942 | libs/agno/agno/db/postgres/async_postgres.py:2329-2342 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bdd438bb8e97312cb5be0692ac05d8d6fa5b31c9b6306cac27057de26fc506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:4008-4021 | libs/agno/agno/db/postgres/async_postgres.py:4293-4306 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4008\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4008}}}],"partialFingerprints":{"codehealthFindingId/v1":"88485f55b895b1fd9b50e58aeb46874f77e787487f2718ca6a0d95cbcbf0855e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:792-805 | libs/agno/agno/db/singlestore/singlestore.py:850-863 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:792\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc624c6bd929b69378bb57494a6c2be2fb41a131051349b224b5ff497fb4fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1182-1195 | libs/agno/agno/db/postgres/postgres.py:1337-1349 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:1182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17819123c121320c84b834c1832e2a6f22c928eca35c74faaea78818f6baa93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6464-6477 | libs/agno/agno/db/postgres/postgres.py:9153-9166 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6464\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb0e24870774bc7a60576776e2a21c66b537ff23b64fe3d6367387e6a9f4441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7326-7339 | libs/agno/agno/db/sqlite/async_sqlite.py:6542-6555 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12005580c32041489b54d9fcd752abd920eb7e1ae0f757efcf92764809dacdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7693-7717 | libs/agno/agno/db/sqlite/async_sqlite.py:6907-6931 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7693}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bdc7414377df92ed223453452324e1acdca7ffa7db580c6b6b12efdc232ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7809-7822 | libs/agno/agno/db/sqlite/async_sqlite.py:7023-7036 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"be88357af35fa85c4b8831b9faf411cae3a9ca5c26880c78af48b4af3fd4666a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8119-8140 | libs/agno/agno/db/sqlite/async_sqlite.py:7333-7354 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f01dae68433683e41e45380528ff2a8e263450bd5fb39f66c4f249148617e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:3019-3032 | libs/agno/agno/db/singlestore/singlestore.py:2129-2141 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:3035\u0060 calls \u0060sanitize_postgres_string\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:2143\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ef3c9f69daea4eb16c6f73847c44072c82bde2f04410a5b6bc29936240567d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:4439-4452 | libs/agno/agno/db/sqlite/sqlite.py:4382-4395 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4439}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92edd3fd2e37268dc85ccb2b162b02c033bc5ae1ca3b848f18ac55d3814629a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9632-9645 | libs/agno/agno/db/sqlite/sqlite.py:8576-8589 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af67cfdd864ed3c951c9a112d1c2c83fd7f2ac97f4052e24bfba36f7f9edd72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10021-10034 | libs/agno/agno/db/sqlite/sqlite.py:8964-8977 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10021}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3af1cbeae301fd623d145994a56cf9966de03005fce0984051ec35608fb8f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10436-10449 | libs/agno/agno/db/sqlite/sqlite.py:9377-9390 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10436}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bc749da25d1338c1bd395394afea34d0f780e95dbfa6249188a6ff7df4f51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10548-10561 | libs/agno/agno/db/sqlite/sqlite.py:9489-9502 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10548}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2397b310c548e68f7520bc4363115599bbba717f29e2767a8e65d5b5355f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2218-2231 | libs/agno/agno/db/valkey/valkey.py:2550-2563 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:2218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ccbc947210a2292a55b01b824c86c5cf50515ac852e82a9f17c68c73df774a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3570-3583 | libs/agno/agno/db/valkey/valkey.py:4018-4032 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/valkey/valkey.py:4017\u0060 calls \u0060record_matches_filter_expr\u0060 and \u0060libs/agno/agno/db/redis/redis.py:3569\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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3570}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caa44020ed306724a23333f0d57d3d2a07c4702b34d09fbf974196ea2e9e5ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:6004-6017 | libs/agno/agno/db/sqlite/sqlite.py:8407-8420 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:6004\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"754233ca11d2d9d5da3408bdf1d2cdee0591082b2bdc1ec4ca3536d6a7b4895d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/eval/accuracy.py:633-646 | libs/agno/agno/eval/accuracy.py:863-876 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/accuracy.py:633\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"907c4dc11ef95b0795022e74db7977867f1173a1842cbc2ae267a46d025f059a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/eval/performance.py:535-548 | libs/agno/agno/eval/performance.py:676-688 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b77aa35552cf046c1047ae9836ea426b3899765ef88bdbf95411ad64d9f302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/eval/performance.py:615-628 | libs/agno/agno/eval/performance.py:755-768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/performance.py: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":"libs/agno/agno/eval/performance.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70864fbe6745217430725b1d41695e1e10346a1acc23eee8564f93bad52bffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:637-650 | libs/agno/agno/fs/toolkit.py:1025-1038 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db39db7af64825ff89e8cc129a9bda00225f96ee4dfe8b369debe63333441b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/knowledge/embedder/cohere.py:197-209 | libs/agno/agno/knowledge/embedder/cohere.py:252-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/embedder/cohere.py:252\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d893d8df83736f65731d1c896c122bd06f6844eed6d57b86cd656c8e08216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2400-2413 | libs/agno/agno/knowledge/knowledge.py:2475-2488 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed0201ba9399a3298d793ac709d78383571ed9309176810cc4a3867082be7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3008-3021 | libs/agno/agno/knowledge/knowledge.py:3122-3135 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3008}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcea42e41d3c35a84757244dde952c2d8340422615cc940c2994ebd226efe9b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3533-3546 | libs/agno/agno/knowledge/knowledge.py:3728-3739 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/knowledge.py:3533\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3533}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb2ba7c4f96dcd1e3c302da190cc793e42697929b4eb0c81a8308f61ac3b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:123-136 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:211-223 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be600778c92130e655f6a964781af42298260953e10be4f723107c40a85d1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/learn/migrations.py:409-422 | libs/agno/agno/learn/migrations.py:528-541 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5367cf95c6ac521391eeab7f1d162f209b4513bfb627ee44ef69848056903af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/learn/stores/decision_log.py:510-523 | libs/agno/agno/learn/stores/decision_log.py:541-554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/decision_log.py:510\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efbabc273a4f1802c10994facffc633817a1702cc003eabc6ec3a9598b0f609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:2993-3006 | libs/agno/agno/learn/stores/entity_memory.py:3038-3051 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:2993\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6727cef3d6df0cd5b7c5988f0f0842df96c50d93fcfdc43bf4ffd01ce223b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:679-692 | libs/agno/agno/learn/stores/user_memory.py:710-723 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86a0187c63eac1c434dbf1d65fe5380c3661780c0f28f6932c7efc9cf8750a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:1253-1264 | libs/agno/agno/learn/stores/user_memory.py:1403-1416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/user_memory.py:1403\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"673f18c1079d1e56213ccf89bfa510cffc932900ac9adf10e9ed5dd439c4ab90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:1294-1305 | libs/agno/agno/learn/stores/user_memory.py:1446-1459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/user_memory.py:1446\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"526c8f62690ebfdb1abad5ec62fa967c8f2688e3dfc6c9a89fc118abc3310233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/memory/manager.py:1252-1265 | libs/agno/agno/memory/manager.py:1327-1340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/memory/manager.py:1252\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b95a8f4f926f1840b2af80f439205dc8ba0048d1549b827d753d121cb961e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/models/aws/bedrock.py:505-518 | libs/agno/agno/models/aws/bedrock.py:535-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. 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a26351efea64578f6551f0c59a8dea2dd128616bb213c8056abb3f97ae2ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/models/base.py:2285-2298 | libs/agno/agno/models/base.py:3016-3029 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"82893c358a6a400146f6c03d0a2ffbda3d7da25b36afeb3c2370e758c4c81cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/models/openai/responses.py:736-748 | libs/agno/agno/utils/models/ai_foundry.py:25-38 \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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2053d0dd05419886ab7c71973380965179b40856f53143e3849d56818dc785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/os/app.py:1619-1632 | libs/agno/agno/os/app.py:1639-1652 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb770fda77d471db5a2a0b05dc32581b8e394a585326e7b47573510e35c080f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/os/app.py:1882-1895 | libs/agno/agno/os/app.py:1899-1912 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/app.py"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d682f594d9af7204b91bc3582dd46eb47902e574280ff4d14a6e208f4f3459a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): libs/agno/agno/os/authz/native_engine.py:483-496 | libs/agno/agno/os/authz/native_engine.py:761-768 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7c33dd4fe04a1a322c10cd4b61430d24bb1e47297180acef01ac642514fc50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1023-1036 | libs/agno/agno/os/routers/agents/router.py:1187-1200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1023\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f30621e16587089932a49dc3794f111e50e9592a41daa29401fb9c3684ad4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/os/routers/learnings/router.py:134-147 | libs/agno/agno/os/routers/learnings/router.py:150-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/learnings/router.py: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":"libs/agno/agno/os/routers/learnings/router.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"081639948030a5a05c24a74f39d99ea3e411b272605e7a6ac8e98026246a48b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:895-908 | libs/agno/agno/os/routers/teams/router.py:1058-1071 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/teams/router.py:895\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"558a52117efb1e8244f86b4b2e567b61a1e09812daf8e6b31e1237c2727974f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): libs/agno/agno/os/routers/traces/schemas.py:109-122 | libs/agno/agno/os/routers/traces/schemas.py:381-388 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/traces/schemas.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a386c5cb6d879b81b4ebcc236e00146f449de596fec5c618a8cf6d9d9813be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/run/approval.py:822-835 | libs/agno/agno/run/approval.py:848-861 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d257e74743f953040dd08766ac2d54686c0015200ee1aa7d2ef769419901a7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/team/_response.py:157-170 | libs/agno/agno/team/_response.py:199-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d94efcec2882311161f08608c8e85d421c2afe1d4042231886c5c55b861ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/team/_run.py:2883-2896 | libs/agno/agno/team/_run.py:3945-3960 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:3945\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_run.py:3943\u0060 calls \u0060merge_background_metrics\u0060, \u0060collect_background_metrics\u0060 and \u0060libs/agno/agno/team/_run.py:2881\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"773af4e00f6be923c73a69bb17c0f9d97416dba9b2c14a7ed402af384872dbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/team/_run.py:4287-4300 | libs/agno/agno/team/_run.py:4319-4332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:4287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":4287}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b97850c766534725273ffd65e55e3a8aeae61d4f9f92685e05482f52559772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): libs/agno/agno/team/_task_tools.py:964-977 | libs/agno/agno/team/_task_tools.py:1180-1190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_task_tools.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":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"a017d12d4589d19bc7cafc6e99e0a9a9a64da3cdc1c96543866ef4c461b28506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/tools/company.py:1525-1538 | libs/agno/agno/tools/company.py:1728-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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e66badc08618cdea60d71ed03d9463cf390658074a74e635bd7c707f60b848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/tools/fal.py:80-93 | libs/agno/agno/tools/fal.py:109-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/fal.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. 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":"libs/agno/agno/tools/fal.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de51496b0c6666cbb3f41afba824c00951d848a867cc54844435bccd8c6d46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/tools/file/file.py:45-58 | libs/agno/agno/tools/workspace.py:168-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. 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":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0df4a420cfaa3b9914ae4586e6d8925750e27669b256fed6f0c4d289f96b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): libs/agno/agno/tools/parallel.py:193-204 | libs/agno/agno/tools/parallel.py:289-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa0772bb9d1aeb62b3757847d48791b56729eac16e100bfdd765b382368b7b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/tools/python.py:113-126 | libs/agno/agno/tools/python.py:142-154 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/python.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a775b0132f887e7aa26be02841e5a9a4ecad95af326dfe5919016fec0bcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/tools/redmine.py:166-179 | libs/agno/agno/tools/redmine.py:247-260 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/redmine.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0337badb7fc6087d4b002906eb69b44f62a880b8b9694563163c37edd0edcb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/utils/agent.py:816-829 | libs/agno/agno/utils/agent.py:848-861 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9912e1593692ae072b203d5adb454f37f32446c9465d0b9cd9082611b94efd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/utils/models/cohere.py:10-23 | libs/agno/agno/utils/models/watsonx.py:9-22 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/models/cohere.py\u0060 and \u0060libs/agno/agno/utils/models/watsonx.py\u0060 as WHOLE FILES: 87% 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/models/cohere.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a26a993b1ad89c66e26da21fd237c3c7a9a0e9602ae8b9e77b78eeec80b3e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/utils/models/cohere.py:30-43 | libs/agno/agno/utils/models/watsonx.py:23-36 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/models/cohere.py\u0060 and \u0060libs/agno/agno/utils/models/watsonx.py\u0060 as WHOLE FILES: 87% 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 \u0060libs/agno/agno/utils/models/cohere.py:30\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/utils/models/cohere.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b470aff9dc49e88fdf1355db9d5c50daa21c39bfdcc55200fdee12010be08157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/vectordb/lightrag/lightrag.py:196-209 | libs/agno/agno/vectordb/lightrag/lightrag.py:403-416 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/lightrag/lightrag.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a53a1b6f8f51cceb24b749058f07ff7f8a7b6bfc914b04b0b194f208918d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/vectordb/surrealdb/surrealdb.py:514-527 | libs/agno/agno/vectordb/surrealdb/surrealdb.py:892-904 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/surrealdb/surrealdb.py"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabe0ca0079bbc0de0d4bbc509bbef77bb1ccea12952bcd62e548710e886e71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:613-626 | libs/agno/agno/vectordb/weaviate/weaviate.py:710-723 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/weaviate/weaviate.py:613\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda5432bfe04a557ec490641384d694b74b948f1357614ad3f5f4498b3c73c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:328-341 | libs/agno/agno/workflow/parallel.py:697-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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fdfd265756622a4fa60e8a57584c835399b787f02e5ab0793f1746dadd137e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/workflow/parallel.py:608-621 | libs/agno/agno/workflow/parallel.py:971-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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d54e4eb9177380b3f16560157c1284cdb179718cf0fcad99040c1aa61f0c972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/step.py:2992-3005 | libs/agno/agno/workflow/step.py:3116-3129 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e00f90a2637d305ec527457f24f1ba82088186e49f03db3c0f92b63c5d69eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/step.py:3269-3282 | libs/agno/agno/workflow/step.py:3394-3407 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2447c2d5c4bb0654e0c59084eb74cf2c9c730e296e130c7292312e2ebd9e40f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/types.py:263-276 | libs/agno/agno/workflow/types.py:319-332 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/types.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"879e3b42bb9bfebac172d716b2e53c3bbdac9457eea8cb8ca15bc7544b8d7948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3016-3029 | libs/agno/agno/workflow/workflow.py:4021-4034 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a91762e15220bf090c2a544171b94e97698fb4fcf93e3181cb04baabeb79841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:5933-5946 | libs/agno/agno/workflow/workflow.py:6350-6362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:5933\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:6364\u0060 calls \u0060_broadcast_to_websocket\u0060 and \u0060libs/agno/agno/workflow/workflow.py:5947\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5933}}}],"partialFingerprints":{"codehealthFindingId/v1":"856b9cdea54b183eea9a70d23810fc8e8af7f8e107e2ce18f0fbdcc8ab43cbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7424-7437 | libs/agno/agno/workflow/workflow.py:9473-9486 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9845096e27fa39034a735a887dcf89d5d253e5efa36086f6a178970f51877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:10666-10679 | libs/agno/agno/workflow/workflow.py:10972-10985 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:10666\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:10680\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/workflow.py:10988\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":10666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f44ba32da9ebc3b4c54a395c97bc59d84171ceff40ca5315cbc5d4ef874c88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elasticache/cluster.py:241-254 | libs/agno_infra/agno/aws/resource/elasticache/cluster.py:390-403 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/elasticache/cluster.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c16b2692c8acc521b48b2cfbf628fd75e3137bce52fbde42f2dc153786396bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno_infra/agno/aws/resource/iam/policy.py:36-49 | libs/agno_infra/agno/aws/resource/iam/role.py:48-61 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/iam/policy.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/iam/role.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/iam/policy.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee87c630aa150f7303fd56741b91a1c0e1fa5e9c3855949108bb10dffdd4e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_instance.py:434-447 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:521-534 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/rds/db_instance.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"288bcd0c972f6338ced6333c6bbe08b28638d45afe61e24c9406617921b3335a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno_infra/agno/infra/config.py:183-196 | libs/agno_infra/agno/infra/config.py:273-286 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno_infra/agno/infra/config.py:197\u0060 calls \u0060debug\u0060 and \u0060libs/agno_infra/agno/infra/config.py:288\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":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d148265226047e5bb76c46b6aaaa4d03b9fcdd39656e1c5fc18354f203c380eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agnoctl/agnoctl/mcp_client.py:124-137 | libs/agnoctl/agnoctl/mcp_client.py:153-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agnoctl/agnoctl/mcp_client.py:124\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agnoctl/agnoctl/mcp_client.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba613ffc55af557fff418762125cc3155287d93ca23158dacc6c12b265a4a946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 16): libs/agno/agno/db/migrations/versions/v2_5_0.py:251-265 | libs/agno/agno/db/migrations/versions/v2_5_0.py:367-381 | libs/agno/agno/db/migrations/versions/v2_5_0.py:499-513 | libs/agno/agno/db/migrations/versions/v2_5_0.py:566-579 | libs/agno/agno/db/migrations/versions/v2_5_0.py:689-702 | libs/agno/agno/db/migrations/versions/v2_5_0.py:819-832 | libs/agno/agno/db/migrations/versions/v2_5_6.py:215-229 | libs/agno/agno/db/migrations/versions/v2_5_6.py:311-325 | libs/agno/agno/db/migrations/versions/v2_5_6.py:410-424 | libs/agno/agno/db/migrations/versions/v2_5_6.py:549-562 | libs/agno/agno/db/migrations/versions/v2_5_6.py:636-649 | libs/agno/agno/db/migrations/versions/v2_5_6.py:724-737 | libs/agno/agno/db/migrations/versions/v3_0_0.py:765-777 | libs/agno/agno/db/migrations/versions/v3_0_0.py:994-1006 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3079-3091 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4056-4068 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\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. 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3075\u0060 calls \u0060_user_id_column_ddl\u0060 and \u0060libs/agno/agno/db/migrations/versions/v2_5_0.py:249\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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1670ea79a8b4516d6a80a408cfb00ebd7462dbf0ffebed8f1eb4f80a1d4d34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 13): libs/agno/agno/db/dynamo/dynamo.py:2941-2953 | libs/agno/agno/db/firestore/firestore.py:2649-2661 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1777-1789 | libs/agno/agno/db/in_memory/in_memory_db.py:1514-1526 | libs/agno/agno/db/json/json_db.py:1886-1898 | libs/agno/agno/db/mongo/mongo.py:2680-2692 | libs/agno/agno/db/mysql/mysql.py:3174-3186 | libs/agno/agno/db/postgres/postgres.py:3998-4010 | libs/agno/agno/db/redis/redis.py:2615-2627 | libs/agno/agno/db/singlestore/singlestore.py:3167-3179 | libs/agno/agno/db/sqlite/sqlite.py:3932-3944 | libs/agno/agno/db/surrealdb/surrealdb.py:2291-2303 | libs/agno/agno/db/valkey/valkey.py:2954-2966 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 13 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 13 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"be85ce4fb7a0d527fe6fefd5f580e6e50541c7d6cd963a973505606e694d4fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): libs/agno/agno/reasoning/anthropic.py:76-88 | libs/agno/agno/reasoning/azure_ai_foundry.py:24-36 | libs/agno/agno/reasoning/deepseek.py:42-54 | libs/agno/agno/reasoning/gemini.py:63-75 | libs/agno/agno/reasoning/groq.py:31-43 | libs/agno/agno/reasoning/moonshot.py:79-92 | libs/agno/agno/reasoning/ollama.py:81-93 | libs/agno/agno/reasoning/openai.py:53-65 | libs/agno/agno/reasoning/vertexai.py:30-42 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c7f6a00cbdf39ff22cf3e60c05e3922e09ca01e2404a95890a7ff9b363d29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): libs/agno/agno/reasoning/anthropic.py:155-167 | libs/agno/agno/reasoning/azure_ai_foundry.py:58-70 | libs/agno/agno/reasoning/deepseek.py:121-133 | libs/agno/agno/reasoning/gemini.py:93-105 | libs/agno/agno/reasoning/groq.py:69-81 | libs/agno/agno/reasoning/moonshot.py:114-126 | libs/agno/agno/reasoning/ollama.py:115-127 | libs/agno/agno/reasoning/openai.py:92-104 | libs/agno/agno/reasoning/vertexai.py:67-79 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"266eb79addbac64e8080e1cc10d1b080efc773d446ec435b3e4b68d91a99ae0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): libs/agno/agno/team/_run.py:2701-2713 | libs/agno/agno/team/_run.py:2716-2728 | libs/agno/agno/team/_run.py:3832-3844 | libs/agno/agno/team/_run.py:3847-3859 | libs/agno/agno/team/_run.py:10246-10258 | libs/agno/agno/team/_run.py:10263-10275 | libs/agno/agno/team/_run.py:10366-10378 | libs/agno/agno/team/_run.py:10383-10395 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2701}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77c1440ce9e7c6ec1c20f5044a00ed36ed610464817d4fe8164d08a4d487d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:270-282 | libs/agno/agno/db/mysql/mysql.py:265-277 | libs/agno/agno/db/postgres/async_postgres.py:443-455 | libs/agno/agno/db/postgres/postgres.py:478-490 | libs/agno/agno/db/singlestore/singlestore.py:335-347 | libs/agno/agno/db/sqlite/async_sqlite.py:426-438 | libs/agno/agno/db/sqlite/sqlite.py:488-500 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5adc6e4e3ddee99e10f6952c809f3e081bbc8d59581ababdfc2fd5a71719343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:2858-2869 | libs/agno/agno/db/mysql/mysql.py:2815-2827 | libs/agno/agno/db/postgres/async_postgres.py:3102-3113 | libs/agno/agno/db/postgres/postgres.py:3638-3650 | libs/agno/agno/db/singlestore/singlestore.py:2814-2826 | libs/agno/agno/db/sqlite/async_sqlite.py:3342-3353 | libs/agno/agno/db/sqlite/sqlite.py:3574-3586 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2858\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2858}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88402a9aef05907c2b68a3ece5e043fb2f40d395c1e7248c63c1b2ee9ac8679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7): libs/agno/agno/workflow/workflow.py:3049-3061 | libs/agno/agno/workflow/workflow.py:7160-7172 | libs/agno/agno/workflow/workflow.py:7236-7248 | libs/agno/agno/workflow/workflow.py:7351-7363 | libs/agno/agno/workflow/workflow.py:9223-9235 | libs/agno/agno/workflow/workflow.py:9297-9309 | libs/agno/agno/workflow/workflow.py:9404-9416 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdac17c34626838ffe42cf97dc40dda01657000ad2e44d8f114893b7c41ffe37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): libs/agno/agno/db/base.py:525-537 | libs/agno/agno/db/base.py:2997-3009 | libs/agno/agno/db/postgres/async_postgres.py:344-356 | libs/agno/agno/db/postgres/postgres.py:378-390 | libs/agno/agno/db/sqlite/async_sqlite.py:330-342 | libs/agno/agno/db/sqlite/sqlite.py:379-391 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:341\u0060 calls \u0060get\u0060 and \u0060libs/agno/agno/db/base.py:2995\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":"libs/agno/agno/db/base.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc5f8407e69a2842dee3211831e9cab682a7357f18b177d17e4c4313927a147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): libs/agno/agno/learn/stores/session_context.py:292-304 | libs/agno/agno/learn/stores/session_context.py:318-330 | libs/agno/agno/learn/stores/user_memory.py:456-468 | libs/agno/agno/learn/stores/user_memory.py:482-494 | libs/agno/agno/learn/stores/user_profile.py:618-630 | libs/agno/agno/learn/stores/user_profile.py:644-656 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"81140c1526577c78cf5e6247e1da8d2b73dfaf8b8139725cef094060ad02d84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 6): libs/agno/agno/os/routers/agents/router.py:956-964 | libs/agno/agno/os/routers/agents/router.py:1079-1091 | libs/agno/agno/os/routers/teams/router.py:834-842 | libs/agno/agno/os/routers/teams/router.py:953-965 | libs/agno/agno/os/routers/workflows/router.py:1949-1957 | libs/agno/agno/os/routers/workflows/router.py:2059-2071 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18878ebe3fa8b510d3db4fb5f229ff97930f9319fccf0d26cad8cb21bdde927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): libs/agno/agno/tools/scheduler.py:766-783 | libs/agno/agno/tools/scheduler.py:879-891 | libs/agno/agno/tools/scheduler.py:908-920 | libs/agno/agno/tools/scheduler.py:1155-1172 | libs/agno/agno/tools/scheduler.py:1270-1282 | libs/agno/agno/tools/scheduler.py:1301-1313 \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. 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"945f5d65205b9925bdcee9903374b0b8014b1cd7bb2d735ea68116882fa1783a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 6): libs/agno/agno/utils/print_response/team.py:272-284 | libs/agno/agno/utils/print_response/team.py:654-664 | libs/agno/agno/utils/print_response/team.py:891-900 | libs/agno/agno/utils/print_response/team.py:1208-1217 | libs/agno/agno/utils/print_response/team.py:1585-1595 | libs/agno/agno/utils/print_response/team.py:1840-1849 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/utils/print_response/team.py:287\u0060 calls \u0060clear\u0060 and \u0060libs/agno/agno/utils/print_response/team.py:668\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40ccd2107000500b84b05294cca819fdaed28735f43fe80e9a69778fc740589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 6): libs/agno/agno/workflow/step.py:1209-1221 | libs/agno/agno/workflow/step.py:1566-1575 | libs/agno/agno/workflow/step.py:1895-1904 | libs/agno/agno/workflow/step.py:1924-1933 | libs/agno/agno/workflow/step.py:2229-2238 | libs/agno/agno/workflow/step.py:2293-2302 \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 \u0060libs/agno/agno/workflow/step.py:1209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c8bc4396b247d7722ae02bc3bd39cccfc63efd0ea07a69e18df5cf978b1a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): libs/agno_infra/agno/aws/resource/ecs/cluster.py:75-87 | libs/agno_infra/agno/aws/resource/ecs/service.py:212-224 | libs/agno_infra/agno/aws/resource/ecs/task_definition.py:169-181 | libs/agno_infra/agno/aws/resource/elb/listener.py:87-99 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:82-94 | libs/agno_infra/agno/aws/resource/elb/target_group.py:101-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/aws/resource/ecs/cluster.py:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno_infra/agno/aws/resource/ecs/cluster.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d95f3ac1d24b78c8d5160038e7f55a763300d5d0818973a867a5bd0d8d03bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 6): libs/agno_infra/agno/aws/resources.py:174-185 | libs/agno_infra/agno/aws/resources.py:329-340 | libs/agno_infra/agno/aws/resources.py:477-488 | libs/agno_infra/agno/docker/resources.py:131-143 | libs/agno_infra/agno/docker/resources.py:296-307 | libs/agno_infra/agno/docker/resources.py:452-463 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/docker/resources.py:131\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno_infra/agno/docker/resources.py:308\u0060 calls \u0060print_info\u0060 and \u0060libs/agno_infra/agno/docker/resources.py:144\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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43c70fa775e54c6fea5c032079d4b3501c0bf89b167087a3b77709898d99a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): libs/agno/agno/db/firestore/firestore.py:1083-1095 | libs/agno/agno/db/mysql/async_mysql.py:1323-1334 | libs/agno/agno/db/postgres/async_postgres.py:1963-1974 | libs/agno/agno/db/postgres/postgres.py:2197-2207 | libs/agno/agno/db/singlestore/singlestore.py:1388-1398 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1323\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"e120c18cc38813f2c952fe3cedba68024aec305da6d2b10f42a0e9c2d6acd9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:918-930 | libs/agno/agno/db/mysql/mysql.py:920-932 | libs/agno/agno/db/singlestore/singlestore.py:965-977 | libs/agno/agno/db/sqlite/async_sqlite.py:1267-1279 | libs/agno/agno/db/sqlite/sqlite.py:1464-1476 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sid\u0060 to \u0060sessions_table.c.runs).where(sessions_table.c.runs.isnot(None)) ) rows = result.fetchall() for\u0060 in one and \u0060sessions_table.c.runs).where(sessions_table.c.runs.isnot(None)) ).fetchall() for\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f201634b0c255d54e1510e2ca4852fafcec79eac0ad2d44b448e0826d5b40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:3648-3660 | libs/agno/agno/db/mysql/mysql.py:3593-3605 | libs/agno/agno/db/singlestore/singlestore.py:3581-3593 | libs/agno/agno/db/sqlite/async_sqlite.py:4156-4168 | libs/agno/agno/db/sqlite/sqlite.py:4369-4381 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"95045bd8ffb69f1109a4b4f1b9ddde3433e17e599189151cd2abab4ba60aa984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): cookbook/02_agents/20_time_travel/01_continue_from.py:53-65 | cookbook/02_agents/20_time_travel/01_continue_from.py:92-104 | cookbook/02_agents/20_time_travel/02_fork_run.py:58-70 | cookbook/02_agents/20_time_travel/02_fork_run.py:83-96 \u2014 before extracting anything, compare \u0060cookbook/02_agents/20_time_travel/01_continue_from.py\u0060 and \u0060cookbook/02_agents/20_time_travel/02_fork_run.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/20_time_travel/01_continue_from.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ba79698fc7094ec286828ec930f8ff45a1f51dddc50a6acba6a718ae26cae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/agent/_response.py:490-502 | libs/agno/agno/agent/_response.py:560-572 | libs/agno/agno/team/_response.py:282-294 | libs/agno/agno/team/_response.py:355-367 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:490\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2cde432394dced6bf7181d6dacf3228dff306f2d63a43282d7a540d9de4647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/agent/_run.py:510-522 | libs/agno/agno/agent/_run.py:919-931 | libs/agno/agno/agent/_run.py:1661-1673 | libs/agno/agno/agent/_run.py:2278-2290 \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 \u0060libs/agno/agno/agent/_run.py:510\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0434b82216ab2187d837d55884244ec9a9881bb3b85cf01fa68907cbadd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/agent/_tools.py:1122-1134 | libs/agno/agno/agent/_tools.py:1175-1187 | libs/agno/agno/team/_run.py:5459-5471 | libs/agno/agno/team/_run.py:5527-5539 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/agent/_tools.py:1188\u0060 calls \u0060run_tool\u0060 and \u0060libs/agno/agno/agent/_tools.py:1135\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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a2e4ee85adf59f6746b4967e793218905d19010ba4ebdd4bc97e9d61df55f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2924-2936 | libs/agno/agno/db/mysql/async_mysql.py:3232-3244 | libs/agno/agno/db/postgres/async_postgres.py:3476-3488 | libs/agno/agno/db/sqlite/async_sqlite.py:3716-3728 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2924}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bb85d5fe8079984a2562e45e57f424ca170ff413d8feb88a926e0c469204af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:1227-1239 | libs/agno/agno/db/mysql/async_mysql.py:1917-1929 | libs/agno/agno/db/postgres/async_postgres.py:1854-1866 | libs/agno/agno/db/postgres/async_postgres.py:2317-2329 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"893f8d20c811d53b13ef041ac67125f1649ffed79c92cc3c5882ed50b93e1d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:1487-1500 | libs/agno/agno/db/mysql/mysql.py:1495-1507 | libs/agno/agno/db/sqlite/async_sqlite.py:2013-2026 | libs/agno/agno/db/sqlite/sqlite.py:2281-2294 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1487\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6e4d0491893436a260cd0246d958d5a3592cb3b2800df9f59a9b598ab6a69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:1924-1936 | libs/agno/agno/db/mysql/async_mysql.py:3965-3977 | libs/agno/agno/db/postgres/async_postgres.py:2324-2336 | libs/agno/agno/db/postgres/async_postgres.py:4246-4258 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1c32daf170ad02730dd43b57452432e3b4c53e23332bbae0be1fbf815a2cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:966-984 | libs/agno/agno/db/postgres/postgres.py:1512-1528 | libs/agno/agno/db/singlestore/singlestore.py:1011-1029 | libs/agno/agno/db/sqlite/sqlite.py:1510-1528 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f060d4375de66e73d7aedd391cf85d8c9066056cad093a1ffe6f783c9b92bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1243-1255 | libs/agno/agno/db/postgres/postgres.py:2090-2102 | libs/agno/agno/db/singlestore/singlestore.py:1294-1306 | libs/agno/agno/db/sqlite/sqlite.py:2052-2064 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdac17b3bb25a0cac42e88f61d5693cefdf81fb73f48f3d09f680b35c795b325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2005-2017 | libs/agno/agno/db/mysql/mysql.py:3606-3616 | libs/agno/agno/db/postgres/postgres.py:2897-2909 | libs/agno/agno/db/singlestore/singlestore.py:2013-2025 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2005\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"4370ab1e2a35ad3c618ec6e8bdf514cbaf0fc036681da9e64105af8e0305dfc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:1189-1201 | libs/agno/agno/db/postgres/postgres.py:1343-1355 | libs/agno/agno/db/sqlite/async_sqlite.py:1144-1156 | libs/agno/agno/db/sqlite/sqlite.py:1339-1351 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a066b3fdde584af1cf57df2345f87573b6c26a325f34c8e26226d6af45f38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7603-7615 | libs/agno/agno/db/postgres/postgres.py:10348-10360 | libs/agno/agno/db/sqlite/async_sqlite.py:6817-6829 | libs/agno/agno/db/sqlite/sqlite.py:9289-9301 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7603}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8f5cfc1b1f3cec27222ea5ac82c8c2db6d1120224338ac4f4b7651c5ff1c9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:8335-8347 | libs/agno/agno/db/postgres/postgres.py:8700-8712 | libs/agno/agno/db/sqlite/sqlite.py:8122-8134 | libs/agno/agno/db/sqlite/sqlite.py:8504-8516 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8c30d32141a93f084df9db969f79851072751d6ec884f93eb22d7a65654d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/learn/stores/learned_knowledge.py:1133-1145 | libs/agno/agno/learn/stores/session_context.py:563-575 | libs/agno/agno/learn/stores/user_memory.py:788-800 | libs/agno/agno/learn/stores/user_profile.py:870-882 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f79efcecea95c111acac05a90828da14d0cc06c732bf8004662437a1c714416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/learn/stores/learned_knowledge.py:1185-1197 | libs/agno/agno/learn/stores/session_context.py:633-645 | libs/agno/agno/learn/stores/user_memory.py:851-863 | libs/agno/agno/learn/stores/user_profile.py:930-942 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/learned_knowledge.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfe43bcf3bae670be51f5d25245de925f4cfe5da48e2fe1f5892882d2b288dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/team/_default_tools.py:740-752 | libs/agno/agno/team/_default_tools.py:800-812 | libs/agno/agno/team/_default_tools.py:1092-1104 | libs/agno/agno/team/_default_tools.py:1155-1167 \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 \u0060libs/agno/agno/team/_default_tools.py:740\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_default_tools.py:1107\u0060 calls \u0060member_knowledge_filters\u0060 and \u0060libs/agno/agno/team/_default_tools.py:755\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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be6aadf495c013941572519b809ad5cd74b5b8112a85cb7e848a609a04f35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): libs/agno/agno/team/_default_tools.py:745-757 | libs/agno/agno/team/_default_tools.py:929-941 | libs/agno/agno/team/_task_tools.py:525-536 | libs/agno/agno/team/_task_tools.py:706-717 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d52e409bd4f340602c78a2e3846b29a76a971b6d78ad567b020556a0bd1361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/tools/brandfetch.py:91-103 | libs/agno/agno/tools/brandfetch.py:127-139 | libs/agno/agno/tools/brandfetch.py:163-175 | libs/agno/agno/tools/brandfetch.py:199-211 \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. 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":"libs/agno/agno/tools/brandfetch.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddc7018c151a222cbc7d8582a963dff791a67eb289810b670297e443f6b2686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 4): libs/agno/agno/utils/print_response/agent.py:132-144 | libs/agno/agno/utils/print_response/agent.py:339-349 | libs/agno/agno/utils/print_response/team.py:487-497 | libs/agno/agno/utils/print_response/team.py:1419-1429 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060None\u0060 to \u0060\u0022tool\u0022) and response_event.tool is not\u0060 in one and \u0060\u0022tool\u0022) and resp.tool is not\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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe8684037929001962343a212f8c2e2efc726a0c859e6b1091372415e2fc7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/workflow/condition.py:704-716 | libs/agno/agno/workflow/condition.py:752-764 | libs/agno/agno/workflow/condition.py:1157-1169 | libs/agno/agno/workflow/condition.py:1205-1217 \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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50cc26aa446c1c0a71c3ced3326d7623e1a82066222eb6753abe5d2d3ff7524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): libs/agno/agno/workflow/parallel.py:332-344 | libs/agno/agno/workflow/parallel.py:487-499 | libs/agno/agno/workflow/parallel.py:701-713 | libs/agno/agno/workflow/parallel.py:853-865 \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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d086714855d4c84540fe53af72d58ccb3f497bf55a9b76eef8d4a4c7a95af0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/agent/_run.py:1478-1490 | libs/agno/agno/team/_run.py:4286-4298 | libs/agno/agno/team/_run.py:4318-4330 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3b7c5c64044f8b99b6f0b05ff1d41e91b97250eab060f2ea02c83244eed020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/agent/_storage.py:574-586 | libs/agno/agno/team/_storage.py:443-455 | libs/agno/agno/workflow/workflow.py:2522-2534 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060AgentSession\u0060 in one and \u0060TeamSession\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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"548b5ce8531bce341f59951285c39fb636fcd6e1ccbf3313a9bf1cadbd1932eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2618-2630 | libs/agno/agno/db/postgres/async_postgres.py:2870-2882 | libs/agno/agno/db/sqlite/async_sqlite.py:3109-3121 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c5a85373e6aa9d1c06d341f2ed4e494b3161402c6850ec27dfa32634457d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:2220-2232 | libs/agno/agno/db/postgres/postgres.py:3103-3115 | libs/agno/agno/db/singlestore/singlestore.py:2233-2245 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:2217\u0060 calls \u0060begin_nested\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:2230\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f4976b0e57f0af6905aa753ac20132c57496f54d5d41e4b7ad24f993f03169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): libs/agno/agno/db/valkey/valkey.py:896-908 | libs/agno/agno/db/valkey/valkey.py:1516-1528 | libs/agno/agno/db/valkey/valkey.py:3531-3542 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/valkey/valkey.py:1529\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/valkey/valkey.py:909\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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a4c23c0d24dc4e22d44e64295adb54fdf93fb4777606371e0d42c077031bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/knowledge/embedder/aws_bedrock.py:477-489 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:529-541 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:561-573 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"697835c5d589ee88e7da1c7058a974aff42d3e41d775d061a3e2ff54729635c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/os/routers/components/components.py:1386-1398 | libs/agno/agno/os/routers/components/components.py:1496-1508 | libs/agno/agno/os/routers/components/components.py:1565-1577 \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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"546279bafc4f102522771c6a0fde2b5e495143019d68322c198469386cbf9177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): libs/agno/agno/team/_run.py:395-406 | libs/agno/agno/team/_run.py:1263-1275 | libs/agno/agno/team/_run.py:8324-8335 \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 \u0060libs/agno/agno/team/_run.py:395\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca4188b95cf32b1c01af26e30de0b55b947f7008fe950fe77d69adf349732a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/workflow/condition.py:1036-1048 | libs/agno/agno/workflow/router.py:708-720 | libs/agno/agno/workflow/router.py:1042-1054 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:1036\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3120c11ff07590400f704a49a4890a71349b14f9165d518f15f91c8b6f2fa34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno_infra/agno/aws/resources.py:97-109 | libs/agno_infra/agno/aws/resources.py:259-271 | libs/agno_infra/agno/aws/resources.py:416-428 \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 \u0060libs/agno_infra/agno/aws/resources.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2575c917f277cdcf5f3dfa64625a6abf1a19844b2329e80eac2508d4d821b5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno_infra/agno/docker/resources.py:41-53 | libs/agno_infra/agno/docker/resources.py:200-212 | libs/agno_infra/agno/docker/resources.py:365-377 \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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a0f4ed94c25d7f4b3ceecb8f065cf5885f9ad9cf2da538b16458597043666e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno_infra/agno/docker/resources.py:55-67 | libs/agno_infra/agno/docker/resources.py:214-226 | libs/agno_infra/agno/docker/resources.py:379-391 \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 \u0060libs/agno_infra/agno/docker/resources.py: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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37b8a25bb5f3c23bd9c02350369231afd69944a5df7aca9f0e7b06e1ccb0ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno_infra/agno/docker/resources.py:153-165 | libs/agno_infra/agno/docker/resources.py:319-331 | libs/agno_infra/agno/docker/resources.py:475-487 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno_infra/agno/docker/resources.py:474\u0060 calls \u0060print_info\u0060 and \u0060libs/agno_infra/agno/docker/resources.py:152\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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c0b6f1ec6141ee266eec5931acad6ce05683851ae7bc0a2006bff52d40d957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/02_agents/11_approvals/approval_async.py:76-88 | cookbook/02_agents/11_approvals/audit_approval_async.py:64-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 \u0060cookbook/02_agents/11_approvals/approval_async.py:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/11_approvals/approval_async.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"318ca932027c3a23e10c2584009f366d2c0e4c9141bdaf772279207b39623146"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/03_teams/14_run_control/cancel_run.py:24-36 | cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py:25-37 \u2014 before extracting anything, compare \u0060cookbook/03_teams/14_run_control/cancel_run.py\u0060 and \u0060cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"cookbook/03_teams/14_run_control/cancel_run.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6847381d7100294aeea9101bbeb86e858510f62a12336d1d943225c9ecd7e5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/structured_io/structured_io_function.py:95-107 | cookbook/04_workflows/06_advanced_concepts/structured_io/structured_io_function.py:160-171 \u2014 both copies are in the same file, so extract the block 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":"cookbook/04_workflows/06_advanced_concepts/structured_io/structured_io_function.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69add2c15d70ff946792f23698c5bf9ed2cb9ee236a98dd2287db55f0d9f02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py:134-146 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:198-209 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py\u0060 and \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py: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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c598037d98d33d4d0bbe5ce52657734d11b035b6ccb7af0f027146bb2f7b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:137-149 | cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00d10dee305023db1698f48e384053af37d6a1f0b919b0a98a6b2036cfaad2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/05_agent_os/05_human_in_the_loop/user_input.py:139-151 | cookbook/05_agent_os/05_human_in_the_loop/workflow_hitl.py:175-187 \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 \u0060cookbook/05_agent_os/05_human_in_the_loop/user_input.py:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/05_human_in_the_loop/user_input.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a218b94b30e5073fab09499ce7bc4c185a93e34990692b858bd07c5ecfbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/12_context/02_web_exa_mcp.py:37-49 | cookbook/12_context/11_web_parallel_mcp.py:39-51 \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 \u0060cookbook/12_context/02_web_exa_mcp.py: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/12_context/02_web_exa_mcp.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f3adf1452cf1d40dce3b8d40f2750a254d1d7f036d8e8c6529b8db169f3ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/12_context/14_wiki_filesystem.py:70-82 | cookbook/12_context/15_wiki_git.py:92-104 \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, \u0060cookbook/12_context/15_wiki_git.py:91\u0060 calls \u0060asetup\u0060 and \u0060cookbook/12_context/14_wiki_filesystem.py:69\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":"cookbook/12_context/14_wiki_filesystem.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bf2c24aa5836224596a5ec4a1f214c1bbe958cb17c978bf18f950d2cae14e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/91_tools/mcp/sse_transport/client.py:24-36 | cookbook/91_tools/mcp/streamable_http_transport/client.py:23-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/sse_transport/client.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093f07a03c8abc1dbd950beedd1480c7ccdce50d31001d0d997ff07474755e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:201-214 | cookbook/data_labeling/_19_inter_annotator_agreement/jury_votes.py:237-250 \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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4383e53c5a9d6a241fcfbfcbbaa643b506b3e1ce8cdfbf953364c5b541d10a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:385-400 | libs/agno/agno/team/_default_tools.py:1558-1572 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1243a85bbe14e0156f0dcee07ba94abc5e34d63a2b87b4319b076efdaea828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/agent/_init.py:282-294 | libs/agno/agno/team/_init.py:697-708 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb4ae0baa0968b79feb1db5aaf3c9d8e1a7f2a28ba93ac505056dde9a84e201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/agent/_init.py:519-529 | libs/agno/agno/team/_init.py:948-960 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tools\u0060 to \u0060Union[Sequence[Union[Toolkit, Callable, Function, Dict]], Callable]\u0060 in one and \u0060Union[List[Union[Toolkit, Callable, Function, Dict]], Callable[..., List]]\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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d476a1ac4819139c28765cddd82c497c013e43df36bae544c665b9e8613f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_init.py:535-547 | libs/agno/agno/team/_init.py:966-978 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4edb448c9566e400bcc0a600824c605bbe1942764815b89cebd15b6ef0d070e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_managers.py:272-286 | libs/agno/agno/team/_managers.py:223-235 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_managers.py:272\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32fdfa277a60418008bbd0bc4c57bd1950f1124a5eb1cd572d52f31f82d391c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_messages.py:2617-2630 | libs/agno/agno/agent/_messages.py:2726-2738 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e62067b7d370624cfe6b8dd40c0dc97f0b63019e442359ad064a28e4503470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_response.py:334-346 | libs/agno/agno/team/_response.py:135-147 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"96366949ea8ce0738718c03bbc2816a70b549714a5a0c73cd63dcc6c318ba177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/agent/_response.py:793-804 | libs/agno/agno/tools/reasoning.py:141-153 \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 \u0060libs/agno/agno/agent/_response.py:793\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"25427fdf0a819491c248ff26d1204bfa81501cabd12e3dc108ed30366cd600e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_run.py:698-710 | libs/agno/agno/agent/_run.py:1232-1244 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"63929d4999e787d40c1e42071c63f3042eb4060a811bb7cc34ca98de7e4373cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_run.py:1068-1080 | libs/agno/agno/agent/_run.py:1118-1130 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"874b8aca7026613c23d88f4143e0f0244ee3e38a5e94b3862a054ba6e2435254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_run.py:1894-1906 | libs/agno/agno/team/_run.py:3397-3409 \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 \u0060libs/agno/agno/agent/_run.py:1894\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"7891a15bfc44d700337305f4e95349017509dc9a285e323b34881074bcf1b646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_run.py:2429-2441 | libs/agno/agno/agent/_run.py:2472-2484 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:2429\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed47f567e14f7b9964a064d2884fed4d15f646a2b980947ced697f79b964f5b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_run.py:2877-2889 | libs/agno/agno/agent/_run.py:2910-2922 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"f847e1e979d70b5cfb14f9381b25e5accb137be9565a139fc00c1697425d4d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1270-1282 | libs/agno/agno/team/_storage.py:1178-1190 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ee26f0ac8bc7d5f34f9c1cfd6a2699996a98822e6075a2332816c0257af2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/agent/_tools.py:802-814 | libs/agno/agno/agent/_tools.py:827-838 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_tools.py:802\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"695af01cf88b89cce8e38bb57e18ff77312f613642b6692e44e67d0c42f06907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agent/agent.py:2049-2061 | libs/agno/agno/workflow/workflow.py:12120-12132 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d46a31bc9f3d4d471d5e503166e14ed817fb5a3e74751cfde1f90b74f28caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/agents/base.py:2240-2252 | libs/agno/agno/agents/base.py:2409-2421 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b78e7212ed800305cfbb211c4ee60de76a3a27cad30e5ec24a426e73e44932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/client/os.py:1716-1728 | libs/agno/agno/client/os.py:1745-1757 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/client/os.py"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"04beca22a4744fd25dc812ba73460a8ca5d708603cfb09b42411ad994a748154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/api_client.py:21-33 | libs/agno_infra/agno/aws/api_client.py:21-33 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/api_client.py\u0060 and \u0060libs/agno_infra/agno/aws/api_client.py\u0060 as WHOLE FILES: 88% 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. 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":"libs/agno/agno/cloud/aws/s3/api_client.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f031d9e17be7183343fd19e0d80f344d1c3c3912479daade383c36fcf3d46f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:1495-1507 | libs/agno/agno/db/dynamo/dynamo.py:1566-1577 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"df958d6637f2688d29fd829b060b5a0e3db1c1ff8a09dc0920c272a689c7ca68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/filter_converter.py:115-127 | libs/agno/agno/db/valkey/utils.py:293-305 \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":"libs/agno/agno/db/filter_converter.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2bb5fe1344d27a14a2d0db5a6d8bc2bf9fe8a77b05c83167f062228ee1ad26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:492-502 | libs/agno/agno/db/json/json_db.py:556-568 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e0b8e4b6232ba7a76d583d0817c98dbb71b06f30767931dbbfcb5f4f9c9d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_3_0.py:346-358 | libs/agno/agno/db/migrations/versions/v2_3_0.py:657-666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v2_3_0.py:346\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a9d949d595d8849ce902ee71040eb686792896c97ea86e85761443f566a368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:888-899 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1091-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. 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0587552f15beb733a07399dbdc88aed5a3002339b0d9c8d661f2646cf048ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3172-3184 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4109-4121 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3168\u0060 calls \u0060_user_id_column_ddl\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:4107\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f95f5256b8ff4d8f13695fad5976ff748c9eafd554c0ba1b67889c2384ad689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3882-3894 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3954-3966 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3967\u0060 calls \u0060join\u0060, \u0060quote_db_identifier\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3895\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3882}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17af6c5119deabf4dd7d7fc7694d9f7cda6ce1195d3f315abeddfb392abdbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1167-1179 | libs/agno/agno/db/mongo/mongo.py:978-990 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d869952decf4f8751b09c699c2681afe7985597458b13b1a4e31a860cebd4def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1896-1908 | libs/agno/agno/db/mongo/mongo.py:1703-1715 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b370f4d927abd1c7b6e3c6aac17da0d0f1a75c75808d89564cb2b747241c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3358-3369 | libs/agno/agno/db/mongo/mongo.py:3107-3119 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6204f68fc6f80c2966c67bc515f216a8ab11bebb11231444a4f636cb5d041b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3752-3764 | libs/agno/agno/db/mongo/mongo.py:3560-3572 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:3752\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3752}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8892cda37a53bbbe71c7df6c6cbe6e0d0a5699e9d435f6fd2d4a91f4fb524c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3945-3957 | libs/agno/agno/db/mongo/mongo.py:3753-3765 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:3945\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead8c11c273fde1a5979f319008fe6d2a5c4a61b0acd4befd554fafb2d504298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4521-4533 | libs/agno/agno/db/mongo/mongo.py:4339-4351 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:4521\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4521}}}],"partialFingerprints":{"codehealthFindingId/v1":"811c45dcef79ac7a3bc840067b67270e4ed117ad8998037ff2a6904c9f28e718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:789-801 | libs/agno/agno/db/mysql/mysql.py:784-795 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:789\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f01c06787e08f002b8492f0cbc264d13f4155af6f488d6e8ecc1aa383447081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:3951-3963 | libs/agno/agno/db/postgres/postgres.py:4829-4841 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:3951\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3951}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77d61ec6cefec96a7fa058eb9c667e8557120e8f595d01dc1a13132a7be72fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:346-358 | libs/agno/agno/db/singlestore/utils.py:268-280 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 10 separate duplicated blocks between them, totalling at least 214 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ea96c0355509e6aa444e1e0e0a351afe8ceecbe082ea7cd9bd00a1ffab4a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2190-2202 | libs/agno/agno/db/postgres/postgres.py:2684-2696 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf00fb112ae223fa463795f240631ba145359658b781d492313c732db228278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2559-2571 | libs/agno/agno/db/sqlite/async_sqlite.py:2807-2819 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2559\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7c249400bd369c6df8212888bc58c4c4fc5351a30c8a716889939e18aa81cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2990-3002 | libs/agno/agno/db/postgres/postgres.py:3551-3563 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2990\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2990}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96a1d602ac10a7c731e0b649d1262c7087504a0ba4f46918eace7c62046aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4458-4470 | libs/agno/agno/db/postgres/postgres.py:4994-5006 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4458}}}],"partialFingerprints":{"codehealthFindingId/v1":"886a099aa0be6838207308dae9b15a5ae01db4cd7cb8e2e91b707351879fadfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6639-6651 | libs/agno/agno/db/postgres/postgres.py:9322-9334 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6639\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6639}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa495400b7bce6ad90c373208fcde92353729f32cd59be2d1cd48be81d1cb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6668-6680 | libs/agno/agno/db/postgres/postgres.py:9350-9362 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6668\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6668}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a2b02119037b78b2e744cba593d303942675be89fa1bcac1261445f80990eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7552-7564 | libs/agno/agno/db/sqlite/async_sqlite.py:6767-6778 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:7552\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7552}}}],"partialFingerprints":{"codehealthFindingId/v1":"12602aad17e5c643b6e778e9958c9e08dfd3762a48dc21db8e4b49fd0e1c25ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7886-7901 | libs/agno/agno/db/sqlite/async_sqlite.py:7100-7115 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7886}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f70ac5b97cacaf3dcc67541d282cdd6f72c7eb2903c7f99e5f6a767654ca37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7962-7974 | libs/agno/agno/db/sqlite/async_sqlite.py:7176-7188 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7962}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5b3eca53f64c581c6cf0002a5d1eb534c269253715a0c680f52f33cc7c4a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1590-1602 | libs/agno/agno/db/sqlite/sqlite.py:1580-1592 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:1608\u0060 calls \u0060_release_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py:1599\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75945adeaab56e2c5fb6cf741bd0f8b63a0fdb6bd41c7589c7d28ff838b83e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:5274-5286 | libs/agno/agno/db/sqlite/sqlite.py:5100-5112 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:5274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b860b21997a82350a7ed4b2f31d288cef5a419a6d11d4e3d3b1172bd68701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6719-6731 | libs/agno/agno/db/sqlite/sqlite.py:6535-6545 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6719\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6719}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f1dba71dbf07f61c748e2266a582410cf7f92bd91867dc8ccd2248a8e9a583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10079-10091 | libs/agno/agno/db/sqlite/sqlite.py:9022-9034 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10079}}}],"partialFingerprints":{"codehealthFindingId/v1":"680589dbd0b83567cc05936f0133789a68d6d42b6505329abf88dd2574bda5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10297-10309 | libs/agno/agno/db/sqlite/sqlite.py:9239-9250 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:10297\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10297}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cb2ac3221949ce060367445d5884626e37e7e267b8c1a11f06993a3308197f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10699-10716 | libs/agno/agno/db/sqlite/sqlite.py:9640-9657 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10699}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92792d6c1747d4fd17ac94d443c9cc8d1ba16d187c90a5b9e82101e5a2c5fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:659-671 | libs/agno/agno/db/sqlite/utils.py:664-676 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/utils.py:659\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"986658c921600886f6c0a8c1a9b6ea1966385f4a00fee8592028033f09f5ddf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:696-708 | libs/agno/agno/db/valkey/valkey.py:801-813 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd2d21ed0aae6a4ef2ac5f4b596dcc2a1800fd67d6cc29e96f07aea48ff987b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1093-1105 | libs/agno/agno/db/valkey/valkey.py:1247-1259 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407864d6b4a7a8189960d6f95dbd757101eb1129580be37e8361d83002ab1c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2003-2015 | libs/agno/agno/db/valkey/valkey.py:2336-2348 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"469f1feaae90622181bf718f24718af86d76fe35e445e97c3e352cb51ce7e502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:350-362 | libs/agno/agno/db/sql/authz.py:784-794 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6eed903644b7d08e927902b017f862389e034536e7b680ec15322986c26489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1237-1249 | libs/agno/agno/db/sqlite/sqlite.py:1431-1443 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dd14e09c53b1407ce59a997591746e7d6a072b63cab20339ee60c24bb0c5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:5980-5992 | libs/agno/agno/db/sqlite/sqlite.py:8384-8396 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":5980}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac672363698dfa3465230dbd8a153d1f7f9f5475a827cfd25e26d58a09ec1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/surrealdb/surrealdb.py:3216-3228 | libs/agno/agno/db/surrealdb/surrealdb.py:3307-3319 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef465becec01ca3ef7912e56b92665f4c61a7da32ffb23ff37501a3b96763ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/valkey/valkey.py:875-887 | libs/agno/agno/db/valkey/valkey.py:3511-3523 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"705df09a6cc0baf9ce52260567fd5754e26b4dbdfb9a816614e670afac2ad229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/db/valkey/valkey.py:2426-2438 | libs/agno/agno/db/valkey/valkey.py:2458-2469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/valkey/valkey.py:2426\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a28cd5ec4487582ff7a7bfcc101c71da9026973f4e9ba68758ca5cca558600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/eval/reliability.py:333-345 | libs/agno/agno/eval/reliability.py:408-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/eval/reliability.py:333\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/reliability.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7089695897d8d2da8d5d6e83cd9ad074c831e15d2062fd3dcfbf32bcbc04042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/fs/fs.py:611-629 | libs/agno/agno/fs/fs.py:817-835 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70719904f3efa5f47d50d8105a0680c31f15004e45689f1123b59d0128e4504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:603-615 | libs/agno/agno/fs/toolkit.py:996-1008 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17670d7c919265126230dd7abf8d8580f5f6c4cde3aa19fd67df76fd30c011c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/guardrails/openai.py:58-70 | libs/agno/agno/guardrails/openai.py:104-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/guardrails/openai.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1340d1616a1815c895db47a81e9fcdf395953202f55dc9e350a43306ae287266"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/knowledge/embedder/cohere.py:214-226 | libs/agno/agno/knowledge/embedder/cohere.py:240-252 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"221eee334e781ea5c35b092547741e07799b7852ef81f098c4fc61758cdb3c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3031-3043 | libs/agno/agno/knowledge/knowledge.py:3145-3156 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3031}}}],"partialFingerprints":{"codehealthFindingId/v1":"47561ca6698033f04f5cde953a9a9554d041bf11100808025a710c4122a1d60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/learn/migrations.py:224-236 | libs/agno/agno/learn/migrations.py:246-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/migrations.py:246\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"88619a899639ceddbf5589691ac7af09a9192fc6a5452c956168950fc5497287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/learn/migrations.py:423-435 | libs/agno/agno/learn/migrations.py:543-554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/migrations.py:543\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0607ebcb3db5b13f291d6f452b1ba7b8add9a95a02be4085346bc16ff9ab372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:1764-1776 | libs/agno/agno/learn/stores/entity_memory.py:1831-1843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:1764\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccaa146922d502c23149fc932372f537092cb578884c81ead0b01f01c6a9d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:361-373 | libs/agno/agno/learn/stores/session_context.py:403-415 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dde44e84b86dfda95ff36ac4739e8db64f6db96ef9930467088db395f2646ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/memory/manager.py:405-415 | libs/agno/agno/memory/manager.py:500-512 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"433b2dd5fd60c32694ca8b4ef00ecae14402ada73dc66392d5b53a32226c3222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/memory/manager.py:457-468 | libs/agno/agno/memory/manager.py:541-553 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fcb2bedc970ff8cd9096b9deebfcf078c30bd53ab118733c8eb8bd920569bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/metrics.py:767-779 | libs/agno/agno/metrics.py:844-854 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/metrics.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"925cb68e0f2026468936c213591e443f1cbc5e104a5e8c7edd8d3818bf6d8f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/models/azure/ai_foundry.py:299-311 | libs/agno/agno/models/azure/ai_foundry.py:337-349 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0339ea40ba06846b085f14c19cff6555af12bb87189c2fd8fd1f7aea0c5ad704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/models/base.py:336-348 | libs/agno/agno/models/base.py:389-401 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5165361358f2b5c74a2febbfec59f78abb3a811e7eca139bc07a554c72ab395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/models/base.py:2300-2312 | libs/agno/agno/models/base.py:2891-2903 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b064a439e9da6c27c5845200397bf4c497670ada42c37057cd87288ae9a781b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/models/google/gemini.py:462-474 | libs/agno/agno/models/google/gemini.py:517-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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"be86115de6c5bfb109dc127afaabcf899cfe6ccbccd1b7a013337427fbd98e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/models/groq/groq.py:328-339 | libs/agno/agno/models/groq/groq.py:412-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/groq/groq.py:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d420d2c90aebd017bc0b6c58c5c84f018592bc70c94fad265f0f1b115940d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/models/huggingface/huggingface.py:271-283 | libs/agno/agno/models/huggingface/huggingface.py:302-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 \u0060libs/agno/agno/models/huggingface/huggingface.py:271\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"239eeb7b21ea9a6878b9855929e150b8e6fa08253c2facf181e901c39ebf75b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/models/mistral/mistral.py:254-266 | libs/agno/agno/models/mistral/mistral.py:322-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/mistral/mistral.py:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78be48cfd127e0f98070094c033c924a96d64afab47caade56bd92c53286d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1156-1168 | libs/agno/agno/os/routers/agents/router.py:1212-1224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dac183193b646c0724906469b2f908eb2a3fd7a60d018d5019aa08335b0e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1706-1718 | libs/agno/agno/os/routers/teams/router.py:1577-1589 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1706\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa2f396fd9be7c392fba74e724e2088237e420178878d1e699268df952a607f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2324-2340 | libs/agno/agno/os/routers/agents/router.py:2344-2356 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d74b5b70b9000b4849e2f4bcbe704e920e3abce7b083bed22cc7f8af005fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/os/routers/components/components.py:1309-1320 | libs/agno/agno/os/routers/components/components.py:1377-1389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/components/components.py:1309\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5904357c2b939d7e2176e589e32b1e88f239107d1e64e6e361206fc8664e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/os/routers/learnings/router.py:290-301 | libs/agno/agno/os/routers/learnings/router.py:310-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/learnings/router.py:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/learnings/router.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3930aac664787a27d24a5cf7d443691356bde14450ebcbd5dbc72eb37afa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:165-177 | libs/agno/agno/os/routers/teams/router.py:456-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 \u0060libs/agno/agno/os/routers/teams/router.py:456\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec5679872248e93121857e3d699603eb708fc1c792525d950e13201fd76d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:2136-2152 | libs/agno/agno/os/routers/teams/router.py:2156-2168 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5449be17347fc42ecbd9340998e8671c2ff3030eb1a341ddfd2a414651fa7502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): libs/agno/agno/os/routers/traces/traces.py:735-747 | libs/agno/agno/os/routers/traces/traces.py:782-791 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/traces/traces.py:735\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc183f44189063f3cd355ad5545705e1ec0860e9fc6974183891612c48900b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:2827-2843 | libs/agno/agno/os/routers/workflows/router.py:2847-2859 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09561385726e85201c09f0975563864b87844661134e7c8ebcbd4614f4cf396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/run/approval.py:591-603 | libs/agno/agno/run/approval.py:650-662 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dc49b2002829574466651fc0cee8a85daab7443fb3403fdcbcf32cec438f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:1803-1815 | libs/agno/agno/team/_default_tools.py:1906-1918 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52f116e301a69594bb9cbf5be848e0ab26245b73f6b0424dd1f44dd961fff31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/team/_hooks.py:111-123 | libs/agno/agno/team/_hooks.py:183-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_hooks.py:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f074439248314168ddec48a63caff99bec3203950d1e7f20c3c7b56b732cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/team/_hooks.py:100-112 | libs/agno/agno/team/_hooks.py:137-147 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bdd0b495cb07bd03b0d92b84cdc65226a0cb40e77be07ad1fa4fe3eba28aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/team/_hooks.py:146-158 | libs/agno/agno/team/_hooks.py:218-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_hooks.py: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":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07af253370eca4d2a72ab66ee92dc13e94b3789af40151932aace9ade2d89a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/team/_messages.py:1761-1771 | libs/agno/agno/utils/prompts.py:30-42 \u2014 before extracting anything, compare \u0060libs/agno/agno/team/_messages.py\u0060 and \u0060libs/agno/agno/utils/prompts.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060libs/agno/agno/utils/prompts.py:30\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"2747b5eda11f8d75ea596c73ae79797f6c97740ed1fa3b935c72798c48b19513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/team/_tools.py:282-294 | libs/agno/agno/team/_tools.py:322-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_tools.py: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":"libs/agno/agno/team/_tools.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9e0af7b5ea8eb64e19633c9930f3d68e7ee0ed20ca65d0c0c276e6e4988539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/tools/csv_toolkit.py:63-76 | libs/agno/agno/tools/csv_toolkit.py:94-106 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/csv_toolkit.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6458e950fc3df1194bdc52c248eeef99d575999eb5f1a1fc1930b2753062383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/tools/daytona.py:374-386 | libs/agno/agno/tools/daytona.py:408-419 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/tools/daytona.py:406\u0060 calls \u0060Path\u0060, \u0060_get_working_directory\u0060 and \u0060libs/agno/agno/tools/daytona.py:371\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":"libs/agno/agno/tools/daytona.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a541fdcf3d36d9dd17d9b68f1c99898b6dfb92ce6baa764091ffe6e6ae330dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/tools/function.py:2504-2516 | libs/agno/agno/tools/function.py:2830-2842 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"370d17299b4e2dfd885bf12d2ae2db7c92f1076dc8928e3b8c15c11a725ad675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/tools/postgres.py:269-281 | libs/agno/agno/tools/redshift.py:372-384 \u2014 before extracting anything, compare \u0060libs/agno/agno/tools/postgres.py\u0060 and \u0060libs/agno/agno/tools/redshift.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1e4e74ddc2a42f6722a4ed098cd15941e1bf878f0d2327d320b7a028a59f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/tools/searchapi.py:79-90 | libs/agno/agno/tools/serply.py:81-93 \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 \u0060libs/agno/agno/tools/serply.py:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/tools/searchapi.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d173a1b3f5e263e1ab5531466be37a0294c5e426de6abf7bcafd0a7ce9138a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/tools/slack.py:219-231 | libs/agno/agno/tools/telegram.py:71-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/slack.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c949e1337a951ba1fb53c89c10df977add73017f79ce22a8b780a5307beb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/tools/zep.py:122-134 | libs/agno/agno/tools/zep.py:333-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. 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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"18aa189ecefffaee4e568538667a79a07918bdcdfecef9efd59027840fe602b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/utils/agent.py:1096-1108 | libs/agno/agno/workflow/workflow.py:1104-1116 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session_id\u0060 to \u0060str\u0060 in one and \u0060Optional[str] = None\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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44c2fcb508025e1cc866ca8a50f624849fec5064034a8bf0eeb6b22bc0e8b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/utils/agent.py:1122-1134 | libs/agno/agno/workflow/workflow.py:1132-1144 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060session_id\u0060 to \u0060str\u0060 in one and \u0060Optional[str] = None\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, \u0060libs/agno/agno/workflow/workflow.py:1131\u0060 calls \u0060Exception\u0060 and \u0060libs/agno/agno/utils/agent.py:1120\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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6dcd86018453d826a8b1f0fbc800d050087f75ae463395674cecfdd4b97b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/utils/callables.py:79-91 | libs/agno/agno/utils/callables.py:113-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/callables.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c14c81a7d74acab9681a9d370ad7cf8ccec4a16175a81811374bd484197ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/utils/callables.py:236-248 | libs/agno/agno/utils/callables.py:274-286 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7032eac6588f8ac57190ebc87352a43b449ddae6754eedf99ec2a915375073b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/utils/callables.py:317-329 | libs/agno/agno/utils/callables.py:355-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/callables.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"028f1f6a45faeb495a79194ed70e3b8188ccdf954d3cac191748f10e48e6f1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/utils/callables.py:396-408 | libs/agno/agno/utils/callables.py:433-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/callables.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b94609cac06b8c5b0b2f6ae64cc870b865fc75fd293e71506610cc1e66f6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/vectordb/clickhouse/clickhousedb.py:153-165 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:201-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/clickhouse/clickhousedb.py:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa50a767a376c534c96938995693a1745962e238b1131f881016400905d3dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:592-604 | libs/agno/agno/vectordb/opensearch/opensearch.py:518-530 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3308f411809438e008289c69f0e1642f4a65f7fe56cabb2471579a5c9e65cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1633-1641 | libs/agno/agno/vectordb/opensearch/opensearch.py:1491-1503 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ad6f184f1ede5fd1b7707d2485e8e553ed1045d77ebf9608fbe570d174bd5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2644-2656 | libs/agno/agno/vectordb/opensearch/opensearch.py:2299-2311 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2644\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05ff2b61e1f819e372e318ec91e73154fa4eec39f03fac0c48239991a27fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:457-469 | libs/agno/agno/vectordb/lancedb/lance_db.py:539-550 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:470\u0060 calls \u0060exception\u0060 and \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:551\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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f9cc6413ef83ac8e1193b124a923de564e3c0a8863a2085325929b9a2e1ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/vectordb/qdrant/qdrant.py:180-192 | libs/agno/agno/vectordb/qdrant/qdrant.py:201-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/qdrant/qdrant.py: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e6e1a98c86cf48c9b39e7eb02f5a972229a6d84489595f1998d7fe7b53e05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:350-362 | libs/agno/agno/vectordb/redis/redisdb.py:381-393 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42e0a4f5ad0461dadbb47e1aaeeb6a5f073191c4f6e7dfdd29e85b24c80468c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3379-3407 | libs/agno/agno/workflow/workflow.py:4408-4436 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f989dd2a68eac2992098373acaa45b0019a4b8864bb42e26e0795bb8ba1886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:4367-4379 | libs/agno/agno/workflow/workflow.py:4842-4854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:4367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4fc255f2b5d7398ab94f7d7eb545dd70b411789355b1bede354ba4a62e4218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/security_group.py:157-169 | libs/agno_infra/agno/aws/resource/elb/target_group.py:51-63 \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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe08eb213e4414595fdb78a13314554acece552912239ca6478d40ab8b29e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno_infra/agno/aws/resource/elb/load_balancer.py:99-111 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:174-186 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno_infra/agno/aws/resource/elb/load_balancer.py:189\u0060 calls \u0060get_arn\u0060 and \u0060libs/agno_infra/agno/aws/resource/elb/load_balancer.py:113\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":"libs/agno_infra/agno/aws/resource/elb/load_balancer.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2814c3ef808afca2427dfba3121de034a7fec9b0c2f1e8d0bc2c12ec42bfe058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:508-520 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:606-618 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"76498e3321244b398ac672bb04fbba6fc7c66bde140b5e6aea0411318617a2ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:106-118 | libs/agno_infra/agno/docker/resources.py:64-75 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/aws/resources.py:106\u0060 it does not close everything it opens, so those exact 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c49bea0a91d48d42ebe84676c64929232535e31a1ce63ba1294db12d1fbe80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:268-280 | libs/agno_infra/agno/docker/resources.py:223-234 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/aws/resources.py:268\u0060 it does not close everything it opens, so those exact 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac72454ac27364ffff8ed7a932523e125fc4a539b870b0da5b637c18792596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:425-437 | libs/agno_infra/agno/docker/resources.py:388-399 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/aws/resources.py:425\u0060 it does not close everything it opens, so those exact 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a39efeca8671dd707b2ccd50d56107c99080b912990376eb28e3c5542916970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno_infra/agno/cli/utils.py:45-57 | libs/agno_infra/agno/cli/utils.py:74-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/cli/utils.py:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno_infra/agno/cli/utils.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d5a34554f96ab18cbff8ece602819bcecc3e4b3cbad4c0458aa8df8a540ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno_infra/agno/infra/config.py:199-209 | libs/agno_infra/agno/infra/config.py:286-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/infra/config.py:286\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno_infra/agno/infra/config.py:197\u0060 calls \u0060debug\u0060 and \u0060libs/agno_infra/agno/infra/config.py:286\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":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dc9ca1c573c8676456eb5941a7e450b5de8c6260555649247d1146d0252f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 11): libs/agno/agno/vectordb/chroma/chromadb.py:488-499 | libs/agno/agno/vectordb/chroma/chromadb.py:694-705 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:428-439 | libs/agno/agno/vectordb/couchbase/couchbase.py:1106-1117 | libs/agno/agno/vectordb/couchbase/couchbase.py:1220-1231 | libs/agno/agno/vectordb/lancedb/lance_db.py:466-475 | libs/agno/agno/vectordb/mongodb/mongodb.py:1177-1188 | libs/agno/agno/vectordb/mongodb/mongodb.py:1256-1267 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:398-409 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:673-684 | libs/agno/agno/vectordb/weaviate/weaviate.py:405-416 \u2014 there are 11 copies across 8 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 11 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/chroma/chromadb.py:486\u0060 calls \u0060exception\u0060 and \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:465\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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8340d1aef5c15d036c963524a7b30266dd77beb1579677fd1acfcc4579615f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py:95-106 | cookbook/07_knowledge/09_archive/vector_dbs/couchbase_db.py:221-234 | cookbook/07_knowledge/09_archive/vector_dbs/lance_db.py:60-73 | cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py:70-81 | cookbook/07_knowledge/09_archive/vector_dbs/pgvector_db.py:66-77 | cookbook/07_knowledge/09_archive/vector_dbs/pinecone_db.py:75-86 | cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py:78-91 | cookbook/07_knowledge/09_archive/vector_dbs/singlestore_db.py:86-97 | cookbook/07_knowledge/09_archive/vector_dbs/upstash_db.py:69-80 \u2014 before extracting anything, compare \u0060cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py\u0060 and \u0060cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060cookbook/07_knowledge/09_archive/vector_dbs/couchbase_db.py:213\u0060 calls \u0060create_async_agent\u0060, \u0060Agent\u0060 and \u0060cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.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":"cookbook/07_knowledge/09_archive/vector_dbs/clickhouse.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae86d12cd1d632ce0ec625febcc69b222acf7864a72ebd3ca63560997bd89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): libs/agno/agno/tools/whatsapp.py:140-152 | libs/agno/agno/tools/whatsapp.py:181-192 | libs/agno/agno/tools/whatsapp.py:234-245 | libs/agno/agno/tools/whatsapp.py:309-320 | libs/agno/agno/tools/whatsapp.py:356-367 | libs/agno/agno/tools/whatsapp.py:407-418 | libs/agno/agno/tools/whatsapp.py:454-465 | libs/agno/agno/tools/whatsapp.py:488-502 \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. 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":"libs/agno/agno/tools/whatsapp.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca2ab74dcd9dd7ab7421bf676c1d2c2ed2a400921bdd827ebb6bc0e7486751e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1992-2003 | libs/agno/agno/db/mysql/mysql.py:1990-2001 | libs/agno/agno/db/postgres/async_postgres.py:2393-2403 | libs/agno/agno/db/postgres/postgres.py:2884-2893 | libs/agno/agno/db/singlestore/singlestore.py:2000-2009 | libs/agno/agno/db/sqlite/async_sqlite.py:2537-2547 | libs/agno/agno/db/sqlite/sqlite.py:2805-2814 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"77698a19737d67570b91e94857d57a7df934a978a47f4afe926332254e85d20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3944-3955 | libs/agno/agno/db/mysql/mysql.py:3887-3898 | libs/agno/agno/db/postgres/async_postgres.py:4225-4236 | libs/agno/agno/db/postgres/postgres.py:4761-4772 | libs/agno/agno/db/singlestore/singlestore.py:3847-3858 | libs/agno/agno/db/sqlite/async_sqlite.py:4428-4439 | libs/agno/agno/db/sqlite/sqlite.py:4640-4651 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe793909391e5f859407b547fce1f85329b6cc076b61f4b5af1cc582a1c8be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:4276-4287 | libs/agno/agno/db/mysql/mysql.py:4217-4228 | libs/agno/agno/db/postgres/async_postgres.py:4568-4579 | libs/agno/agno/db/postgres/postgres.py:5104-5115 | libs/agno/agno/db/singlestore/singlestore.py:4121-4132 | libs/agno/agno/db/sqlite/async_sqlite.py:4766-4777 | libs/agno/agno/db/sqlite/sqlite.py:4920-4931 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d620c7127702135406d5671c6c3ae8f3248118f476a990939dc7437637b9579b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 7): libs/agno/agno/db/mysql/mysql.py:1929-1939 | libs/agno/agno/db/mysql/mysql.py:3909-3919 | libs/agno/agno/db/postgres/postgres.py:2816-2826 | libs/agno/agno/db/postgres/postgres.py:4783-4793 | libs/agno/agno/db/singlestore/singlestore.py:1950-1960 | libs/agno/agno/db/singlestore/singlestore.py:3869-3879 | libs/agno/agno/db/sqlite/sqlite.py:2751-2762 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4f6c967de37e3de2517a85abb9fc9553836a539b8837397525be50b357606c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): cookbook/91_tools/file_generation_tools.py:35-46 | cookbook/91_tools/file_generation_tools.py:50-61 | cookbook/91_tools/file_generation_tools.py:65-76 | cookbook/91_tools/file_generation_tools.py:80-91 | cookbook/91_tools/file_generation_tools.py:95-106 | cookbook/91_tools/file_generation_tools.py:110-121 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/file_generation_tools.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bbd2a4c30d959e9458ef33cd0a6df659e3fcc112ea4a5cbb2377a160875082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): libs/agno/agno/agent/_run.py:729-740 | libs/agno/agno/agent/_run.py:1272-1283 | libs/agno/agno/agent/_run.py:3872-3882 | libs/agno/agno/agent/_run.py:4186-4196 | libs/agno/agno/team/_run.py:1401-1412 | libs/agno/agno/team/_run.py:1865-1876 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. 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, \u0060libs/agno/agno/agent/_run.py:1286\u0060 calls \u0060create_run_error_event\u0060, \u0060str\u0060, \u0060error_type_of\u0060 and \u0060libs/agno/agno/agent/_run.py:744\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8cacf4f3c420e56e4829f763e0475a692a2971f6e5d659881a44ca1b15eb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): libs/agno/agno/db/json/json_db.py:799-809 | libs/agno/agno/db/mongo/async_mongo.py:1189-1200 | libs/agno/agno/db/mongo/mongo.py:1001-1011 | libs/agno/agno/db/mysql/async_mysql.py:1249-1260 | libs/agno/agno/db/mysql/mysql.py:1265-1276 | libs/agno/agno/db/singlestore/singlestore.py:1315-1326 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1189\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c180cbd46f4ba896d9037a46600e86a6b26fd8f64b281f54a342f2287c89bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): libs/agno/agno/db/mongo/async_mongo.py:1767-1778 | libs/agno/agno/db/mongo/async_mongo.py:3375-3386 | libs/agno/agno/db/mongo/async_mongo.py:3618-3629 | libs/agno/agno/db/mongo/mongo.py:1574-1585 | libs/agno/agno/db/mongo/mongo.py:3125-3136 | libs/agno/agno/db/mongo/mongo.py:3368-3379 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11ebb2f88e34ef5f8556635a5cfc575f2f093cfb7ab90a9ac87011b0235d6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): libs/agno_infra/agno/aws/resources.py:204-215 | libs/agno_infra/agno/aws/resources.py:359-370 | libs/agno_infra/agno/aws/resources.py:507-518 | libs/agno_infra/agno/docker/resources.py:154-165 | libs/agno_infra/agno/docker/resources.py:320-331 | libs/agno_infra/agno/docker/resources.py:476-487 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno_infra/agno/docker/resources.py:332\u0060 calls \u0060isinstance\u0060 and \u0060libs/agno_infra/agno/aws/resources.py:372\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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3546f42dfa98532d33ac05a7e7518f6dbb446c7e9ee5b7c45f559d50a462c2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): libs/agno_infra/agno/aws/resources.py:223-234 | libs/agno_infra/agno/aws/resources.py:378-389 | libs/agno_infra/agno/aws/resources.py:526-537 | libs/agno_infra/agno/docker/resources.py:178-189 | libs/agno_infra/agno/docker/resources.py:342-353 | libs/agno_infra/agno/docker/resources.py:500-511 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a904e664ac036514dd891213d9c77619035e66ce6f0c150c0b27260d5580060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py:34-45 | cookbook/02_agents/10_human_in_the_loop/confirmation_required.py:34-45 | cookbook/91_tools/python_function_as_tool.py:29-40 | cookbook/91_tools/tool_calls_accesing_agent.py:22-33 | cookbook/91_tools/tool_decorator/cache_tool_calls.py:22-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060num_stories\u0060 to \u0060int\u0060 in one and \u0060int = 10\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":"cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed0aa183f69a580a3d826f8495ffe443887492e2b861d0a58ba498f59d5bd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:2277-2288 | libs/agno/agno/db/mysql/mysql.py:2265-2276 | libs/agno/agno/db/postgres/async_postgres.py:2578-2589 | libs/agno/agno/db/postgres/postgres.py:3141-3152 | libs/agno/agno/db/singlestore/singlestore.py:2271-2282 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2277\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a58cb5e45e33e1689c46608b0a0c9c4b2a9d97b36885412d17025def6ed9b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/agent/_default_tools.py:152-163 | libs/agno/agno/agent/_default_tools.py:185-196 | libs/agno/agno/team/_default_tools.py:1663-1674 | libs/agno/agno/team/_default_tools.py:1694-1705 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_default_tools.py:152\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d949a624b9821520e80fa5d332e60b43cfb7008f0f44a094b12f2cbbd1d735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/agent/_run.py:428-439 | libs/agno/agno/agent/_run.py:836-847 | libs/agno/agno/agent/_run.py:1575-1586 | libs/agno/agno/agent/_run.py:2182-2193 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb91cdbf5e2c9b23e0e60d7f42399e08a56fd4416cda42dd7e7d9c0dadd956e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/agent/_run.py:1266-1277 | libs/agno/agno/agent/_run.py:2644-2656 | libs/agno/agno/team/_run.py:1859-1870 | libs/agno/agno/team/_run.py:4078-4090 \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. 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f54c29b27112a217fcfb66bfd059b0fb3b1f548c9bd775c9aa47d9c5b2b50ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/agent/_run.py:2494-2505 | libs/agno/agno/agent/_run.py:5650-5661 | libs/agno/agno/team/_run.py:3955-3966 | libs/agno/agno/team/_run.py:10468-10479 \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 \u0060libs/agno/agno/agent/_run.py:2494\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c0b3c9b266443d80bf2d7aaad1988d61fc23e41de0641043aa58e660ce1180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/client/os.py:185-196 | libs/agno/agno/client/os.py:245-256 | libs/agno/agno/client/os.py:397-408 | libs/agno/agno/client/os.py:2536-2547 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e897df9d950df966cfdc6b6b1bbdbaef646538b247c66095ec28d9aa1b6cd99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:1359-1370 | libs/agno/agno/db/mongo/mongo.py:1169-1180 | libs/agno/agno/db/redis/redis.py:1068-1079 | libs/agno/agno/db/valkey/valkey.py:1221-1233 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1359\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0d3776dade2c652575e42267e9612b408c97b7550cab9374afeb88a0288354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:324-335 | libs/agno/agno/db/mysql/mysql.py:319-330 | libs/agno/agno/db/postgres/async_postgres.py:496-507 | libs/agno/agno/db/singlestore/singlestore.py:392-403 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5223d06ab994c22cba2c5ccff346f92ca630d65cb83d3fb2169434e9149fe168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:1877-1888 | libs/agno/agno/db/postgres/postgres.py:2112-2123 | libs/agno/agno/db/sqlite/async_sqlite.py:1807-1818 | libs/agno/agno/db/sqlite/sqlite.py:2074-2085 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:1877\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88adb6898d86092ae96a8c0462f054039eacff6be586e1ca71abfffa9f39e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5518-5529 | libs/agno/agno/db/postgres/postgres.py:8241-8252 | libs/agno/agno/db/sqlite/async_sqlite.py:5642-5653 | libs/agno/agno/db/sqlite/sqlite.py:8028-8039 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5518}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7834de6b8845555c510567d092abe81b9292f6406e96866dad934b18c3d791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7572-7583 | libs/agno/agno/db/postgres/postgres.py:10317-10328 | libs/agno/agno/db/sqlite/async_sqlite.py:6786-6797 | libs/agno/agno/db/sqlite/sqlite.py:9258-9269 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7572}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de264c4e24b92d24414333cf1a289f42b70812ea8e8e7adf74b3c32153ea1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/eval/accuracy.py:461-472 | libs/agno/agno/eval/accuracy.py:602-613 | libs/agno/agno/eval/accuracy.py:715-726 | libs/agno/agno/eval/accuracy.py:827-838 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/eval/accuracy.py:711\u0060 calls \u0060isinstance\u0060, \u0060log_error\u0060 and \u0060libs/agno/agno/eval/accuracy.py:826\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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d87ca4db90c1e5d5b5aa055bff2c4849397925727c92d5f28e713a07ef9f58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/knowledge/embedder/openai.py:73-84 | libs/agno/agno/knowledge/embedder/openai.py:109-120 | libs/agno/agno/knowledge/embedder/openai.py:130-141 | libs/agno/agno/knowledge/embedder/openai.py:171-182 \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":"libs/agno/agno/knowledge/embedder/openai.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5509861ca1d3ded0bba1977804442878eb061a2667abb43546e2492b39a4bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): libs/agno/agno/knowledge/reader/pdf_reader.py:398-408 | libs/agno/agno/knowledge/reader/pdf_reader.py:422-433 | libs/agno/agno/knowledge/reader/pdf_reader.py:448-458 | libs/agno/agno/knowledge/reader/pdf_reader.py:469-480 \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. 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":"libs/agno/agno/knowledge/reader/pdf_reader.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e2955f9767d6b5907f4d41fee64df50c6dc0a0c6c4408165257725df8aeaae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/os/routers/teams/router.py:165-177 | libs/agno/agno/os/routers/teams/router.py:237-248 | libs/agno/agno/os/routers/teams/router.py:457-471 | libs/agno/agno/os/routers/teams/router.py:524-535 \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. 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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7131417b63f355be16727fb46d4f49ab37d6325307e337d847c56aa2600aa63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/team/_run.py:1761-1772 | libs/agno/agno/team/_run.py:3962-3973 | libs/agno/agno/team/_run.py:8629-8640 | libs/agno/agno/team/_run.py:10475-10486 \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 \u0060libs/agno/agno/team/_run.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"531624891067e4ad49ee56d1d83cb9847cd0bc62cf0f0fd249d4ba595d33133d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 5): libs/agno/agno/tools/gitlab.py:262-264 | libs/agno/agno/tools/gitlab.py:310-319 | libs/agno/agno/tools/gitlab.py:408-419 | libs/agno/agno/tools/gitlab.py:460-469 | libs/agno/agno/tools/gitlab.py:566-575 \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. 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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebe6119a75daada54ac0aa3c9590727ae73439e7db7b3809fd974d4efb7cdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 4): libs/agno/agno/workflow/condition.py:541-549 | libs/agno/agno/workflow/condition.py:764-775 | libs/agno/agno/workflow/condition.py:995-1003 | libs/agno/agno/workflow/condition.py:1217-1228 \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 \u0060libs/agno/agno/workflow/condition.py:764\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"656373e9c8027d19b15272194ff03ec45267d65709e6d33925b7b51b1918e0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/workflow/condition.py:590-601 | libs/agno/agno/workflow/condition.py:1043-1054 | libs/agno/agno/workflow/steps.py:318-329 | libs/agno/agno/workflow/steps.py:624-635 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/steps.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 268 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:590\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/workflow/condition.py:588\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/condition.py:1042\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"167eb15067b112e2075dfb4cac05b4b5bba811505cf0d620fe8f746ab25c1e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): cookbook/data_labeling/_26_scale_out/basic.py:98-109 | cookbook/data_labeling/_26_scale_out/resumable.py:108-119 | cookbook/data_labeling/_26_scale_out/with_cost_tracking.py:108-119 \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":"cookbook/data_labeling/_26_scale_out/basic.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a4a170605975465beeb81b2ebe3ddcb578f6cbbc98d7afa40d08d7debc9a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/agent/_run.py:1190-1201 | libs/agno/agno/agent/_run.py:2548-2561 | libs/agno/agno/agent/_run.py:4115-4126 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4717eda06660f5effa11866a926ee4013b9587e6f312c50b99ab79d690898d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/agent/_run.py:4064-4076 | libs/agno/agno/team/_run.py:1754-1765 | libs/agno/agno/team/_run.py:8622-8633 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:4064\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4064}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bcc6779163d8262864bbc7269575c2b08f1acf513352ed94991a7bb069a927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): libs/agno/agno/agent/_storage.py:498-509 | libs/agno/agno/team/_storage.py:245-255 | libs/agno/agno/workflow/workflow.py:2200-2209 \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. 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba82fc3dcda99afa0633038d31b9fb18801c1f96b7454c5d41c3877f9b235fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:696-707 | libs/agno/agno/db/postgres/async_postgres.py:999-1010 | libs/agno/agno/db/sqlite/async_sqlite.py:950-961 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"900701089fd43c422fcaab25194f3e1d5099038589920e0da68da6ab82acacb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1931-1941 | libs/agno/agno/db/postgres/async_postgres.py:2331-2341 | libs/agno/agno/db/sqlite/async_sqlite.py:2488-2499 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecdeb75657f2c5f065310ca6a55fc50349eb44ddd9219764fe0ab8c93ad4338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 3): libs/agno/agno/db/surrealdb/surrealdb.py:3096-3110 | libs/agno/agno/db/surrealdb/surrealdb.py:3393-3412 | libs/agno/agno/db/surrealdb/surrealdb.py:3427-3445 \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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc68ef467cdf6afc14598056b1a0a12ac8bb83afa8c3337d88bfd81bf5a41a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/db/valkey/valkey.py:882-893 | libs/agno/agno/db/valkey/valkey.py:1503-1514 | libs/agno/agno/db/valkey/valkey.py:3518-3529 \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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1902a75c766b81ce24e3b5a7b9f6f7ba2724429c9a93b9e2d40ca18271f5948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/metrics.py:525-536 | libs/agno/agno/metrics.py:782-793 | libs/agno/agno/metrics.py:825-836 \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 \u0060run_metrics\u0060 to \u0060\u0022RunMetrics\u0022\u0060 in one and \u0060Optional[RunMetrics] = None\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":"libs/agno/agno/metrics.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b203da2b1bd6c1ec73f1bf19f6f20cb108e7b9569be78dd4bd69f98438c8181d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): libs/agno/agno/models/base.py:2286-2297 | libs/agno/agno/models/base.py:2878-2887 | libs/agno/agno/models/base.py:3017-3028 \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":"libs/agno/agno/models/base.py"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"293daf2a8c9326d2388d93a2c68f488e7c75b87d00d386f2708cc4374625ece1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/team/_task_tools.py:520-531 | libs/agno/agno/team/_task_tools.py:571-582 | libs/agno/agno/team/_task_tools.py:904-915 \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 \u0060libs/agno/agno/team/_task_tools.py:520\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_task_tools.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4626c941b96ef3a38043e0d0b66bece24b30bdc7a1e4e985cf1e392b3aec4791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): libs/agno/agno/tools/google/gmail.py:1460-1471 | libs/agno/agno/tools/google/gmail.py:1584-1594 | libs/agno/agno/tools/google/gmail.py:1645-1656 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53c1f9ed5a12584a9f8685823b4e62f9b454193adface6b319fd4439e15819f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/utils/print_response/agent.py:659-670 | libs/agno/agno/utils/print_response/team.py:730-741 | libs/agno/agno/utils/print_response/team.py:1662-1673 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1494c8bb984e563ee12f1b319df474a0f350df66d84e11737e43ccc9d4c145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/vectordb/milvus/milvus.py:961-972 | libs/agno/agno/vectordb/milvus/milvus.py:1132-1143 | libs/agno/agno/vectordb/milvus/milvus.py:1233-1244 \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 \u0060libs/agno/agno/vectordb/milvus/milvus.py:961\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dfd70169dd31a7cd37451630ed4dffec8a075acdfcb1ccbca95ab4684d9efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/vectordb/pgvector/pgvector.py:1098-1109 | libs/agno/agno/vectordb/pgvector/pgvector.py:1253-1264 | libs/agno/agno/vectordb/pgvector/pgvector.py:1411-1422 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6929ea386bc96083c3162157e6d3971f8503dbcddcd53ca775d040bca60a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno_infra/agno/aws/app/base.py:213-224 | libs/agno_infra/agno/docker/app/base.py:166-177 | libs/agno_infra/agno/docker/app/postgres/postgres.py:94-105 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno_infra/agno/aws/app/base.py:210\u0060 calls \u0060set_aws_env_vars\u0060 and \u0060libs/agno_infra/agno/docker/app/base.py:163\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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3051a61f9864b427c324bd3f5596380134b6f25bc32ad0f463226f33b85ddf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): cookbook/02_agents/18_checkpointing/01_crash_recovery.py:154-165 | cookbook/03_teams/23_checkpointing/01_crash_recovery.py:152-161 \u2014 before extracting anything, compare \u0060cookbook/02_agents/18_checkpointing/01_crash_recovery.py\u0060 and \u0060cookbook/03_teams/23_checkpointing/01_crash_recovery.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ecc208bb623aee0321c65d1c1b44520238ff26ca3bdc1f56e5d4e6b197d1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cookbook/04_workflows/05_conditional_branching/selector_types.py:96-107 | cookbook/04_workflows/05_conditional_branching/step_choices_parameter.py:46-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/05_conditional_branching/selector_types.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfea12b22542e5e1d5ef017a070cfc83457fa381b871b4776d3204f486f97ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py:192-203 | cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py:248-257 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b85589fdf5fc573950e363a7d4cb59f3008b77f70d8afaa9a48bac56b152e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): cookbook/05_agent_os/22_studio/standalone_studio_agent.py:139-150 | cookbook/05_agent_os/22_studio/standalone_studio_agent.py:162-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/05_agent_os/22_studio/standalone_studio_agent.py:139\u0060 it begins part-way through the construct above it, so those exact 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":"cookbook/05_agent_os/22_studio/standalone_studio_agent.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c76fc3793e2fa08fc5e85262110f5c7a2574a13039a9622d6db0462d4e3ac3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cookbook/performance/comparison/long_conversation_comparison.py:47-58 | cookbook/performance/comparison/multi_turn_comparison.py:67-78 \u2014 before extracting anything, compare \u0060cookbook/performance/comparison/long_conversation_comparison.py\u0060 and \u0060cookbook/performance/comparison/multi_turn_comparison.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"cookbook/performance/comparison/long_conversation_comparison.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe022df6c3a898ab80703944d051728b154d4c070a4fe6c3b03984abde9bfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): cookbook/performance/comparison/run_all.py:120-130 | cookbook/performance/run_all.py:53-64 \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":"cookbook/performance/comparison/run_all.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348c0fcdd90c36a63c27c0ec70f512bd8532b2c24bea098d90143487e0422e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_managers.py:36-47 | libs/agno/agno/team/_managers.py:49-60 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_managers.py: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a2854d9ddac2c3eef858e8fbed47bbb061fb8ef3b4f82054614a884d26670d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_managers.py:91-102 | libs/agno/agno/team/_managers.py:83-94 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_managers.py:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad7325d83c1147290d52ad9f4acea6886b667340005040439ca2dccc2d4e177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_response.py:919-930 | libs/agno/agno/team/_response.py:1690-1701 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf6575c30642adbc99ebb872cec6ca425ea60d4372851662146fa7f30b5447d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_response.py:1559-1570 | libs/agno/agno/team/_response.py:1511-1522 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:1559\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ecb1a7045f367ffbeeb75ce97527a6cfb55615c8b3f83ff0c79586310c9d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_response.py:1842-1853 | libs/agno/agno/agent/_response.py:1864-1875 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4c7c08ecce0d5173c75b02371ca80cc0cb58662f28930c6b4c967a32d8978d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_run.py:3165-3176 | libs/agno/agno/team/_run.py:7193-7204 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9437b345136401517c9a9c28863ee43f32193c1f9e7e79816d7457c40f1537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_run.py:4563-4574 | libs/agno/agno/team/_run.py:8912-8923 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4563}}}],"partialFingerprints":{"codehealthFindingId/v1":"286d434e5adb4ccb5a30eaf21d2d7191c64bdbd3f8eaab8045f2db27c547547a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_run.py:5970-5981 | libs/agno/agno/team/_run.py:4438-4449 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5970}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fb486b007ea706d66e8b17b3d0d4d3ace334a0c965ee81a9c746fcc1a7d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1285-1296 | libs/agno/agno/team/_storage.py:1195-1206 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00d2fade1f91d56a5f181a92b051ac31f34f67cc9a045935131311259527e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): libs/agno/agno/agent/agent.py:594-605 | libs/agno/agno/team/_init.py:242-251 \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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5220e28d318fe03485afe9235988b745849502bfac306c9e055316d95d074450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:4101-4112 | libs/agno/agno/db/firestore/firestore.py:3695-3705 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4101}}}],"partialFingerprints":{"codehealthFindingId/v1":"444c3af17e95b44f05b6c81931ffa51dde1bca4c2bc7419eb8a68f75241c84de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/filter_converter.py:134-145 | libs/agno/agno/db/valkey/utils.py:312-323 \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 \u0060libs/agno/agno/db/filter_converter.py: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":"libs/agno/agno/db/filter_converter.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0896e5e526bcda88c81bceb24097aebd7925116473c73d4ad5eb3b5317ad3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:1058-1065 | libs/agno/agno/db/sqlite/sqlite.py:2124-2135 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6028b452f86ccfd0ffbf56a567a34c28c6e1d8b0acb604e9bfd42f00c47f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2591-2601 | libs/agno/agno/db/firestore/firestore.py:2613-2624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/firestore/firestore.py:2613\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"7468fd4fa862854bba769ebe57b61f6ed767b7220d29c1265feec6e0c7274d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2334-2345 | libs/agno/agno/db/json/json_db.py:2488-2499 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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, \u0060libs/agno/agno/db/json/json_db.py:2501\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:2347\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2ddb5aeaf214d4e2dc5ac0fda74f1913426ff09e36d0b4e780cdcc110f4685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:454-465 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4469-4478 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"15da75efe0b241e32436f6e42713aabd32b8be69db2bbec64e54ffb2f4fbd47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3555-3566 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4335-4343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3555\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb364116d89169e90ddc8b68a662cb6e005004998cb9115648a4adf3e8bfd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:882-893 | libs/agno/agno/db/mongo/mongo.py:687-698 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df10e0a0283904a017438ade9de22805539181f29bcf33b111e4887bbf20b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2996-3007 | libs/agno/agno/db/mongo/mongo.py:2751-2762 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d87b9025796735e099bdc10dfc888bddf293f9384b099120894fe58c0c7f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3940-3951 | libs/agno/agno/db/mongo/async_mongo.py:4038-4049 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"94df627ee123938ba86dffdcb82ec6f8294bbae2e8143c3f024affa1e4ae14f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mongo/mongo.py:3748-3759 | libs/agno/agno/db/mongo/mongo.py:3846-3857 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":3748}}}],"partialFingerprints":{"codehealthFindingId/v1":"91174d9fbaa6a2e9047e4e09aaa8522af0a90f36340b96801a803bb4836a2fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:656-667 | libs/agno/agno/db/sqlite/async_sqlite.py:910-921 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:656\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1398549983d0c6d3f169750939772a8756db69c8fed45298b5642a593340d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2166-2177 | libs/agno/agno/db/mysql/mysql.py:2161-2172 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6d4f21b9e1c2bafc9b74609e82f9f910d4408d2d756356f50506eec0d371ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2331-2342 | libs/agno/agno/db/postgres/async_postgres.py:2632-2643 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0e28ceeee18a2c2eaa9499b7ab06a43caf551dbf594e4c803e87f6b1a2b8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2750-2761 | libs/agno/agno/db/mysql/mysql.py:2732-2743 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8267c5b928bfca29fce79f2e59d094d7f561179a4c0054a325b251c6bddebc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:3664-3675 | libs/agno/agno/db/postgres/async_postgres.py:3918-3929 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3664}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17fd7167bddd12a4f362ec6e638583ed5afcbc59bc30d0015a88816c3526c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:4378-4389 | libs/agno/agno/db/sqlite/async_sqlite.py:4879-4890 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a257d27d0a3dcfd03d890dfaf9e24709b1bf3c2286c66a150062d371292c48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:4366-4377 | libs/agno/agno/db/singlestore/singlestore.py:4276-4287 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:4366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afd772b2761ac21a7a55f374a3c8d441a914334c7fe2d1cf92ff2e42e273d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:761-772 | libs/agno/agno/db/singlestore/utils.py:518-530 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 10 separate duplicated blocks between them, totalling at least 214 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:761\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7827f4e59deebb346e6c73b6df8b1fa6be7fbfaaa7024fc0fadcf5f3b2a83d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:972-983 | libs/agno/agno/db/sqlite/utils.py:921-932 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:972\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e94c8d991280d8f0a79c8aa3cd3c2dc683bd6e9a7cf9d3311b78439ba5f696e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2177-2188 | libs/agno/agno/db/postgres/postgres.py:2671-2682 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3041e6bee5aac22d792107ea38abf7d358fe1de9972cf257c4b882bc0f11f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2745-2756 | libs/agno/agno/db/sqlite/async_sqlite.py:2983-2994 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2745\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e5bc73d30ed37fb7cd189e98cdd1d502da6955a679bbb6b61f9c21895fadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2759-2770 | libs/agno/agno/db/sqlite/async_sqlite.py:2997-3008 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2759\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f1e156d432b732af612b157938b0e9ab97e74c762b23f43afd8c69926be100"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:3903-3914 | libs/agno/agno/db/postgres/postgres.py:4427-4438 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0819c5eceeddeb8f1c5347bd1ebfcc0f08549290605fdaedb930adb77ea878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5922-5933 | libs/agno/agno/db/sqlite/async_sqlite.py:6064-6075 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5922}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3f38901139eceabd2ba2fbbabdc35e13deef288fa72d9df737d38dfbf9bd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6113-6124 | libs/agno/agno/db/postgres/postgres.py:8822-8833 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6113}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbee0cd11f40879898dc36e838be295f4ff828547e7678159b7c7169139544be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6482-6493 | libs/agno/agno/db/postgres/async_postgres.py:6602-6616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6482\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6482}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2cb026c6d80be5e8123e3e8270045beb5f4ad89ee96f45f3e40f03ea8abfde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6576-6585 | libs/agno/agno/db/postgres/async_postgres.py:6687-6698 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6576\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6576}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a6540ddb9c7bc4a0b16e9ffcc9d8249c0540218ae07c5a2dcae4c2d14a21d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7098-7109 | libs/agno/agno/db/sqlite/async_sqlite.py:6310-6321 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7098}}}],"partialFingerprints":{"codehealthFindingId/v1":"74acb32887dbd0924c75243f061d3be9f0421acf558956cad9d0a2ede0e5374d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7164-7175 | libs/agno/agno/db/sqlite/async_sqlite.py:6376-6387 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9c9835ab1f571aa928c55570f3016d9c79399d76ce9869c35392ba4e3cefdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:3310-3321 | libs/agno/agno/db/sqlite/sqlite.py:3247-3258 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:3310\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3310}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2271072805d34553c3b7c0281984ce7f22a71a189581fd7d1b401aa26630c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:3324-3335 | libs/agno/agno/db/sqlite/sqlite.py:3261-3272 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:3324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3324}}}],"partialFingerprints":{"codehealthFindingId/v1":"faccd5cef61c94b481cfba1e0276b789c8b5148f74b2d45b13b952a86874c850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8662-8673 | libs/agno/agno/db/sqlite/sqlite.py:8466-8477 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8662}}}],"partialFingerprints":{"codehealthFindingId/v1":"872b1e2af3bd49b7fa8fe127cf43836ca4588baddbfb250d63acc1592ac47053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9759-9770 | libs/agno/agno/db/sqlite/sqlite.py:8703-8714 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9759}}}],"partialFingerprints":{"codehealthFindingId/v1":"de08f787ef11cf1189ab0dcfa2407ec7733e792441d3e86bf24605e1159af55e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9922-9933 | libs/agno/agno/db/sqlite/sqlite.py:8866-8876 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9922}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7a64627ddd87386a4a40331ba6c77441d52278a7922ba4dc866c091c1882dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:348-359 | libs/agno/agno/db/sqlite/utils.py:288-299 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42ad1edb857c0579dabbdfbd647cf627d13cce0fd338df80b6697aa0944c313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2045-2056 | libs/agno/agno/db/valkey/valkey.py:2378-2389 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6b3bda2c0df01e90aff73ea3143092738db50f84a4d9a22cf11d5b015009fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2091-2102 | libs/agno/agno/db/redis/redis.py:2118-2129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:2091\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b73329ec9d9f76bc40164e487b0c4f925d12141c98cc470c5e2e0cd706ca8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:4587-4598 | libs/agno/agno/job_queue/store.py:359-370 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4587}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c002693a642f48bee74c23cb9caa9df11f7f926586c54f9d5c567a5f33c521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:474-485 | libs/agno/agno/db/sqlite/sqlite.py:548-559 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c66781b29cd7d4d30b34ffe840a137060de6866f19f1ef9c11dca8ea3ebf609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1638-1649 | libs/agno/agno/db/sqlite/sqlite.py:1911-1922 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb44173fc079dc941045de1995e62c228e74260a0d04dc18aad05719ea3c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2826-2837 | libs/agno/agno/db/sqlite/sqlite.py:3088-3099 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7c00c13d8959133a4145fdb285709de3d1a93abf6113917bdbf1955003b256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:4454-4465 | libs/agno/agno/db/sqlite/sqlite.py:4666-4677 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":4454}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fcc972a9a9aa3337abfd29b1c52a5cb24d4f4b8fa591d9d4addc1c10c163b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/utils.py:3000-3011 | libs/agno/agno/db/utils.py:3033-3044 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/utils.py:3000\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"665016f362e5e87bd03b816f0e7c2ed5bccf82cb69dead22e795d9ddb9b0f7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/eval/agent_as_judge.py:528-539 | libs/agno/agno/eval/agent_as_judge.py:695-706 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a13af3922e27b8956cef3d8da7b0eefc5ee56701aa7fc1725788d1b3441229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/eval/agent_as_judge.py:858-869 | libs/agno/agno/eval/agent_as_judge.py:901-912 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/eval/agent_as_judge.py:854\u0060 calls \u0060isinstance\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/eval/agent_as_judge.py:898\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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4dc72eb849573e382801967dd578d1ea29fffd391cd87cb37e13039e2eb4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/knowledge/embedder/aws_bedrock.py:411-422 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:456-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. 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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"73456257b557987ec659f6afc963f1e0af150a292cf46c9d7a4db10e6e4f132e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/knowledge/embedder/aws_bedrock.py:472-483 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:494-505 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3f5d5a5afef58c7c635568fd60d39daf4506d3be2ea673a54d99af84c7517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:133-144 | libs/agno/agno/knowledge/loaders/github.py:185-196 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"83691fd30b7d3e0ca526d431ebd1e035db6bac5e6c46efd86b67640b092941d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:395-406 | libs/agno/agno/knowledge/loaders/github.py:554-565 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab1d2bd884eb985b435f66717c4a32d97786cca3be1151704eeeef72f0ea49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/knowledge/reader/excel_reader.py:171-182 | libs/agno/agno/knowledge/reader/excel_reader.py:209-220 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reader/excel_reader.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b25a6a7543963d648c956414f49c28b5298cd4bdaa4c937dd6d82b15967d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/migrations.py:440-451 | libs/agno/agno/learn/migrations.py: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. 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad098d41b207252c039d2a954fb80f744143acd5fa552b446f69aaec203feca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:2486-2497 | libs/agno/agno/learn/stores/entity_memory.py:2515-2526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:2486\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"5107769de4e0785dc4ffdffbcbdacbd1494e2d75c1c494220ea42a36259a8e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:970-981 | libs/agno/agno/learn/stores/session_context.py:1111-1122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/session_context.py:970\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"19df8fe285f4b941ae0898e8a2b874efc5a663f4351b19098dae87610a7b8910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:967-978 | libs/agno/agno/learn/stores/session_context.py:1016-1027 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"609f2e2f0a509c64b413a833ab8a2ca5d22dc5463540c2f79796d77ffbaa2b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:1019-1030 | libs/agno/agno/learn/stores/session_context.py:1160-1171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/session_context.py:1019\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"8208fe7a866eaaebc56abf68b6d223c07ef7345a15d383e51e59bd9b3630836f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/session_context.py:1108-1119 | libs/agno/agno/learn/stores/session_context.py:1157-1168 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"591ba4a89370e818a8b0edff9c6cbad71f13666a22d8ba53b34d0da4b3bdc0fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:523-534 | libs/agno/agno/learn/stores/user_memory.py:562-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70a64b42fb8e539c25a582a791ea0c87e56155047a2093b84eeed2d6fca5e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/learn/stores/user_profile.py:685-696 | libs/agno/agno/learn/stores/user_profile.py:724-735 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/user_profile.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"b277849da00d9db4aecba064667a297bbda1ded122adc0bb74e8f5f280f8f42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/media/media.py:112-123 | libs/agno/agno/media/media.py:164-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. 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":"libs/agno/agno/media/media.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bea2124156d40441bfdc9da6e40c409a8f1b851dc50f14c1e0fe1d7e845316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/memory/manager.py:1062-1073 | libs/agno/agno/memory/manager.py:1132-1143 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c57f8450deb34a9ac445af5e9a2ce16a3b575cbc9953e4fdf870909e749e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/models/base.py:922-933 | libs/agno/agno/models/base.py:1694-1705 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"166a124979803e3b949891e9b50bad349d14a4fcd7b6b78deb3440c92b18c22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/models/cohere/chat.py:218-229 | libs/agno/agno/models/cohere/chat.py:284-295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/cohere/chat.py:218\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"385a7a626f78b678074695393b9f323f0ba49f23920500c7145c8d6ebbaa2ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/models/cohere/chat.py:253-264 | libs/agno/agno/models/cohere/chat.py:319-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/cohere/chat.py:253\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80964050e26e5ab5713e9a1ca0e083657a511cef963f2e8c57c894db47b291b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/models/meta/llama.py:222-233 | libs/agno/agno/models/meta/llama.py:251-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/meta/llama.py: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. 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":"libs/agno/agno/models/meta/llama.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbac474c7c94b7a0b5bbf80d1b9154b6c5c35758d739aba9c7f6f74ad45b2112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/os/authz/native_engine.py:442-452 | libs/agno/agno/os/authz/native_engine.py:471-482 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8140b4034be57806e45d6323376be919232ab297af09a05016927ed4fd3e82c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/os/interfaces/slack/state.py:127-138 | libs/agno/agno/os/interfaces/telegram/state.py:200-211 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060chunk\u0060 to \u0060BaseRunOutputEvent\u0060 in one and \u0060Any\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":"libs/agno/agno/os/interfaces/slack/state.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cadbc8fc45a531a4d811063fe3d9b75b19bfaf3ba4dc33ef87cccceac7556c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/os/routers/registry/registry.py:282-293 | libs/agno/agno/os/routers/registry/registry.py:409-420 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/registry/registry.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f724b8d7acf696fcb92d2784fc399ca7e1ec47ee9b13f7b0a21a37e591dc05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/os/routers/registry/registry.py:296-307 | libs/agno/agno/os/routers/registry/registry.py:426-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/registry/registry.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":"libs/agno/agno/os/routers/registry/registry.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"797b878d9e31b3c68812d6334d16f9121575b74633f1f8cce0efafb7e172ef51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/run/agent.py:900-911 | libs/agno/agno/run/team.py:964-975 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cbcd6b80fdd9ad034c016f8c973f2c5c5a52240b4b69e818024406cf5ffef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/run/team.py:1098-1109 | libs/agno/agno/team/_run.py:4369-4380 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060Union[\u0022TeamRunOutput\u0022, RunOutput]\u0060 in one and \u0060Union[TeamRunOutput, RunOutput]\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":"libs/agno/agno/run/team.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e94e312eb1697c992b65aeb1469a350518a3cc17bf28b708ca2873f60973b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/session/summary.py:265-276 | libs/agno/agno/session/summary.py:301-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. 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":"libs/agno/agno/session/summary.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6ae769788e116818fe031e3bff9449bdf45a34fb3818b1be9c9972bb177ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/team/_response.py:1681-1692 | libs/agno/agno/team/_response.py:1713-1724 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_response.py"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd61175181844dd33a0290e7d4ba096ece7e0f26d13804ac4e56fcb32a15137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/team/_run.py:2292-2303 | libs/agno/agno/team/_run.py:6938-6949 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_run.py:2292\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d5e25321512abc95bdba5b39fba401c1cbf4c0ea33aeffe3f3f31435acd2e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/team/_run.py:7521-7532 | libs/agno/agno/team/_run.py:9271-9282 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":7521}}}],"partialFingerprints":{"codehealthFindingId/v1":"901656722a36ec37f7205592c7bf8d951b1ba776be2a7988a65c46d2a7b77d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/tools/google/calendar.py:397-408 | libs/agno/agno/tools/google/calendar.py:410-421 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"160c1cfe49d065c8d006fc536db704d2058e9a514188421710f55471e960c6e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/tools/studio.py:3515-3526 | libs/agno/agno/tools/studio.py:3601-3611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/studio.py:3515\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3515}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8757a476ab02a0e46a30c527664fe858f3e1b3ef224a066347d7dfceedb6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/tools/superserve.py:391-402 | libs/agno/agno/tools/superserve.py:409-420 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6566406e828791f5d6ec1d48da3746a1d02d03ebe267fe464aeec4a0ef71851b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/utils/pprint.py:67-78 | libs/agno/agno/utils/pprint.py:152-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"34148e99e5d7982cc0dbfb33175f378253140b0649d54a1d6c4a8ebd0a238587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:607-618 | libs/agno/agno/vectordb/opensearch/opensearch.py:533-544 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9394b7f0e601bf05442df6e69bd17b2f6ac259a9170df61d63d0bf0af79a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:950-961 | libs/agno/agno/vectordb/lancedb/lance_db.py:979-990 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae40564bf4617de31d5351a17891bfb86176808a5da803f29044fd4fc6ad683c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/workflow/condition.py:527-538 | libs/agno/agno/workflow/condition.py:740-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a873cb9a06eeb83e3be14b1257e135138f1b17224be7e53751087f21a7675074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:2970-2981 | libs/agno/agno/workflow/workflow.py:3328-3337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:2970\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"072b16827d86c8065206fcce41caceffb58905091a1d740e7ee1caccb5aa2a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3036-3047 | libs/agno/agno/workflow/workflow.py:7331-7341 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1590c145ddbe1a5d3a40b114fd926054bc86e4584e75c5d4b73e91d968c1208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3365-3376 | libs/agno/agno/workflow/workflow.py:3818-3829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/workflow.py:3365\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3365}}}],"partialFingerprints":{"codehealthFindingId/v1":"902547e12193471a8ea456262a0ae50eb2b7e7ba7a0e23ca9f61bc40c8767aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:4041-4052 | libs/agno/agno/workflow/workflow.py:9384-9394 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c43aafd075ea2de44bf8e7918a5cac9b3d2b7679580286d99b0be435f602a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno_infra/agno/aws/resource/base.py:191-205 | libs/agno_infra/agno/docker/resource/base.py:140-154 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/base.py\u0060 and \u0060libs/agno_infra/agno/docker/resource/base.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno_infra/agno/aws/resource/base.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab2728c15573d7815c84796eec8a655f40e5319abd968cd713ebf9052f1150e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:91-102 | libs/agno_infra/agno/docker/resources.py:49-60 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b72132260aaee99fc48d2478eb2a0a8ebd52119fb8b51a59e00b4e38c6d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:253-264 | libs/agno_infra/agno/docker/resources.py:208-219 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fa02299b7ad631e6f6af1b68e854f1e9da8dc3241e9566b5499184260fe181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno_infra/agno/aws/resources.py:410-421 | libs/agno_infra/agno/docker/resources.py:373-384 \u2014 \u0060libs/agno_infra/agno/aws/resources.py\u0060 and \u0060libs/agno_infra/agno/docker/resources.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 11 separate duplicated blocks between them, totalling at least 145 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c546eb5db32ecb59615acd0eaa84d6f5b847f53f6256dcbc5b8d2594f3bef587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno_infra/agno/docker/resource/container.py:326-337 | libs/agno_infra/agno/docker/resource/image.py:433-444 \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":"libs/agno_infra/agno/docker/resource/container.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09b02a54db491b0a577dbce04242b277700518fa8de96494492d6a5aa7dbbeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 11): libs/agno/agno/db/mongo/async_mongo.py:868-876 | libs/agno/agno/db/mongo/async_mongo.py:3592-3600 | libs/agno/agno/db/mongo/async_mongo.py:4707-4715 | libs/agno/agno/db/mongo/async_mongo.py:4886-4894 | libs/agno/agno/db/mongo/async_mongo.py:4962-4972 | libs/agno/agno/db/mongo/mongo.py:673-681 | libs/agno/agno/db/mongo/mongo.py:3342-3350 | libs/agno/agno/db/mongo/mongo.py:4507-4515 | libs/agno/agno/db/mongo/mongo.py:4634-4642 | libs/agno/agno/db/mongo/mongo.py:4706-4716 | libs/agno/agno/tools/todoist.py:152-160 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060user_id\u0060 to \u0060Optional[str] = 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"908f1f15e06c1f0de1d39076049d52b4af7556f69ac611c12ab2fffa85f76709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): libs/agno/agno/db/mysql/mysql.py:2560-2570 | libs/agno/agno/db/mysql/mysql.py:2613-2623 | libs/agno/agno/db/postgres/postgres.py:3391-3401 | libs/agno/agno/db/postgres/postgres.py:3444-3454 | libs/agno/agno/db/singlestore/singlestore.py:2552-2562 | libs/agno/agno/db/singlestore/singlestore.py:2605-2615 | libs/agno/agno/db/sqlite/sqlite.py:3328-3338 | libs/agno/agno/db/sqlite/sqlite.py:3382-3392 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2560\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"62205f56635ad4cfbf0b1646216745c4adc42699f1012bcf8486c393fc3dad9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): libs/agno/agno/db/postgres/async_postgres.py:7649-7659 | libs/agno/agno/db/postgres/async_postgres.py:7788-7798 | libs/agno/agno/db/postgres/async_postgres.py:7906-7916 | libs/agno/agno/db/postgres/async_postgres.py:8163-8173 | libs/agno/agno/db/sqlite/async_sqlite.py:6863-6873 | libs/agno/agno/db/sqlite/async_sqlite.py:7002-7012 | libs/agno/agno/db/sqlite/async_sqlite.py:7120-7130 | libs/agno/agno/db/sqlite/async_sqlite.py:7377-7387 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7649}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b349ffe02426a19e1cb6cd764b9273fb9a4abe8b945d61b68031728f3d85f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): libs/agno/agno/db/postgres/postgres.py:10394-10404 | libs/agno/agno/db/postgres/postgres.py:10527-10537 | libs/agno/agno/db/postgres/postgres.py:10643-10653 | libs/agno/agno/db/postgres/postgres.py:10896-10906 | libs/agno/agno/db/sqlite/sqlite.py:9335-9345 | libs/agno/agno/db/sqlite/sqlite.py:9468-9478 | libs/agno/agno/db/sqlite/sqlite.py:9584-9594 | libs/agno/agno/db/sqlite/sqlite.py:9837-9847 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10394}}}],"partialFingerprints":{"codehealthFindingId/v1":"878f373e4cd35d94d26b990b34f4e1f9cf08381c13b00b76a14539292f564d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): libs/agno/agno/reasoning/azure_ai_foundry.py:106-116 | libs/agno/agno/reasoning/azure_ai_foundry.py:152-162 | libs/agno/agno/reasoning/groq.py:122-132 | libs/agno/agno/reasoning/groq.py:173-183 | libs/agno/agno/reasoning/ollama.py:163-173 | libs/agno/agno/reasoning/ollama.py:209-219 | libs/agno/agno/reasoning/openai.py:145-155 | libs/agno/agno/reasoning/openai.py:201-211 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/groq.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a305608bed1410233140236c212d2cd2cdc4bf513a0be95915aaa53134727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 7): libs/agno/agno/agent/_run.py:1903-1912 | libs/agno/agno/agent/_run.py:2653-2663 | libs/agno/agno/agent/_run.py:5820-5830 | libs/agno/agno/team/_run.py:3406-3415 | libs/agno/agno/team/_run.py:4087-4096 | libs/agno/agno/team/_run.py:9881-9889 | libs/agno/agno/team/_run.py:10601-10609 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. 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, \u0060libs/agno/agno/agent/_run.py:2666\u0060 calls \u0060create_run_error_event\u0060, \u0060str\u0060, \u0060error_type_of\u0060 and \u0060libs/agno/agno/agent/_run.py:1916\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acd5ae8c984f314218b4ba0481a725ba4f97e0458e7ee22cc455f6664da9287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:696-706 | libs/agno/agno/db/mysql/mysql.py:690-700 | libs/agno/agno/db/postgres/async_postgres.py:999-1009 | libs/agno/agno/db/postgres/postgres.py:1154-1164 | libs/agno/agno/db/singlestore/singlestore.py:767-777 | libs/agno/agno/db/sqlite/async_sqlite.py:950-960 | libs/agno/agno/db/sqlite/sqlite.py:1121-1131 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de8171f488657de437dae592a3efa4d11c7b594ca9ddcb8cecdd52868da9bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): libs/agno/agno/db/mongo/async_mongo.py:863-873 | libs/agno/agno/db/mongo/async_mongo.py:1748-1758 | libs/agno/agno/db/mongo/async_mongo.py:3587-3597 | libs/agno/agno/db/mongo/mongo.py:668-678 | libs/agno/agno/db/mongo/mongo.py:1555-1565 | libs/agno/agno/db/mongo/mongo.py:3337-3347 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"820f24335e4a2bff1148d1fabfada02a6c36b37b658522455c9cecbbdcd0980f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): libs/agno/agno/db/postgres/async_postgres.py:5697-5707 | libs/agno/agno/db/postgres/async_postgres.py:5936-5946 | libs/agno/agno/db/postgres/async_postgres.py:7214-7224 | libs/agno/agno/db/sqlite/async_sqlite.py:5822-5832 | libs/agno/agno/db/sqlite/async_sqlite.py:6078-6088 | libs/agno/agno/db/sqlite/async_sqlite.py:6426-6436 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5697}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed9df4f99b101bd15da8f9304f4b40afb1fe867bc236e88534652cfd013c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 6): libs/agno/agno/knowledge/knowledge.py:4039-4046 | libs/agno/agno/knowledge/loaders/azure_blob.py:254-264 | libs/agno/agno/knowledge/loaders/gcs.py:148-158 | libs/agno/agno/knowledge/loaders/github.py:448-458 | libs/agno/agno/knowledge/loaders/s3.py:132-142 | libs/agno/agno/knowledge/loaders/sharepoint.py:300-310 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/loaders/azure_blob.py:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1094f21a488f5d613d1dc28063deeb22a1bc08341ac6e8e9c44f298d4419e222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): libs/agno/agno/learn/schemas.py:136-146 | libs/agno/agno/learn/schemas.py:234-244 | libs/agno/agno/learn/schemas.py:398-407 | libs/agno/agno/learn/schemas.py:494-503 | libs/agno/agno/learn/schemas.py:636-645 | libs/agno/agno/learn/schemas.py:1126-1135 \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. 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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d19e6a3f90101c05e3f2f1069fe2f36168fe5a764be238971b18c027538678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): libs/agno/agno/tools/studio_runner.py:2810-2820 | libs/agno/agno/tools/studio_runner.py:2876-2886 | libs/agno/agno/tools/studio_runner.py:2943-2952 | libs/agno/agno/tools/studio_runner.py:3011-3021 | libs/agno/agno/tools/studio_runner.py:3077-3087 | libs/agno/agno/tools/studio_runner.py:3146-3155 \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 \u0060libs/agno/agno/tools/studio_runner.py:2810\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"695716ef98b5316c7fd48af0bed3a4ee37377c600f5acf604c8e3a045c99f300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): libs/agno/agno/agent/_run.py:1283-1293 | libs/agno/agno/agent/_run.py:2663-2673 | libs/agno/agno/agent/_run.py:4196-4206 | libs/agno/agno/agent/_run.py:5191-5201 | libs/agno/agno/agent/_run.py:5830-5840 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_run.py:5189\u0060 calls \u0060RunOutput\u0060 and \u0060libs/agno/agno/agent/_run.py:2660\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc19b1edf3763a099a5928b314631beb06c40c2b6d5a3eb2cb10f7200c470e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): libs/agno/agno/agent/_storage.py:1347-1357 | libs/agno/agno/agent/_storage.py:1361-1371 | libs/agno/agno/team/_storage.py:1231-1241 | libs/agno/agno/team/_storage.py:1245-1255 | libs/agno/agno/workflow/workflow.py:1350-1360 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"9776641957bee92d82acb14afcfc5830f321de408e6e1b5318d6d23097464c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:1488-1501 | libs/agno/agno/db/mysql/mysql.py:1496-1508 | libs/agno/agno/db/singlestore/singlestore.py:1539-1549 | libs/agno/agno/db/sqlite/async_sqlite.py:2014-2027 | libs/agno/agno/db/sqlite/sqlite.py:2282-2295 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1488\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce7db7cf9cf6e2715d9ac11de0b63deaeb4c617d7699a7f38390bfc73165b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:2186-2198 | libs/agno/agno/db/mysql/mysql.py:2180-2192 | libs/agno/agno/db/singlestore/singlestore.py:2182-2192 | libs/agno/agno/db/sqlite/async_sqlite.py:2733-2746 | libs/agno/agno/db/sqlite/sqlite.py:2999-3012 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2186\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844b4810c6430ad3639ed8aa777e04cf9c720f4cc7587f56c18995b39b7484f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/agent/_default_tools.py:221-231 | libs/agno/agno/agent/_default_tools.py:250-260 | libs/agno/agno/team/_default_tools.py:1728-1738 | libs/agno/agno/team/_default_tools.py:1755-1765 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_default_tools.py:221\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f1f3342772f39c1a5e769ee6fc5f15a2eeb009d91ca37188bd001bd6443b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/agent/_managers.py:34-44 | libs/agno/agno/agent/_managers.py:89-99 | libs/agno/agno/team/_managers.py:47-57 | libs/agno/agno/team/_managers.py:81-91 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"37219221f110e40ef670297e869a344247fa034fd61e89c7449ee1504a20d076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/agent/_run.py:1464-1474 | libs/agno/agno/agent/_run.py:2856-2866 | libs/agno/agno/team/_run.py:2069-2079 | libs/agno/agno/team/_run.py:4265-4275 \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 \u0060libs/agno/agno/agent/_run.py:1464\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"235a4c433184e88aa5bd110987dd275ffcfb9342f879f6c3b119779d51fee11f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): libs/agno/agno/agent/_storage.py:1646-1656 | libs/agno/agno/agents/_storage.py:448-456 | libs/agno/agno/team/_storage.py:1631-1641 | libs/agno/agno/workflow/workflow.py:1536-1546 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"014dbc3d048c4994286bc3c735c7c55b2d355e5c1cf13750ea574a45bc8103b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): libs/agno/agno/db/dynamo/dynamo.py:1498-1508 | libs/agno/agno/db/dynamo/dynamo.py:1569-1578 | libs/agno/agno/db/dynamo/dynamo.py:3012-3022 | libs/agno/agno/db/dynamo/dynamo.py:3655-3665 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/dynamo/dynamo.py:3025\u0060 calls \u0060deserialize_from_dynamodb_item\u0060, \u0060drop_legacy_metrics\u0060 and \u0060libs/agno/agno/db/dynamo/dynamo.py:3668\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec74d3f8fbe8be4532893deda805ffef00222a3029c97fcc3d4b7045832e1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): libs/agno/agno/db/gcs_json/gcs_json_db.py:960-969 | libs/agno/agno/db/json/json_db.py:1043-1052 | libs/agno/agno/db/redis/redis.py:1221-1231 | libs/agno/agno/db/valkey/valkey.py:1560-1570 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1445bffcaf1ac9a0f19c948fe26bae6e69cebc9cfe09abd9490c7105cf8c756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): libs/agno/agno/db/in_memory/in_memory_db.py:752-761 | libs/agno/agno/db/json/json_db.py:1045-1054 | libs/agno/agno/db/redis/redis.py:1223-1233 | libs/agno/agno/db/valkey/valkey.py:1562-1572 \u2014 \u0060libs/agno/agno/db/in_memory/in_memory_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.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 28 separate duplicated blocks between them, totalling at least 577 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a088d85f90387b72cf482136de8f0976756f3e89af04214b08b8ad746ea98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2851-2861 | libs/agno/agno/db/mongo/async_mongo.py:2885-2895 | libs/agno/agno/db/mongo/mongo.py:2609-2619 | libs/agno/agno/db/mongo/mongo.py:2643-2653 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2851}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f475da4417efc7981aae8ef262a22dd9641e21a2277895366e556fa8a1ec6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:1503-1513 | libs/agno/agno/db/mysql/mysql.py:1510-1520 | libs/agno/agno/db/postgres/postgres.py:2366-2376 | libs/agno/agno/db/singlestore/singlestore.py:1551-1561 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:1516\u0060 calls \u0060async_session_factory\u0060, \u0060begin\u0060, \u0060connection\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:2379\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5085ef63d7a05ad1ed787efdaebc027cbf440a3ab4428982ddb3c1c4aca6e598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:2006-2016 | libs/agno/agno/db/mysql/async_mysql.py:3660-3670 | libs/agno/agno/db/postgres/async_postgres.py:2406-2416 | libs/agno/agno/db/postgres/async_postgres.py:3914-3924 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"971f76c48ab46f23149e96a93199e6ffbd0a39b625666215bfeec453e78d2a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:2747-2757 | libs/agno/agno/db/mysql/mysql.py:2729-2739 | libs/agno/agno/db/sqlite/async_sqlite.py:3230-3240 | libs/agno/agno/db/sqlite/sqlite.py:3489-3499 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2747\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2747}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2e640b013351162b59e3190f2ea9a183c05c595cf5e26c39fcb89516458006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:3972-3982 | libs/agno/agno/db/postgres/async_postgres.py:4253-4263 | libs/agno/agno/db/sqlite/async_sqlite.py:4454-4464 | libs/agno/agno/db/sqlite/sqlite.py:4666-4676 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3972}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f50cd5ee6ab305cbd8ab4c2553a607ae378781099ed04888a622b75147d733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:280-290 | libs/agno/agno/db/postgres/async_postgres.py:457-466 | libs/agno/agno/db/singlestore/singlestore.py:350-360 | libs/agno/agno/db/sqlite/async_sqlite.py:440-449 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 805 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 \u0060libs/agno/agno/db/postgres/async_postgres.py:457\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:467\u0060 calls \u0060pop\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:293\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee40d836c62274853bcc359dad7255d64d3cced6331d225ce4f8f66f08a689f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:821-830 | libs/agno/agno/db/postgres/postgres.py:1196-1206 | libs/agno/agno/db/singlestore/singlestore.py:872-880 | libs/agno/agno/db/sqlite/sqlite.py:1187-1197 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/sqlite/sqlite.py:1198\u0060 calls \u0060isinstance\u0060, \u0060get\u0060, \u0060loads\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:832\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"621bce1d1b419cddde5e98c03a3659800edaa416aacf2538223e48fa0ba78067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:1376-1386 | libs/agno/agno/db/postgres/postgres.py:1541-1551 | libs/agno/agno/db/sqlite/async_sqlite.py:1335-1345 | libs/agno/agno/db/sqlite/sqlite.py:1536-1546 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cc733691e066c27181d6fb6e211a0525e8dc8d6ec37b377d625c5a992a1199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2664-2674 | libs/agno/agno/db/postgres/postgres.py:3229-3239 | libs/agno/agno/db/sqlite/async_sqlite.py:2901-2911 | libs/agno/agno/db/sqlite/sqlite.py:3165-3175 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2664\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:2661\u0060 calls \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2898\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8e3066ceed51c6e9940a829dd38540d31948bae0ab52d09fe6d25a88bda788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2981-2991 | libs/agno/agno/db/postgres/async_postgres.py:3142-3151 | libs/agno/agno/db/sqlite/async_sqlite.py:3221-3231 | libs/agno/agno/db/sqlite/async_sqlite.py:3382-3391 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"9561b18e64cdd697cd40b0751ed6f8227498124b9ff6ffa34ef1e548511bf52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:4434-4444 | libs/agno/agno/db/postgres/postgres.py:4970-4980 | libs/agno/agno/db/sqlite/async_sqlite.py:4640-4650 | libs/agno/agno/db/sqlite/sqlite.py:4795-4805 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:4434\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4434}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d60b7a1dd5aedec67569c0af940921dfd3dc82c28429e122d9524059ef43b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:6484-6494 | libs/agno/agno/db/postgres/async_postgres.py:6577-6585 | libs/agno/agno/db/postgres/async_postgres.py:6608-6616 | libs/agno/agno/db/postgres/async_postgres.py:6688-6698 \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 \u0060libs/agno/agno/db/postgres/async_postgres.py:6484\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cab2d8a80022287457e00f13daca8d5d3fdc49a37a375ab0d05978f14b89eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7085-7095 | libs/agno/agno/db/postgres/async_postgres.py:7342-7352 | libs/agno/agno/db/sqlite/async_sqlite.py:6297-6307 | libs/agno/agno/db/sqlite/async_sqlite.py:6558-6568 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7085}}}],"partialFingerprints":{"codehealthFindingId/v1":"3010c6526ec874b7d53f57a1ccedf79708e7f2b13bb04e729a2aa1a3788bda63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8270-8280 | libs/agno/agno/db/postgres/postgres.py:10999-11009 | libs/agno/agno/db/sqlite/async_sqlite.py:7484-7494 | libs/agno/agno/db/sqlite/sqlite.py:9940-9950 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8270}}}],"partialFingerprints":{"codehealthFindingId/v1":"417e474ca29848dfa1fb08c95850ca410e5aa971bfd970c68e75c175709004ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:6439-6449 | libs/agno/agno/db/postgres/postgres.py:6916-6926 | libs/agno/agno/db/sqlite/sqlite.py:6298-6308 | libs/agno/agno/db/sqlite/sqlite.py:6726-6736 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6439\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04d2ca06cf7796202c9e78bcdace444b5bdb136d7018ea8125b3dce2f32c323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/knowledge/loaders/gcs.py:235-245 | libs/agno/agno/knowledge/loaders/github.py:607-617 | libs/agno/agno/knowledge/loaders/s3.py:228-238 | libs/agno/agno/knowledge/loaders/sharepoint.py:419-429 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/loaders/gcs.py:235\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"144c40af21e5ce3024dc4edf56b0f57467bd639b5af686bc7976cc83252b9272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/learn/stores/session_context.py:969-979 | libs/agno/agno/learn/stores/session_context.py:1018-1028 | libs/agno/agno/learn/stores/session_context.py:1110-1120 | libs/agno/agno/learn/stores/session_context.py:1159-1169 \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 \u0060libs/agno/agno/learn/stores/session_context.py:969\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"833860121edf33138145270196c779210838680adf796d98ce78a37bc67561c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/models/azure/ai_foundry.py:228-238 | libs/agno/agno/models/azure/ai_foundry.py:266-276 | libs/agno/agno/models/azure/ai_foundry.py:303-313 | libs/agno/agno/models/azure/ai_foundry.py:341-351 \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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf6f4ecd48c9816a127d0f4aa25379825fa89410f5738f603178355e6f65d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/utils/callables.py:236-246 | libs/agno/agno/utils/callables.py:274-284 | libs/agno/agno/utils/callables.py:396-406 | libs/agno/agno/utils/callables.py:433-443 \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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9feb7be7b41d577b34a5951d8f514f2941be0a5c7af66c0dc7e1c47f161201d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:6749-6759 | libs/agno/agno/workflow/workflow.py:6804-6814 | libs/agno/agno/workflow/workflow.py:8784-8794 | libs/agno/agno/workflow/workflow.py:8837-8847 \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. 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":6749}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceab31da66a117923ae8535913c44eada575a66e885d239884c3c0d0ce98bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:288-298 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:302-312 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:210-220 | libs/agno_infra/agno/aws/resource/rds/db_instance.py:224-234 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/rds/db_cluster.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_instance.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"05545225b5db09007312a583a051b578b0ba5d692acfb0b37d459dfa8b0dc21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cookbook/05_agent_os/05_human_in_the_loop/audit_record.py:92-103 | cookbook/05_agent_os/05_human_in_the_loop/basic.py:88-99 | cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py:115-125 \u2014 before extracting anything, compare \u0060cookbook/05_agent_os/05_human_in_the_loop/basic.py\u0060 and \u0060cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/05_human_in_the_loop/audit_record.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd610e364a62669bccee5e16d161c94b17082061a65d911e103f3b36f8238c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cookbook/05_agent_os/17_slack/super_agent.py:112-122 | cookbook/05_agent_os/30_company/13_start_tasks_from_chat.py:175-185 | cookbook/05_agent_os/30_company/17_continue_tasks_from_chat.py:242-252 \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. 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":"cookbook/05_agent_os/17_slack/super_agent.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff330b4297bad5fd7fb6fca65e07cdc0811eaf61f36296e2566127e7f86c8175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): cookbook/07_knowledge/09_archive/vector_dbs/milvus_db_range_search.py:62-70 | cookbook/07_knowledge/09_archive/vector_dbs/milvus_db_range_search.py:75-85 | cookbook/07_knowledge/09_archive/vector_dbs/milvus_db_range_search.py:90-98 \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 \u0060cookbook/07_knowledge/09_archive/vector_dbs/milvus_db_range_search.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":"cookbook/07_knowledge/09_archive/vector_dbs/milvus_db_range_search.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3839a8f0686e7fda1bdd681bd3c4c69d58ad05e0a5ddc29f200a376b7ddc9214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cookbook/91_tools/mcp/pipedream_google_calendar.py:29-39 | cookbook/91_tools/mcp/pipedream_linkedin.py:29-39 | cookbook/91_tools/mcp/pipedream_slack.py:30-40 \u2014 before extracting anything, compare \u0060cookbook/91_tools/mcp/pipedream_google_calendar.py\u0060 and \u0060cookbook/91_tools/mcp/pipedream_linkedin.py\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cookbook/91_tools/mcp/pipedream_slack.py:50\u0060 calls \u0060run\u0060, \u0060run_agent\u0060 and \u0060cookbook/91_tools/mcp/pipedream_google_calendar.py:48\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":"cookbook/91_tools/mcp/pipedream_google_calendar.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"59110ffa70e34b52ac89109283d35e6c1afc6e5bebc195dcee07a1f7d0b9a107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/client/a2a/utils.py:104-114 | libs/agno/agno/client/a2a/utils.py:406-416 | libs/agno/agno/client/a2a/utils.py:610-620 \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 \u0060libs/agno/agno/client/a2a/utils.py:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c214c44554bcf1b2fc6735d1d8f1dd387ae4212235990fd3dbf27eca645ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/db/dynamo/utils.py:466-476 | libs/agno/agno/db/redis/utils.py:565-575 | libs/agno/agno/db/valkey/utils.py:946-956 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/dynamo/utils.py:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa85a9ef9e3e8b7e2689644fbd8124fc72e7f96c5079aa8c72e9b916eb2c61ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:622-632 | libs/agno/agno/db/json/json_db.py:690-700 | libs/agno/agno/db/valkey/valkey.py:966-976 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c659df4d1c2d00c16ca6445ab2e8a4c4e33b378972e272d1ec65e1aa0e014d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:291-299 | libs/agno/agno/db/mysql/mysql.py:284-294 | libs/agno/agno/db/singlestore/singlestore.py:354-364 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:284\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:289\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:284\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"65786b900fce324e17a0d845324007a9ccd39c5447f5030ddde55a40fd34e670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1085-1095 | libs/agno/agno/db/mysql/mysql.py:1102-1112 | libs/agno/agno/db/singlestore/singlestore.py:1148-1158 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a170732085fdc2362a1cbc71b5471ae29e46d9039b24a25b1756e6bb69b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1762-1771 | libs/agno/agno/db/postgres/async_postgres.py:2147-2157 | libs/agno/agno/db/sqlite/async_sqlite.py:4316-4324 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"709d4aeeb60701d68185ecc1641f763635df95f3a83246a50615e038986910f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3144-3161 | libs/agno/agno/db/postgres/async_postgres.py:3388-3405 | libs/agno/agno/db/sqlite/async_sqlite.py:3628-3645 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c37a07b3ffbdaf2a379b898edf24d05887f213afd71c1b4fbe6870a58f9af3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4153-4163 | libs/agno/agno/db/mysql/mysql.py:4094-4104 | libs/agno/agno/db/singlestore/singlestore.py:3999-4009 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4153\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ba251dbea2f02bc739e8f55d62149d9f1d0af8e9631f2e6fdc62edb2053553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:652-662 | libs/agno/agno/db/singlestore/singlestore.py:729-739 | libs/agno/agno/db/sqlite/sqlite.py:1144-1154 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:652\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f3890158965998087e625a84e73af6bf2ec559b180a42e5f553afd4e9b8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1009-1017 | libs/agno/agno/db/postgres/postgres.py:1584-1594 | libs/agno/agno/db/singlestore/singlestore.py:1054-1062 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:1582\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1007\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dad77136b78ccf7b5c609a20b5787c8d397c39e12676a0f7b8f3f294b6b8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/db/postgres/async_postgres.py:957-967 | libs/agno/agno/db/postgres/postgres.py:1114-1124 | libs/agno/agno/db/sqlite/async_sqlite.py:906-916 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be5879f68b3315733a363c4bf85a728341368fb871049454c231a76720ab10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:2640-2650 | libs/agno/agno/db/singlestore/singlestore.py:3735-3743 | libs/agno/agno/db/sqlite/sqlite.py:4528-4536 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"1430d86ed70dd75a4004ff4d231ced19b3be560ae3a101b1222c74499e26ff02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/os/routers/components/components.py:967-977 | libs/agno/agno/os/routers/components/components.py:1220-1230 | libs/agno/agno/os/routers/components/components.py:1318-1328 \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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"43413dbea05cede17e0caf2180d46527119f6a8229d58b658e7c8044578e4a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/os/routers/filesystem/router.py:475-485 | libs/agno/agno/os/routers/filesystem/router.py:529-539 | libs/agno/agno/os/routers/filesystem/router.py:578-588 \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 \u0060libs/agno/agno/os/routers/filesystem/router.py:475\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/filesystem/router.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9afe85e3b94ac5ecd47fb47b8d3821a86c13e3350cb14889da790eb5ac7470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/run/agent.py:1027-1037 | libs/agno/agno/run/team.py:1084-1094 | libs/agno/agno/run/workflow.py:1146-1156 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"462afd3bae1a36031231ce538c76f9d85baf452382cf10620978a5f1c4ad3dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/team/team.py:1965-1975 | libs/agno/agno/workflow/workflow.py:1567-1579 | libs/agno/agno/workflow/workflow.py:12019-12029 \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. 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, \u0060libs/agno/agno/team/team.py:1962\u0060 calls \u0060component_owner_scope\u0060 and \u0060libs/agno/agno/workflow/workflow.py:1563\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":"libs/agno/agno/team/team.py"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"a834e197154d9505dfcc53c7eba0d9d20a0cd381b6d29bb6c3ffb86071cf41e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/tools/exa.py:213-223 | libs/agno/agno/tools/exa.py:251-261 | libs/agno/agno/tools/exa.py:299-309 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/agno/agno/tools/exa.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b0d2cba04f03f247eec1995f5c7e95ff93c026064621c881a08551b5de7843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno/agno/tools/openweather.py:138-148 | libs/agno/agno/tools/openweather.py:185-195 | libs/agno/agno/tools/openweather.py:225-235 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/openweather.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d315e5e195f58d8907bfea9c280961a33194b0ab00e30bee41296c95710d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:2983-2991 | libs/agno/agno/workflow/workflow.py:3272-3282 | libs/agno/agno/workflow/workflow.py:3338-3346 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1327dc3429170d9d89536610ec85d0dd77c9aac80a07876f2d6373934911071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:114-124 | libs/agno_infra/agno/aws/resource/emr/cluster.py:210-220 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:119-129 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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, \u0060libs/agno_infra/agno/aws/resource/emr/cluster.py:223\u0060 calls \u0060get\u0060 and \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:126\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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"da34f28725426dc147ee8c17ea9d5f8b2eda3d8c196d78006b676c50cd8a6f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno_infra/agno/aws/resources.py:111-121 | libs/agno_infra/agno/aws/resources.py:273-283 | libs/agno_infra/agno/aws/resources.py:430-440 \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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b66a5f34cf4a082c7112e13c325c568ac3f0b5921d5b6dba351b92d82c3d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/agno_infra/agno/aws/resources.py:148-158 | libs/agno_infra/agno/aws/resources.py:294-304 | libs/agno_infra/agno/aws/resources.py:451-461 \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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbefcb32c073b4b6c22defe0ace90231f6b411f573207b980193c3ae8f7e9648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cookbook/02_agents/15_dependencies/dependencies_in_tools.py:55-67 | cookbook/03_teams/17_dependencies/dependencies_in_tools.py:73-83 \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 \u0060cookbook/02_agents/15_dependencies/dependencies_in_tools.py: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. 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":"cookbook/02_agents/15_dependencies/dependencies_in_tools.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54b197e38519af5b1de3c45902da8f0262d8b1429e1ad1bff2fedbd56780be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cookbook/02_agents/18_checkpointing/01_crash_recovery.py:86-96 | cookbook/03_teams/23_checkpointing/01_crash_recovery.py:85-95 \u2014 before extracting anything, compare \u0060cookbook/02_agents/18_checkpointing/01_crash_recovery.py\u0060 and \u0060cookbook/03_teams/23_checkpointing/01_crash_recovery.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ef6bd3b705b6a8c9b9d177c3070221cbd7070a1191cb44c96259af3eddc68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cookbook/05_agent_os/04_run_lifecycle/background_run.py:59-69 | cookbook/05_agent_os/04_run_lifecycle/cancel_run.py:59-69 \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":"cookbook/05_agent_os/04_run_lifecycle/background_run.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91a9637a06557eb0ff184819a856e2a7a64b97cd4989208ed837b4f0a87caaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:222-233 | cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:248-259 \u2014 both copies are in the same file, so extract the block 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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cc1a8d6fac38a4bbedc0f3671fa60686c46cb40957579fcf3c5cf99b8ba716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/agent/_init.py:505-515 | libs/agno/agno/team/_init.py:934-944 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9938715fa5608b75de7e89342f99c14191f3bc530aad7b1a55990d66bce732bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/agent/_response.py:239-249 | libs/agno/agno/team/_response.py:652-662 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_response.py:239\u0060 it begins part-way through the construct above it, so those exact 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 \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"231539f74527392110729a8fb895e55995215d7da3b91b1642f6f86431110afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/agent/_run.py:550-561 | libs/agno/agno/agent/_run.py:3727-3737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:550\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d950646b33c4ffdc75fd08ddf10ef20e8bcc10e03ec85e185a58c408ecb29d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/agent/_run.py:1986-1996 | libs/agno/agno/agent/_run.py:2065-2073 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f989bc27f53653dcc1363857fb0692acc40dd5f16b62cd0c9b8568640b95e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/agent/_run.py:4274-4284 | libs/agno/agno/team/_run.py:9267-9277 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4274}}}],"partialFingerprints":{"codehealthFindingId/v1":"da771caaf47076e0c075a8b3aa35f91fee326730295d66a58559ca89af1f503c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201321 lines \u00D7 2): libs/agno/agno/agents/antigravity/agent.py:352-372 | libs/agno/agno/tools/antigravity.py:277-291 \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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a8f7d0764560e964754dccad3e9ee46c4a3e5212d76ef4a844e9652282df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/agents/antigravity/agent.py:586-596 | libs/agno/agno/agents/codex/agent.py:107-117 \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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"545fa7db17999409ade3fcdc479b6ed88756c250aa2c051e0af6c7510bb1c5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/object.py:47-57 | libs/agno_infra/agno/aws/resource/s3/object.py:51-61 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/object.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/s3/object.py\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. 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 first that the copies are not typed on the same thing: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/s3/object.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a840432663407d938081d10abc99243338187834891565537d5047ddc7f8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/compression/manager.py:160-170 | libs/agno/agno/compression/manager.py:270-280 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/compression/manager.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23190038dad73ecc05e445ac99efb935a5e432a29b13359532ef240b204ec59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/context/calendar/provider.py:213-223 | libs/agno/agno/context/gmail/provider.py:228-238 \u2014 \u0060libs/agno/agno/context/calendar/provider.py\u0060 and \u0060libs/agno/agno/context/gmail/provider.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 4 separate duplicated blocks between them, totalling at least 54 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":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e2e81cf747435ce53786f542ad5be5a9b2d5d4038eb3d2d1387c51f0db3db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:985-995 | libs/agno/agno/db/dynamo/dynamo.py:3662-3672 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"0624bcb88f7dec8e21fe52e4df906cbca545eaa93b9d860fe4e886d57365e62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:2924-2936 | libs/agno/agno/db/firestore/firestore.py:2632-2644 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2924}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8525b61589704b19462881804530a879e0a87cd2dc0bda25e466a84f7cd3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/dynamo/utils.py:40-50 | libs/agno/agno/db/dynamo/utils.py:78-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/dynamo/utils.py:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b4cc3b474013cc8411efcd8036590e99aaa50ec4996fcbd29aecd7d460fc35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/dynamo/utils.py:680-690 | libs/agno/agno/db/dynamo/utils.py:789-799 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"de356b8961cfd95877e618ee285b38f4e6f68ab8fe035be0ce2c9ce47497276d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:969-979 | libs/agno/agno/db/firestore/firestore.py:1489-1499 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6e6d92ca4bcfacb5317b072f5096d2e800fbf237db1da45fb233d9e6347dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2188-2198 | libs/agno/agno/db/json/json_db.py:2336-2346 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/json/json_db.py:2348\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:2200\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7a5d73f067c525117fbcd95acf54b8b23f69a6cb04111bf9f0b0bdafed6956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_3_0.py:540-558 | libs/agno/agno/db/migrations/versions/v2_3_0.py:614-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v2_3_0.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":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d351f2e5193f33df16e1a13aa642e0518ff503ac32627a70ee1f9d7f20ad84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:885-895 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3667-3677 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1361834a6e5c988afd81f9bcab308fe7f26c25a03551b3c0bc891431e9ebf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1021-1031 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1118-1128 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c42021ff9b6bb8f19473be5c471a72bcf9f6e32adbff3b43f764ca766c1a352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1074-1084 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1168-1178 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"877604df2d7d7f1b1ed6d47bca9494ef48ff400986bd2482ca0f8fec0efde9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1865-1875 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1957-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. 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee08423db787810f7d147f66f86ccf4dd533fed9447d6e24ec536523738e9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:653-662 | libs/agno/agno/db/mongo/mongo.py:452-462 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1bd82d7e334e8fd4518b08723c98aacb147988d36aded1ec17a79308c809b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1249-1259 | libs/agno/agno/db/mongo/mongo.py:1060-1070 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:1249\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7d8a4568804e4eb8db542d3e8ae3760ae89d63d516381f9ff0b57b8e0da683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1389-1396 | libs/agno/agno/db/mongo/mongo.py:1197-1207 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"371d695efd94505b8b7405881bb8f7ece97b63d444e93c76820c608ffef461ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4261-4271 | libs/agno/agno/db/mongo/mongo.py:4069-4079 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04a779d9bbfa373bf60c669e7a60099421b2673d1f7ee1dedf8d73e6b688bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:340-348 | libs/agno/agno/db/postgres/async_postgres.py:527-537 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b118ee3372dfdd6c59d785bb1de29aeb605afa34af2339870976a8c216c2ec44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:365-375 | libs/agno/agno/db/postgres/async_postgres.py:552-561 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:365\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:377\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:564\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb265f6fead0514cd1fa3dee42a80ee8d0814ba67ace67deb4eee30c2290e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:990-999 | libs/agno/agno/db/postgres/async_postgres.py:1418-1428 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:1416\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:988\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c4d85632630bcf754363f772cd3d3cd41c88f209e0460c8eb038414abc01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:1452-1462 | libs/agno/agno/db/singlestore/singlestore.py:1499-1510 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac7c0477e00cd401499a58b0d88be99cd218ece2c304df3e3b533f7cf36c3bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2302-2312 | libs/agno/agno/db/singlestore/singlestore.py:2310-2320 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f87a59ec18e1dd8f0319d633ed31d7dfa1380880729c1f9973976907f34c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:884-894 | libs/agno/agno/db/postgres/postgres.py:1039-1049 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b67dab68666a0de7655c25271f0559a0e20e2034ca2266858890718cd711dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1635-1645 | libs/agno/agno/db/sqlite/async_sqlite.py:1562-1572 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"618fe793f3d45b798511742bf9cf7cec6acfd0162c9ff0f204d0bd85cad7545c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1710-1720 | libs/agno/agno/db/postgres/postgres.py:1947-1957 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f204daf08d2641e220c0582d21b1f6cb7db72f098c1b2c082ef312c10cec59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5484-5494 | libs/agno/agno/db/sqlite/async_sqlite.py:5608-5618 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5484}}}],"partialFingerprints":{"codehealthFindingId/v1":"45477f0a33c66323eb676262d4bef49efd12aa63c4b1fe43f34665218162284a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6185-6195 | libs/agno/agno/db/postgres/async_postgres.py:6259-6269 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5843e16b85c0e8692347e687836ae13f286f962f65e3dcdef8e4d0a2ec227f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6984-6994 | libs/agno/agno/db/sqlite/async_sqlite.py:6196-6206 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6984}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f8324467153157bcca8391e8c979d264712cc0045a468cea4c28abf200c066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7836-7846 | libs/agno/agno/db/sqlite/async_sqlite.py:7050-7060 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44446146dfd94dbdd1bf120e3dbbb8a9dc0c1a7f31e98ae21640ec9e87061c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:654-664 | libs/agno/agno/db/singlestore/singlestore.py:475-485 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0b7ab841ba104313e2c8fbac4149fa7635691d3df79003d689cd1b118f84da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8881-8891 | libs/agno/agno/db/postgres/postgres.py:8955-8965 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8881}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee86e7172a51529d15c3da875de9f0948da18d9541ac918543651087d92a542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9169-9179 | libs/agno/agno/db/postgres/postgres.py:9286-9299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:9169\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded5f1e91654b52fe2de26084eb8b4fec264eb08498001d0058e8c7fc5418366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9261-9269 | libs/agno/agno/db/postgres/postgres.py:9369-9379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:9261\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b715a51516606b2fde0abe7be4a911f2743ab0ac6f9c0d7c7c9e33ba39dbcd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10573-10583 | libs/agno/agno/db/sqlite/sqlite.py:9514-9524 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f23d7bbd4dc561419bd49bee2bfad61b7d3ac9e2f2c78850f735984fd467dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:596-606 | libs/agno/agno/db/valkey/valkey.py:711-721 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c8060da07508a3c149e12a17f08be52517d251efedda9eefab0dcad89534f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1797-1807 | libs/agno/agno/db/valkey/valkey.py:2113-2123 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83c5a93354011c0dcf359cc3a2ddd7be33a0f06a258a64811132cd2660f8bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:4299-4309 | libs/agno/agno/db/redis/redis.py:4427-4437 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6384abe0ac1cd5b042f82de1229b68233cdd2312b24d534a01c5691bb14ae982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:4532-4542 | libs/agno/agno/db/redis/redis.py:4592-4602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:4532\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3415382b9326a8a383e9a1970dad4abb91245568e5e5bb409f89200c46cc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:836-846 | libs/agno/agno/db/sqlite/sqlite.py:1027-1037 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e00e2225b3a5767e678ee6b78894a6f913f1e2392bdfb7bfa48699c340104b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/embedder/google.py:42-52 | libs/agno/agno/models/google/gemini.py:182-192 \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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b10569994b1d22a1591aec673613018b2948f9bf97cffa12968d29b0c90a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/embedder/mistral.py:174-184 | libs/agno/agno/knowledge/embedder/voyageai.py:140-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/mistral.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d185445e84b9f45a6822744e312bc8f9f5fd1a6aa286e57fa36aa2f1ad035d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/filesystem.py:98-108 | libs/agno/agno/knowledge/filesystem.py: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. 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":"libs/agno/agno/knowledge/filesystem.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"796590057376f04925c1f2a4f9adbad66a250db47aff8c180e0f44a357c07031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2415-2425 | libs/agno/agno/knowledge/knowledge.py:3817-3827 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c7bc645c8f5d62692dc7ec645db4595b33f4f521127059fac482ef51d2370a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2490-2500 | libs/agno/agno/knowledge/knowledge.py:3930-3940 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fdfb2fae36b281493dd9a2af0ce19a60ba578847a4472887553a77489b27d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3060-3070 | libs/agno/agno/knowledge/knowledge.py:3172-3182 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3060}}}],"partialFingerprints":{"codehealthFindingId/v1":"f585c2b536b48c68b82f523123ea15cc79324fa097518d282087a2bd4d9d6174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:5037-5047 | libs/agno/agno/knowledge/knowledge.py:5215-5225 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":5037}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e32453a58095d560326897f100c2aab67c106253d3beec49d3fd28ccf033a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/reader/csv_reader.py:121-131 | libs/agno/agno/knowledge/reader/csv_reader.py:221-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. 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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07789cd44f6c67c8720b0b6c45ade2f4a738decc05df1416a0a3a731b4bec17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/reader/markdown_reader.py:68-78 | libs/agno/agno/knowledge/reader/text_reader.py:40-50 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/reader/markdown_reader.py\u0060 and \u0060libs/agno/agno/knowledge/reader/text_reader.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"19673ef4cca8d35727bc96dde1cd665c6b503bea7264890ec985b657ed030d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/knowledge/reader/page_fetcher.py:275-285 | libs/agno/agno/knowledge/reader/page_fetcher.py:353-363 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"475088ae5d4f593db7dd25e173ac0e61f960e17df4c0d586e3eea1c51af839a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/learn/schemas.py:988-998 | libs/agno/agno/learn/schemas.py:1017-1029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/schemas.py:1017\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace906adfd7b3fe639972ba18aa3d95e28857425078d72f9230a49774fa10e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:1282-1292 | libs/agno/agno/learn/stores/user_memory.py:1434-1444 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ed3a4c719a967360c9bef45a8d7a874c90f62f3406e15fe06974b3f20fffe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/metrics.py:541-551 | libs/agno/agno/metrics.py:858-868 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/metrics.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d40b4af5bcc5574cee6431ee645b7fb43de80a3612898d694c41e17992320a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 2): libs/agno/agno/models/anthropic/claude.py:1024-1034 | libs/agno/agno/models/anthropic/claude.py:1209-1215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/anthropic/claude.py:1024\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"169d4c5aa7b110735e67f0ff510d409952bf0f35c9158558af18acfa46bbc9d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/models/aws/bedrock.py:633-643 | libs/agno/agno/models/aws/bedrock.py:734-742 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/aws/bedrock.py:633\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bdc4a70ca3c3b615509c4621c79f6bc36eb62996ac1ab9556f161442112485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/models/base.py:239-249 | libs/agno/agno/models/base.py:287-297 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1e1d60998819a0bdcfd9dcf9c6c0540d26c7f8cc851d8b0f2b653fd0540887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/models/base.py:2459-2469 | libs/agno/agno/models/base.py:2676-2686 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/base.py"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"5071f231e757c9b10af645dc4a1bdf62a3b9f81ad036429bfca522de585dc691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/models/google/gemini_interactions.py:1357-1367 | libs/agno/agno/models/google/gemini_interactions.py:1457-1466 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f3f013857b218b250239f406ed0f96284d8d3431b5d8d2eb2cc75c61270d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/models/groq/groq.py:176-186 | libs/agno/agno/models/ibm/watsonx.py:120-130 \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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a96aa426bc90dbc7571891d8f90ff1307d4a0be4f73e4eaabd9cc4f004e4520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/models/huggingface/huggingface.py:451-461 | libs/agno/agno/models/ibm/watsonx.py:364-374 \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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69aeae2c32261249414f162d407d680f5823ec7ec48a101ead92ae7f0e3dba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/models/xai/xai.py:96-106 | libs/agno/agno/models/xai/xai.py:120-130 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/xai/xai.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"36613eb9be750a6e1d84d97fe33c3cd90b8703df55e73f6cc9a0b5b73c25a2c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 2): libs/agno/agno/os/authz/native_engine.py:302-312 | libs/agno/agno/os/authz/native_engine.py:618-623 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93bef127daf41b9e31acbebdd0e5329c5d666a17b99e02c0a33d119b3cb62f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:1267-1279 | libs/agno/agno/os/routers/teams/router.py:1133-1143 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:1267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"01337cbed9b273ad216c259162fa2f4b05970569a2020337b974ecf5acf7937f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2171-2181 | libs/agno/agno/os/routers/teams/router.py:1949-1961 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d25fab2dca07b80c02a569e267688227ec31a7145d5b226531d746c2ec4000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): libs/agno/agno/os/routers/agents/router.py:2530-2540 | libs/agno/agno/os/routers/teams/router.py:1254-1261 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2530\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"540443cfadd03307c88b6e023bda9f12b6080d3a9fe4696e205faa765cb7919e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/routers/evals/utils.py:191-201 | libs/agno/agno/os/routers/evals/utils.py:204-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/evals/utils.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02347dabf857a19984197f96c067b3437952781c97828e9d66602feab7c86ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/routers/schedules/router.py:119-129 | libs/agno/agno/os/routers/schedules/router.py:599-609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/schedules/router.py: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. 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":"libs/agno/agno/os/routers/schedules/router.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"406a1793b276520e2651ac4273df67d247a62d5933bfd8b8967ecff6f2971afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/routers/teams/router.py:1030-1040 | libs/agno/agno/os/routers/teams/router.py:1081-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 \u0060libs/agno/agno/os/routers/teams/router.py:1030\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aec21f3a93088a0488c063a0a8371903b4cd5e2be5b1910f82826379e0a00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/os/routers/traces/traces.py:431-440 | libs/agno/agno/os/routers/traces/traces.py:456-466 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/traces/traces.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f007233fa599851926ff1a576ac39aee612cdd15d4a48d4e1aac26c023c5949d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:327-337 | libs/agno/agno/os/routers/workflows/router.py:898-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 \u0060libs/agno/agno/os/routers/workflows/router.py:327\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb8ece993e8741199a2b04d3db86df2f9a09c99bfb705fdef08ed717ead7513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:1229-1237 | libs/agno/agno/workflow/workflow.py:10447-10457 \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 \u0060libs/agno/agno/os/routers/workflows/router.py:1229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"037c51777cff11aa4ba4803b00005e546872193080fa27d8a55a1e8de3b0e88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:1225-1233 | libs/agno/agno/workflow/workflow.py:5304-5314 \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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e83bf7a1bc8f0a9032826411e5cfd51c22945ee9a79828650ba5e8bb5d514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/os/schema.py:860-870 | libs/agno/agno/os/schema.py:1001-1011 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/schema.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88747bc82a53431f4627c44b97ce1797ac203b8f41a465c3bb39447646782c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/run/status_persist.py:294-304 | libs/agno/agno/run/status_persist.py:360-370 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9495b7d774ae1ef8f7b42d556de70a8bd1297cac9b17277b8ab3eec1cd334b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/session/agent.py:51-61 | libs/agno/agno/session/team.py:51-61 \u2014 before extracting anything, compare \u0060libs/agno/agno/session/agent.py\u0060 and \u0060libs/agno/agno/session/team.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fa78498df1e05e95252c96f1f15a36657f82f3dfeeef31e74726bd7752764e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/team/_default_tools.py:944-956 | libs/agno/agno/team/_task_tools.py:720-730 \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 \u0060libs/agno/agno/team/_default_tools.py:944\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1becf298cc7f68c9b76289372f72bdefd8a1973e7d72e733be970383e04d225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/team/_hooks.py:174-184 | libs/agno/agno/team/_hooks.py: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_hooks.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d38eea5cc9c5f77e89d4e3139a0a26617f6250a85bb6c3d5d7a4a864b99db53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/team/_response.py:1185-1195 | libs/agno/agno/team/_run.py:3249-3259 \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 \u0060libs/agno/agno/team/_response.py:1185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_response.py"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72cf7ad15a3977c9a574b55fbe5d6a64b0af9af12b2d76b7b78d85a44693f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/team/_run.py:390-400 | libs/agno/agno/team/_run.py:2287-2297 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c711cf575455694170738e3ac6b05842ea4421596f69580101499f12c70bdf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/team/_run.py:3482-3492 | libs/agno/agno/team/_run.py:3558-3566 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3482}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcea716be68ea235fdb828d4f9373fcdee5c35891188e8d3be5a9fbbac96bced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/team/_run.py:6933-6943 | libs/agno/agno/team/_run.py:8319-8329 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6933}}}],"partialFingerprints":{"codehealthFindingId/v1":"551c11ffab3c53e22b1aa07bb1ae69bddf390f11b2d9c192a7a5360a1a43a56e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/team/_run.py:9642-9652 | libs/agno/agno/team/_run.py:10125-10135 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9642}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a99cae3f8df74bde1af2a70916e67d0b79a6a69e3cc232849e8222b5e4f577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/clickup.py:86-96 | libs/agno/agno/tools/clickup.py:101-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. 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":"libs/agno/agno/tools/clickup.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3600c37144ed4d7dff8f9a05932bc1e9f310349f9404584eb7744fa85bcc32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/company.py:852-862 | libs/agno/agno/tools/company.py:1180-1190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/company.py:852\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":"libs/agno/agno/tools/company.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"c366c77e2a9478e242eb08f6aef6579e709af8620aeb9cc7ce7251276d79eb6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/company.py:1380-1390 | libs/agno/agno/tools/company.py:1581-1591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/company.py:1380\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 \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":"libs/agno/agno/tools/company.py"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b9f3487bf95062924d8046798f21a21bd537e3e86584c56259e66bee429eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/decorator.py:185-195 | libs/agno/agno/tools/decorator.py:197-207 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/decorator.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dfc0093cf5d89d478b4ab61bc8d149b2c3b4dfe1a720dbe86593c0c9225a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/gitlab.py:501-511 | libs/agno/agno/tools/gitlab.py:552-562 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"417dc92c05b09a2b39ebb67327c35abf2fdf8415972f3a21e8ed161caa0a2c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/tools/google/calendar.py:255-265 | libs/agno/agno/tools/google/calendar.py:914-923 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb0b0f7fa6aa21061b9321c10b759b6898a9110eb966837edded37df5df48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/google/calendar.py:488-498 | libs/agno/agno/tools/google/calendar.py:500-510 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4df506b19411acf4c985a8d15ac22ae94499a8fec08557a8ccd71c3a04f404b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/google/gmail.py:745-755 | libs/agno/agno/tools/google/gmail.py:805-815 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/google/gmail.py:745\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/tools/google/gmail.py:744\u0060 calls \u0060split\u0060 and \u0060libs/agno/agno/tools/google/gmail.py:804\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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"806eb9808e7843a55b34b254d3e7fab02c714b17b5e7ba9af607687382f9f192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/openrouteservice.py:362-372 | libs/agno/agno/tools/openrouteservice.py:400-410 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/openrouteservice.py:362\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6416e20020b338948a9bfc61a4a41407929abcf48fb63b77aeca2275171c3e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/studio.py:2664-2674 | libs/agno/agno/tools/studio.py:2760-2770 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca47e7eacb46e5c321ab3c5975b2144b65d254e2bd39ea2a8fb662a559e0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/tools/studio.py:3935-3944 | libs/agno/agno/tools/studio.py:4019-4029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/studio.py:4019\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3935}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a6f9eb816bd3ea965bf324cb5c2bddb5e35b9ab14f64cb5f1e4ec0ec72f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/tools/studio.py:3948-3958 | libs/agno/agno/tools/studio.py:4033-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 \u0060libs/agno/agno/tools/studio.py:3948\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb532d97254419769ee19adf340bc3455a4200a68f7b629e83848f54888093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/utils/agent.py:1304-1314 | libs/agno/agno/utils/callables.py:77-87 \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 \u0060libs/agno/agno/utils/callables.py:77\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"55220bf2e97e3811ad11c44b791bfa1bcc7481933abf71c00942f0a03518618e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/utils/callables.py:77-87 | libs/agno/agno/utils/callables.py:148-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 \u0060libs/agno/agno/utils/callables.py:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/callables.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d7ce07c1c252920a020289da9e5036f58dcd1792892cd5ceb7b29155f3af2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/utils/callables.py:151-161 | libs/agno/agno/utils/callables.py:187-197 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdf0bfedd28edbc1cf565f1cadad1c39607b75ce10ea1d1afbeb2733f6629e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/utils/print_response/agent.py:491-501 | libs/agno/agno/utils/print_response/agent.py:854-864 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/utils/print_response/agent.py:866\u0060 calls \u0060clear\u0060 and \u0060libs/agno/agno/utils/print_response/agent.py:504\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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0ae0ad059414ac3ff541cd30d0129c66c81e2bd6abbce58ba963bbde90fe3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:217-227 | libs/agno/agno/vectordb/couchbase/couchbase.py:944-954 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47236087c7a54c43233dee94d04c952a44f67b7c44aae47dddf945a57db4601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:271-281 | libs/agno/agno/vectordb/couchbase/couchbase.py:1005-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. 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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6571a4144b81e607b40e72eb1f4f6d737f06451e00b42f6ea15793fcc65c123b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:199-209 | libs/agno/agno/vectordb/opensearch/opensearch.py:164-174 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b7cc5901ad0fb1aa1d63b6cbadc4e1dbfe0e3ccf127e930d5aedf7c77df889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:986-996 | libs/agno/agno/vectordb/opensearch/opensearch.py:907-917 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"0178419e7926682d0b4fba12e8f88d920bc8a871fba018df5463e70297556aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1401-1411 | libs/agno/agno/vectordb/opensearch/opensearch.py:1314-1324 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1412\u0060 calls \u0060_mark_unretrievable\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1325\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f324459c1c2301e62449f90565a7ecdabc11b06366e09cb7f93fbbcbb71519e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1927-1936 | libs/agno/agno/vectordb/opensearch/opensearch.py:1685-1695 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1adb76b2dece6986706dbca76ea0dbdabec9d39bbe5a91d32ee7f6a6229ba7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:162-172 | libs/agno/agno/vectordb/singlestore/singlestore.py:60-68 \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, \u0060libs/agno/agno/vectordb/singlestore/singlestore.py:58\u0060 calls \u0060super\u0060, \u0060__init__\u0060 and \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:161\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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1f74a2d602a3207665cbffd285f1b4460501f8dac6cb364940f6f775c5c385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:1124-1139 | libs/agno/agno/vectordb/pgvector/pgvector.py:1431-1446 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:1140\u0060 calls \u0060log_error\u0060, \u0060create\u0060 and \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:1447\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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e39772c6d96be8a7ecc8e0f24b37b14dd705c938512557fd5a8eebd8c7b25bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/valkey/valkeydb.py:498-508 | libs/agno/agno/vectordb/valkey/valkeydb.py: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. 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":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9392b4c9c87f2459e6eec50aa5d17b3d034916b1b7178b0bff007463ea3db20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/workflow/condition.py:982-992 | libs/agno/agno/workflow/condition.py:1193-1203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:982\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df8ed1205f73cc5a09e95c487c4738ad174dd130e7581b6d1bb785d54617f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/workflow/step.py:2585-2595 | libs/agno/agno/workflow/step.py:2631-2641 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2585}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da0943de2387de8434c5355556e24b9e6439a873841aaa09998f4723ca50467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/workflow/step.py:3114-3124 | libs/agno/agno/workflow/step.py:3392-3402 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":3114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f21dd83ae2693482ab354265483d50451a21370abf17020a7bef5c0ea0be15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:2959-2969 | libs/agno/agno/workflow/workflow.py:3316-3326 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5e836f5a2cf41fb7447b1646eeb065f8b5bd5fb420a6a4412fdba2814292f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:9574-9584 | libs/agno/agno/workflow/workflow.py:10363-10373 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9574}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a318dad63aa9c27076a97794043cd44b2e9ec4a58d2dcd2ca4b1df19fe3fdf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/migrations/v2_to_v3/migrate_sql_vectordbs.py:70-80 | libs/agno/migrations/v2_to_v3/migrate_sql_vectordbs.py:118-128 \u2014 both copies are in the same file, so extract the block 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. 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":"libs/agno/migrations/v2_to_v3/migrate_sql_vectordbs.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd821cbb4ac2b591a899b775866875737b7a7cf1902723b847bdb014741d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/security_group.py:434-444 | libs/agno_infra/agno/aws/resource/ec2/security_group.py:561-571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e53dd1effa64a6ab2848052c551bf34c7b6c1dab453b9882f4a67f8b285bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ecs/cluster.py:109-119 | libs/agno_infra/agno/aws/resource/ecs/service.py:272-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. 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":"libs/agno_infra/agno/aws/resource/ecs/cluster.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f39f82a76f620b16bab20f74ab98277586e39484992169864d4c2122375d923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 12): libs/agno/agno/workflow/workflow.py:3164-3173 | libs/agno/agno/workflow/workflow.py:4169-4178 | libs/agno/agno/workflow/workflow.py:7096-7103 | libs/agno/agno/workflow/workflow.py:7177-7185 | libs/agno/agno/workflow/workflow.py:7271-7279 | libs/agno/agno/workflow/workflow.py:7464-7472 | libs/agno/agno/workflow/workflow.py:7955-7962 | libs/agno/agno/workflow/workflow.py:9157-9164 | libs/agno/agno/workflow/workflow.py:9240-9248 | libs/agno/agno/workflow/workflow.py:9332-9340 | libs/agno/agno/workflow/workflow.py:9513-9521 | libs/agno/agno/workflow/workflow.py:9717-9724 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/workflow/workflow.py:7093\u0060 calls \u0060hasattr\u0060, \u0060_store_continue_executor_response\u0060 and \u0060libs/agno/agno/workflow/workflow.py:3161\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"505a41368f5f7db7772f0689531fc83b210b6c6aa585db8cc1bcc394db70feb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): libs/agno/agno/db/mongo/async_mongo.py:866-875 | libs/agno/agno/db/mongo/async_mongo.py:3590-3599 | libs/agno/agno/db/mongo/async_mongo.py:4884-4893 | libs/agno/agno/db/mongo/mongo.py:671-680 | libs/agno/agno/db/mongo/mongo.py:3340-3349 | libs/agno/agno/db/mongo/mongo.py:4632-4641 | libs/agno/agno/db/redis/redis.py:644-653 | libs/agno/agno/db/valkey/valkey.py:749-758 | libs/agno/agno/tools/todoist.py:150-159 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060user_id\u0060 to \u0060Optional[str] = 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff891e1150f65b8cee9dcef13733834399655930e9df3666879887a7437e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 9): libs/agno/agno/db/mysql/mysql.py:1247-1256 | libs/agno/agno/db/mysql/mysql.py:1925-1934 | libs/agno/agno/db/mysql/mysql.py:3905-3914 | libs/agno/agno/db/postgres/postgres.py:2812-2821 | libs/agno/agno/db/postgres/postgres.py:4779-4788 | libs/agno/agno/db/singlestore/singlestore.py:1946-1955 | libs/agno/agno/db/singlestore/singlestore.py:3865-3874 | libs/agno/agno/db/sqlite/sqlite.py:2748-2756 | libs/agno/agno/db/sqlite/sqlite.py:4658-4666 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:3903\u0060 calls \u0060order_by\u0060, \u0060desc\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1922\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0fd423330b9cd7336a499ac6b37a81c1642691b37e436fb9d0d41025e33537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): libs/agno/agno/agent/_default_tools.py:156-165 | libs/agno/agno/agent/_default_tools.py:189-198 | libs/agno/agno/agent/_default_tools.py:224-233 | libs/agno/agno/agent/_default_tools.py:253-262 | libs/agno/agno/team/_default_tools.py:1667-1676 | libs/agno/agno/team/_default_tools.py:1698-1707 | libs/agno/agno/team/_default_tools.py:1731-1740 | libs/agno/agno/team/_default_tools.py:1758-1767 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_default_tools.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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adca6818317cf2a137eed22106186cf0b48182924aad113deb67c2766ae0fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 8): libs/agno/agno/agent/_run.py:728-736 | libs/agno/agno/agent/_run.py:1271-1279 | libs/agno/agno/agent/_run.py:1899-1908 | libs/agno/agno/agent/_run.py:2649-2658 | libs/agno/agno/team/_run.py:1400-1408 | libs/agno/agno/team/_run.py:1864-1872 | libs/agno/agno/team/_run.py:3403-3411 | libs/agno/agno/team/_run.py:4084-4092 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f3a2c6977231bf3ac96949d435831767c711ebbb20fef448b160c6f9056724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 8): libs/agno/agno/agent/_run.py:1901-1910 | libs/agno/agno/agent/_run.py:2651-2660 | libs/agno/agno/agent/_run.py:5177-5186 | libs/agno/agno/agent/_run.py:5818-5827 | libs/agno/agno/team/_run.py:3404-3413 | libs/agno/agno/team/_run.py:4085-4094 | libs/agno/agno/team/_run.py:9880-9887 | libs/agno/agno/team/_run.py:10600-10607 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart. 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, \u0060libs/agno/agno/agent/_run.py:5189\u0060 calls \u0060RunOutput\u0060 and \u0060libs/agno/agno/agent/_run.py:1912\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83957878d3d5e8c3a85fd8e6c92742eb9b6e71cb0c400422fd67c2c7677546d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): libs/agno/agno/db/migrations/v1_to_v2.py:404-413 | libs/agno/agno/db/mongo/mongo.py:3482-3491 | libs/agno/agno/db/mysql/async_mysql.py:4071-4080 | libs/agno/agno/db/mysql/mysql.py:4012-4021 | libs/agno/agno/db/postgres/async_postgres.py:4354-4363 | libs/agno/agno/db/postgres/postgres.py:4890-4899 | libs/agno/agno/db/sqlite/async_sqlite.py:4558-4567 | libs/agno/agno/db/sqlite/sqlite.py:5523-5532 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39282eb4415e6630913eb0f20e55e1ba31db93b3cc6703d8b793e879d321632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): libs/agno/agno/db/gcs_json/gcs_json_db.py:731-740 | libs/agno/agno/db/json/json_db.py:799-808 | libs/agno/agno/db/mongo/async_mongo.py:1189-1199 | libs/agno/agno/db/mongo/mongo.py:1001-1010 | libs/agno/agno/db/mysql/async_mysql.py:1249-1259 | libs/agno/agno/db/mysql/mysql.py:1265-1275 | libs/agno/agno/db/singlestore/singlestore.py:1315-1325 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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 \u0060libs/agno/agno/db/mongo/async_mongo.py:1189\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f392a24a89b0de5f42efdfd1284528ae38a500ea23b30c43d18a1da6983a6571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): libs/agno/agno/db/mongo/async_mongo.py:1066-1075 | libs/agno/agno/db/mongo/mongo.py:877-886 | libs/agno/agno/db/mysql/async_mysql.py:1120-1129 | libs/agno/agno/db/mysql/mysql.py:1135-1144 | libs/agno/agno/db/postgres/async_postgres.py:1745-1754 | libs/agno/agno/db/postgres/postgres.py:1980-1989 | libs/agno/agno/db/singlestore/singlestore.py:1181-1190 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd25b0241f3b3b0e646f62e0cf8ffab05948bc4546ed27d3a9b36c9aabb82112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1231-1240 | libs/agno/agno/db/mysql/async_mysql.py:1921-1930 | libs/agno/agno/db/mysql/async_mysql.py:3962-3971 | libs/agno/agno/db/postgres/async_postgres.py:1858-1867 | libs/agno/agno/db/postgres/async_postgres.py:2321-2330 | libs/agno/agno/db/postgres/async_postgres.py:4243-4252 | libs/agno/agno/db/sqlite/async_sqlite.py:1788-1797 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mysql/async_mysql.py:3960\u0060 calls \u0060order_by\u0060, \u0060desc\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:1228\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"974ca635366bb7eae9982294ba43e186231f2caca6bd3314e8dbf86d7ade106e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3959-3968 | libs/agno/agno/db/mysql/mysql.py:3902-3911 | libs/agno/agno/db/postgres/async_postgres.py:4240-4249 | libs/agno/agno/db/postgres/postgres.py:4776-4785 | libs/agno/agno/db/singlestore/singlestore.py:3862-3871 | libs/agno/agno/db/sqlite/async_sqlite.py:4443-4451 | libs/agno/agno/db/sqlite/sqlite.py:4655-4663 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"98501180466f51d752fbfaee3e072a2d3befcfc0e77a9fbf02d2ca0c5f3d7176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:4155-4164 | libs/agno/agno/db/mysql/mysql.py:4096-4105 | libs/agno/agno/db/postgres/async_postgres.py:4436-4445 | libs/agno/agno/db/postgres/postgres.py:4972-4981 | libs/agno/agno/db/singlestore/singlestore.py:4001-4010 | libs/agno/agno/db/sqlite/async_sqlite.py:4642-4651 | libs/agno/agno/db/sqlite/sqlite.py:4797-4806 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18f69dd8a82186b26e9902f985aac5c00ed7b971b72761a97570538ace3912a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): libs/agno/agno/db/mysql/mysql.py:2004-2013 | libs/agno/agno/db/mysql/mysql.py:3605-3614 | libs/agno/agno/db/postgres/postgres.py:2896-2905 | libs/agno/agno/db/postgres/postgres.py:4438-4447 | libs/agno/agno/db/singlestore/singlestore.py:2012-2021 | libs/agno/agno/db/singlestore/singlestore.py:3593-3602 | libs/agno/agno/db/sqlite/sqlite.py:4381-4390 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdc297ad3595c2635ab4ba62856f22164428d6a7096ac5c68802e7ea9135964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 7): libs/agno/agno/os/routers/components/components.py:971-979 | libs/agno/agno/os/routers/components/components.py:1119-1128 | libs/agno/agno/os/routers/components/components.py:1224-1232 | libs/agno/agno/os/routers/components/components.py:1322-1330 | libs/agno/agno/os/routers/components/components.py:1391-1400 | libs/agno/agno/os/routers/components/components.py:1501-1510 | libs/agno/agno/os/routers/components/components.py:1570-1579 \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 \u0060libs/agno/agno/os/routers/components/components.py:1119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe0800d6e2834161fed82f4820170cec65b90268f5f2a6307582443fd46a07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 6): libs/agno/agno/db/gcs_json/gcs_json_db.py:2284-2291 | libs/agno/agno/db/in_memory/in_memory_db.py:565-572 | libs/agno/agno/db/in_memory/in_memory_db.py:2001-2008 | libs/agno/agno/db/json/json_db.py:2438-2445 | libs/agno/agno/db/redis/redis.py:3241-3248 | libs/agno/agno/db/valkey/valkey.py:3633-3642 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca8899efb5e5bf99de949e8891b6e40706a8be3910e68d5c32b85ccb1fc7f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): libs/agno/agno/db/postgres/postgres.py:8411-8420 | libs/agno/agno/db/postgres/postgres.py:8676-8685 | libs/agno/agno/db/postgres/postgres.py:9971-9980 | libs/agno/agno/db/sqlite/sqlite.py:8198-8207 | libs/agno/agno/db/sqlite/sqlite.py:8480-8489 | libs/agno/agno/db/sqlite/sqlite.py:8915-8924 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e70daaf5fea43b41ec29f6589e17f61f9d788c440718383748213f1986d70de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 7): libs/agno/agno/tools/google/gmail.py:415-424 | libs/agno/agno/tools/google/gmail.py:449-458 | libs/agno/agno/tools/google/gmail.py:481-490 | libs/agno/agno/tools/google/gmail.py:534-543 | libs/agno/agno/tools/google/gmail.py:567-576 | libs/agno/agno/tools/google/gmail.py:612-614 | libs/agno/agno/tools/google/gmail.py:837-846 \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. 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, \u0060libs/agno/agno/tools/google/gmail.py:415\u0060 calls \u0060_get_message_details\u0060, \u0060get\u0060 and \u0060libs/agno/agno/tools/google/gmail.py:612\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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"167667935fca0f1902419a18ffc619aab9466649caa59f10d92a3997ce358667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py:116-124 | cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:134-142 | cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.py:166-174 | cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py:190-199 | cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py:246-254 \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 \u0060cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/confirmation/03_step_confirmation_streaming.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cad2a194aec44c4e249c6bc5c5475ea61ee4b142619dc91b3fb1c4ed085cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): libs/agno/agno/os/routers/agents/router.py:762-771 | libs/agno/agno/os/routers/agents/router.py:1474-1483 | libs/agno/agno/os/routers/teams/router.py:654-663 | libs/agno/agno/os/routers/teams/router.py:1407-1416 | libs/agno/agno/os/routers/workflows/router.py:1839-1848 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/os/routers/agents/router.py:760\u0060 calls \u0060log_warning\u0060 and \u0060libs/agno/agno/os/routers/agents/router.py:1473\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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"644103e9bf1fd3b0a62c6b665e82e655c088d3f4098612e41d5d3c1bbcc45c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): libs/agno/agno/os/routers/schedules/router.py:304-313 | libs/agno/agno/os/routers/schedules/router.py:420-428 | libs/agno/agno/os/routers/schedules/router.py:443-452 | libs/agno/agno/os/routers/schedules/router.py:518-527 | libs/agno/agno/os/routers/schedules/router.py:549-558 \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":"libs/agno/agno/os/routers/schedules/router.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"838f989881c9adfb8a276665acc8a99c3b1fcabd89a7404fe07af7c2cd554f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py:106-115 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py:91-100 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.py:110-119 | cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py:182-191 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py\u0060 and \u0060cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bcb7b1825440668d9e815a4eee58431da747852461702a2083183325142bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/agent/_run.py:3870-3879 | libs/agno/agno/agent/_run.py:4184-4193 | libs/agno/agno/agent/_run.py:5175-5184 | libs/agno/agno/agent/_run.py:5816-5825 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_run.py:5815\u0060 calls \u0060RunOutput\u0060 and \u0060libs/agno/agno/agent/_run.py:3869\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5b1154526a24cd49abba49b1eaa054d0e09117ca907f77ff92f0886586d711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): libs/agno/agno/client/os.py:991-1000 | libs/agno/agno/client/os.py:1041-1050 | libs/agno/agno/client/os.py:1265-1273 | libs/agno/agno/client/os.py:1311-1319 \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 \u0060libs/agno/agno/client/os.py:991\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/client/os.py:1263\u0060 calls \u0060isinstance\u0060 and \u0060libs/agno/agno/client/os.py:990\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":"libs/agno/agno/client/os.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6ee7fbc1472191ae46a7ac6bd30a83b18debeddeacce4ad0e82dcaf1734bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3545-3555 | libs/agno/agno/db/postgres/postgres.py:4377-4388 | libs/agno/agno/db/singlestore/singlestore.py:3533-3542 | libs/agno/agno/db/sqlite/sqlite.py:4320-4331 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedeec1f658afbc54c57298891ccbfdc833be26990140cd857426d6dc6ccdf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3949-3956 | libs/agno/agno/db/postgres/postgres.py:4825-4834 | libs/agno/agno/db/singlestore/singlestore.py:3909-3916 | libs/agno/agno/db/sqlite/sqlite.py:4704-4711 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:4824\u0060 calls \u0060sanitize_postgres_string\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:3948\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2693f942850613837be03f8241d52e2bc3cd903e63d61c4c5dd3fbfd7fb13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:1587-1597 | libs/agno/agno/db/postgres/postgres.py:1761-1771 | libs/agno/agno/db/sqlite/async_sqlite.py:1513-1523 | libs/agno/agno/db/sqlite/sqlite.py:1721-1731 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba087d5d16566b2ff15a02b897ca8175e6bd92759408dcc756664b745fb9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2090-2099 | libs/agno/agno/db/postgres/postgres.py:2323-2332 | libs/agno/agno/db/sqlite/async_sqlite.py:1968-1977 | libs/agno/agno/db/sqlite/sqlite.py:2236-2245 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:2088\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1966\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3060f7e23cd75ce094f5a225d237bcae89b38344a6935f5a3c17a3ab107a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2743-2752 | libs/agno/agno/db/postgres/postgres.py:3308-3317 | libs/agno/agno/db/sqlite/async_sqlite.py:2981-2990 | libs/agno/agno/db/sqlite/sqlite.py:3245-3254 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"124ede99080088ce132f964863868c2d064733d37bbeb3a433652703709f933d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:3281-3290 | libs/agno/agno/db/postgres/postgres.py:3807-3816 | libs/agno/agno/db/sqlite/async_sqlite.py:3523-3532 | libs/agno/agno/db/sqlite/sqlite.py:3744-3753 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:3281\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:3293\u0060 calls \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:3536\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0cf75367666f6f742fcf66a4939d51dfbbd4fdd4ccd5309d5453b95c72efa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5073-5082 | libs/agno/agno/db/postgres/postgres.py:5604-5613 | libs/agno/agno/db/sqlite/async_sqlite.py:5259-5268 | libs/agno/agno/db/sqlite/sqlite.py:5412-5421 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:5073\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:5072\u0060 calls \u0060label\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:5258\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5073}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb1f2fc8c98ffec57a0c335d7e6e158798b3fc968f44572bad2468239cabc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5397-5406 | libs/agno/agno/db/postgres/postgres.py:8123-8132 | libs/agno/agno/db/sqlite/async_sqlite.py:5588-5597 | libs/agno/agno/db/sqlite/sqlite.py:7913-7922 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aac697ca45909feb8696dfde54390d166cbd0c9674b9228d641a20fe82e0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5858-5867 | libs/agno/agno/db/postgres/postgres.py:8600-8609 | libs/agno/agno/db/sqlite/async_sqlite.py:5982-5991 | libs/agno/agno/db/sqlite/sqlite.py:8386-8395 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:5858\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5858}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1090014faa4d468f7b9b24672892b4a5e7bdbc2b1e57a5cb5242452e47580d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7200-7209 | libs/agno/agno/db/postgres/postgres.py:9957-9966 | libs/agno/agno/db/sqlite/async_sqlite.py:6412-6421 | libs/agno/agno/db/sqlite/sqlite.py:8901-8910 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:7200\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7200}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e3caf9c943c8d4ec9337f3e6d8bcebcfc099879ed57a942c0b7e38bda4a4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7554-7563 | libs/agno/agno/db/postgres/postgres.py:10299-10308 | libs/agno/agno/db/sqlite/async_sqlite.py:6768-6777 | libs/agno/agno/db/sqlite/sqlite.py:9240-9249 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:7554\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb5bf637baf307d5efd62925a3846d7cdef003e4052e88e51aa5ced9acd76ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7929-7938 | libs/agno/agno/db/postgres/async_postgres.py:8189-8198 | libs/agno/agno/db/sqlite/async_sqlite.py:7143-7152 | libs/agno/agno/db/sqlite/async_sqlite.py:7403-7412 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7929}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a1dd8e2e2893e80e656100a93d116b989015349224742ad3d4ad76ab0aa197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8068-8079 | libs/agno/agno/db/postgres/postgres.py:10803-10812 | libs/agno/agno/db/sqlite/async_sqlite.py:7282-7293 | libs/agno/agno/db/sqlite/sqlite.py:9744-9753 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:8068\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8068}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb9d4445d57d9d2048f9db959a8c4cdf9be95b224ac5f2d2879e8b795002e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8491-8500 | libs/agno/agno/db/postgres/postgres.py:11214-11223 | libs/agno/agno/db/sqlite/async_sqlite.py:7700-7709 | libs/agno/agno/db/sqlite/sqlite.py:10150-10159 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:7711\u0060 calls \u0060run_sync\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:8501\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0e3d4970477c79815acffe9642c23b29b13a146eb32d729b98a821a5f96b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:6353-6362 | libs/agno/agno/db/postgres/postgres.py:6717-6729 | libs/agno/agno/db/sqlite/sqlite.py:6212-6221 | libs/agno/agno/db/sqlite/sqlite.py:6533-6543 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:6353\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6353}}}],"partialFingerprints":{"codehealthFindingId/v1":"158d6cae7d1953e382fb726afe52458f7edf216f487f3c639092545272bc8806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:7147-7157 | libs/agno/agno/db/postgres/postgres.py:7237-7246 | libs/agno/agno/db/sqlite/sqlite.py:6956-6966 | libs/agno/agno/db/sqlite/sqlite.py:7046-7055 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7147}}}],"partialFingerprints":{"codehealthFindingId/v1":"959034cc95940addfbbe47767461f80226afa4c54918d83b41efc52eb8892943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:8105-8114 | libs/agno/agno/db/postgres/postgres.py:8169-8178 | libs/agno/agno/db/sqlite/sqlite.py:7895-7904 | libs/agno/agno/db/sqlite/sqlite.py:7957-7966 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:8167\u0060 calls \u0060learning_search_patterns\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:8104\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1442e75c2784773595f4928e4da7e6a9023ab34e53ba9fd854d975c6614761d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:9747-9756 | libs/agno/agno/db/postgres/postgres.py:10094-10103 | libs/agno/agno/db/sqlite/sqlite.py:8691-8700 | libs/agno/agno/db/sqlite/sqlite.py:9037-9046 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9747}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a406e15376cd5fde99a61a94181566963a67bca85183d19e59a328197d4e223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:10666-10675 | libs/agno/agno/db/postgres/postgres.py:10922-10931 | libs/agno/agno/db/sqlite/sqlite.py:9607-9616 | libs/agno/agno/db/sqlite/sqlite.py:9863-9872 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10666}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e4aafdc27ebdab29bf5d6761a9fb04f35019a454ab2dff2e59dfe42c0652ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/knowledge/embedder/cohere.py:59-68 | libs/agno/agno/knowledge/embedder/cohere.py:73-82 | libs/agno/agno/knowledge/embedder/cohere.py:212-221 | libs/agno/agno/knowledge/embedder/cohere.py:238-247 \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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"226554c921ccbc69effff86acf71dceb56d8704d28d16db5fe237d767f1b04f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/media/media.py:246-255 | libs/agno/agno/media/media.py:407-416 | libs/agno/agno/media/media.py:584-593 | libs/agno/agno/media/media.py:836-845 \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 \u0060libs/agno/agno/media/media.py:246\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The 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":"libs/agno/agno/media/media.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2668029ee4cedb836a86878035fb87ca483e4aafd07ae4b3df7ac315eaba4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): libs/agno/agno/models/cohere/chat.py:221-230 | libs/agno/agno/models/cohere/chat.py:287-296 | libs/agno/agno/models/ibm/watsonx.py:189-197 | libs/agno/agno/models/ibm/watsonx.py:226-234 \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 \u0060libs/agno/agno/models/cohere/chat.py:221\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/cohere/chat.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9831f20025e78e9863ed9e63453da348c12b42657d22f5a8ef9db8ef755271b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): libs/agno/agno/models/groq/groq.py:306-316 | libs/agno/agno/models/groq/groq.py:348-358 | libs/agno/agno/models/groq/groq.py:390-400 | libs/agno/agno/models/groq/groq.py:433-443 \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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1027e142f3857f470265c02a9ce70152d82dab58e7303650cf7f88218dee96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/os/routers/workflows/router.py:311-320 | libs/agno/agno/os/routers/workflows/router.py:324-333 | libs/agno/agno/os/routers/workflows/router.py:859-868 | libs/agno/agno/os/routers/workflows/router.py:895-904 \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. 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8af97194912e6d792e119a3ad4a18e799aabca963f4a1a0e1fbd74718428a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/utils/print_response/team.py:285-294 | libs/agno/agno/utils/print_response/team.py:901-910 | libs/agno/agno/utils/print_response/team.py:1218-1227 | libs/agno/agno/utils/print_response/team.py:1850-1859 \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":"libs/agno/agno/utils/print_response/team.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"561701ce5cdb76b2a909dfe9192d0922ef3bd627abace1bb139e53eb8ba5b439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/vectordb/cassandra/cassandra.py:510-521 | libs/agno/agno/vectordb/cassandra/cassandra.py:546-555 | libs/agno/agno/vectordb/cassandra/cassandra.py:584-593 | libs/agno/agno/vectordb/cassandra/cassandra.py:643-652 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/cassandra/cassandra.py:544\u0060 calls \u0060_validate_user_id\u0060, \u0060_require_owner_field\u0060 and \u0060libs/agno/agno/vectordb/cassandra/cassandra.py:508\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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"315349ae944607cd2e982db5302e0faf6f802c1e88b293031ed8af60766cbbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/workflow/condition.py:231-240 | libs/agno/agno/workflow/loop.py:235-244 | libs/agno/agno/workflow/parallel.py:138-147 | libs/agno/agno/workflow/steps.py:146-155 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:231\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42f504f3bd57c73bc242e1dda119d2d7ba993cc02dc4858ae66a9e76af0b744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:2985-2992 | libs/agno/agno/workflow/workflow.py:3275-3283 | libs/agno/agno/workflow/workflow.py:3340-3347 | libs/agno/agno/workflow/workflow.py:3788-3797 \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 \u0060libs/agno/agno/workflow/workflow.py:3788\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2985}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f4396867c7a3b0c83c0d34f1af42ca563555d838a7d3c37edc10590dc5909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): cookbook/05_agent_os/05_human_in_the_loop/basic.py:90-101 | cookbook/05_agent_os/05_human_in_the_loop/external_execution.py:120-130 | cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py:117-126 \u2014 before extracting anything, compare \u0060cookbook/05_agent_os/05_human_in_the_loop/basic.py\u0060 and \u0060cookbook/05_agent_os/05_human_in_the_loop/with_approval_record.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/05_agent_os/05_human_in_the_loop/basic.py:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/05_human_in_the_loop/basic.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"40611a14649527d2de9c0ae3d1d33a5d5649d50e16681eda5256248d45d3b307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/agent/_response.py:1065-1074 | libs/agno/agno/agent/_response.py:1229-1238 | libs/agno/agno/team/_response.py:1021-1030 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_response.py:1064\u0060 calls \u0060_recompact_after_overflow\u0060 and \u0060libs/agno/agno/team/_response.py:1020\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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"8605e2631cb1fb94924ad195fe73727292090d00d8f8bbcce56c6642a9bd5b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/agent/_run.py:2428-2439 | libs/agno/agno/agent/_run.py:2471-2482 | libs/agno/agno/team/_run.py:3933-3942 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/_run.py:2428\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/team/_run.py:3931\u0060 calls \u0060araise_if_cancelled\u0060 and \u0060libs/agno/agno/agent/_run.py:2468\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12a6bc1cf27452cf6b6bcebb767ccf4994443d5dcac391d37710942d894fb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/agent/_session.py:424-433 | libs/agno/agno/team/_session.py:895-904 | libs/agno/agno/workflow/workflow.py:1161-1170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_session.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27b000d8bdc53996e004324d64cb571b9c834a52be99d8cada39b9befc23ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/agent/remote.py:398-407 | libs/agno/agno/team/remote.py:390-399 | libs/agno/agno/workflow/remote.py:294-303 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/remote.py:398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/remote.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdac2c2eca0c53aaa280f606223e99bb7a56e0d7587ed9bf766bf74f6bae3e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): libs/agno/agno/db/firestore/firestore.py:2500-2509 | libs/agno/agno/db/mongo/async_mongo.py:2759-2767 | libs/agno/agno/db/mongo/mongo.py:2521-2530 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 80 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 \u0060libs/agno/agno/db/firestore/firestore.py:2500\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c57792db8b54a513c2f74701d330628385a5ff3b465464921e15f2ac18ca17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:796-805 | libs/agno/agno/db/mysql/mysql.py:790-799 | libs/agno/agno/db/singlestore/singlestore.py:848-857 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c034cd7766ab55624c7cae90dfc5a1db57aa909a819bbd24e66b4336238d19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4006-4013 | libs/agno/agno/db/postgres/async_postgres.py:4289-4298 | libs/agno/agno/db/sqlite/async_sqlite.py:4492-4499 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:4288\u0060 calls \u0060sanitize_postgres_string\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:4005\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4006}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee6ece9180cdf294fd148951192fcb5d8be1d0242cf6741244714f447d6b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:625-635 | libs/agno/agno/db/postgres/postgres.py:1087-1097 | libs/agno/agno/db/singlestore/singlestore.py:703-712 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:625\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5287e0d1e9b43faf7a6d98b5883ae4174bdaf2b40889de2925e8d3f045e834d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1514-1523 | libs/agno/agno/db/singlestore/singlestore.py:1555-1563 | libs/agno/agno/db/sqlite/sqlite.py:2304-2313 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/sqlite.py:2304\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/mysql/mysql.py:1528\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:1565\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf91ef73b862e55945f7df488c3f36ea45c222960aa7c96b673a5a544451bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/db/postgres/async_postgres.py:5381-5390 | libs/agno/agno/db/postgres/async_postgres.py:5444-5453 | libs/agno/agno/db/sqlite/async_sqlite.py:5570-5579 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:5442\u0060 calls \u0060learning_search_patterns\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:5380\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5381}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e5bbb7a4e568fc64be9e8f53eafb18123da981f3a425c8d0eeaea93a6525e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:3125-3134 | libs/agno/agno/db/singlestore/singlestore.py:2255-2264 | libs/agno/agno/db/sqlite/sqlite.py:3072-3081 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:3125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3125}}}],"partialFingerprints":{"codehealthFindingId/v1":"43313486b700fe99047b412ba453888dd9d1f7e74389e46da8a4f0d414ed97bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/db/singlestore/singlestore.py:3918-3927 | libs/agno/agno/db/sqlite/async_sqlite.py:4501-4510 | libs/agno/agno/db/sqlite/sqlite.py:4713-4722 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/singlestore/singlestore.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 as WHOLE FILES: this scan already matched 59 separate duplicated blocks between them, totalling at least 799 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":3918}}}],"partialFingerprints":{"codehealthFindingId/v1":"94037d30a0ab1df8f0efcd9b4726a321c148563dc3bca239a10931646fa4d24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 3): libs/agno/agno/knowledge/chunking/document.py:42-47 | libs/agno/agno/knowledge/chunking/document.py:67-76 | libs/agno/agno/knowledge/chunking/document.py:100-105 \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 \u0060libs/agno/agno/knowledge/chunking/document.py:67\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb2b98988fe02ab435e2a60cd8407049e3b9588cd4fa65e19b858fe458c8027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/learn/stores/decision_log.py:1044-1053 | libs/agno/agno/learn/stores/user_memory.py:1484-1493 | libs/agno/agno/learn/stores/user_profile.py:1176-1185 \u2014 before extracting anything, compare \u0060libs/agno/agno/learn/stores/user_memory.py\u0060 and \u0060libs/agno/agno/learn/stores/user_profile.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 262 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"4018505c0f56d64781745b620fbf34d2624319b55a65369c6975a03f00e7f268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/models/message.py:170-179 | libs/agno/agno/models/message.py:196-205 | libs/agno/agno/models/message.py:219-228 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/message.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/message.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"564df3561be0b3e4779a6281ed3864f76c56dcd9c2d064b8fdaf3c66ebcb72ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): libs/agno/agno/os/routers/workflows/router.py:1228-1235 | libs/agno/agno/workflow/workflow.py:5307-5316 | libs/agno/agno/workflow/workflow.py:10446-10455 \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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ddc0fb8249a5e6c2157a7cda6ee20f0d09435777e8901579b99a708e737f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/utils/print_response/agent.py:461-473 | libs/agno/agno/utils/print_response/agent.py:823-835 | libs/agno/agno/utils/response.py:25-37 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/utils/print_response/agent.py:459\u0060 calls \u0060enumerate\u0060 and \u0060libs/agno/agno/utils/response.py:22\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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"d195b78676e92b7589d12cbf1c233e5132581dcf87bb102dcd4e97d3b679e619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/utils/print_response/agent.py:500-509 | libs/agno/agno/utils/print_response/team.py:664-673 | libs/agno/agno/utils/print_response/team.py:1595-1604 \u2014 before extracting anything, compare \u0060libs/agno/agno/utils/print_response/agent.py\u0060 and \u0060libs/agno/agno/utils/print_response/team.py\u0060 as WHOLE FILES: this scan already matched 7 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b159be7756fa32cbf589961e4d93f9700eea01daeb28f72f4037158b90d2969e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/vectordb/chroma/chromadb.py:1175-1184 | libs/agno/agno/vectordb/chroma/chromadb.py:1282-1291 | libs/agno/agno/vectordb/chroma/chromadb.py:1370-1379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df10436bc7ff514d1151a76af1e2c6ef09ff6bceaf427de9881b9ef1daad519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/workflow/condition.py:215-224 | libs/agno/agno/workflow/router.py:257-266 | libs/agno/agno/workflow/steps.py:130-139 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"42331690c66e40373b01eb65a282504ae615cc5b01555e7e754dfaf3747116d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/agno/agno/workflow/workflow.py:4696-4707 | libs/agno/agno/workflow/workflow.py:9749-9760 | libs/agno/agno/workflow/workflow.py:10248-10257 \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 \u0060libs/agno/agno/workflow/workflow.py:4696\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":4696}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf71f8499c2be8ac550bd290e77cf1332f4cb23578aaabb999fb4163d6ca2e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): libs/agno_infra/agno/aws/resource/ecs/service.py:134-142 | libs/agno_infra/agno/aws/resource/ecs/service.py:353-361 | libs/agno_infra/agno/aws/resource/elb/load_balancer.py:43-52 \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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36768df2ddb97b38bcd75a72292328ecd4c2485ad1cc6bfe89d0f03f3e35c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cookbook/03_teams/05_knowledge/04_team_with_custom_retriever.py:62-71 | cookbook/07_knowledge/09_archive/custom_retriever/retriever_with_dependencies.py:80-89 \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":"cookbook/03_teams/05_knowledge/04_team_with_custom_retriever.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"205bce9a1b5454d9d823032db4d871b1f9e5d216cbd9ebd1ec4b2da28641ae40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cookbook/03_teams/24_regenerate/01_regenerate.py:56-66 | cookbook/03_teams/25_time_travel/01_continue_from.py:33-42 \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 \u0060cookbook/03_teams/24_regenerate/01_regenerate.py:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/24_regenerate/01_regenerate.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69e2818aef92db2cacc59e1b07f8d76698d01a04b434e3b09db91b72380d027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:174-193 | cookbook/data_labeling/_19_inter_annotator_agreement/jury_votes.py:210-229 \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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5f7f330a5f61ea4be34c3dce103bc89eec70e2671f8f5d38cd0b3be74936a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cookbook/frameworks/claude-agent-sdk/continue_from/01_continue_finished_run.py:37-46 | cookbook/frameworks/claude-agent-sdk/continue_from/04_background_continue.py:48-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/frameworks/claude-agent-sdk/continue_from/01_continue_finished_run.py: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/frameworks/claude-agent-sdk/continue_from/01_continue_finished_run.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d22edc2f41103f11ee862df1914e2d69ec3dce76457df095655167157f34b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cookbook/performance/comparison/long_conversation_comparison.py:111-120 | cookbook/performance/comparison/multi_turn_comparison.py:131-140 \u2014 before extracting anything, compare \u0060cookbook/performance/comparison/long_conversation_comparison.py\u0060 and \u0060cookbook/performance/comparison/multi_turn_comparison.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"cookbook/performance/comparison/long_conversation_comparison.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1722a1dcd3c4a8f73b84a5bac3cf99e2a6aff12183a21f8d97ee4383eb65a34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/agent/_response.py:810-819 | libs/agno/agno/team/_response.py:865-874 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c45dfc2c5016879be4d7c402d583ba94db2235531fcb347aff28ba772126b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/agent/_response.py:1506-1515 | libs/agno/agno/team/_response.py:1462-1470 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"32745e01196681487e870f6aa7d31bd185ce2204071f6b124ec9db230f45d268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): libs/agno/agno/agent/_storage.py:504-513 | libs/agno/agno/agent/_storage.py:553-560 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c136ff7d4f6de6b9c0f98c7bc2210704b0908c61ecb3706a68d3469ef044a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/agent/_storage.py:942-951 | libs/agno/agno/team/_storage.py:610-619 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c9c42cd6c5d0896965460602a7f5e371c768942f78d414ed5454e8a7b996a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): libs/agno/agno/agent/_tools.py:1152-1158 | libs/agno/agno/team/_run.py:5501-5510 \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 \u0060libs/agno/agno/agent/_tools.py:1152\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde1015ed76ee1c8c2dccc6f0f7f4170938b41841311940221e21f48811d0cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): libs/agno/agno/agent/_tools.py:1262-1268 | libs/agno/agno/team/_run.py:5655-5664 \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 \u0060libs/agno/agno/agent/_tools.py:1262\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e51737b6cff903da698a392dc70d87b621929dbbc81c41e281b7ae256b8138e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/company/decisions.py:44-54 | libs/agno/agno/company/decisions.py:62-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/company/decisions.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":"libs/agno/agno/company/decisions.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"be939d639522310e8f9ca738da6a338b4bcc46610bc17aefa499f34912d18626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/context/calendar/provider.py:201-210 | libs/agno/agno/context/gmail/provider.py:216-225 \u2014 \u0060libs/agno/agno/context/calendar/provider.py\u0060 and \u0060libs/agno/agno/context/gmail/provider.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 4 separate duplicated blocks between them, totalling at least 54 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":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d327ef34479d3e0beb6b1e2be0806f891682ad57e8bb7469d772d31bfb311fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/base.py:3011-3020 | libs/agno/agno/db/postgres/async_postgres.py:358-367 \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":"libs/agno/agno/db/base.py"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"2971e9fb4a01d881a534c7c31542c91888aa649f2f4cc4cc45e4d72fc98fe638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:979-988 | libs/agno/agno/db/dynamo/dynamo.py:4077-4085 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8186010fb2cad0154b91fdb531b618a33d089ed7a45bd8e777c89ce1f74ed6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:941-950 | libs/agno/agno/db/firestore/firestore.py:1478-1487 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/firestore/firestore.py:1476\u0060 calls \u0060where\u0060, \u0060FieldFilter\u0060 and \u0060libs/agno/agno/db/firestore/firestore.py:940\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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"63319f76fb639957677098370d0557a18acca6dc73563b35905d0a98fe7c7928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:304-316 | libs/agno/agno/db/json/json_db.py:348-360 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c74e9d91675a2b420c4030c5540f84c4e4d1b97cdd635463c8a0c08aea84bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:409-418 | libs/agno/agno/db/json/json_db.py:464-473 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36fa91840d09bcb77886e6d09992ff01dd5cd0180d8137482d70d95315ce702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:505-514 | libs/agno/agno/db/json/json_db.py:571-580 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc3cc202c92d7bac7de750b46222f326ed2b2b28ed3f792562957bb72425d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2206-2215 | libs/agno/agno/db/json/json_db.py:2357-2366 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"86905d014c3313d12b71fefcb12e10b6a8a6a3d44d85dd27bda1b29e85ebcb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:604-613 | libs/agno/agno/db/migrations/versions/v2_5_6.py:692-701 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab22786d4bf5af0c730d1f0d99c7e6787e1a8d8aeba8bd087174f90dddb1ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:2267-2276 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2330-2339 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:2264\u0060 calls \u0060_get_table\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:2328\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0000b63d4e22a58316fe2ee69e91f2bfbefa24a5e9c8032d80b550a3b9ca573b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3840-3853 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3924-3933 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3856\u0060 calls \u0060quote_db_identifier\u0060, \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3934\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3840}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92234ebbf64795437221a38178fda37ea455ef0c52a64a6550676faeba416d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3863-3872 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3939-3948 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3875\u0060 calls \u0060quote_db_identifier\u0060, \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3949\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3863}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e60eb668b0199fd264550c1f4b21672e0a6f91f1c293becd91ffbd4c2f8d94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:1700-1709 | libs/agno/agno/db/mongo/mongo.py:1509-1518 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aa4278c83f229fd4a1d02b39f8e27c0e2164cfad31705d76a7a8e63e6e3354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4336-4345 | libs/agno/agno/db/mongo/mongo.py:4144-4153 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4336}}}],"partialFingerprints":{"codehealthFindingId/v1":"14af6efcdb2b7401758732517ebc47014e9c856e1cb2166d243ea4d7bb3f8edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/db/mongo/utils.py:104-113 | libs/agno/agno/db/mongo/utils.py:149-157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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 \u0060collection\u0060 to \u0060Collection\u0060 in one and \u0060Any\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":"libs/agno/agno/db/mongo/utils.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"453eda2b3b1f794d311487e6744718abe4b1bd0c8381245051dcc1c4311ddeaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1507-1516 | libs/agno/agno/db/sqlite/async_sqlite.py:2036-2045 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2036\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:1521\u0060 calls \u0060connection\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2047\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d09c5ade2123c270daaf2489c18cd8e2a168b9d9bb9a780a6e23d0a6669c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:2263-2272 | libs/agno/agno/db/mysql/mysql.py:2251-2260 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce86390ef9fa98cfe3b8b478dc71cc8484726392e687159de2f2aac6d8adf9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:3043-3052 | libs/agno/agno/db/mysql/mysql.py:2990-2999 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3043\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"e560b003c1978a094d62ba493b90916b306108b379cb38f3a8217f58340f1f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:517-526 | libs/agno/agno/db/sqlite/utils.py:505-514 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:517\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec842597b6762f15fa264cbc3c48a7b880ec98fd1a5382a834ca511eaf233cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1424-1433 | libs/agno/agno/db/sqlite/async_sqlite.py:1381-1390 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:1439\u0060 calls \u0060_release_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1397\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb894a62ec80a6674ad0c1e6c3cafdc530e9e1b41303f3f464f67b2ec545c27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2000-2009 | libs/agno/agno/db/postgres/postgres.py:2235-2244 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"679ed8343829eb0f2dae719b1abd54e86c41a53c3be5014b1f28b2a3ddf28a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3060-3063 | libs/agno/agno/db/postgres/async_postgres.py:3296-3305 | libs/agno/agno/db/sqlite/async_sqlite.py:3536-3545 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:3305\u0060 calls \u0060setdefault\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:3063\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3060}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b29caf5238cfbb29ba416825138e3979d6f0daa7aba3dd5f687a1dbeffbd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4743-4752 | libs/agno/agno/db/sqlite/async_sqlite.py:4945-4954 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:4743\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4944\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:4742\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4743}}}],"partialFingerprints":{"codehealthFindingId/v1":"261522e48fcc9b2e6bc6d20139310c35d9c5e7ddcb867b2ae052504dceeb17d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4929-4938 | libs/agno/agno/db/postgres/postgres.py:5462-5471 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4929}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1a0a955e66b57bfb66e56efce73b8affdd0735c43d5d85c1abfddded7582f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6953-6962 | libs/agno/agno/db/postgres/postgres.py:9618-9627 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6953\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6953}}}],"partialFingerprints":{"codehealthFindingId/v1":"25216669ede06625fd7005bf4092615847f7c5dc2a9fb28835fb526e820efd5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7623-7632 | libs/agno/agno/db/sqlite/async_sqlite.py:6837-6846 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7623}}}],"partialFingerprints":{"codehealthFindingId/v1":"199fad173890f2f00b5ba99e0d7909a41f951499742102ca80dd06a677603d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8030-8042 | libs/agno/agno/db/sqlite/async_sqlite.py:7244-7256 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8030}}}],"partialFingerprints":{"codehealthFindingId/v1":"488747042853267ac1717abdea4ee282cc330718a9634c56f7f4a94ffaa0c0d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8413-8430 | libs/agno/agno/db/sqlite/async_sqlite.py:7627-7644 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6c1012989dbfd5cbe237d52b5ea0c8e42fb961fbc9d33788c60f22427d69b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1808-1817 | libs/agno/agno/db/sqlite/sqlite.py:1771-1780 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2f186bf40b1d107f0e1b41accb77255e3cef4b3a64d56686d3c41282a7a25c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8196-8205 | libs/agno/agno/db/sqlite/sqlite.py:7983-7992 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8196}}}],"partialFingerprints":{"codehealthFindingId/v1":"93211d0d8c7540a5cedf7de16dcdd5da29810c870a67e643102e1d58e4a68eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8208-8217 | libs/agno/agno/db/sqlite/sqlite.py:7995-8004 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7121cfc0afbdb25cf9312775c6ec348a3a8c405b1b38f6acd3783615d2162e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10368-10377 | libs/agno/agno/db/sqlite/sqlite.py:9309-9318 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10368}}}],"partialFingerprints":{"codehealthFindingId/v1":"592c20ae89e38e716837c1a14cb45f2025814bd2cfe9eecfbfed4dca2b19595a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:458-467 | libs/agno/agno/db/valkey/valkey.py:551-560 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:458\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b11259868d24e511b31be92481aa8b46ab7b6ecf57f74fcbcae8cfeef103f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3477-3486 | libs/agno/agno/db/valkey/valkey.py:3922-3931 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3477}}}],"partialFingerprints":{"codehealthFindingId/v1":"40968ae8cfd9f2672227fb2319bd252ff538eea4c859e16d9019d8d17c269ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2550-2559 | libs/agno/agno/db/sqlite/async_sqlite.py:4168-4177 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d871ada8a747058a8f0f8e8a76778138056504ff6cf10ea425004d14af0445c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/surrealdb/surrealdb.py:3153-3162 | libs/agno/agno/db/surrealdb/surrealdb.py:3245-3254 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0217d8d7b789bc7b1033056bc96b911aa9f1203d3a1e9e2639262603ce91d714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/eval/agent_as_judge.py:701-710 | libs/agno/agno/eval/agent_as_judge.py:767-776 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/eval/agent_as_judge.py:698\u0060 calls \u0060isinstance\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/eval/agent_as_judge.py:765\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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff40663c8bfc632f3013a023d0fd9b216f11ec5329231add857dc4f7556713f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:564-573 | libs/agno/agno/fs/toolkit.py:969-978 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ac94cdccea96b18e738745b428325312cd601b0a952d5098070349f1745777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/chunking/code.py:81-90 | libs/agno/agno/knowledge/chunking/semantic.py:159-168 \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":"libs/agno/agno/knowledge/chunking/code.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefc079df021d283aa27c275421480709340a60107a02f28e91c865db8e35fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/embedder/azure_openai.py:191-200 | libs/agno/agno/knowledge/embedder/openai.py:168-177 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/embedder/azure_openai.py\u0060 and \u0060libs/agno/agno/knowledge/embedder/openai.py\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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24909a6eff23612ea9b8c74616de43b6c37fcaa39c835d2e379cbe5c91f2533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:2430-2439 | libs/agno/agno/knowledge/knowledge.py:2505-2514 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"53716432ea36b44edcc819e6c14d0b333ac14e4c1a918f4369ab12837c993220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3831-3840 | libs/agno/agno/knowledge/knowledge.py:3944-3953 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3831}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da238703d05b45af35ea6346ea8a829b4fc73129c13eca7ed2ddabd1095029c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:4520-4528 | libs/agno/agno/knowledge/knowledge.py:4543-4552 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a265c2d202e32468ab40963c5b21cc362a451b7159b3d58bc07bec7b731b4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:384-393 | libs/agno/agno/knowledge/loaders/github.py:543-552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a8683d0622def4cb0dcd051dd9aaeb466526a3133821ad3a80cf97ceadf7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:167-174 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:293-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea030e464eff055219767fe269d6036fb6c8c72ad81899a68a39b960d2b91a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/reader/llms_txt_reader.py:244-253 | libs/agno/agno/knowledge/reader/llms_txt_reader.py:268-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. 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":"libs/agno/agno/knowledge/reader/llms_txt_reader.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda01c03119ce1db855eb724b709704c6ce268199cef5b9123f161324e3b13d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/knowledge/reader/page_fetcher.py:336-345 | libs/agno/agno/knowledge/reader/page_fetcher.py:406-415 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c287ef28b79e32ef1ed0f568fda98b6cd546f3e444dfe6e39639bb09188b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/learn/migrations.py:398-407 | libs/agno/agno/learn/migrations.py:517-526 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/migrations.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf1c0f64f016057743702021dbcb705e641ad311ea55feac0151a6e1606bf3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:1204-1213 | libs/agno/agno/learn/stores/user_memory.py:1354-1363 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d6882856124a6a9ac8b26500711302a7ffa3525f2f726e01e02a6a958b3ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:1242-1251 | libs/agno/agno/learn/stores/user_memory.py:1392-1401 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5989e982631de70fb20e69abc13a70643da25a9068313116a3231743861f986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/memory/manager.py:130-139 | libs/agno/agno/memory/manager.py:152-161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/memory/manager.py:130\u0060 it begins part-way through the construct above it, so those exact 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 first that the copies are not typed on the same thing: \u0060UserMemory\u0060 names \u0060agno.db.base\u0060 in one and \u0060agno.db.schemas\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":"libs/agno/agno/memory/manager.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac4a13065c94b27f6f305f46e0aa5570e7f8ceed04bbbcc4e3e488d9cdb969c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/metrics.py:360-369 | libs/agno/agno/metrics.py:586-595 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/metrics.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d8414b81c78dce3ed2de59232249ca4326b3a10678e927dafe1d1f89cbecab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/models/aws/bedrock.py:584-593 | libs/agno/agno/models/aws/bedrock.py:683-692 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3424c587407c0e97d754f1462d2dbb97a94f2bac23e133fc833ac75d5386ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/models/fallback.py:396-405 | libs/agno/agno/models/fallback.py:425-434 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/fallback.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce172ecd5a4a68e32e7c7db334b1dcd949b4e98950a6e2c64adbd7fc54017493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/models/huggingface/huggingface.py:341-350 | libs/agno/agno/models/huggingface/huggingface.py:377-385 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1332297a9d5f59aee92be9ee98319005e7ee08d0e4ef5523c3b6144dbd30dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/models/openai/responses.py:892-901 | libs/agno/agno/models/openai/responses.py:1013-1022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/openai/responses.py:892\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34898b2004b043505dfb2f06dfee053d0bcfa9974e216e8b0b3744f59779a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/models/perplexity/perplexity.py:141-149 | libs/agno/agno/models/perplexity/perplexity.py:175-184 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/perplexity/perplexity.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe75ff2d254a381e63d45177a18f7a230ed22b02f3ebf46d22bba41fbf9980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/os/authz/user_directory.py:223-232 | libs/agno/agno/os/authz/user_directory.py:582-591 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"193d8cd0fd255b97be313d241abc9e5f7766c265795f4482eb5176514c9cb0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/os/routers/company/products.py:31-39 | libs/agno/agno/os/routers/company/projects.py:42-51 \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 \u0060libs/agno/agno/os/routers/company/products.py:31\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/company/products.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"564c1ec0e089cc9bb8671a98b1766110bafa78dcbb7092d7efce14fdd56d67ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): libs/agno/agno/os/routers/components/components.py:1279-1286 | libs/agno/agno/os/routers/components/components.py:1346-1355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/components/components.py:1279\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7733003d4387d7f5b81cdbb35792c659513fe5c55150b10a9aacde99181922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/agno/agno/os/routers/metrics/metrics.py:926-936 | libs/agno/agno/os/routers/metrics/metrics.py:2121-2133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a6922a4212f1e9b2f27270800eb938d6a7a136e5b51b1437d11b103b78f8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/os/routers/session/session.py:1377-1386 | libs/agno/agno/os/routers/session/session.py:1484-1493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/session/session.py:1377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb41512e8b143d479dad19c5b413da4c5e0f238c165839672f5963fa3d9117c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:1398-1405 | libs/agno/agno/workflow/workflow.py:5302-5311 \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 \u0060libs/agno/agno/os/routers/workflows/router.py:1398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"43937014624f50c6d23168df3afb9910007a7bebb1fad92c8b40f606f2455f85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/os/utils.py:2554-2563 | libs/agno/agno/os/utils.py:2642-2651 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"2378f762c2ec06e84f5929d9b58449074f087441bff44b8ddd7ef9fc9a94e419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/run/approval.py:270-279 | libs/agno/agno/run/approval.py:341-350 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/run/approval.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa239ce21d12c3aca2f6341bdc975d6e8c9f2dfe76e5ae160a16aaa809c65610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/scorer/judge.py:147-165 | libs/agno/agno/scorer/tools.py:136-145 \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":"libs/agno/agno/scorer/judge.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c31e0edacc4717def9d601cab2900be70640bbb6524cd88eb12220a9d81687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/team/_run.py:2469-2478 | libs/agno/agno/team/_run.py:9893-9902 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18014584f0ef4e3224bf999a6418dc6f5c7d3d597e55a705201384f995c5e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/tools/google/slides.py:1017-1026 | libs/agno/agno/tools/google/slides.py:1072-1081 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/google/slides.py:1017\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/google/slides.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f511c3549e6438192ae99468b35d197e6caa8d7a46dd40100623ec7b69babc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/tools/minimax.py:106-116 | libs/agno/agno/tools/minimax.py:189-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/minimax.py:106\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/minimax.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"274d20cbad7f32bc6c86e81badb2a1c1cac43204dda0d4fdc6bab47b6490abfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/tools/models/aimlapi.py:442-451 | libs/agno/agno/tools/models/aimlapi.py:472-481 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/models/aimlapi.py:442\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f611b19c7076300f3f2936b93dde7150f79cf03a64ec314ce510cd6a916b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): libs/agno/agno/tools/shell.py:62-69 | libs/agno/agno/utils/shell.py:14-23 \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":"libs/agno/agno/tools/shell.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47b9f98ad0730e1d99e79da58a1814750260f682242e4e58e92d2e349c6c8bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/tools/superserve.py:265-274 | libs/agno/agno/tools/superserve.py:290-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/superserve.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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85099fcc22624d3bab720a1f9c568c36795e458d3050567afc2d3f53a2f76bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/tools/zep.py:97-106 | libs/agno/agno/tools/zep.py:307-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/zep.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58c9ae5dd671d8f0cf1f49bff50b161f6f16362f59ca84b5af7bb7a226c8311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/tools/zep.py:161-170 | libs/agno/agno/tools/zep.py:375-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/zep.py:375\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/zep.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a8cd492418e3cd8ac1f613e15757798e1e9141b2ce10f2d417fa20db5f5b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/utils/bounded.py:47-56 | libs/agno/agno/utils/bounded.py:67-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":"libs/agno/agno/utils/bounded.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48af47f1afaf2eb077213f30b5f37fe587587cc4568594433fe8f42920c6925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/utils/callables.py:214-223 | libs/agno/agno/utils/callables.py:252-261 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92a6de964867fb7c0ce40b6f6d06941008d0342b4aeae8474b0b12c4ae383a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/utils/callables.py:257-266 | libs/agno/agno/utils/callables.py:338-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. 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":"libs/agno/agno/utils/callables.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5475b4ae5189b1f445a26f7e72884a23b61046cff3253e1a218d6e06f4dfcb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/utils/models/openai_responses.py:52-61 | libs/agno/agno/utils/openai.py:140-149 \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":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"750880f8d20b2bd7c36eb451d5a2063985ce802e40a2e0d755f78345d72e177e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/vectordb/cassandra/cassandra.py:281-290 | libs/agno/agno/vectordb/mongodb/mongodb.py:1188-1197 \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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3f8b24a7d29ba0a92f0e230feb920381c5b538c0d5f2bc9417a834a7e507eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:249-257 | libs/agno/agno/vectordb/couchbase/couchbase.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 \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:979\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f850e26f0cb9254ce6916999c28a23c7a1933b4a4ce04a9679ffc276affe21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:471-479 | libs/agno/agno/vectordb/lancedb/lance_db.py:551-560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:471\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:470\u0060 calls \u0060exception\u0060 and \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:550\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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc817d4b263c6eb8f5d9fdb5ae7a14afea7e2b18fc87dffad1001f661e01b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/vectordb/lightrag/lightrag.py:327-336 | libs/agno/agno/vectordb/lightrag/lightrag.py:347-357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/lightrag/lightrag.py:327\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/vectordb/lightrag/lightrag.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090893a4995a2971d251c96cf0c10ca853d45b3bd12f10bb0162f13458e0b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:1137-1145 | libs/agno/agno/vectordb/pgvector/pgvector.py:1284-1293 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbcc2ebdeefa57b343739e95b7af3f57c77bc8a9515a99bde900994380af97e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:437-446 | libs/agno/agno/vectordb/valkey/valkeydb.py:350-359 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"70945d6e13da8865c8bc6713aba82ae526d043b2b438c7239a541cb37c7545d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/workflow/loop.py:239-248 | libs/agno/agno/workflow/router.py:277-286 \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 \u0060libs/agno/agno/workflow/loop.py:239\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"223bacb85c8e215c567517878db49294b8d48ff6f0cd4c56d9e18a7dc85b53a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/workflow/steps.py:432-441 | libs/agno/agno/workflow/steps.py:737-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a11fd61c9ecdeab0f740ca388d8d844f6a00868f6fb23e939ceb80df80f0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3005-3014 | libs/agno/agno/workflow/workflow.py:4010-4019 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"044c42333fa6aacf6e0fa76521ad06a5c74533037ea78f0faedc852e5ad8178b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:7339-7348 | libs/agno/agno/workflow/workflow.py:9392-9401 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7339}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdffd15fc56eed1af391a162f4eee166f8aeaac7f320ec3f09e9ab2fcbe8c7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno_infra/agno/aws/resource/rds/db_cluster.py:437-446 | libs/agno_infra/agno/aws/resource/rds/db_cluster.py:701-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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5519258e74ac5d046098ebb2e1dc2cba4c8bd40b1785664a181fe8f442e9c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno_infra/agno/base/resource.py:65-74 | libs/agno_infra/agno/base/resource.py:85-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno_infra/agno/base/resource.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. 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":"libs/agno_infra/agno/base/resource.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a892738d5ae74f3def4ef1c3f79c08241edb9220a9c526d544ee28727a9dcff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 14): libs/agno/agno/db/mongo/async_mongo.py:867-876 | libs/agno/agno/db/mongo/async_mongo.py:3591-3600 | libs/agno/agno/db/mongo/async_mongo.py:4706-4715 | libs/agno/agno/db/mongo/async_mongo.py:4885-4894 | libs/agno/agno/db/mongo/async_mongo.py:4963-4972 | libs/agno/agno/db/mongo/mongo.py:672-681 | libs/agno/agno/db/mongo/mongo.py:3341-3350 | libs/agno/agno/db/mongo/mongo.py:4506-4515 | libs/agno/agno/db/mongo/mongo.py:4633-4642 | libs/agno/agno/db/mongo/mongo.py:4707-4716 | libs/agno/agno/db/redis/redis.py:645-653 | libs/agno/agno/db/valkey/valkey.py:750-758 | libs/agno/agno/tools/seltz.py:139-148 | libs/agno/agno/tools/todoist.py:151-160 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060user_id\u0060 to \u0060Optional[str] = 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"87479b1883de99194952383d243f086a5d616674d94cf1465db13fb97c1a6416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): libs/agno/agno/db/dynamo/dynamo.py:2501-2509 | libs/agno/agno/db/firestore/firestore.py:2183-2191 | libs/agno/agno/db/mongo/async_mongo.py:2446-2454 | libs/agno/agno/db/mongo/mongo.py:2230-2238 | libs/agno/agno/db/mysql/async_mysql.py:2719-2727 | libs/agno/agno/db/mysql/mysql.py:2703-2711 | libs/agno/agno/db/postgres/async_postgres.py:2971-2979 | libs/agno/agno/db/postgres/postgres.py:3534-3542 | libs/agno/agno/db/singlestore/singlestore.py:2711-2719 | libs/agno/agno/db/sqlite/async_sqlite.py:3211-3219 | libs/agno/agno/db/sqlite/sqlite.py:3472-3480 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b520f47445585000db404d46e60d794fc767d5b3046699169f3e1e4718ce9741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 9): libs/agno/agno/db/mongo/async_mongo.py:1065-1072 | libs/agno/agno/db/mongo/mongo.py:876-883 | libs/agno/agno/db/mysql/async_mysql.py:1118-1126 | libs/agno/agno/db/mysql/mysql.py:1134-1141 | libs/agno/agno/db/postgres/async_postgres.py:1743-1751 | libs/agno/agno/db/postgres/postgres.py:1979-1986 | libs/agno/agno/db/singlestore/singlestore.py:1180-1187 | libs/agno/agno/db/sqlite/async_sqlite.py:1674-1682 | libs/agno/agno/db/sqlite/sqlite.py:1944-1951 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c12c04660519ea31860293cffe9679eb482c1910258bee6038a86abb97f5e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9): libs/agno/agno/db/postgres/async_postgres.py:5455-5463 | libs/agno/agno/db/postgres/postgres.py:7922-7930 | libs/agno/agno/db/postgres/postgres.py:8116-8124 | libs/agno/agno/db/postgres/postgres.py:8180-8188 | libs/agno/agno/db/sqlite/async_sqlite.py:5384-5392 | libs/agno/agno/db/sqlite/async_sqlite.py:5581-5589 | libs/agno/agno/db/sqlite/sqlite.py:7712-7720 | libs/agno/agno/db/sqlite/sqlite.py:7906-7914 | libs/agno/agno/db/sqlite/sqlite.py:7968-7976 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1127d1f7714160ab83606f50cee4737879f95fe158fb88f8f37270ac5a8bbbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 8): libs/agno/agno/workflow/workflow.py:3035-3043 | libs/agno/agno/workflow/workflow.py:3430-3438 | libs/agno/agno/workflow/workflow.py:4040-4048 | libs/agno/agno/workflow/workflow.py:4459-4467 | libs/agno/agno/workflow/workflow.py:7330-7337 | libs/agno/agno/workflow/workflow.py:8276-8283 | libs/agno/agno/workflow/workflow.py:9383-9390 | libs/agno/agno/workflow/workflow.py:10039-10046 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/workflow/workflow.py:3032\u0060 calls \u0060raise_if_cancelled\u0060 and \u0060libs/agno/agno/workflow/workflow.py:3427\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c66fef687f07893601ba67f09c6a12b38a7a5e6291efe111ce5ead2e1c8cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/db/mongo/async_mongo.py:4711-4719 | libs/agno/agno/db/mongo/async_mongo.py:4892-4900 | libs/agno/agno/db/mongo/async_mongo.py:4966-4974 | libs/agno/agno/db/mongo/mongo.py:4511-4519 | libs/agno/agno/db/mongo/mongo.py:4640-4648 | libs/agno/agno/db/mongo/mongo.py:4710-4718 | libs/agno/agno/tools/todoist.py:162-170 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4711}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df5ae1107b74838050ccff4ac679716405fbbdfd1b7f80b65069d6128771ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:885-893 | libs/agno/agno/db/mysql/mysql.py:880-888 | libs/agno/agno/db/postgres/async_postgres.py:1268-1276 | libs/agno/agno/db/postgres/postgres.py:1422-1430 | libs/agno/agno/db/singlestore/singlestore.py:926-934 | libs/agno/agno/db/sqlite/async_sqlite.py:1224-1232 | libs/agno/agno/db/sqlite/sqlite.py:1418-1426 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e5028f7a29344742975aa2c671734735a74f5aa90b42e37efa0e8496071645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1098-1106 | libs/agno/agno/db/mysql/mysql.py:1115-1123 | libs/agno/agno/db/postgres/async_postgres.py:1723-1731 | libs/agno/agno/db/postgres/postgres.py:1960-1968 | libs/agno/agno/db/singlestore/singlestore.py:1161-1169 | libs/agno/agno/db/sqlite/async_sqlite.py:1652-1660 | libs/agno/agno/db/sqlite/sqlite.py:1925-1933 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1098\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ab789d0884423aa9f38f9c9c6876beab6a92907aa83b92654c54b0d553764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1382-1390 | libs/agno/agno/db/mysql/mysql.py:1395-1403 | libs/agno/agno/db/postgres/async_postgres.py:2039-2047 | libs/agno/agno/db/postgres/postgres.py:2274-2282 | libs/agno/agno/db/singlestore/singlestore.py:1447-1455 | libs/agno/agno/db/sqlite/async_sqlite.py:1920-1928 | libs/agno/agno/db/sqlite/sqlite.py:2188-2196 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:2049\u0060 calls \u0060ValueError\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1930\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b4b8495d661d162ea1d30e79d2d3ee53d5265f13dfb77526cba97a5af366d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3645-3653 | libs/agno/agno/db/mysql/mysql.py:3590-3598 | libs/agno/agno/db/postgres/async_postgres.py:3900-3908 | libs/agno/agno/db/postgres/postgres.py:4424-4432 | libs/agno/agno/db/singlestore/singlestore.py:3578-3586 | libs/agno/agno/db/sqlite/async_sqlite.py:4153-4161 | libs/agno/agno/db/sqlite/sqlite.py:4366-4374 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mysql/mysql.py:3587\u0060 calls \u0060validate_pagination\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:4421\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee089533eedc7b1d13b613e4eb8dca922a33ca6f1b8f538f9b999bfd7ed8341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/db/postgres/async_postgres.py:5384-5392 | libs/agno/agno/db/postgres/async_postgres.py:5447-5455 | libs/agno/agno/db/postgres/postgres.py:8108-8116 | libs/agno/agno/db/postgres/postgres.py:8172-8180 | libs/agno/agno/db/sqlite/async_sqlite.py:5573-5581 | libs/agno/agno/db/sqlite/sqlite.py:7898-7906 | libs/agno/agno/db/sqlite/sqlite.py:7960-7968 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f297cc3d3ccebf4e27fa0f42c87bbe4b7eb5a00fa26d14af059de863b873ef34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/reasoning/azure_ai_foundry.py:102-110 | libs/agno/agno/reasoning/deepseek.py:85-93 | libs/agno/agno/reasoning/gemini.py:131-139 | libs/agno/agno/reasoning/groq.py:118-126 | libs/agno/agno/reasoning/moonshot.py:157-165 | libs/agno/agno/reasoning/ollama.py:159-167 | libs/agno/agno/reasoning/openai.py:141-149 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/deepseek.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfd0a5cb176f11eeb44570757dd7766943902694a999c8b2669155990a32d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): libs/agno/agno/reasoning/azure_ai_foundry.py:148-156 | libs/agno/agno/reasoning/deepseek.py:164-172 | libs/agno/agno/reasoning/gemini.py:171-179 | libs/agno/agno/reasoning/groq.py:169-177 | libs/agno/agno/reasoning/moonshot.py:202-210 | libs/agno/agno/reasoning/ollama.py:205-213 | libs/agno/agno/reasoning/openai.py:197-205 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 and \u0060libs/agno/agno/reasoning/deepseek.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e06c2e70c061a2611c591efbbd7b7bde18ebd3f8841cff39f786f53550c6d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): libs/agno/agno/db/postgres/async_postgres.py:5197-5205 | libs/agno/agno/db/postgres/async_postgres.py:5390-5398 | libs/agno/agno/db/postgres/async_postgres.py:5526-5534 | libs/agno/agno/db/postgres/postgres.py:8249-8257 | libs/agno/agno/db/sqlite/async_sqlite.py:5650-5658 | libs/agno/agno/db/sqlite/sqlite.py:8036-8044 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5197}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b27ab195efcc8746867f529d79df2ea128e5e41f58f139b4960c9a9ea6f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): libs/agno/agno/db/postgres/postgres.py:3544-3552 | libs/agno/agno/db/postgres/postgres.py:3673-3680 | libs/agno/agno/db/singlestore/singlestore.py:2721-2729 | libs/agno/agno/db/singlestore/singlestore.py:2849-2856 | libs/agno/agno/db/sqlite/sqlite.py:3482-3490 | libs/agno/agno/db/sqlite/sqlite.py:3609-3616 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":3544}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f77a531544c4a0d2c0071f90cbe3412bf80d0d033273d9a3fab70d552361b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): libs/agno/agno/db/postgres/async_postgres.py:2003-2011 | libs/agno/agno/db/postgres/postgres.py:2238-2246 | libs/agno/agno/db/postgres/postgres.py:2382-2390 | libs/agno/agno/db/postgres/postgres.py:2450-2458 | libs/agno/agno/db/postgres/postgres.py:2518-2526 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af76a7ee45cc9bfb60d1da522408d2c1ac070dd71718ff7f3805e1479969e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): libs/agno/agno/os/routers/teams/router.py:2070-2078 | libs/agno/agno/os/routers/teams/router.py:2119-2127 | libs/agno/agno/os/routers/teams/router.py:2214-2222 | libs/agno/agno/os/routers/teams/router.py:2279-2287 | libs/agno/agno/os/routers/teams/router.py:2344-2352 \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 \u0060libs/agno/agno/os/routers/teams/router.py:2119\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/teams/router.py:2069\u0060 calls \u0060HTTPException\u0060, \u0060str\u0060 and \u0060libs/agno/agno/os/routers/teams/router.py:2119\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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"739cfb08625851ac51e8e6f7ce6371172a5eca7eca02856a6e361317df5dde93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): libs/agno/agno/workflow/parallel.py:944-952 | libs/agno/agno/workflow/router.py:739-747 | libs/agno/agno/workflow/router.py:913-921 | libs/agno/agno/workflow/router.py:1076-1084 | libs/agno/agno/workflow/router.py:1254-1262 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/workflow/parallel.py:942\u0060 calls \u0060put\u0060 and \u0060libs/agno/agno/workflow/router.py:738\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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48941e92de108a59cd04e7779d77649ce72c227005a76778b700024ec3068a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): cookbook/91_tools/mcp/pipedream_auth.py:50-58 | cookbook/91_tools/mcp/pipedream_google_calendar.py:32-40 | cookbook/91_tools/mcp/pipedream_linkedin.py:32-40 | cookbook/91_tools/mcp/pipedream_slack.py:33-41 \u2014 before extracting anything, compare \u0060cookbook/91_tools/mcp/pipedream_google_calendar.py\u0060 and \u0060cookbook/91_tools/mcp/pipedream_linkedin.py\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 \u0060cookbook/91_tools/mcp/pipedream_auth.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cookbook/91_tools/mcp/pipedream_slack.py:50\u0060 calls \u0060run\u0060, \u0060run_agent\u0060 and \u0060cookbook/91_tools/mcp/pipedream_google_calendar.py:48\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":"cookbook/91_tools/mcp/pipedream_auth.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa714c0ace3e4a56bc7e4cb89b5825ed8d5de0b44a80fa24e9d608d10fcc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/agent/_messages.py:1634-1642 | libs/agno/agno/agent/_messages.py:1731-1739 | libs/agno/agno/agent/_messages.py:1804-1812 | libs/agno/agno/agent/_messages.py:1901-1909 \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. 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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3c0cc4da88e55317df45a17b4a6e9781542b8889efc1a29199638d068c4858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/agent/_run.py:167-175 | libs/agno/agno/agent/_run.py:212-220 | libs/agno/agno/utils/callables.py:80-88 | libs/agno/agno/utils/callables.py:114-122 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"955a62f86864f25605acb7a870c765860a0d34084b9f7e3c12d92b9cc9eff5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/agent/remote.py:402-410 | libs/agno/agno/agent/remote.py:448-456 | libs/agno/agno/team/remote.py:394-402 | libs/agno/agno/team/remote.py:440-448 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/agent/remote.py:402\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/remote.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0eebc1aafa1a391e5acb4e32775cc301cf8ebbbe4ccf927a460661a84c9750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v2_5_0.py:289-297 | libs/agno/agno/db/migrations/versions/v2_5_0.py:421-429 | libs/agno/agno/db/migrations/versions/v2_5_0.py:614-622 | libs/agno/agno/db/migrations/versions/v2_5_0.py:744-752 \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":"libs/agno/agno/db/migrations/versions/v2_5_0.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbfb253205ed2182ac0e5175fc5f24e2253c83d939c4fe3b63a4f9d85772cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v2_5_6.py:251-259 | libs/agno/agno/db/migrations/versions/v2_5_6.py:350-358 | libs/agno/agno/db/migrations/versions/v2_5_6.py:584-592 | libs/agno/agno/db/migrations/versions/v2_5_6.py:671-679 \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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bded6f014c89b0d83c1a26e8e62540679537db13ad9cfe29551d562e369ecb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2560-2568 | libs/agno/agno/db/mysql/async_mysql.py:2841-2850 | libs/agno/agno/db/postgres/async_postgres.py:3085-3094 | libs/agno/agno/db/sqlite/async_sqlite.py:3325-3334 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2841\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f0b72cb07d7a85369ceddd57272b745be54e3f46538e138fe3229e8ac6383b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:959-967 | libs/agno/agno/db/postgres/postgres.py:1116-1124 | libs/agno/agno/db/sqlite/async_sqlite.py:908-916 | libs/agno/agno/db/sqlite/sqlite.py:1142-1150 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:917\u0060 calls \u0060execute\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py:1151\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ea8558b0de3d253094c4cbc3a0a8c6b0c274cbd6c3bb90a880dab0348ba64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7166-7173 | libs/agno/agno/db/postgres/postgres.py:9924-9932 | libs/agno/agno/db/sqlite/async_sqlite.py:6378-6385 | libs/agno/agno/db/sqlite/sqlite.py:8868-8875 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afb52e001b93ede1e98a4e7a120e32d417292eb70526c36d5a5dded0fe706be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7939-7947 | libs/agno/agno/db/postgres/postgres.py:10676-10684 | libs/agno/agno/db/sqlite/async_sqlite.py:7153-7161 | libs/agno/agno/db/sqlite/sqlite.py:9617-9625 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7939}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ee2308b7df1d90d7bb5ed3241217d1a2fced15342977951524ffa866ecf930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/redis/redis.py:4301-4309 | libs/agno/agno/db/redis/redis.py:4329-4337 | libs/agno/agno/db/redis/redis.py:4429-4437 | libs/agno/agno/db/redis/redis.py:4516-4524 \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. 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe190b9a837643aed44fcef8aeb4a45a3daa6c6879b00b4b4bfaae80e5ebbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/knowledge/loaders/gcs.py:140-148 | libs/agno/agno/knowledge/loaders/gcs.py:227-235 | libs/agno/agno/knowledge/loaders/s3.py:124-132 | libs/agno/agno/knowledge/loaders/s3.py:220-228 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f735533f72cce044a63ac31cd331bd99b619f77cbbea3a2444203954ebcb82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): libs/agno/agno/knowledge/reader/markdown_reader.py:75-83 | libs/agno/agno/knowledge/reader/markdown_reader.py:113-120 | libs/agno/agno/knowledge/reader/text_reader.py:47-55 | libs/agno/agno/knowledge/reader/text_reader.py:91-98 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/reader/markdown_reader.py\u0060 and \u0060libs/agno/agno/knowledge/reader/text_reader.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/reader/markdown_reader.py:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/markdown_reader.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a475c551d55e8accb77c528d742e46386b60ca394aa76cc82f8907d5194c446e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/models/base.py:239-247 | libs/agno/agno/models/base.py:287-295 | libs/agno/agno/models/base.py:337-345 | libs/agno/agno/models/base.py:390-398 \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 \u0060libs/agno/agno/models/base.py:239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bede9b9cda0848ed16d364c4aed5729bfb8c83c428df48aab7ac3726006c105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): libs/agno/agno/team/_run.py:5250-5256 | libs/agno/agno/team/_run.py:5282-5288 | libs/agno/agno/utils/callables.py:152-160 | libs/agno/agno/utils/callables.py:188-196 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/team/_run.py:5292\u0060 calls \u0060iscoroutine\u0060 and \u0060libs/agno/agno/team/_run.py:5260\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5250}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e4a0f48db027b0ecd358fdcbba3ac4d8fac1362e1fa35ae150768a3a2510a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): libs/agno/agno/team/_run.py:6484-6492 | libs/agno/agno/team/_run.py:6571-6578 | libs/agno/agno/team/_run.py:6678-6685 | libs/agno/agno/team/_run.py:6779-6786 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":6484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d91e8cc39b54f7c458e6ee09a6d9c978cc5ffbd3bdbc8db8e84a7038cab48a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/tools/google/gmail.py:419-427 | libs/agno/agno/tools/google/gmail.py:485-493 | libs/agno/agno/tools/google/gmail.py:538-546 | libs/agno/agno/tools/google/gmail.py:618-626 \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. 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6474bde6194a9fd99b59a7e5f9fef2c3c878cffa98bbe2a0cf1674fdffb73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/utils/print_response/agent.py:204-212 | libs/agno/agno/utils/print_response/agent.py:411-419 | libs/agno/agno/utils/print_response/agent.py:649-657 | libs/agno/agno/utils/print_response/agent.py:769-777 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/utils/print_response/agent.py:202\u0060 calls \u0060update\u0060, \u0060Group\u0060 and \u0060libs/agno/agno/utils/print_response/agent.py:647\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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c6a84932470055204d65676da7a9b192ed494fcd2a7c1ac28ed3a283d83e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/vectordb/milvus/milvus.py:960-968 | libs/agno/agno/vectordb/milvus/milvus.py:1034-1042 | libs/agno/agno/vectordb/milvus/milvus.py:1131-1139 | libs/agno/agno/vectordb/milvus/milvus.py:1232-1240 \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 \u0060libs/agno/agno/vectordb/milvus/milvus.py:960\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/vectordb/milvus/milvus.py:972\u0060 calls \u0060rerank\u0060 and \u0060libs/agno/agno/vectordb/milvus/milvus.py:1044\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":"libs/agno/agno/vectordb/milvus/milvus.py"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c3e6becd12fc7c19d8e681c4ad4741bdbf54fdcda1e15964adeed7db7d205d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/vectordb/pgvector/pgvector.py:464-472 | libs/agno/agno/vectordb/pgvector/pgvector.py:538-546 | libs/agno/agno/vectordb/pgvector/pgvector.py:659-667 | libs/agno/agno/vectordb/pgvector/pgvector.py:899-907 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cb1151eb7bbed1d7ca2cdd5d7c7ae5ae8f79169a463f03a787a8145ffd8698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/workflow/condition.py:333-341 | libs/agno/agno/workflow/loop.py:384-392 | libs/agno/agno/workflow/router.py:429-437 | libs/agno/agno/workflow/steps.py:207-215 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f46a5fba7e9a28dafb86efc2a3d9b53fd318e1bc7b16b3227b36f6195b088af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:2993-3007 | libs/agno/agno/workflow/workflow.py:3383-3397 | libs/agno/agno/workflow/workflow.py:3998-4012 | libs/agno/agno/workflow/workflow.py:4412-4426 \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 \u0060libs/agno/agno/workflow/workflow.py:2993\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4fdde698d3ba28b2053d5f92476b51617951f4d5966e01e9446089b72e25c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:5832-5840 | libs/agno/agno/workflow/workflow.py:6023-6031 | libs/agno/agno/workflow/workflow.py:6238-6246 | libs/agno/agno/workflow/workflow.py:6439-6447 \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 \u0060libs/agno/agno/workflow/workflow.py:5832\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/workflow/workflow.py:6016\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/workflow/workflow.py:6432\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":5832}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7ba927bf887546806115fce82a269f32422a79746345f85fa395c45a9fbbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/workflow/workflow.py:7212-7220 | libs/agno/agno/workflow/workflow.py:8118-8126 | libs/agno/agno/workflow/workflow.py:9274-9282 | libs/agno/agno/workflow/workflow.py:9879-9889 \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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":7212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03b45e8510d24013ab44f6d6f0b302052f358fab1315f7e011322dc9cd095d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/agent/_messages.py:1102-1110 | libs/agno/agno/agent/_messages.py:1399-1407 | libs/agno/agno/team/_messages.py:335-343 \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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e5ef57c5723e12061379088c4a58d83782925a472be619efea3460aad818bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/agent/_response.py:147-155 | libs/agno/agno/team/_response.py:561-569 | libs/agno/agno/utils/reasoning.py:94-102 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8483763293e19667e43d63953fd4c5293b8fe74f9b59c343d157b464744b9667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/db/gcs_json/gcs_json_db.py:791-799 | libs/agno/agno/db/in_memory/in_memory_db.py:405-413 | libs/agno/agno/db/json/json_db.py:862-870 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py:790\u0060 calls \u0060_read_json_file\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.py:400\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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"a397504907494fae7c1bc8bd1268bb8c35858d8112c9c136427a189d734730ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1001-1007 | libs/agno/agno/db/mysql/mysql.py:1017-1025 | libs/agno/agno/db/singlestore/singlestore.py:1062-1070 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d2cc4aa7e8f6925b855e7c6f11fb57283c2488c947b968045fc7cb09744c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3043-3051 | libs/agno/agno/db/mysql/mysql.py:2990-2998 | libs/agno/agno/db/singlestore/singlestore.py:2986-2994 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3043\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d831987dc70a828d372ddee72cd3200e07bc38a55be5389b5b147a43c2c45b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3573-3581 | libs/agno/agno/db/postgres/async_postgres.py:3828-3836 | libs/agno/agno/db/sqlite/async_sqlite.py:4078-4086 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c138b79efd4c5542fa1d5d28f03a4ae4659248e1fb0d9a0858e80a6ebc03954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:368-374 | libs/agno/agno/db/postgres/async_postgres.py:558-566 | libs/agno/agno/db/postgres/postgres.py:652-659 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 805 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b860c8f15383ab297c7e2fca6e8ecd57ec1253452618cf7d1679d55952d9fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): libs/agno/agno/db/mysql/utils.py:966-979 | libs/agno/agno/db/postgres/utils.py:905-917 | libs/agno/agno/db/sqlite/utils.py:915-928 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:966\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bf3de48a3c692af555d1d39a85d9355e63f287569f09a51abe8675d77141ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/db/valkey/valkey.py:909-917 | libs/agno/agno/db/valkey/valkey.py:1530-1538 | libs/agno/agno/db/valkey/valkey.py:3543-3551 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/valkey/valkey.py:1529\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/valkey/valkey.py:908\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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b1c9986a39fa9fc95bd147a73c3ec3042ae35ce0810f9b9fbe45ff3eac8aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): libs/agno/agno/models/message.py:184-192 | libs/agno/agno/models/message.py:256-263 | libs/agno/agno/utils/media.py:397-404 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/message.py:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/message.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27e30d4bbc71366e662c2079ca938107986431f213a0603807926b04068a6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/tools/function.py:2501-2509 | libs/agno/agno/tools/function.py:2812-2820 | libs/agno/agno/tools/function.py:2827-2835 \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, \u0060libs/agno/agno/tools/function.py:2821\u0060 calls \u0060iscoroutinefunction\u0060, \u0060isasyncgenfunction\u0060 and \u0060libs/agno/agno/tools/function.py:2510\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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a817eb8c7b7d79aa7015ca87598c20f2d4f710a4c66df080e320d833b107291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/tools/studio.py:3386-3394 | libs/agno/agno/tools/studio.py:3504-3512 | libs/agno/agno/tools/studio.py:3591-3599 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d791e3cdf133999babad7c6050e767d14e93730a0db8a69168b69c73dcf93122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/vectordb/valkey/valkeydb.py:502-510 | libs/agno/agno/vectordb/valkey/valkeydb.py:521-529 | libs/agno/agno/vectordb/valkey/valkeydb.py:544-552 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/valkey/valkeydb.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4410c76357b069cc25b54fb7c78ba52d5dcafa5f4f1f0ffbbb90372c8a3dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/workflow/condition.py:166-174 | libs/agno/agno/workflow/router.py:185-193 | libs/agno/agno/workflow/steps.py:104-112 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"198ef08e072e1c39ab3de5758ccb4cee0ba5eaedac9dbe6924806eb658a069c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/workflow/condition.py:220-228 | libs/agno/agno/workflow/loop.py:224-232 | libs/agno/agno/workflow/router.py:262-270 \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 \u0060libs/agno/agno/workflow/condition.py:220\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6a493a434da2c116e0fa7a6ce668a52e9f85135232be1f02c50c68c10288d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/workflow/loop.py:228-236 | libs/agno/agno/workflow/parallel.py:131-139 | libs/agno/agno/workflow/router.py:266-274 \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 \u0060libs/agno/agno/workflow/loop.py:228\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1879c1741d1d34da221c148ae4248467f9f23cb1445b9530a43fdfcc793ac3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno_infra/agno/aws/resource/ecs/service.py:410-418 | libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:173-181 | libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py:178-186 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/rds/db_subnet_group.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060libs/agno_infra/agno/aws/resource/ecs/service.py:410\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno_infra/agno/aws/resource/ecs/service.py:419\u0060 calls \u0060error\u0060 and \u0060libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py:182\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":"libs/agno_infra/agno/aws/resource/ecs/service.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee427563891c26186bd6c86ca90a0971be30d16e9db1f5eb39288097d17c7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno_infra/agno/docker/resources.py:69-77 | libs/agno_infra/agno/docker/resources.py:228-236 | libs/agno_infra/agno/docker/resources.py:393-401 \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":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6a11f320a222261f2c6afd707ee79c73fc55d9f5d061cd7de5f8a389750094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno_infra/agno/docker/resources.py:144-152 | libs/agno_infra/agno/docker/resources.py:309-317 | libs/agno_infra/agno/docker/resources.py:465-473 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resources.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5927a95061b1ce2f87b73d5c9b4268a7eaa3da86cd8c0ba986af21e2b60b4c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): cookbook/02_agents/05_state_and_session/session_state_advanced.py:33-41 | cookbook/03_teams/21_state/nested_shared_state.py:34-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. 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":"cookbook/02_agents/05_state_and_session/session_state_advanced.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c07e5da73fea960a798a1cb749499b93fe5ed74d4c2b9b4bc2572711000577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cookbook/05_agent_os/26_authorization/05_managed_roles_audit.py:81-89 | cookbook/05_agent_os/26_authorization/11_custom_audit_sink.py:117-125 \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":"cookbook/05_agent_os/26_authorization/05_managed_roles_audit.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b8942590d3c31deb2e292be8323e2f15e61545f8a336d64cf606753861676d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cookbook/data_labeling/_05_text_pairwise_preference/dpo_jury.py:92-100 | cookbook/data_labeling/_05_text_pairwise_preference/jury_calibrated.py:153-161 \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":"cookbook/data_labeling/_05_text_pairwise_preference/dpo_jury.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0c7fcea5fc8a7362ab1e80af81e43f8fe0f026ea25c7c40fa7c8151c10d721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/agent/_session.py:247-255 | libs/agno/agno/agent/_session.py:276-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/agent/_session.py:244\u0060 calls \u0060has_async_db\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/agent/_session.py:273\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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30d43382cce3ee54b5c4cb708aa892b906ddceeae6a1a57d5e705db939b56be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/agents/base.py:1087-1095 | libs/agno/agno/agents/base.py:1110-1118 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97e118f9cd21e6d6ee707889cbbb9b038c4ef10ebe046e1ac6143100fde6aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): libs/agno/agno/agents/base.py:1168-1176 | libs/agno/agno/agents/base.py:1205-1211 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/agents/base.py:1202\u0060 calls \u0060apersist_worker_owned_run\u0060, \u0060resolve_run_index\u0060 and \u0060libs/agno/agno/agents/base.py:1167\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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d46f0954097271d9fa5259ddb2732a30d72d849a5b1f4060a6a071c435cf364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/compaction/compaction.py:943-951 | libs/agno/agno/compaction/compaction.py:1003-1011 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/compaction/compaction.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fba105fb73ee89dedf608d0fff3877554212e38293b0b874ef87e908a9f6649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): libs/agno/agno/company/routines.py:798-804 | libs/agno/agno/scheduler/executor.py:364-372 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/scheduler/executor.py:373\u0060 calls \u0060update\u0060, \u0060_preserve_updated_at\u0060 and \u0060libs/agno/agno/company/routines.py:805\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":"libs/agno/agno/company/routines.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf5f7f89b383edc93224320169b8ed1ece89993bac25f2d9cd40e62b194d9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:959-967 | libs/agno/agno/db/dynamo/dynamo.py:4063-4070 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b51b20ea7ed14191b2fdbce49fa19538b3e4848bd0479bea94968b184db1bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:1306-1314 | libs/agno/agno/db/dynamo/dynamo.py:3528-3536 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc94619bc7dfe16445d7850221196b306eeea5829d9f2a0a46bc67c9038a19dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:4425-4434 | libs/agno/agno/db/dynamo/dynamo.py:4444-4453 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b775ed69e051ed7f7938de72212a390753fb6b65804699106a64b7330bc0d210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:4474-4482 | libs/agno/agno/db/firestore/firestore.py:4009-4017 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4474}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ca14bbe0143c1e005070070d1de326c1230bf2020d255b861449e8f0010bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:793-801 | libs/agno/agno/db/migrations/versions/v3_0_0.py:855-863 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3eb3f2480bab87b1d1900a81d5c48dbb35f8439daa0a74e696df11e29bb368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:1548-1556 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1674-1682 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"da82d9de5e0c4dbb32ba534d7b59f43a10036905fbb18a1f3c43afab59f062a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3069-3077 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3162-3170 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060db\u0060 to \u0060BaseDb\u0060 in one and \u0060AsyncBaseDb\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ba9e462162be76b286aae0219586f6520a5cb8b2cd1505766f46338c474589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3905-3913 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3978-3986 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3987\u0060 calls \u0060join\u0060, \u0060quote_db_identifier\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3914\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3905}}}],"partialFingerprints":{"codehealthFindingId/v1":"e020b403f9129a49ea1976fc7cf5a59af15075b2bd7d18af9044ab212e636641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:384-392 | libs/agno/agno/db/mongo/async_mongo.py:407-414 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"701cd952bf1fe77788aff86e9ba4f0b77ce0ba9e2c49fe330772b3170c27752c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 3): libs/agno/agno/db/firestore/firestore.py:2282-2284 | libs/agno/agno/db/mongo/async_mongo.py:2511-2519 | libs/agno/agno/db/mongo/mongo.py:2296-2304 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 80 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 \u0060libs/agno/agno/db/mongo/async_mongo.py:2511\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01fcd9acf3d55dcd83bb7bc9ecdc6469c52e9b6de6a8db5f26e4b858047345c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:785-793 | libs/agno/agno/db/postgres/async_postgres.py:1178-1186 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:785\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85d1e278ff3ded218d9a6b259c4288d615face8e811ed99d618d13e3766e742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:986-994 | libs/agno/agno/db/sqlite/async_sqlite.py:1372-1379 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1371\u0060 calls \u0060_get_table\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:985\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d24a4bab6ec66e4fc393089efa410c26e7bf0c086ff313ddce08a4ac97542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:1297-1305 | libs/agno/agno/db/mysql/mysql.py:1313-1321 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"389ac4a7662ae774c32e7a13c8f876f4445ac80f2987cbc22b4fbc7ff436399f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:763-772 | libs/agno/agno/db/sqlite/utils.py:668-676 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:763\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"43067b1df06840160b47361504b2f95913d729478afdf270c6d8151d9c96849b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:827-835 | libs/agno/agno/db/sqlite/utils.py:792-800 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:827\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002014a25b041f9c6aca5cf448bfc3dac254168724c476e67113b70d6ab64bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4900-4908 | libs/agno/agno/db/postgres/postgres.py:5433-5441 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4900}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5476dbbdaaa1bd7e64e5e547838eca282df47ea656ebc3315cdbb7fa18baf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5056-5067 | libs/agno/agno/db/postgres/postgres.py:5587-5598 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5056}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a95779303f291e2a7445c9797a359437c98a232f4d27e425672b383244c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:5951-5959 | libs/agno/agno/db/sqlite/async_sqlite.py:6093-6101 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdfe4048af27c07892754c44530163554101ba60763a0ef7ab3ea765b45b719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6129-6140 | libs/agno/agno/db/postgres/postgres.py:8838-8849 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6129\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45b442a9cdbbdc2c28e7bef413e75a82bb53abe0a8312e26743e423dce3b8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6315-6323 | libs/agno/agno/db/postgres/postgres.py:9011-9019 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e496739ed26ddb715598897b50e1189403f5a59030fdc777d1092bb8bc3a5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6331-6339 | libs/agno/agno/db/postgres/async_postgres.py:6359-6367 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6331}}}],"partialFingerprints":{"codehealthFindingId/v1":"226173ea15c06e1fcc3e3e51ec83b4517fe8d8b5ab6d464f9578f7c66e135d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6803-6811 | libs/agno/agno/db/postgres/postgres.py:9479-9487 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6803}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4d6abef0c7660eee0755cb985523762774c328f3975ff153a9bb013827a0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7860-7869 | libs/agno/agno/db/sqlite/async_sqlite.py:7074-7083 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3504c418af843afd402a99108b836f1da8cccf48f10a71985e26dfdbf17b899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7872-7881 | libs/agno/agno/db/sqlite/async_sqlite.py:7086-7095 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7872}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43b8bf1f4a5b9781e35057160c4b76a014a075208efc853f58575ea1380908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7997-8006 | libs/agno/agno/db/sqlite/async_sqlite.py:7211-7220 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7997}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda28e20973790127909d5f133e8a8c36a778d3cdde3f7d7942b6c73ab9aa18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8009-8018 | libs/agno/agno/db/sqlite/async_sqlite.py:7223-7232 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8009}}}],"partialFingerprints":{"codehealthFindingId/v1":"026f53a35765a2677fe9155d61c320f990e2407cde00fd41a4d553399d92b3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8238-8246 | libs/agno/agno/db/sqlite/async_sqlite.py:7452-7460 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd7f90139e3421032089654c017c9b55d9958160cb52526b9a3a848c9ae4886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8689-8697 | libs/agno/agno/db/sqlite/sqlite.py:8493-8501 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8689}}}],"partialFingerprints":{"codehealthFindingId/v1":"7638c4bc126075e315b1e6aba8576633119e0ec6b2fdab499bcc8f2fa5f65b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10514-10522 | libs/agno/agno/db/sqlite/sqlite.py:9455-9463 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb4c4478169b67f6dbd2f4025c3bc297c638fdc467e6bbc7afdb9f76fe916cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10597-10606 | libs/agno/agno/db/sqlite/sqlite.py:9538-9547 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcda5f6a43d44da1edda3772375f0de6f71cd8b81107cb6a05029d286db9182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10609-10618 | libs/agno/agno/db/sqlite/sqlite.py:9550-9559 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10609}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0a469c320d8a92a10d0ed078b345933b70a069bcd54b4a7ddebb12d647aeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10732-10741 | libs/agno/agno/db/sqlite/sqlite.py:9673-9682 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2180256f8ab0fb7f6170e84cec19a2d4354d79dae3f4175ff95d959c21a27628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10744-10753 | libs/agno/agno/db/sqlite/sqlite.py:9685-9694 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f34a80a88d3189d2bd3716db0fef3c614c446764f8a9254924e7ad9d424855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10971-10993 | libs/agno/agno/db/sqlite/sqlite.py:9912-9934 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10971}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05d321fe7fd793e56fb2277eafe54c87ae1153d4c07489bdf8db99123893dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:292-300 | libs/agno/agno/db/sqlite/utils.py:232-240 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1584d2fd8493c57b591790f756197922e344f662a1f40a3d25c19d2145ad12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:319-327 | libs/agno/agno/db/sqlite/utils.py:259-267 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ac1d71acec32146912b14273fa9b7c85887b4864fdd242c3af23092cbff577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/db/singlestore/singlestore.py:2077-2085 | libs/agno/agno/db/singlestore/singlestore.py:2163-2170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/singlestore/singlestore.py:2077\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db6d2d9cdaab1f308737ce2c760ccc6ba060f9a2e1416e36deab132797a5f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1078-1086 | libs/agno/agno/db/sqlite/sqlite.py:1267-1275 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f2eb2846c2e08eed368a04fcc623561320ad433644591fd80283d165092589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2401-2409 | libs/agno/agno/db/sqlite/async_sqlite.py:4353-4361 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2401}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fdc8fc062a1ce829a91b856b7902f10b2c1f5c642f66243dc23656b36ae7c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:5244-5254 | libs/agno/agno/db/sqlite/sqlite.py:5397-5407 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6629780a6268a39cc17f613623b95a682a9fbb99a5c67d880b59b14f7391b2da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/sqlite/sqlite.py:2669-2677 | libs/agno/agno/db/sqlite/sqlite.py:4565-4573 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af6e4b786e8c260beddb7871a91c21035c5ccd8e6637800911594c84f903e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/surrealdb/surrealdb.py:3372-3380 | libs/agno/agno/db/surrealdb/surrealdb.py:3519-3527 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":3372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce84de6d97d58dbdbd2bc2f1db51f0bdb255ba9fbee04eab108192bacce023e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/valkey/valkey.py:563-571 | libs/agno/agno/db/valkey/valkey.py:642-650 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf26de3df199408623102678b0732a611446650fbdd37f79c7551711a1ea8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/eval/agent_as_judge.py:534-542 | libs/agno/agno/eval/agent_as_judge.py:632-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/eval/agent_as_judge.py:531\u0060 calls \u0060isinstance\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/eval/agent_as_judge.py:630\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":"libs/agno/agno/eval/agent_as_judge.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d2ca8394f78d7c04c47be7cff1712cee1d822b3186969d4abbe025ab0ead5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/knowledge/embedder/azure_openai.py:189-198 | libs/agno/agno/knowledge/embedder/voyageai.py:138-146 \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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8c9544586b3074ff5bee6b47ab5c2d6ea456824455e90323bc52c5ae6db868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/knowledge/embedder/voyageai.py:39-47 | libs/agno/agno/knowledge/embedder/voyageai.py:56-64 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/voyageai.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28e63edf4aba5b0084c4deee2158500e32e04a63c1603aaa31c32ce95696e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:1407-1416 | libs/agno/agno/knowledge/knowledge.py:1439-1447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f217003812d1adb845c83fd44b4fa2130e953bd908b8565140aa46443b0e5bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/knowledge/reader/csv_reader.py:86-94 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:104-112 \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 \u0060file\u0060 to \u0060Union[Path, str, IO[Any]]\u0060 in one and \u0060Union[Path, IO[Any]]\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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cea955adc3c91629c1aa3ebf687f3577f380e9d69555055165442c458d199f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:628-636 | libs/agno/agno/learn/stores/entity_memory.py:660-665 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2cdfe8ae2c3be6798b0ea564cfce10e278bb272599e837c3f8a12beba6ae85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:642-650 | libs/agno/agno/learn/stores/entity_memory.py:669-677 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1e6269b2947f11309521748a26d20abe86c3ab073e49f56e480a6e02488f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:1625-1633 | libs/agno/agno/learn/stores/entity_memory.py:1656-1664 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e3bc1b57254ec00af86398a2b199f73968ddaead5533339a0e489479343591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:1216-1224 | libs/agno/agno/learn/stores/user_memory.py:1366-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. 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7698b8c8a59dacc540f70ae5310f7381d0574d53e7815fa25d6b974586f41cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/models/base.py:2135-2143 | libs/agno/agno/models/base.py:2159-2167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/base.py:2135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44d132a89b802176d5a98cc1ba69991fa85232fa1ffbc40d6fc0e126a19c5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/models/cerebras/cerebras.py:271-279 | libs/agno/agno/models/cerebras/cerebras.py:306-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 \u0060libs/agno/agno/models/cerebras/cerebras.py:271\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dee4dd3df26d283ba8d4216e43a922e3363df098f6e5ad1cd87ebabdaccfd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/models/ollama/chat.py:207-215 | libs/agno/agno/utils/models/ai_foundry.py:42-50 \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":"libs/agno/agno/models/ollama/chat.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e6d641ff924a336a3c2dc65cc884a2b653d348b96c96ee54268e3e645c9625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 3): libs/agno/agno/os/authz/admin_router.py:508-516 | libs/agno/agno/os/authz/admin_router.py:535-546 | libs/agno/agno/os/authz/admin_router.py:756-758 \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 \u0060libs/agno/agno/os/authz/admin_router.py:508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. Note first that the copies are not typed on the same thing: \u0060Authorization\u0060 names \u0060agno.os\u0060 in one and \u0060agno.os.authz.authorization\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":"libs/agno/agno/os/authz/admin_router.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8d27f0c285aa49fb84b84b2626879e3cfa48c5c8430fb58c76108f6e3e0e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): libs/agno/agno/os/interfaces/slack/events.py:211-219 | libs/agno/agno/os/interfaces/slack/events.py:232-238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ccdbdf98bb841045f83c26cbaa43384507193a39d524869a5b4c4018f63296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/os/manager/manager.py:138-146 | libs/agno/agno/os/manager/manager.py:161-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. 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":"libs/agno/agno/os/manager/manager.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"594eac18c4bb467f3cf6da2fc3dbf29e5911a16f5980755fd64bdddc25e2f12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/os/routers/approvals/router.py:53-61 | libs/agno/agno/os/routers/schedules/router.py:93-101 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060method_name\u0060 to \u0060str\u0060 in one and \u0060_SchedulerDbMethod\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":"libs/agno/agno/os/routers/approvals/router.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd8599dbe1c2bd31ccd2d9da38554e317e363a1c87d4202ca37c2bd3c165dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/os/routers/memory/memory.py:94-102 | libs/agno/agno/os/routers/memory/memory.py:485-492 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/memory/memory.py:94\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/memory/memory.py:483\u0060 calls \u0060Path\u0060 and \u0060libs/agno/agno/os/routers/memory/memory.py:92\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/memory/memory.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2de8aba23a23fbbcd2bd985168d7379bd76ffb6643fe6d2d120a4bae8e5fe38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/os/routers/memory/memory.py:206-214 | libs/agno/agno/os/routers/memory/memory.py:683-691 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/memory/memory.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e144f9e7e39cdc06965e3a44c80919d6897877b6f74b2643626c4d33441dcb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:1741-1749 | libs/agno/agno/os/routers/workflows/router.py:2810-2818 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/workflows/router.py:2810\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/workflows/router.py:1740\u0060 calls \u0060HTTPException\u0060, \u0060str\u0060 and \u0060libs/agno/agno/os/routers/workflows/router.py:2810\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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e051894633d85214d35fd262b4d019de5644aea287f073fff07996d548f629ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/run/agent.py:134-142 | libs/agno/agno/run/team.py:120-128 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/run/agent.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac2caa6351639f8fe5b3f732590725254cbfd63f6cd68e8540d186bf90126d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py:95-103 | libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py:117-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. 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":"libs/agno/agno/run/cancellation_management/in_memory_cancellation_manager.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de8e58c81be5617f9c8ef4708f00f7bac9f6b20f3b1c26d3b4aaca57ba02f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/scheduler/manager.py:213-221 | libs/agno/agno/scheduler/manager.py:463-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 \u0060libs/agno/agno/scheduler/manager.py:213\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9530681810488fafaba029d39a5a905eefed6824d153ae01f952e28e8369ce8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/session/agent.py:282-290 | libs/agno/agno/session/team.py:297-305 \u2014 before extracting anything, compare \u0060libs/agno/agno/session/agent.py\u0060 and \u0060libs/agno/agno/session/team.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 137 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/session/agent.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22be9d5cfc87176bb0eddc142315d20263518ac933cb662c9bb8a34acb36248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/team/_run.py:1054-1062 | libs/agno/agno/team/_run.py:3008-3016 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"690fb6df1186e061d4d2d551043701f9cd4431293e2b0dc6ee54e60b1ba5e809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/team/_run.py:2437-2444 | libs/agno/agno/team/_run.py:9843-9851 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/team/_run.py:9853\u0060 calls \u0060TeamRunOutput\u0060, \u0060cast\u0060 and \u0060libs/agno/agno/team/_run.py:2445\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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14fc7093cd96f7c3fff8b65a6a98f989601f77324ed16f9ee609c39dbbd46ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/team/_run.py:9044-9053 | libs/agno/agno/team/_run.py:9086-9094 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9044}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18b64d24aa2198efc61ce17c6e5de1c246d7d10c400f967267fa392aee61218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/team/_tools.py:416-424 | libs/agno/agno/team/_tools.py:452-460 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_tools.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a729d91530f5d74c56432ed16944ac1aefb9602c697a81c33c94e79acce4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/function.py:2233-2241 | libs/agno/agno/tools/function.py:2755-2763 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fa575b832b9320df3cbefab5119017068b15531225284584c7aa2f1d4995ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/function.py:2263-2271 | libs/agno/agno/tools/function.py:2786-2794 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/function.py"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd73a77c0606e0d778c5be425c0a9cf67c7af4a5628d30591d0bd02c8952a396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/gitlab.py:349-357 | libs/agno/agno/tools/gitlab.py:396-404 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"678551c82272913fe79ef475e0df89b85010ddf44cc3aedf73c5ed2d2f6c33ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/google/bigquery.py:58-66 | libs/agno/agno/tools/sql.py:62-70 \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":"libs/agno/agno/tools/google/bigquery.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef6be3d5ea06f0471a0897065c97cfc2bb994296a4b312e55552fdf2e04acb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/models/aimlapi.py:264-272 | libs/agno/agno/tools/models/aimlapi.py:286-294 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8406f92970c71a2065665bbefead4818aa91df11cae12ba69409957a11ee40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/openrouteservice.py:240-248 | libs/agno/agno/tools/openrouteservice.py:286-294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/openrouteservice.py:240\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b816aa9eed69371a626231e9c9b5d0566fa2d3e9fdfaa6b8e1149daa9ba8a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/postgres.py:234-242 | libs/agno/agno/tools/redshift.py:331-339 \u2014 before extracting anything, compare \u0060libs/agno/agno/tools/postgres.py\u0060 and \u0060libs/agno/agno/tools/redshift.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/tools/redshift.py:330\u0060 calls \u0060dict\u0060, \u0060zip\u0060 and \u0060libs/agno/agno/tools/postgres.py:233\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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2b91860f9b3ff226381eef924a8a1a0cea9b345d4fd1917966259bac8ac659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:939-947 | libs/agno/agno/tools/scheduler.py:1332-1340 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b3272bdd486acbef156eb47f8a0d3c1f5d958b3a59cf593a57c5048252fb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/shopify.py:413-421 | libs/agno/agno/tools/shopify.py:1469-1477 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682d930b302ef182259d4ceb8b75f2c1f4d9761e9b8fc48e23024d723e2f173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/shopify.py:709-717 | libs/agno/agno/tools/shopify.py:1354-1362 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcfa85402838ed1155e97c5fd9390f275a8b90be608d61a82bc130ab8bdb0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/studio_runner.py:1641-1649 | libs/agno/agno/workflow/step.py:422-430 \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 \u0060libs/agno/agno/tools/studio_runner.py:1641\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca04a5d8652ca393c27d181ea8bd6fd713f2c76e3d93161d0a3b73b7119e09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/tools/x.py:79-87 | libs/agno/agno/tools/x.py:104-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. 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":"libs/agno/agno/tools/x.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01c9a3b67ae9478d58d36e884a283ccacfc225f3a30af00e7ce8dca6bfd8bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/utils/media_offload.py:706-714 | libs/agno/agno/utils/media_offload.py:729-737 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060storage\u0060 to \u0060MediaStorage\u0060 in one and \u0060AsyncMediaStorage\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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"986eb5100765353e88a7f21758ad713fc6dbca04575c67d38639760212ba182c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/utils/print_response/agent.py:151-159 | libs/agno/agno/utils/print_response/agent.py:356-364 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"820a63100be77f64635cf2a885cfaef0b55c0f1c294db24f8b2e76f664390695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:481-489 | libs/agno/agno/vectordb/lancedb/lance_db.py:562-569 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/lancedb/lance_db.py:481\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"221393951f399b94ed56751482e1c3907bb59297e8f4a176313808fe3dbd0660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/vectordb/pineconedb/pineconedb.py:836-844 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:846-854 \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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8712d8c00a982f1ad1f97990b2108a1fa9dfe7302c12934582f3e75c252367e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/vectordb/pineconedb/pineconedb.py:836-844 | libs/agno/agno/vectordb/qdrant/qdrant.py:1236-1244 \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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aae122f83f3d52dc8a84f7236372b7e0dfa118955b3a799d7ee60f8a73c6869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:705-714 | libs/agno/agno/vectordb/valkey/valkeydb.py:849-857 \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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ec30dada671efbd8ca835b362c776dabb493df37575bb57578019199469da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/agno/agno/vectordb/redis/redisdb.py:924-931 | libs/agno/agno/vectordb/valkey/valkeydb.py:979-987 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060metadata\u0060 to \u0060Mapping[str, Any]\u0060 in one and \u0060Dict[str, Any]\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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f134575b0e90e416f2e6cb8670b4bd45cdc98dfca7eb9186b4ea19e2c0099c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:170-178 | libs/agno/agno/vectordb/weaviate/weaviate.py:185-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/vectordb/weaviate/weaviate.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc2ef5532bad8c83c440a4eeb46e44de59f4155aed08a6af9f6fd18d466d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:258-264 | libs/agno/agno/vectordb/weaviate/weaviate.py:1247-1255 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1babdf7a4e90d201394c1b2b40a4a48d044ba09b30639a435d4fb9546a0d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/vectordb/weaviate/weaviate.py:601-609 | libs/agno/agno/vectordb/weaviate/weaviate.py:791-799 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60097626454af0254e177bece6c3bc58a00e49bf7554614ad0d7475a22458a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/workflow/loop.py:190-198 | libs/agno/agno/workflow/step.py:981-989 \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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6512607d9112acbce40fac961392e9b4069e9051e7807d40472e5546c22c796f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/workflow/loop.py:356-364 | libs/agno/agno/workflow/parallel.py:162-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf66e3c7d2da2af67adb2634cba06bd79e9da3df818f315b7638834cb590c061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/workflow/router.py:978-986 | libs/agno/agno/workflow/router.py:1129-1137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/router.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7360859ba1884d85e10f103d027455248eaedcf7d931c0d48fd16a8de245db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agnoctl/agnoctl/clients/codex.py:103-111 | libs/agnoctl/agnoctl/clients/cursor.py:53-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agnoctl/agnoctl/clients/codex.py: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. 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":"libs/agnoctl/agnoctl/clients/codex.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e234f0e75d9f49e9a5560478df881216fab27427a5185bdfa8c0a270dc3191a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 24): libs/agno/agno/workflow/workflow.py:3169-3176 | libs/agno/agno/workflow/workflow.py:3523-3530 | libs/agno/agno/workflow/workflow.py:3541-3548 | libs/agno/agno/workflow/workflow.py:4174-4181 | libs/agno/agno/workflow/workflow.py:4564-4571 | libs/agno/agno/workflow/workflow.py:4581-4588 | libs/agno/agno/workflow/workflow.py:7099-7106 | libs/agno/agno/workflow/workflow.py:7181-7188 | libs/agno/agno/workflow/workflow.py:7275-7282 | libs/agno/agno/workflow/workflow.py:7468-7475 | libs/agno/agno/workflow/workflow.py:7958-7965 | libs/agno/agno/workflow/workflow.py:8084-8091 | libs/agno/agno/workflow/workflow.py:8215-8222 | libs/agno/agno/workflow/workflow.py:8367-8374 | libs/agno/agno/workflow/workflow.py:8382-8389 | libs/agno/agno/workflow/workflow.py:9160-9167 | libs/agno/agno/workflow/workflow.py:9244-9251 | libs/agno/agno/workflow/workflow.py:9336-9343 | libs/agno/agno/workflow/workflow.py:9517-9524 | libs/agno/agno/workflow/workflow.py:9720-9727 | libs/agno/agno/workflow/workflow.py:9846-9853 | libs/agno/agno/workflow/workflow.py:9978-9985 | libs/agno/agno/workflow/workflow.py:10130-10137 | libs/agno/agno/workflow/workflow.py:10145-10152 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/workflow/workflow.py:3166\u0060 calls \u0060_check_failed_step\u0060 and \u0060libs/agno/agno/workflow/workflow.py:8082\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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd98ed5d61e5b736e58cdf776ae98ee6dd41639c692f9e38e6040d67538c0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15): libs/agno/agno/db/postgres/async_postgres.py:5201-5208 | libs/agno/agno/db/postgres/async_postgres.py:5394-5401 | libs/agno/agno/db/postgres/async_postgres.py:5459-5466 | libs/agno/agno/db/postgres/async_postgres.py:5530-5537 | libs/agno/agno/db/postgres/postgres.py:7926-7933 | libs/agno/agno/db/postgres/postgres.py:8120-8127 | libs/agno/agno/db/postgres/postgres.py:8184-8191 | libs/agno/agno/db/postgres/postgres.py:8253-8260 | libs/agno/agno/db/sqlite/async_sqlite.py:5388-5395 | libs/agno/agno/db/sqlite/async_sqlite.py:5585-5592 | libs/agno/agno/db/sqlite/async_sqlite.py:5654-5661 | libs/agno/agno/db/sqlite/sqlite.py:7716-7723 | libs/agno/agno/db/sqlite/sqlite.py:7910-7917 | libs/agno/agno/db/sqlite/sqlite.py:7972-7979 | libs/agno/agno/db/sqlite/sqlite.py:8040-8047 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7f43d60607f261de1b65fff26a715edd5cc805626022913def7fb42deffb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15): libs/agno/agno/vectordb/cassandra/cassandra.py:280-287 | libs/agno/agno/vectordb/chroma/chromadb.py:498-505 | libs/agno/agno/vectordb/chroma/chromadb.py:704-711 | libs/agno/agno/vectordb/clickhouse/clickhousedb.py:438-445 | libs/agno/agno/vectordb/couchbase/couchbase.py:1116-1123 | libs/agno/agno/vectordb/couchbase/couchbase.py:1230-1237 | libs/agno/agno/vectordb/milvus/milvus.py:642-649 | libs/agno/agno/vectordb/milvus/milvus.py:819-826 | libs/agno/agno/vectordb/mongodb/mongodb.py:1187-1194 | libs/agno/agno/vectordb/mongodb/mongodb.py:1266-1273 | libs/agno/agno/vectordb/pgvector/pgvector.py:762-769 | libs/agno/agno/vectordb/pineconedb/pineconedb.py:408-415 | libs/agno/agno/vectordb/singlestore/singlestore.py:700-707 | libs/agno/agno/vectordb/singlestore/singlestore.py:797-804 | libs/agno/agno/vectordb/weaviate/weaviate.py:415-422 \u2014 there are 15 copies across 10 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 15 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/singlestore/singlestore.py:709\u0060 calls \u0060begin\u0060 and \u0060libs/agno/agno/vectordb/clickhouse/clickhousedb.py:447\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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44d278c502cf1324f57ed4d389b7b15cfb0530893b29a2530c0454b67af81e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): libs/agno/agno/reasoning/anthropic.py:124-131 | libs/agno/agno/reasoning/azure_ai_foundry.py:104-111 | libs/agno/agno/reasoning/deepseek.py:87-94 | libs/agno/agno/reasoning/gemini.py:133-140 | libs/agno/agno/reasoning/groq.py:120-127 | libs/agno/agno/reasoning/moonshot.py:159-166 | libs/agno/agno/reasoning/ollama.py:161-168 | libs/agno/agno/reasoning/openai.py:143-150 | libs/agno/agno/reasoning/vertexai.py:115-122 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/reasoning/azure_ai_foundry.py:113\u0060 calls \u0060hasattr\u0060 and \u0060libs/agno/agno/reasoning/anthropic.py:132\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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f053d44d913e65bfbc5f067dcdc769e09f96b7a15198f47d753e56a2937e28dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): libs/agno/agno/reasoning/anthropic.py:203-210 | libs/agno/agno/reasoning/azure_ai_foundry.py:150-157 | libs/agno/agno/reasoning/deepseek.py:166-173 | libs/agno/agno/reasoning/gemini.py:173-180 | libs/agno/agno/reasoning/groq.py:171-178 | libs/agno/agno/reasoning/moonshot.py:204-211 | libs/agno/agno/reasoning/ollama.py:207-214 | libs/agno/agno/reasoning/openai.py:199-206 | libs/agno/agno/reasoning/vertexai.py:157-164 \u2014 before extracting anything, compare \u0060libs/agno/agno/reasoning/anthropic.py\u0060 and \u0060libs/agno/agno/reasoning/azure_ai_foundry.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/reasoning/azure_ai_foundry.py:159\u0060 calls \u0060hasattr\u0060 and \u0060libs/agno/agno/reasoning/anthropic.py: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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0db4bf0caf766e0fb57552dcdd7bfdc1261fba240e71a875187bb691811c6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): libs/agno/agno/db/mongo/async_mongo.py:866-873 | libs/agno/agno/db/mongo/async_mongo.py:1751-1758 | libs/agno/agno/db/mongo/async_mongo.py:3590-3597 | libs/agno/agno/db/mongo/mongo.py:671-678 | libs/agno/agno/db/mongo/mongo.py:1558-1565 | libs/agno/agno/db/mongo/mongo.py:3340-3347 | libs/agno/agno/db/redis/redis.py:644-651 | libs/agno/agno/db/valkey/valkey.py:749-756 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"413b833a129e36a517e53943425205a289f1458626652b6e82ef5ac39ee687ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): libs/agno/agno/workflow/condition.py:638-645 | libs/agno/agno/workflow/condition.py:893-900 | libs/agno/agno/workflow/condition.py:1091-1098 | libs/agno/agno/workflow/condition.py:1347-1354 | libs/agno/agno/workflow/router.py:742-749 | libs/agno/agno/workflow/router.py:916-923 | libs/agno/agno/workflow/router.py:1079-1086 | libs/agno/agno/workflow/router.py:1257-1264 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"527fdaa5c113afb945637ccb611cf3cad3e961df16a36d2ac5dd484aad2dc7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3433-3440 | libs/agno/agno/db/mysql/mysql.py:3374-3381 | libs/agno/agno/db/postgres/async_postgres.py:3688-3695 | libs/agno/agno/db/postgres/postgres.py:4210-4217 | libs/agno/agno/db/singlestore/singlestore.py:3365-3372 | libs/agno/agno/db/sqlite/async_sqlite.py:3934-3941 | libs/agno/agno/db/sqlite/sqlite.py:4146-4153 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:3433\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3433}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cceb26e487fddef1c113b7a37a0a646a8ba115a7d7fa927dd65dc6aeb50a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): libs/agno/agno/tools/google/gmail.py:417-424 | libs/agno/agno/tools/google/gmail.py:451-458 | libs/agno/agno/tools/google/gmail.py:483-490 | libs/agno/agno/tools/google/gmail.py:536-543 | libs/agno/agno/tools/google/gmail.py:569-576 | libs/agno/agno/tools/google/gmail.py:616-623 | libs/agno/agno/tools/google/gmail.py:839-846 \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. 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f045e74daaced8535d509071d4f4e3ae332e50b0f2228451a6d31fb1505fc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): libs/agno/agno/agent/_run.py:6082-6092 | libs/agno/agno/agent/_run.py:6122-6129 | libs/agno/agno/team/_run.py:4692-4702 | libs/agno/agno/team/_run.py:4775-4785 | libs/agno/agno/team/_run.py:4921-4928 | libs/agno/agno/team/_run.py:4981-4988 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6082}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e488ba35cce607a8eaf9fdae31e7c4617edafa1230442c5dbfbba7e0d8d02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): libs/agno/agno/agent/_session.py:390-397 | libs/agno/agno/agent/_session.py:426-433 | libs/agno/agno/team/_session.py:861-868 | libs/agno/agno/team/_session.py:897-904 | libs/agno/agno/workflow/workflow.py:1163-1170 | libs/agno/agno/workflow/workflow.py:1210-1217 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/agent/_session.py:435\u0060 calls \u0060has_async_db\u0060, \u0060delete_session\u0060 and \u0060libs/agno/agno/agent/_session.py:399\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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bf82d6507ac48f82dede49158dbd747990f5eb1972922d165e8bc1913f565a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): libs/agno/agno/agent/remote.py:401-408 | libs/agno/agno/agent/remote.py:447-454 | libs/agno/agno/team/remote.py:393-400 | libs/agno/agno/team/remote.py:439-446 | libs/agno/agno/workflow/remote.py:297-304 | libs/agno/agno/workflow/remote.py:337-344 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/remote.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d5d1a2e7df95bfbe94353fe061eba406e7ef1a6f415826e0314887afb3b662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): libs/agno/agno/db/gcs_json/gcs_json_db.py:1023-1030 | libs/agno/agno/db/gcs_json/gcs_json_db.py:2282-2289 | libs/agno/agno/db/json/json_db.py:1109-1116 | libs/agno/agno/db/json/json_db.py:2436-2443 | libs/agno/agno/db/redis/redis.py:3238-3246 | libs/agno/agno/db/valkey/valkey.py:3631-3640 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"1509f06fbfa3daf558a3d52dcd4a75b32aa0e1ff3cbc8b4b39ea97063f26b4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): libs/agno/agno/db/dynamo/dynamo.py:1342-1349 | libs/agno/agno/db/dynamo/dynamo.py:1501-1508 | libs/agno/agno/db/dynamo/dynamo.py:1571-1578 | libs/agno/agno/db/dynamo/dynamo.py:3015-3022 | libs/agno/agno/db/dynamo/dynamo.py:3658-3665 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/dynamo/dynamo.py:3025\u0060 calls \u0060deserialize_from_dynamodb_item\u0060, \u0060drop_legacy_metrics\u0060 and \u0060libs/agno/agno/db/dynamo/dynamo.py:3668\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"37260413d09c680219485d39cdcaa2fdfc107b23a8432a24af16070f1a6cfeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): libs/agno/agno/db/redis/redis.py:4302-4309 | libs/agno/agno/db/redis/redis.py:4330-4337 | libs/agno/agno/db/redis/redis.py:4393-4400 | libs/agno/agno/db/redis/redis.py:4430-4437 | libs/agno/agno/db/redis/redis.py:4517-4524 \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. 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4302}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ec7bfd68f6428258c01d4e6d219249015aacd791876b5571254e515eccbab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): libs/agno/agno/vectordb/pgvector/pgvector.py:1755-1762 | libs/agno/agno/vectordb/pgvector/pgvector.py:1771-1778 | libs/agno/agno/vectordb/pgvector/pgvector.py:1787-1794 | libs/agno/agno/vectordb/pgvector/pgvector.py:1809-1816 | libs/agno/agno/vectordb/pgvector/pgvector.py:1838-1845 \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. 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, \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:1808\u0060 calls \u0060where\u0060 and \u0060libs/agno/agno/vectordb/pgvector/pgvector.py:1754\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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0d916aaf1630c9db92f321ee8bd80500906d814ac16fe4c93250185306686e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 5): libs/agno/agno/vectordb/singlestore/singlestore.py:598-603 | libs/agno/agno/vectordb/singlestore/singlestore.py:618-625 | libs/agno/agno/vectordb/singlestore/singlestore.py:636-641 | libs/agno/agno/vectordb/singlestore/singlestore.py:654-659 | libs/agno/agno/vectordb/singlestore/singlestore.py:886-893 \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. 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, \u0060libs/agno/agno/vectordb/singlestore/singlestore.py:617\u0060 calls \u0060where\u0060 and \u0060libs/agno/agno/vectordb/singlestore/singlestore.py:597\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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bbec5f399284169e7d452457b763abb6042b250b76634201edc89994298c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/dynamo/dynamo.py:4227-4234 | libs/agno/agno/db/firestore/firestore.py:3795-3802 | libs/agno/agno/db/redis/redis.py:3677-3684 | libs/agno/agno/db/valkey/valkey.py:4135-4142 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/redis/redis.py:3689\u0060 calls \u0060apply_pagination\u0060 and \u0060libs/agno/agno/db/dynamo/dynamo.py:4237\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d3cb416388155792704ea9fbb00920dfba70f70126e3a2a0c7637b5622ae3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v3_0_0.py:1903-1910 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1996-2003 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2089-2096 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2155-2162 \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. 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, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:1912\u0060 calls \u0060_get_all_records\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:2098\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d947c9bd00f51945cbde903cb9ee9216f79d1a3f7c0cd130b33321c25b79ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:2913-2920 | libs/agno/agno/db/postgres/async_postgres.py:3154-3161 | libs/agno/agno/db/sqlite/async_sqlite.py:3395-3402 | libs/agno/agno/db/sqlite/sqlite.py:3620-3627 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2913\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2913}}}],"partialFingerprints":{"codehealthFindingId/v1":"0963a89077f626b444590374f121dea00ea2e5fef6109a2c1e31e8f6c9c5fe2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1049-1055 | libs/agno/agno/db/postgres/postgres.py:1653-1660 | libs/agno/agno/db/singlestore/singlestore.py:1094-1100 | libs/agno/agno/db/sqlite/sqlite.py:1641-1648 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/sqlite/sqlite.py:1633\u0060 calls \u0060execute\u0060, \u0060where\u0060, \u0060in_\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1048\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"7937f34231068dcfe7a66cfe232535c5f0f93226ac4c5597a50d8983da71b645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:4503-4510 | libs/agno/agno/db/postgres/postgres.py:5495-5502 | libs/agno/agno/db/singlestore/singlestore.py:4419-4426 | libs/agno/agno/db/sqlite/sqlite.py:5305-5312 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a0dfcf9f50bbf6c78394efc775a867963f9f514b65a25070b498561d9f5399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2583-2590 | libs/agno/agno/db/postgres/postgres.py:3146-3153 | libs/agno/agno/db/sqlite/async_sqlite.py:2829-2836 | libs/agno/agno/db/sqlite/sqlite.py:3091-3098 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2583\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"179dfe1149644c7b07c51789d2320edbd3e3884fafe06440ea3d76a23d2f6d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5671-5678 | libs/agno/agno/db/postgres/postgres.py:8386-8393 | libs/agno/agno/db/sqlite/async_sqlite.py:5796-5803 | libs/agno/agno/db/sqlite/sqlite.py:8173-8180 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5671}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a33dda1d79d037af048c5f1a2efe4b520c9eda6d3ed6be83052d3acff0b5057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:9171-9180 | libs/agno/agno/db/postgres/postgres.py:9262-9269 | libs/agno/agno/db/postgres/postgres.py:9292-9299 | libs/agno/agno/db/postgres/postgres.py:9370-9379 \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 \u0060libs/agno/agno/db/postgres/postgres.py:9171\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a04ee9f3b0e62f007324d37bc1cf3e9f45804487a74ca4dc4ae19df55884532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/knowledge/embedder/aws_bedrock.py:477-484 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:499-506 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:529-536 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:561-568 \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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e8d2ac881d33a7e1a0efd31c437288f1ddd01784b068e18fbce6b6f820a014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/media/media.py:262-269 | libs/agno/agno/media/media.py:423-430 | libs/agno/agno/media/media.py:600-607 | libs/agno/agno/media/media.py:856-863 \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 \u0060libs/agno/agno/media/media.py:262\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/media.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dae5549993c79e815c8c917be614955dc8352422cd00270b056d55618c8757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/models/ibm/watsonx.py:146-153 | libs/agno/agno/models/ollama/chat.py:206-213 | libs/agno/agno/utils/models/ai_foundry.py:41-48 | libs/agno/agno/utils/models/mistral.py:62-69 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eaf69eead8493f21841cb794e59a5902e8f2b96be501cb1006830fec48af4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/os/authz/native_engine.py:454-461 | libs/agno/agno/os/authz/native_engine.py:484-497 | libs/agno/agno/os/authz/native_engine.py:736-743 | libs/agno/agno/os/authz/native_engine.py:762-769 \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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d06709f7f8b574a3755a8f9e5725d623da7fb6b3e47820c92c6b42fa8ad2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/utils/agent.py:1097-1104 | libs/agno/agno/utils/agent.py:1123-1130 | libs/agno/agno/workflow/workflow.py:1105-1112 | libs/agno/agno/workflow/workflow.py:1133-1140 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58bbf61256623973f63304c6701d2fa5308bc3e9aed3fc25a3e4fdb21a43ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/workflow/condition.py:214-221 | libs/agno/agno/workflow/parallel.py:121-128 | libs/agno/agno/workflow/router.py:256-263 | libs/agno/agno/workflow/steps.py:129-136 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc1b3ee62b55bfa63eac3aee918dea9ce8ace8c824869596653a4fa68ff1469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/client/os.py:750-757 | libs/agno/agno/client/os.py:1045-1052 | libs/agno/agno/client/os.py:1314-1321 \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":"libs/agno/agno/client/os.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"480f0c11d04b26c929f05518cb899c556b532c692cd29ff20a98c99bdfd4b883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): libs/agno/agno/db/dynamo/dynamo.py:981-988 | libs/agno/agno/db/dynamo/dynamo.py:4079-4085 | libs/agno/agno/db/dynamo/dynamo.py:4191-4197 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b308ecd7c460976078c43a0a3a43bf9c96d08fce74c4caabb59f711a26a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:687-694 | libs/agno/agno/db/postgres/async_postgres.py:990-997 | libs/agno/agno/db/sqlite/async_sqlite.py:941-948 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:687\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"166898ea719acda0226a298c2576c6ce2f603d5a14854c16dec611b008e1524a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1031-1037 | libs/agno/agno/db/postgres/async_postgres.py:1483-1490 | libs/agno/agno/db/sqlite/async_sqlite.py:1438-1445 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:1430\u0060 calls \u0060execute\u0060, \u0060where\u0060, \u0060in_\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:1030\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"127a981964cc266c218580fd6ad35d75ab58b7a90a7b74d939aaa7b62b084c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1079-1086 | libs/agno/agno/db/postgres/async_postgres.py:1703-1711 | libs/agno/agno/db/sqlite/async_sqlite.py:1630-1639 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"a353691e012acf1898e3f2eb2ccf6d5de0db8ed0674d0d6798127e19ea0f7448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:1005-1012 | libs/agno/agno/db/singlestore/singlestore.py:1050-1057 | libs/agno/agno/db/sqlite/sqlite.py:1571-1578 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/sqlite/sqlite.py:1569\u0060 calls \u0060_get_table\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1004\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a4676e1e2621cc0301c5752ee008984e7beed758b14deb5297e706fa92c6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:3518-3525 | libs/agno/agno/db/postgres/postgres.py:4351-4358 | libs/agno/agno/db/sqlite/sqlite.py:4292-4299 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cf60cf1c4f94363b7011a86526df798c9050782b3cdf188c4d8c5c2a23f64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:4035-4042 | libs/agno/agno/db/postgres/postgres.py:4913-4920 | libs/agno/agno/db/sqlite/sqlite.py:5546-5553 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4035}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf179a73fb5ce0bb7ddbc2e3912a667c3c1040f63d6c85e47ade459796867d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:8311-8318 | libs/agno/agno/db/sqlite/sqlite.py:2818-2826 | libs/agno/agno/db/sqlite/sqlite.py:8098-8105 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5be18d6c2b688e8d4c61d8deeb386a848e7ddb5b24514934eb3e82bcb46ddc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/learn/stores/user_memory.py:967-974 | libs/agno/agno/learn/stores/user_profile.py:1021-1028 | libs/agno/agno/memory/manager.py:959-966 \u2014 before extracting anything, compare \u0060libs/agno/agno/learn/stores/user_memory.py\u0060 and \u0060libs/agno/agno/learn/stores/user_profile.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 262 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc54baa19f0c6382121181df1ed22d642b6e893e3a5dcd487139ce5e845eba9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/models/base.py:921-929 | libs/agno/agno/models/base.py:1412-1420 | libs/agno/agno/models/base.py:1693-1701 \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, \u0060libs/agno/agno/models/base.py:919\u0060 calls \u0060ModelResponse\u0060 and \u0060libs/agno/agno/models/base.py:1410\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":"libs/agno/agno/models/base.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"644b0ac3b76172742e1bc9d4dbf3a981a25f5be853def5bac12bd01b6993ac03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): libs/agno/agno/models/google/gemini.py:1054-1061 | libs/agno/agno/models/google/gemini.py:1107-1114 | libs/agno/agno/models/google/gemini.py:1196-1202 \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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f664b1da909e9e242f2b1fd492e542e64009499438697ea106b4da22ae9520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:2529-2539 | libs/agno/agno/os/routers/teams/router.py:1253-1260 | libs/agno/agno/os/routers/workflows/router.py:2686-2693 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:2529\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa96253e7551003d08d3746fe3833533d8040e28f68f043ff4e235529166f17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/team/_messages.py:1097-1104 | libs/agno/agno/team/_messages.py:1239-1246 | libs/agno/agno/team/_run.py:5354-5361 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/team/_messages.py:1097\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7f4d4a836abc15db844ee4b04385b70273da45866b88d1da6a6d1493ba0344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/tools/shopify.py:190-197 | libs/agno/agno/tools/shopify.py:309-316 | libs/agno/agno/tools/shopify.py:1070-1077 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/tools/shopify.py:317\u0060 calls \u0060get\u0060 and \u0060libs/agno/agno/tools/shopify.py:198\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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"317e4aa073be78cb65f61f6436fa2408ca9c208acd131058afcfdf9b50bb7f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/tools/shopify.py:709-716 | libs/agno/agno/tools/shopify.py:983-990 | libs/agno/agno/tools/shopify.py:1354-1361 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c99c0fbfef2184b9d81a0caffce1861011880ab403b4b20b1585d258570ac3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/utils/print_response/agent.py:141-148 | libs/agno/agno/utils/print_response/agent.py:346-353 | libs/agno/agno/utils/print_response/agent.py:889-896 \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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d832abee44a57b112b6b3af32b210830fc2667aba4d88006c8ba124317d2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/vectordb/cassandra/cassandra.py:491-498 | libs/agno/agno/vectordb/cassandra/cassandra.py:561-568 | libs/agno/agno/vectordb/cassandra/cassandra.py:598-605 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a237c2df139f683063416eaefbb5ec7977a83f6fcfc7ff1f792e9d3cafa036bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/workflow/router.py:754-761 | libs/agno/agno/workflow/router.py:944-951 | libs/agno/agno/workflow/router.py:1091-1098 \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 \u0060libs/agno/agno/workflow/router.py: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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b9d6308a25541a66404dd9ab6107869f420f51c83aa44e359575a2ab51c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cookbook/02_agents/05_state_and_session/metadata_resolution.py:57-64 | cookbook/04_workflows/06_advanced_concepts/run_params/metadata_resolution.py: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/02_agents/05_state_and_session/metadata_resolution.py:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/05_state_and_session/metadata_resolution.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea465cac86827c27c121ddfaa4eda8ccf2b2f2d2867aaef90a3d62562d7f428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cookbook/performance/comparison/long_conversation_comparison.py:88-96 | cookbook/performance/comparison/multi_turn_comparison.py:108-116 \u2014 before extracting anything, compare \u0060cookbook/performance/comparison/long_conversation_comparison.py\u0060 and \u0060cookbook/performance/comparison/multi_turn_comparison.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"cookbook/performance/comparison/long_conversation_comparison.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f2429eb0df08d0b9bfaa2def0d781270671d3fbd9b2f0c00b25af93dad8d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_init.py:173-180 | libs/agno/agno/team/_init.py:602-609 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e9b6f150f13760b6ba450df1202354dd9557201190b46639bbfe0a6e87fa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_storage.py:774-781 | libs/agno/agno/team/_telemetry.py:14-21 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"30742cd2f5a7629fe249e455c85b8bc7d4599eda18e6d27173e8f662cf63b24c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_storage.py:930-937 | libs/agno/agno/team/_storage.py:758-765 \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, \u0060libs/agno/agno/agent/_storage.py:926\u0060 calls \u0060hasattr\u0060, \u0060to_dict\u0060 and \u0060libs/agno/agno/team/_storage.py:755\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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8683dfc214f27d8939d9eadcbf25e6bddab0eaf8a63924ee1e661476dc4307c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1441-1448 | libs/agno/agno/team/_storage.py:1322-1329 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d2a04787a7a5763265cf2f9226445850092d6425ab907485f0723ff141a7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/base.py:542-549 | libs/agno/agno/db/sqlite/async_sqlite.py:345-352 \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":"libs/agno/agno/db/base.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"081d21278fa59fc27020537a5af41fb3fa20cf4e5bdbfcc0554e773d7c875e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:1114-1123 | libs/agno/agno/db/surrealdb/surrealdb.py:898-905 \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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048e7eecd43112bbfd0758f9e4f8bb9137b80047a58a8e4b9da9665c631af9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/dynamo/dynamo.py:2511-2518 | libs/agno/agno/db/dynamo/dynamo.py:2647-2654 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2511}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d6bfbcb7c8bc3a45dfdcd4b9553936489dbfdca118b94252aceb99c41ccc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:1711-1718 | libs/agno/agno/db/mongo/mongo.py:1852-1859 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd865e983d97020efd5099f150b135129d79a15e32436a4359a3799497ef5059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:887-894 | libs/agno/agno/db/json/json_db.py:959-966 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"c567019c31bb63456ec8f8d717e5a120e11d9433d691b95cf2b2f27b096ee7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:985-992 | libs/agno/agno/db/migrations/versions/v3_0_0.py:1035-1042 \u2014 both copies are in the same file, so extract the block 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 \u0060db\u0060 to \u0060BaseDb\u0060 in one and \u0060AsyncBaseDb\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db440bbd9b2d99073334704e6689cd87a94d3ee7395af5746afb836678d953e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:2825-2832 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2906-2913 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dab9f4827d27e337e9fe6562cd83f112a0167cfbced7d0656a43c524618f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3548-3555 | libs/agno/agno/db/migrations/versions/v3_0_0.py:3628-3635 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3548\u0060 it begins part-way through the construct above it, so those exact 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 \u0060db\u0060 to \u0060BaseDb\u0060 in one and \u0060AsyncBaseDb\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9360c6c1a1c75676e57479da7cabe92911e40c0f58cd950cf20f37733ee097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3604-3611 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4376-4382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:3604\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3604}}}],"partialFingerprints":{"codehealthFindingId/v1":"875e9e1804f78ac5650413195259e9c521098b36d7e2cdcde8a7ee3bc6cf03ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:890-898 | libs/agno/agno/db/mongo/async_mongo.py:1775-1782 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mongo/async_mongo.py:887\u0060 calls \u0060sort\u0060, \u0060apply_pagination\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py:1774\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b330f6b6e4ff07391e1dca0a04b32336c92ae53f061a2a8402cf46c42886aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2192-2199 | libs/agno/agno/db/mongo/mongo.py:1988-1994 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2192\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b7bd74937b9b3803eebc936946bfb92b8c94ee84f9bf4d941145360d63c100"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2503-2510 | libs/agno/agno/db/mongo/mongo.py:2288-2295 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mongo/async_mongo.py:2500\u0060 calls \u0060sleep\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py:2285\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f6df32796cf4e070973a3f43fa4fef72c09366cd7148f640018f974e945442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3462-3469 | libs/agno/agno/db/mongo/mongo.py:3212-3219 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02b7489ad7a550a8931c770b54eaf126a0855735d75217577da0183eecc727d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4387-4394 | libs/agno/agno/db/mongo/mongo.py:4196-4203 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dbd43d46ff426821e315f1f91524db65003c741844458559cd58fb0d2bc8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:720-727 | libs/agno/agno/db/sqlite/async_sqlite.py:974-981 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:720\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a951387f31f21ca497dab7f78972705b97c26f147e60d78c07b43d28a8378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:334-341 | libs/agno/agno/db/postgres/postgres.py:621-631 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:621\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ae7ae9d1f48448f9066b06d3640fef872b826dbf2fe9630eafa710c56cccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:674-681 | libs/agno/agno/db/singlestore/utils.py:391-398 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 10 separate duplicated blocks between them, totalling at least 214 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:674\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"180ad5c0dad45a6d939b53cf2d295ae97f4289e4b6c735f812468c25aa5c0b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1123-1130 | libs/agno/agno/db/sqlite/async_sqlite.py:1085-1092 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6d2930557a6964bf7a9e6ed7a4280e39cbdbe5e1f0fb56c83b92afa67f8dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1648-1655 | libs/agno/agno/db/sqlite/async_sqlite.py:1575-1582 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f0ffc61a017555ce8721e6bd929a7c5a43e8cce1bfacc60e0aedc6eed8a85d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:4288-4295 | libs/agno/agno/db/postgres/postgres.py:4824-4831 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4288}}}],"partialFingerprints":{"codehealthFindingId/v1":"df605b5ea34d040e4efff6905ba72b5d27a5ba221caf5b795f64c1b7a68002e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6616-6623 | libs/agno/agno/db/postgres/postgres.py:9299-9306 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6616\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6616}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e37ca8411142037fe06ff11f33284823cb897a87c146e78b64b0c3f464bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7044-7061 | libs/agno/agno/db/sqlite/async_sqlite.py:6256-6273 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7044}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3185116f856b31bc81a3c3c69c5adced284bea18a7c573887d403965fd5a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7543-7550 | libs/agno/agno/db/sqlite/async_sqlite.py:6759-6765 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:7543\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2cdaffc46fbe2f94dc265950453d81ebf995899c2c550ff4f656ef8299bcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8107-8114 | libs/agno/agno/db/sqlite/async_sqlite.py:7321-7328 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd66a0e05ca5a385cf97e1d9b6eb53dd9fdc49c1cbb63cf957ca0186688c098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:8289-8307 | libs/agno/agno/db/sqlite/async_sqlite.py:7503-7521 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a6d45ec61fc56206d81dec3ed1e5b0fbaeed1c48942720fccce77bcbae5805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:583-590 | libs/agno/agno/db/sqlite/sqlite.py:600-607 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e90c1ced0207ef25a6ec3e0483b0e93b8ec4d10e0ca4208c92ce2ee8af052d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1274-1281 | libs/agno/agno/db/sqlite/sqlite.py:1274-1281 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b684b3d28745c014d934f5651f15632e380b5f93169ad5ff247e4d420b610232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1820-1827 | libs/agno/agno/db/sqlite/sqlite.py:1783-1790 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aedc857ae1a8061ccea99e6a1bb83f4db4e924f4c8371befae0aeef44cb1328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9026-9033 | libs/agno/agno/db/postgres/postgres.py:9053-9060 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9026}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac23602f41506aed7cc2ee3246e467faaaef3f630b5a0c4b54944d56228f34e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9650-9657 | libs/agno/agno/db/sqlite/sqlite.py:8594-8601 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba21da25c7ce6da502209f71149357a2038799eb45f25f31e276f09051d9695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9707-9724 | libs/agno/agno/db/sqlite/sqlite.py:8651-8668 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9707}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a5ef35d010594406c0311c1acfcb7bad046e87b9852fc43f5cff8121ab1f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10288-10295 | libs/agno/agno/db/sqlite/sqlite.py:9231-9237 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/postgres.py:10288\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea129ad79ef9b37adfe7acaeae6165ff99d9d1eb623b21fc871f002921d92e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10382-10389 | libs/agno/agno/db/sqlite/sqlite.py:9323-9330 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbaf289ece8a1e07766f9444a6581abbc435ce03fa6ce2a1af9c59df6756be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10586-10594 | libs/agno/agno/db/sqlite/sqlite.py:9527-9535 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb324490f5a0f06dc572d1464fca05bfe21e378180b74fc9ba2aa0a51eab7b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10719-10727 | libs/agno/agno/db/sqlite/sqlite.py:9660-9668 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10719}}}],"partialFingerprints":{"codehealthFindingId/v1":"58daafddadd26f8d7207d1a74a52ff2c5fe776c9cac37a84ebdd3a59722debbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10840-10847 | libs/agno/agno/db/sqlite/sqlite.py:9781-9788 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10840}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceb7f199d5e3a31cfdcc3b161b2cfb2693528a637145acd1b4453d447be2686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:11018-11034 | libs/agno/agno/db/sqlite/sqlite.py:9959-9975 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":11018}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddd4e3785f416b71fc719b7172570bab4c42a9d85651f563f365c6c08b7a8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:396-403 | libs/agno/agno/db/sqlite/utils.py:336-343 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cd8055faae521fc7bd7f5a30fcbd4318ba0fcb4ae0bd7a2ba53e36ddb003c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2352-2361 | libs/agno/agno/db/valkey/valkey.py:2688-2697 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d489b7eba06bd135545ec844c8f9161c28208be24a9f009c4558e62ce76eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:55-63 | libs/agno/agno/db/sql/authz.py:572-579 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"378d4e456848223e477667508c7817b9049c9c18fd61aa91c41700335cf3619e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/eval/suite.py:794-801 | libs/agno/agno/eval/suite.py:809-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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd427bd4cf053264039e0ef9805cf13e19815f0ab3beff9bddf76870584ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/fs/fs.py:592-599 | libs/agno/agno/fs/fs.py:798-805 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cd12e6f810229d144e7e8408d10eeb4afa3cb1d4a58f33f79c7a494a375cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/knowledge/embedder/google.py:118-125 | libs/agno/agno/knowledge/embedder/google.py:184-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. 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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dea3f5b35d6e2adf9f0134aae943b8a5f686e697fbcf166b0a1bdecbf89fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:408-415 | libs/agno/agno/knowledge/loaders/github.py:567-574 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cb3aa9a8847258607d2db8fd309b5b57231a8badde3d75af2f5bc9e3480206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/knowledge/loaders/sharepoint.py:122-129 | libs/agno/agno/knowledge/loaders/sharepoint.py:142-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. 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"df67742bd76a085c679096680594c1197ce4d2fd925ea2a0c72fa7c5173540d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): libs/agno/agno/knowledge/reader/csv_reader.py:166-173 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:197-202 \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, \u0060libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:203\u0060 calls \u0060_get_stream_name\u0060 and \u0060libs/agno/agno/knowledge/reader/csv_reader.py:174\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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0568259f1a0c049455789368b53ad32fb8e545bb4d9d679b1dcff481ea43799e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:111-118 | libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:201-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc85fb9658bb3ebf965ebabfa405931bd644733a7922c5420232599bf9efd02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:3189-3196 | libs/agno/agno/learn/stores/entity_memory.py:3265-3276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/stores/entity_memory.py:3189\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baa2dce18aeb728c521179a3b90d08af3cbeeb68b51e10900c1c092848c8b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/media/storage/s3/async_s3.py:182-189 | libs/agno/agno/media/storage/s3/s3.py:178-185 \u2014 before extracting anything, compare \u0060libs/agno/agno/media/storage/s3/async_s3.py\u0060 and \u0060libs/agno/agno/media/storage/s3/s3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/media/storage/s3/async_s3.py:182\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7d47689c0289de61cdb2feb6cc4f9502bca15d5940b058cdf53df0e3dc6c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/models/anthropic/claude.py:1100-1107 | libs/agno/agno/models/anthropic/claude.py:1277-1283 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b873b7fd143dd22c2070759d8f0fbf3f898ea56a69205e37e9e35e21db2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/models/azure/ai_foundry.py:392-399 | libs/agno/agno/models/azure/ai_foundry.py:459-466 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f66d30a769cf50eda4a56b017ee5965f864dec97ad1117cf5f7d19687864fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/models/azure/openai_chat.py:134-142 | libs/agno/agno/models/meta/llama.py:104-111 \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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eedcb6dfd861432f3708633261ef21245324cb6d0dea0918587f71581b888ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/models/google/gemini.py:2051-2058 | libs/agno/agno/models/google/gemini.py:2075-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/google/gemini.py:2051\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ec976c2f3142d286397bd2ab00628a7657507d41d3ed28d7afa19dc4a62799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/models/openai/chat.py:598-604 | libs/agno/agno/models/openai/chat.py:685-692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/openai/chat.py:685\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f1529963e31c1419b56f305a9a8a8477a827ef6d91369621fccbc202b84cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/models/openai/responses.py:285-292 | libs/agno/agno/models/openai/responses.py:312-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d137e99e05be9a1f72e9df6aaec15a16da15366b3827784613909eff55152da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/models/openai/responses.py:830-837 | libs/agno/agno/models/openai/responses.py:856-863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/openai/responses.py:830\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db3f083529f1c7fb5350cea5cb8421f588f80dc63b24f068a092ff876104011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/authz/engine.py:312-322 | libs/agno/agno/os/authz/engine.py:365-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. 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":"libs/agno/agno/os/authz/engine.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"299e9da8efece0690fb9b4075108c35846471482588fefcd32d88dcbc7b29c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/authz/native_engine.py:727-734 | libs/agno/agno/os/authz/native_engine.py:753-760 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"af42b09e1e01db3ac150a2d5ed8c80111ce7baaed55dec9894aeefc3e0101036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/authz/user_directory.py:257-264 | libs/agno/agno/os/authz/user_directory.py:612-619 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"114b24e2363f80ec5f84c3b9b449172e47ca1f0d74fa72f7f3aac164d261d9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/routers/company/products.py:112-119 | libs/agno/agno/os/routers/company/projects.py:135-142 \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":"libs/agno/agno/os/routers/company/products.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c993c2ee99e8ac16f966f5f462c83270f18d6f01e65aa8457d90a6cfe0e7092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/routers/components/components.py:1025-1032 | libs/agno/agno/os/routers/components/components.py:1526-1533 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/components/components.py:1025\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"918b49fab56cc6d05f4b6d79576cfe132780131d17b92b63b1305a4fd6d017e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/routers/metrics/metrics.py:958-965 | libs/agno/agno/os/routers/metrics/metrics.py:982-989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/metrics/metrics.py:958\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a3d7d6f7da63556c4cb5e88404f9dbaf57a00ac5830993512f577f9da1c8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/routers/workflows/router.py:400-408 | libs/agno/agno/os/routers/workflows/router.py:947-954 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9933d14971b0dcead94a59579a3ae127dc3e9cd5f2feda60e6e2840196349c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/schema.py:848-855 | libs/agno/agno/os/schema.py:989-996 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/schema.py"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"88440097ab73ecdcdacc81be20af3516ebf896a9d6c06d9a4bfd1d3ffccb0c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/os/utils.py:1139-1146 | libs/agno/agno/os/utils.py:1165-1172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/utils.py:1139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0b36599edd5887182cdb7d51d2adedd756d136ee9e45be03c7a4e0af545493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/run/agent.py:791-798 | libs/agno/agno/run/team.py:872-879 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/run/team.py:881\u0060 calls \u0060to_dict\u0060 and \u0060libs/agno/agno/run/agent.py:801\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":"libs/agno/agno/run/agent.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf45d2b7ec839978402f533ee4b4b0b81cf886ae06cdb64a8cc920dd712762a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/run/agent.py:874-881 | libs/agno/agno/run/team.py:938-945 \u2014 before extracting anything, compare \u0060libs/agno/agno/run/agent.py\u0060 and \u0060libs/agno/agno/run/team.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 200 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/run/team.py:948\u0060 calls \u0060to_dict\u0060, \u0060hasattr\u0060 and \u0060libs/agno/agno/run/agent.py:884\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":"libs/agno/agno/run/agent.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f808e8aed75dc1c2fa0d568093e4ad1b3c60fe0e8dc6c122f2eca3d879716a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/run/requirement.py:347-354 | libs/agno/agno/team/_run.py:5810-5817 \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":"libs/agno/agno/run/requirement.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7227aec54343c75d133ba30b3d65fd10aee52e4482ddaa6c35d8d79c3c9282a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/team/_messages.py:119-126 | libs/agno/agno/team/_messages.py:133-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_messages.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6b17044fc86b1124d4a53ad656e6fe18f8ba9ee99d15a59e2909dd45740d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/team/_run.py:3418-3426 | libs/agno/agno/team/_run.py:4099-4106 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7d27f3c6b2e493925ac46e9dcf8a3b678959dab6087409703dd2c46df2be41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/tools/adanos.py:96-103 | libs/agno/agno/tools/adanos.py:109-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/tools/adanos.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7600f462a1d5d424f03318c4b38818d43caba5f040892f3883d90d616df6c31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/tools/agentos.py:321-328 | libs/agno/agno/tools/agentos.py:356-363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/agentos.py:321\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3447906f226e05a77a5ca11f5612d1dbd8441036ccd9be54ba5596890afb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/tools/calcom.py:159-167 | libs/agno/agno/tools/calcom.py:223-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. 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":"libs/agno/agno/tools/calcom.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f948eec06af53f82d880695868b9041da64c1ad9317f6257cb34cd73544e0470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/tools/knowledge/management.py:409-416 | libs/agno/agno/tools/knowledge/management.py:435-442 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"654c46495d417da4487670b6361d545a68af8733bc449f44a0070dbec548792b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:819-826 | libs/agno/agno/tools/scheduler.py:1210-1217 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86bd8e996c27d1d1a9a93b8a705438742820db9452eb294df3b5c3ee6d26ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/tools/shopify.py:309-316 | libs/agno/agno/tools/shopify.py:1139-1146 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf74ca0d886aeade5f12161d6884f5f26ed7fb1bee26483323f7c701508ecbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/tools/studio_runner.py:2169-2176 | libs/agno/agno/tools/studio_runner.py:2225-2232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/studio_runner.py:2169\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8e4e7ca5aabdb1bd238a271e70449d097e39348c832e2278abcd54bd98cf09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 3): libs/agno/agno/utils/media_offload.py:361-368 | libs/agno/agno/utils/media_offload.py:635-642 | libs/agno/agno/utils/media_offload.py:647-648 \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, \u0060libs/agno/agno/utils/media_offload.py:642\u0060 calls \u0060log_warning\u0060, \u0060iter_step_outputs\u0060 and \u0060libs/agno/agno/utils/media_offload.py:648\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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"303c46281dbaaaf140dacae4d94cdf197429835790a6b8a09782172b1e51eb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): libs/agno/agno/utils/tokens.py:456-463 | libs/agno/agno/utils/tokens.py:516-522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aff6fe261c6990024555c24bb0f5872c0ce97fb31bb4acb4df5a91f7d3e23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:1145-1152 | libs/agno/agno/vectordb/couchbase/couchbase.py:1261-1268 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1259\u0060 calls \u0060info\u0060 and \u0060libs/agno/agno/vectordb/couchbase/couchbase.py:1143\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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b347ae535ad3f74038661878f92f46cec98a2ee54e97dbc58797b1f492e5d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1324-1331 | libs/agno/agno/vectordb/opensearch/opensearch.py:1237-1244 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1323\u0060 calls \u0060_require_preparable\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1236\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb8cbc1d2034f1ec3710db6e13156d45c5b64e0c7bc034aef7bf71fffd1169e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1375-1382 | libs/agno/agno/vectordb/opensearch/opensearch.py:1288-1295 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1374\u0060 calls \u0060_require_preparable\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:1287\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"623352ad5a025777524ee312818c0cc96bf4d9b295cdad05b3a4521c66482f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/workflow/steps.py:274-282 | libs/agno/agno/workflow/steps.py:424-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7492377507eef40936828dae9c272b2a659d534c9e7fd0aa22fb9afcd9c5a26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/workflow/steps.py:580-588 | libs/agno/agno/workflow/steps.py:729-737 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/steps.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf5127f2f5ef62b9d08f897cedce0a2062112b34e2970e961c40d5927111fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:3333-3340 | libs/agno/agno/workflow/workflow.py:4360-4367 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":3333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5c46e98d4eefeab7c75a12e035dc05723033a26aa2da8800882084410b648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno_infra/agno/aws/resource/acm/certificate.py:194-201 | libs/agno_infra/agno/aws/resource/glue/crawler.py:209-216 \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":"libs/agno_infra/agno/aws/resource/acm/certificate.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ed026e0d9471d4359257cc048a45122e0123cd5e1237dbabcc0c0cf45c1c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 23): libs/agno/agno/db/mysql/async_mysql.py:872-878 | libs/agno/agno/db/mysql/async_mysql.py:3934-3940 | libs/agno/agno/db/mysql/mysql.py:867-873 | libs/agno/agno/db/mysql/mysql.py:3877-3883 | libs/agno/agno/db/postgres/async_postgres.py:1255-1261 | libs/agno/agno/db/postgres/async_postgres.py:4217-4223 | libs/agno/agno/db/postgres/async_postgres.py:5453-5459 | libs/agno/agno/db/postgres/postgres.py:1409-1415 | libs/agno/agno/db/postgres/postgres.py:4753-4759 | libs/agno/agno/db/postgres/postgres.py:7920-7926 | libs/agno/agno/db/postgres/postgres.py:8114-8120 | libs/agno/agno/db/postgres/postgres.py:8178-8184 | libs/agno/agno/db/singlestore/singlestore.py:913-919 | libs/agno/agno/db/singlestore/singlestore.py:3837-3843 | libs/agno/agno/db/sqlite/async_sqlite.py:1210-1216 | libs/agno/agno/db/sqlite/async_sqlite.py:4420-4426 | libs/agno/agno/db/sqlite/async_sqlite.py:5382-5388 | libs/agno/agno/db/sqlite/async_sqlite.py:5579-5585 | libs/agno/agno/db/sqlite/sqlite.py:1405-1411 | libs/agno/agno/db/sqlite/sqlite.py:4632-4638 | libs/agno/agno/db/sqlite/sqlite.py:7710-7716 | libs/agno/agno/db/sqlite/sqlite.py:7904-7910 | libs/agno/agno/db/sqlite/sqlite.py:7966-7972 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:3943\u0060 calls \u0060where\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:4761\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bcc6a746db229899cbaf9027a19389d2a0574a2ba869b038e2f3be9bbca46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): libs/agno/agno/db/postgres/async_postgres.py:7650-7656 | libs/agno/agno/db/postgres/async_postgres.py:7789-7795 | libs/agno/agno/db/postgres/async_postgres.py:7907-7913 | libs/agno/agno/db/postgres/async_postgres.py:8164-8170 | libs/agno/agno/db/postgres/postgres.py:10395-10401 | libs/agno/agno/db/postgres/postgres.py:10528-10534 | libs/agno/agno/db/postgres/postgres.py:10644-10650 | libs/agno/agno/db/postgres/postgres.py:10897-10903 | libs/agno/agno/db/sqlite/async_sqlite.py:6864-6870 | libs/agno/agno/db/sqlite/async_sqlite.py:7003-7009 | libs/agno/agno/db/sqlite/async_sqlite.py:7121-7127 | libs/agno/agno/db/sqlite/async_sqlite.py:7378-7384 | libs/agno/agno/db/sqlite/sqlite.py:9336-9342 | libs/agno/agno/db/sqlite/sqlite.py:9469-9475 | libs/agno/agno/db/sqlite/sqlite.py:9585-9591 | libs/agno/agno/db/sqlite/sqlite.py:9838-9844 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7650}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aa4c682ee921d8f01ac9b1ff6022a3aea44d0d3406346744e17c2af0291d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): libs/agno/agno/db/mysql/async_mysql.py:1899-1905 | libs/agno/agno/db/mysql/mysql.py:1903-1909 | libs/agno/agno/db/postgres/async_postgres.py:2302-2308 | libs/agno/agno/db/postgres/async_postgres.py:4212-4219 | libs/agno/agno/db/postgres/postgres.py:2793-2799 | libs/agno/agno/db/postgres/postgres.py:4748-4755 | libs/agno/agno/db/singlestore/singlestore.py:1926-1932 | libs/agno/agno/db/sqlite/async_sqlite.py:2460-2467 | libs/agno/agno/db/sqlite/async_sqlite.py:4415-4422 | libs/agno/agno/db/sqlite/sqlite.py:2728-2735 | libs/agno/agno/db/sqlite/sqlite.py:4627-4634 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebbb61495823f1814ac8a09c200753da75abd2dafb21948c54c9c4936d59260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): libs/agno/agno/db/mysql/async_mysql.py:4357-4363 | libs/agno/agno/db/mysql/mysql.py:4297-4303 | libs/agno/agno/db/postgres/async_postgres.py:4646-4652 | libs/agno/agno/db/postgres/async_postgres.py:5088-5095 | libs/agno/agno/db/postgres/postgres.py:5182-5188 | libs/agno/agno/db/postgres/postgres.py:5619-5626 | libs/agno/agno/db/singlestore/singlestore.py:4201-4207 | libs/agno/agno/db/sqlite/async_sqlite.py:4845-4851 | libs/agno/agno/db/sqlite/async_sqlite.py:5274-5281 | libs/agno/agno/db/sqlite/sqlite.py:5004-5010 | libs/agno/agno/db/sqlite/sqlite.py:5427-5434 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:4364\u0060 calls \u0060where\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:5097\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4357}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0879b92cecf5e1801b6bf06baa4f78101831a0ff51f5e3c978975ae7e772f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:714-720 | libs/agno/agno/db/mysql/mysql.py:707-713 | libs/agno/agno/db/postgres/async_postgres.py:1017-1023 | libs/agno/agno/db/postgres/postgres.py:1171-1177 | libs/agno/agno/db/singlestore/singlestore.py:783-789 | libs/agno/agno/db/sqlite/async_sqlite.py:968-974 | libs/agno/agno/db/sqlite/sqlite.py:1160-1166 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fcb4f9d1ab6cac80d2bf04f80f16bbfbb07d5de0de4f3701d31ed7f755ab27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3152-3158 | libs/agno/agno/db/mysql/mysql.py:3093-3099 | libs/agno/agno/db/postgres/async_postgres.py:3396-3402 | libs/agno/agno/db/postgres/postgres.py:3917-3923 | libs/agno/agno/db/singlestore/singlestore.py:3086-3092 | libs/agno/agno/db/sqlite/async_sqlite.py:3636-3642 | libs/agno/agno/db/sqlite/sqlite.py:3851-3857 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e831358ee398861951251174d63c26921759d7d9b87e6fd33d6fd686c9e26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:3304-3310 | libs/agno/agno/db/mysql/mysql.py:3246-3252 | libs/agno/agno/db/postgres/async_postgres.py:3559-3565 | libs/agno/agno/db/postgres/postgres.py:4082-4088 | libs/agno/agno/db/singlestore/singlestore.py:3239-3245 | libs/agno/agno/db/sqlite/async_sqlite.py:3800-3806 | libs/agno/agno/db/sqlite/sqlite.py:4016-4022 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da994661f26e6e487cb2279d8014f366520dd423323b9242993b44b956af877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): libs/agno/agno/db/base.py:540-546 | libs/agno/agno/db/base.py:3010-3016 | libs/agno/agno/db/postgres/async_postgres.py:357-363 | libs/agno/agno/db/postgres/postgres.py:393-399 | libs/agno/agno/db/sqlite/async_sqlite.py:343-349 | libs/agno/agno/db/sqlite/sqlite.py:394-400 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/base.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe52fa95339ace4a95f9a194dcdd989cc4b8a5588c6283f3b070e981cbc37e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): libs/agno/agno/db/mongo/async_mongo.py:1389-1397 | libs/agno/agno/db/mongo/mongo.py:1200-1208 | libs/agno/agno/db/mysql/mysql.py:1457-1463 | libs/agno/agno/db/redis/redis.py:1098-1106 | libs/agno/agno/db/singlestore/singlestore.py:1504-1511 | libs/agno/agno/db/valkey/valkey.py:1252-1260 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a6f2502640f86f9a70bac990b5f2ab3d66fd775354f7e5b4c4eca80df49bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): libs/agno/agno/db/sqlite/async_sqlite.py:2076-2082 | libs/agno/agno/db/sqlite/async_sqlite.py:2148-2154 | libs/agno/agno/db/sqlite/async_sqlite.py:2220-2226 | libs/agno/agno/db/sqlite/sqlite.py:2344-2350 | libs/agno/agno/db/sqlite/sqlite.py:2416-2422 | libs/agno/agno/db/sqlite/sqlite.py:2488-2494 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2076\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ae52193ca6ebadbd06ebb37d2e3e6f86de990fe297af52fa031527f2c26829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): libs/agno/agno/tools/studio_runner.py:2790-2796 | libs/agno/agno/tools/studio_runner.py:2856-2862 | libs/agno/agno/tools/studio_runner.py:2922-2928 | libs/agno/agno/tools/studio_runner.py:2988-2994 | libs/agno/agno/tools/studio_runner.py:3056-3062 | libs/agno/agno/tools/studio_runner.py:3122-3128 \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. 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52f2a0c228bc6e951544aa23a859493e8eeefff29f765fbce9f9548db4201eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): libs/agno/agno/tools/studio_runner.py:2800-2806 | libs/agno/agno/tools/studio_runner.py:2866-2872 | libs/agno/agno/tools/studio_runner.py:2932-2938 | libs/agno/agno/tools/studio_runner.py:3001-3007 | libs/agno/agno/tools/studio_runner.py:3067-3073 | libs/agno/agno/tools/studio_runner.py:3135-3141 \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. 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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc3fc6af28a47c7637cd5467e02e8fdee01547b9eb86b8d6a94adffceeaea03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): libs/agno/agno/db/postgres/async_postgres.py:8273-8279 | libs/agno/agno/db/postgres/postgres.py:11002-11008 | libs/agno/agno/db/sql/company.py:259-265 | libs/agno/agno/db/sqlite/async_sqlite.py:7487-7493 | libs/agno/agno/db/sqlite/sqlite.py:9943-9949 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060user_id\u0060 to \u0060Optional[str] = None\u0060 in one and \u0060Optional[str]\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8273}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb113e74ee0397fae23b786e6f117ff09ee11614da540f0758181f91d2444259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): libs/agno/agno/utils/pprint.py:49-55 | libs/agno/agno/utils/pprint.py:132-138 | libs/agno/agno/utils/print_response/agent.py:143-149 | libs/agno/agno/utils/print_response/agent.py:348-354 | libs/agno/agno/utils/print_response/agent.py:891-897 \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":"libs/agno/agno/utils/pprint.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2243a58470f39ea6eba85cc26eb31a49bc7b71a739243f7154a6e55b51439e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): cookbook/05_agent_os/21_factories/01_basic.py:83-91 | cookbook/05_agent_os/21_factories/02_with_input_schema.py:75-83 | cookbook/05_agent_os/21_factories/05_team_factory.py:93-99 | cookbook/05_agent_os/21_factories/06_workflow_factory.py:97-105 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/05_agent_os/21_factories/01_basic.py:83\u0060 it does not close everything it opens, so those exact 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":"cookbook/05_agent_os/21_factories/01_basic.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd935d7be36caaff5d7986458c0985faa952b9c5c43246917ed24281c3789694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2743-2749 | libs/agno/agno/db/postgres/postgres.py:3563-3569 | libs/agno/agno/db/singlestore/singlestore.py:2742-2748 | libs/agno/agno/db/sqlite/sqlite.py:3501-3507 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2743\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/postgres.py:3571\u0060 calls \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:2750\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f7219f29a2b57430ed8b597d1f5c5988dde6dc3395d7c1bcdc8693c69389cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:1636-1642 | libs/agno/agno/db/postgres/postgres.py:1809-1815 | libs/agno/agno/db/sqlite/async_sqlite.py:1563-1569 | libs/agno/agno/db/sqlite/sqlite.py:1772-1778 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991874e48d484f87a8832dc98ede7627b94c881ae813f145c13eb9e5f9341c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2861-2867 | libs/agno/agno/db/postgres/postgres.py:3430-3436 | libs/agno/agno/db/sqlite/async_sqlite.py:3100-3106 | libs/agno/agno/db/sqlite/sqlite.py:3368-3374 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"967b9edd8bf667c87cf723b57a203a297f7bdc9a3d9d365d67d79b73b939179d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5193-5199 | libs/agno/agno/db/postgres/postgres.py:7916-7922 | libs/agno/agno/db/sqlite/async_sqlite.py:5378-5384 | libs/agno/agno/db/sqlite/sqlite.py:7706-7712 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b9567149b4634c908bbb5fb85f92e90849b32f256a08229e225ff47b270a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5639-5645 | libs/agno/agno/db/postgres/postgres.py:8355-8361 | libs/agno/agno/db/sqlite/async_sqlite.py:5764-5770 | libs/agno/agno/db/sqlite/sqlite.py:8142-8148 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5639}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4627770b51ad850b4b349240a3c1303f7aa9640b8512120d11c19dad36da5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5949-5955 | libs/agno/agno/db/postgres/async_postgres.py:7327-7333 | libs/agno/agno/db/sqlite/async_sqlite.py:6091-6097 | libs/agno/agno/db/sqlite/async_sqlite.py:6543-6549 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f38a3fdedd9979c659499bb73291997215f76379d3a21e300b077d1469fb128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7624-7630 | libs/agno/agno/db/postgres/postgres.py:10369-10375 | libs/agno/agno/db/sqlite/async_sqlite.py:6838-6844 | libs/agno/agno/db/sqlite/sqlite.py:9310-9316 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e401e001c0b5d011a9a531c38f48410b4c594930c928b752594b5a4fe93f6593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7677-7683 | libs/agno/agno/db/postgres/postgres.py:10422-10428 | libs/agno/agno/db/sqlite/async_sqlite.py:6891-6897 | libs/agno/agno/db/sqlite/sqlite.py:9363-9369 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5b1cdf708f95f2471d6806fc987057a85ec2cd879a700440248925c0b58bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7815-7821 | libs/agno/agno/db/postgres/postgres.py:10554-10560 | libs/agno/agno/db/sqlite/async_sqlite.py:7029-7035 | libs/agno/agno/db/sqlite/sqlite.py:9495-9501 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7815}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bf4acbad1167bed498bc260a44519d0bfaed6b5757a57afce1afd7c0da02cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/redis/redis.py:2092-2099 | libs/agno/agno/db/redis/redis.py:2119-2125 | libs/agno/agno/db/valkey/valkey.py:2427-2434 | libs/agno/agno/db/valkey/valkey.py:2459-2465 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/redis/redis.py:2092\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cc08aa0055b6b469923bb1fe2ba0e0c93f25ed1734a7cb90d9ed7ca825d553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/os/routers/agents/router.py:2412-2418 | libs/agno/agno/os/routers/agents/router.py:2477-2483 | libs/agno/agno/os/routers/teams/router.py:2223-2229 | libs/agno/agno/os/routers/teams/router.py:2288-2294 \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060 and \u0060libs/agno/agno/os/routers/teams/router.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 35 separate duplicated blocks between them, totalling at least 880 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"c600e32b513d6776328891ff16af683272a51f346c30619d30b9953dcaa0ec61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/team/_run.py:5436-5443 | libs/agno/agno/team/_run.py:5496-5503 | libs/agno/agno/team/_run.py:5570-5576 | libs/agno/agno/team/_run.py:5650-5657 \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 \u0060libs/agno/agno/team/_run.py:5436\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":5436}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db92169b8fed07bc6d794f614cace2b56764b7cbb42959289debaa83430d0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/tools/serper.py:132-139 | libs/agno/agno/tools/serper.py:171-178 | libs/agno/agno/tools/serper.py:210-217 | libs/agno/agno/tools/serper.py:250-257 \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. 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":"libs/agno/agno/tools/serper.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2fa70befa6af01760e67e041df8b23e423c90794ab4eb1d36bfce65046ab99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/workflow/condition.py:219-225 | libs/agno/agno/workflow/loop.py:223-229 | libs/agno/agno/workflow/router.py:261-267 | libs/agno/agno/workflow/steps.py:134-140 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:219\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"719fb1fcc723755c45edf56183b988491016cc5bebb0a1c73995ee0b0616baf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/workflow/condition.py:223-229 | libs/agno/agno/workflow/loop.py:227-233 | libs/agno/agno/workflow/parallel.py:130-136 | libs/agno/agno/workflow/router.py:265-271 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:223\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b45150c04b09eec5ae6b3a6c80069bc5419af7ebbb1711c3e0870636b7fbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/workflow/loop.py:231-237 | libs/agno/agno/workflow/parallel.py:134-140 | libs/agno/agno/workflow/router.py:269-275 | libs/agno/agno/workflow/steps.py:142-148 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/loop.py:231\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e939fdd70d6db69c48ea6cd45f78d267e6230497769d6d4e7649fb47bcc2008d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/workflow/router.py:803-809 | libs/agno/agno/workflow/router.py:930-936 | libs/agno/agno/workflow/router.py:1142-1148 | libs/agno/agno/workflow/router.py:1271-1277 \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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"389de6bc3374ec97adf575a9a1c5f7711dc072412fd4e4bc99db3b7011a34781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/db/dynamo/dynamo.py:631-637 | libs/agno/agno/db/redis/redis.py:686-692 | libs/agno/agno/db/valkey/valkey.py:791-797 \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. 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd2e91d1ef82f01b4a369ad8e31c0ff2cacb05e06b6023d11b54e18d4ce3c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2609-2615 | libs/agno/agno/db/mysql/mysql.py:2599-2605 | libs/agno/agno/db/singlestore/singlestore.py:2591-2597 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fe65f03d1d42715ca5d635a99f07fbc9c701b248c75ef7039338adba1bf161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:369-375 | libs/agno/agno/db/postgres/postgres.py:654-660 | libs/agno/agno/db/singlestore/singlestore.py:475-481 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/mysql/mysql.py:376\u0060 calls \u0060log_info\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:662\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3745c5d4dcc3bdd4875b8a17bf6af5a70321e6fe38fbe7b0b5b935ef4ab042d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:506-512 | libs/agno/agno/db/singlestore/singlestore.py:359-365 | libs/agno/agno/db/sqlite/sqlite.py:516-522 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 144 separate duplicated blocks between them, totalling at least 2636 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:503\u0060 calls \u0060pop\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.py:358\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca426d8ea2623ad9c081e850524834476d55d501f331f4ea69081420871e8af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/fs/base.py:35-41 | libs/agno/agno/tools/file/file.py:51-57 | libs/agno/agno/tools/workspace.py:174-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/fs/base.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede9101289c7bd3e664056792f92613b419686a6edcb20f6f0e56fa75a0e2bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/knowledge/embedder/azure_openai.py:191-198 | libs/agno/agno/knowledge/embedder/mistral.py:174-180 | libs/agno/agno/knowledge/embedder/voyageai.py:140-146 \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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11874241002fd3264c93a958b026b1add3e2b5f068358bf5865a1a7f2014815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/learn/stores/session_context.py:447-453 | libs/agno/agno/learn/stores/user_memory.py:605-611 | libs/agno/agno/learn/stores/user_profile.py:767-773 \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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"048ee786d65af8dd49576a6faec9e4cea85482b35884b5070df6b7811309bc07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/os/routers/agents/router.py:187-193 | libs/agno/agno/os/routers/agents/router.py:283-289 | libs/agno/agno/os/routers/agents/router.py:488-494 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/agents/router.py:187\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d557f0a4fec073998418678c0264a1b6d2df76bdd89d2280fd026e14ae89cf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/os/routers/registry/registry.py:461-467 | libs/agno/agno/os/routers/registry/registry.py:480-486 | libs/agno/agno/os/routers/registry/registry.py:498-507 \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 \u0060libs/agno/agno/os/routers/registry/registry.py:461\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/os/routers/registry/registry.py:469\u0060 calls \u0060_sandboxed\u0060 and \u0060libs/agno/agno/os/routers/registry/registry.py:488\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":"libs/agno/agno/os/routers/registry/registry.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"940b1bb37a68107862bc17d0f9617c93808494d56e14852f73ec2cc3c1bf08f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/os/routers/workflows/router.py:1225-1231 | libs/agno/agno/os/routers/workflows/router.py:1400-1406 | libs/agno/agno/workflow/workflow.py:5304-5312 \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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2e1c664f94b276f72c651ede3b4d5e7690b43617605f428f51078867742db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/team/_run.py:555-562 | libs/agno/agno/team/_run.py:1415-1427 | libs/agno/agno/team/_run.py:8450-8456 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54b88a7560a45da3f72f893315c30810c0b650ecbe5b6ccf30e615db15b0bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/tools/file/generation.py:121-127 | libs/agno/agno/tools/slack.py:220-226 | libs/agno/agno/tools/telegram.py:72-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/file/generation.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c16d0caed6cc788edc88465a3d7f53ad50976b87b682dcc7f82cafa1d31a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/workflow/condition.py:211-217 | libs/agno/agno/workflow/loop.py:215-221 | libs/agno/agno/workflow/parallel.py:118-124 \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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31b9c8ce382a5d7539760ccc6cf30125d7cc3b4516d42899bcdf3608bd7b4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/workflow/condition.py:227-233 | libs/agno/agno/workflow/parallel.py:126-132 | libs/agno/agno/workflow/steps.py:138-144 \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 \u0060libs/agno/agno/workflow/condition.py:227\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f57f238825b5899a3f65d32bc79fd3dba962ef21bfe7a478a032eb28d462e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 4): libs/agno/agno/workflow/condition.py:309-311 | libs/agno/agno/workflow/loop.py:359-365 | libs/agno/agno/workflow/parallel.py:165-171 | libs/agno/agno/workflow/steps.py:182-188 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.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. 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, \u0060libs/agno/agno/workflow/loop.py:365\u0060 calls \u0060isinstance\u0060, \u0060Step\u0060 and \u0060libs/agno/agno/workflow/condition.py:311\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"33163c1efac9e687f38bb22df1d35bd0545bc6c921ce5a75082716a3ed804cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cookbook/02_agents/03_context_management/compaction/compaction_async_token_counter.py:47-53 | cookbook/02_agents/03_context_management/compaction/compaction_threshold_room.py: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. 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":"cookbook/02_agents/03_context_management/compaction/compaction_async_token_counter.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f530e2e4a2e39a84dcfef289f31f6293dd0d09333b6750c07dc2ad0f76fcde2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cookbook/05_agent_os/14_mcp/inspect_tools.py:149-155 | cookbook/05_agent_os/14_mcp/inspect_tools.py:170-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cookbook/05_agent_os/14_mcp/inspect_tools.py:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/14_mcp/inspect_tools.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccc356026e2027e39734ab2e0f423a3d644d859e0ea39e946c092ba93a79216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cookbook/data_labeling/_19_inter_annotator_agreement/basic.py:127-133 | cookbook/data_labeling/_19_inter_annotator_agreement/jury_votes.py:160-166 \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":"cookbook/data_labeling/_19_inter_annotator_agreement/basic.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f457d8cfe671ad77a692f4516b6295a501af55b495d0c5e673f2e668a75879cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cookbook/performance/comparison/import_time_comparison.py:33-39 | cookbook/performance/import_time.py:90-96 \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":"cookbook/performance/comparison/import_time_comparison.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7886d846c3e18236fe813b786c909e68eb8e9686f34c83ed08649a8e84da0029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/agent/_response.py:988-994 | libs/agno/agno/team/_response.py:946-952 \u2014 \u0060libs/agno/agno/agent/_response.py\u0060 and \u0060libs/agno/agno/team/_response.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 21 separate duplicated blocks between them, totalling at least 335 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1d9b4e1a9a064d481cd54f344adbb0ac25bf894cca6daac774aefaba98b51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/client/a2a/client.py:189-195 | libs/agno/agno/client/a2a/client.py:197-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/client/a2a/client.py:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"160551c696f123f8e23ae71dd0432bf2cab2becbc896d6a980163aa52efc149e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/dynamo/utils.py:112-118 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2403-2409 \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":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"29faa6b18f3dd742a903cbaede6498be2364c233f9d5a5d956d69dad19f85c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2036-2042 | libs/agno/agno/db/mongo/mongo.py:2150-2156 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"263f18e94b9763f5b06587e68c25039cf19ae336b213ed667c6339eda7a51f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:624-630 | libs/agno/agno/db/migrations/versions/v3_0_0.py:638-644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:624\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c4920215d605cf7bef29109443d490f1033c1ec3a49d714f5934b4b81bc477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:4496-4502 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4563-4568 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4496}}}],"partialFingerprints":{"codehealthFindingId/v1":"721250a4f84ade957134f6defb0ee4c632cf70e8931f384a4bff8ec4337882b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:704-710 | libs/agno/agno/db/mongo/mongo.py:506-512 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5123d1866502985b688974ae54c96a6517865be150052a4c780a2c77428075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:889-895 | libs/agno/agno/db/mongo/async_mongo.py:1175-1181 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/db/mongo/async_mongo.py:887\u0060 calls \u0060sort\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py:1172\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b6d583320e40a9e9207063b8f85e68a343abc4ebb17295413e7a94dada8695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2266-2272 | libs/agno/agno/db/mongo/mongo.py:2061-2067 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94be0971b135859ac58da0924b0dcfe96955d2d0a6f91681cdb97bd8ba9330f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:2354-2360 | libs/agno/agno/db/mongo/mongo.py:2148-2155 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mongo/async_mongo.py:2354\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/mongo/async_mongo.py:2353\u0060 calls \u0060to_list\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py:2147\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a78489d5931864512988da59e88885098399623d6c91270fdb56f08c7fcb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:345-351 | libs/agno/agno/db/sqlite/async_sqlite.py:519-528 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 139 separate duplicated blocks between them, totalling at least 2642 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:519\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2afb96353b88786fb201805ab8a0fbada56cead9591493ee51df0586509db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:4236-4239 | libs/agno/agno/db/mysql/mysql.py:4178-4184 | libs/agno/agno/db/singlestore/singlestore.py:4082-4088 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:4236\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc7225768b7ae8c0d851bf20c4643cab76dd9b7da2f9792ffab1301208c838e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:530-535 | libs/agno/agno/db/sqlite/utils.py:518-524 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:530\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"63deec66b595ee01cede38b805f1a2e343b60aa4eb83f74a6381a3b291ed4fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:819-825 | libs/agno/agno/db/sqlite/utils.py:784-790 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:819\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"992dcfae2fe8154a568c5a5e2b1c5f9a25cd9964eacfe4bcf2283360774045cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:853-859 | libs/agno/agno/db/sqlite/utils.py:804-810 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 15 separate duplicated blocks between them, totalling at least 221 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb6d4f6b0f56cab8e80e57c279a67e5e9ef1bd69b2279d113e2cc46efc7176d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1626-1632 | libs/agno/agno/db/sqlite/async_sqlite.py:1553-1559 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60cb08362be17d3ebded52c223c5a5d696965326a93e012b5f1bce874dc7c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2757-2763 | libs/agno/agno/db/postgres/postgres.py:3321-3328 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2757\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3871e7464b2c5026cd46363d00a4617aed28c7d773d6aafac8b47f9db343af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6414-6420 | libs/agno/agno/db/postgres/postgres.py:9106-9112 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6414}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b2efb685dfd82aa0089eda9346ea72c737f26d7b3200005e53176af62f0412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7229-7242 | libs/agno/agno/db/sqlite/async_sqlite.py:6441-6454 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b5591b0e70976892252605d5ea8046662e3d35894e98f3ce239e6c3308c635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7637-7644 | libs/agno/agno/db/sqlite/async_sqlite.py:6851-6858 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d459d1e6f1dcf083e5ec829409d136a43426ad3db43eeea4212b3ffa6d7336f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7764-7770 | libs/agno/agno/db/sqlite/async_sqlite.py:6978-6984 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e5adca9ce771a197f6030032bde11bc0c67dc9e2bac3c578c3388006713c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7775-7783 | libs/agno/agno/db/sqlite/async_sqlite.py:6989-6997 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7775}}}],"partialFingerprints":{"codehealthFindingId/v1":"83876c7742cc8bd9e574697b44e7eca386dc1a8b68dc5d26a0f7fcba5175c48f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7849-7857 | libs/agno/agno/db/sqlite/async_sqlite.py:7063-7071 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7849}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca29c7b9845cecb579c66b32d4f6791518beda09c319331c75d0eb243e038a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7984-7992 | libs/agno/agno/db/sqlite/async_sqlite.py:7198-7206 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7984}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeef731abd28858a8e092c2a05272ef18ea6f0073599ba2c428ef820f2d4864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1864-1871 | libs/agno/agno/db/sqlite/sqlite.py:1827-1834 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458514917cc4cfb2a8bdfd8951dea2b23ea7379efd69b2f71838b6dcbb2976a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:8259-8272 | libs/agno/agno/db/sqlite/sqlite.py:8046-8059 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f2f9136b88d2ab6ab4ef14a084229e98f87a285d8c86daf4f09767548557b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9983-9995 | libs/agno/agno/db/sqlite/sqlite.py:8927-8939 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9983}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c06312c8781057b473bda2ba89f2e2add1f17d09ec01f169e9a4daf5d7db12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10494-10500 | libs/agno/agno/db/sqlite/sqlite.py:9435-9441 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10494}}}],"partialFingerprints":{"codehealthFindingId/v1":"374502994dd6525628f58e7a9f59c10045b514e3de82f7b07a2db3bcf5b8ac66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/singlestore/singlestore.py:275-281 | libs/agno/agno/db/singlestore/singlestore.py:364-370 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"97416cf0822a2a4a745b55b88d14308938ed31765de60650b11232973b9a512a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2995-3001 | libs/agno/agno/db/sqlite/sqlite.py:3259-3265 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sqlite/async_sqlite.py:2995\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8564fde7eb09e484da017f30a2e218e3d76a7ec24b5fb3d735b793741b6722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/utils.py:1619-1626 | libs/agno/agno/db/utils.py:1691-1698 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6156225eb52b7c97e6a8fee111880977758b03b377a8eb427aa1af091fe8fd76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/fs/fs.py:533-539 | libs/agno/agno/fs/fs.py:737-743 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4d42370ec2f997967144ea8442732ff93fdeb09788934727ad0808142e94ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/fs/fs.py:573-579 | libs/agno/agno/fs/fs.py:779-785 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/fs.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a594379d6f8a4eac426c081a82e2b84baf432f1114f9b7449a9893459c8af90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/knowledge/embedder/ollama.py:104-110 | libs/agno/agno/knowledge/embedder/ollama.py:140-146 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/ollama.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"74236439f47a1db6914836b42b512b8eb730d1acc98d0c3802b57d552869fd8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:1495-1501 | libs/agno/agno/knowledge/knowledge.py:1592-1598 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b359bbcc65a15258c5bc2ad5993cb76c265ffa853c864a44974af74e04138c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:1545-1552 | libs/agno/agno/knowledge/knowledge.py:1565-1572 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6f92e2558ee2cb8b81fd06c03ffdb2d9f39f4f943036f4c0a882972171dbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/knowledge/knowledge.py:3878-3884 | libs/agno/agno/knowledge/knowledge.py:3991-3997 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3878}}}],"partialFingerprints":{"codehealthFindingId/v1":"515e1eabe59f0b07838c07f6f4076cca9b3e78d030ad4bfe41f0ab850e761feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:376-382 | libs/agno/agno/knowledge/loaders/github.py:534-541 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10fc69df946286f80598caa3ea807d3aebe2ceb89428edfd0359241c04ccc52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:3716-3722 | libs/agno/agno/learn/stores/entity_memory.py:3730-3736 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/learn/stores/entity_memory.py:3737\u0060 calls \u0060get\u0060 and \u0060libs/agno/agno/learn/stores/entity_memory.py:3723\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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":3716}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2fd818a8e0e9098fb5fd22f3f26039a1c9f26048f8a693355ec0d58f07d800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/models/cerebras/cerebras.py:269-275 | libs/agno/agno/models/huggingface/huggingface.py:269-275 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d3ce7ec1447f2c51af2c906292a784bff190358fb97871c70b3e64229869fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/models/cerebras/cerebras.py:304-310 | libs/agno/agno/models/huggingface/huggingface.py:300-306 \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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd802a2c17cdb46f12ba10b33465d382efa7af8a23a3e210180550c106b97a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/models/fallback.py:407-413 | libs/agno/agno/models/fallback.py:436-442 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/fallback.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7239447ef5b6d2179ce5be1bce767eaa1e0b73f13106de3c85bec70ad99baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/models/google/gemini_interactions.py:709-715 | libs/agno/agno/models/google/gemini_interactions.py:766-772 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/models/google/gemini_interactions.py:709\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb3ea0ee9c24ce24787eee5e7fd92f72528bf77f26638c35b451fac188c8d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/models/google/gemini_interactions.py:939-945 | libs/agno/agno/models/google/gemini_interactions.py:1192-1198 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/models/google/gemini_interactions.py:1199\u0060 calls \u0060hasattr\u0060 and \u0060libs/agno/agno/models/google/gemini_interactions.py:947\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":"libs/agno/agno/models/google/gemini_interactions.py"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e85cb69a058d0eb0770f515b23c2005f8954ab9d11408c0ee66c66faf65e6ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/os/manager/manager.py:126-133 | libs/agno/agno/os/manager/manager.py:150-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. 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":"libs/agno/agno/os/manager/manager.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d214f09e8192b9458e0bd33d18253cd02a52eedd8096b4777b7df1f6181f9e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/os/routers/agents/schema.py:329-335 | libs/agno/agno/os/routers/teams/schema.py:311-317 \u2014 \u0060libs/agno/agno/os/routers/agents/schema.py\u0060 and \u0060libs/agno/agno/os/routers/teams/schema.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 157 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"420a151cc6eb9ade1e30fd5eb65dddf87f384a23759177ef934ec4e6281dceec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/os/routers/components/components.py:1216-1222 | libs/agno/agno/os/routers/components/components.py:1560-1568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/components/components.py:1560\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec52cca4ebed0e224f1356a7b3731282448e2526e7f0a8e8b20597ee54a2028f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): libs/agno/agno/os/routers/session/session.py:616-622 | libs/agno/agno/os/routers/session/session.py:1390-1396 | libs/agno/agno/os/routers/session/session.py:1495-1497 \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 \u0060libs/agno/agno/os/routers/session/session.py:616\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/session/session.py:1387\u0060 calls \u0060Body\u0060 and \u0060libs/agno/agno/os/routers/session/session.py:613\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":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b84e4e2380af7ed4def01bb811894f7df4f5b00d021367ad814935d5788e95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/os/routers/session/session.py:1188-1194 | libs/agno/agno/os/routers/session/session.py:1252-1258 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/os/routers/session/session.py:1248\u0060 calls \u0060HTTPException\u0060 and \u0060libs/agno/agno/os/routers/session/session.py:1185\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":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d1c46b7799643cad100eb8bb05a809c4407019053eb68ea023b301a0a21a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/agentos.py:438-444 | libs/agno/agno/tools/agentos.py: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. 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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f12f1c6d588194610f62e627edb2115b3cdab33c84d93491325a29a63639e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/atomic_mail.py:493-499 | libs/agno/agno/tools/atomic_mail.py:584-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 \u0060libs/agno/agno/tools/atomic_mail.py:493\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d9cf2b61f30bfaa1b5ef43f555c2131546808ce5e3e864682246794593139c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/llms_txt.py:85-91 | libs/agno/agno/tools/llms_txt.py:111-117 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/llms_txt.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9857f511eaa46a010a398e0c86617fe41168d78c3cf7093425111a7caad43bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/minimax.py:150-156 | libs/agno/agno/tools/minimax.py:232-238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/tools/minimax.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c842e10bca5c33ee3fa1ae49723668672d90348a37bf6e95243d0b17a58b6ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/openrouteservice.py:173-179 | libs/agno/agno/tools/openrouteservice.py:195-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. 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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e5229423fde0f4388e75617c5b620daf5404d7787572cc2dc35f1c15426a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/superserve.py:505-511 | libs/agno/agno/tools/superserve.py:783-789 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6845faee2d90bc478c5122745560adbf2ba19cbbdd5787d1fcf0a10e35a8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/tools/websearch.py:135-141 | libs/agno/agno/tools/websearch.py:166-172 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/websearch.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5376bffe22de8e557a230974bd71ed6fbcda56540884cb94f0c316612706bba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/utils/media.py:284-290 | libs/agno/agno/utils/media.py:298-304 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/media.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bed964e4e03e8f9ed698f58f58760aa2031d4d4eae55c39bc12f28521f0ac20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/utils/media_offload.py:567-574 | libs/agno/agno/utils/media_offload.py:674-681 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb28a284762c9c5f256043b762c526fd2c8797ad725c890e183f2166abdf714c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2279-2284 | libs/agno/agno/vectordb/opensearch/opensearch.py:2154-2160 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2288\u0060 calls \u0060next\u0060, \u0060iter\u0060, \u0060values\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.py:2161\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"55624d90ffdb1cc89286f505bdd9a2dfbca645e27520878911f9b00363bf11e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/vectordb/singlestore/singlestore.py:386-392 | libs/agno/agno/vectordb/singlestore/singlestore.py:836-842 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf9d692753d8aaebda4b4ceb115bc284e4f7e80257afe6da741d67442417050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/workflow/router.py:647-653 | libs/agno/agno/workflow/router.py:792-798 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/router.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07dec747d5c2cf35dc20f91efae1a171389ed4919244f74ebe0b500a67a560d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno_infra/agno/aws/resource/ec2/subnet.py:28-34 | libs/agno_infra/agno/aws/resource/ec2/subnet.py:46-52 \u2014 both copies are in the same file, so extract the block 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":"libs/agno_infra/agno/aws/resource/ec2/subnet.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d828e538c8ebdf69f10580df68e3254173d1a39d9028579b0cfb5bb733fb1fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno_infra/agno/infra/config.py:173-179 | libs/agno_infra/agno/infra/config.py:263-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"193a6dd1251a5ac8a8b577e2ce9f5b02434c860835af8841f5c6f4a60ef1098b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 33): libs/agno/agno/db/mysql/async_mysql.py:871-876 | libs/agno/agno/db/mysql/async_mysql.py:1902-1907 | libs/agno/agno/db/mysql/mysql.py:866-871 | libs/agno/agno/db/mysql/mysql.py:1906-1911 | libs/agno/agno/db/postgres/async_postgres.py:1254-1259 | libs/agno/agno/db/postgres/async_postgres.py:2305-2310 | libs/agno/agno/db/postgres/async_postgres.py:4216-4221 | libs/agno/agno/db/postgres/async_postgres.py:5196-5201 | libs/agno/agno/db/postgres/async_postgres.py:5389-5394 | libs/agno/agno/db/postgres/async_postgres.py:5452-5457 | libs/agno/agno/db/postgres/async_postgres.py:5525-5530 | libs/agno/agno/db/postgres/postgres.py:1408-1413 | libs/agno/agno/db/postgres/postgres.py:2796-2801 | libs/agno/agno/db/postgres/postgres.py:4752-4757 | libs/agno/agno/db/postgres/postgres.py:7919-7924 | libs/agno/agno/db/postgres/postgres.py:8113-8118 | libs/agno/agno/db/postgres/postgres.py:8177-8182 | libs/agno/agno/db/postgres/postgres.py:8248-8253 | libs/agno/agno/db/singlestore/singlestore.py:912-917 | libs/agno/agno/db/singlestore/singlestore.py:1929-1934 | libs/agno/agno/db/sqlite/async_sqlite.py:1209-1214 | libs/agno/agno/db/sqlite/async_sqlite.py:2464-2469 | libs/agno/agno/db/sqlite/async_sqlite.py:4419-4424 | libs/agno/agno/db/sqlite/async_sqlite.py:5381-5386 | libs/agno/agno/db/sqlite/async_sqlite.py:5578-5583 | libs/agno/agno/db/sqlite/async_sqlite.py:5649-5654 | libs/agno/agno/db/sqlite/sqlite.py:1404-1409 | libs/agno/agno/db/sqlite/sqlite.py:2732-2737 | libs/agno/agno/db/sqlite/sqlite.py:4631-4636 | libs/agno/agno/db/sqlite/sqlite.py:7709-7714 | libs/agno/agno/db/sqlite/sqlite.py:7903-7908 | libs/agno/agno/db/sqlite/sqlite.py:7965-7970 | libs/agno/agno/db/sqlite/sqlite.py:8035-8040 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060user_id\u0060 to \u0060Optional[str] = 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:5523\u0060 calls \u0060where\u0060, \u0060is_\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:870\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"a657588dbb4678a9a7be9384b42c02856375b98dac38d0eebb54736d731bcf63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14): libs/agno/agno/db/dynamo/dynamo.py:2789-2796 | libs/agno/agno/db/firestore/firestore.py:2502-2509 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1635-1642 | libs/agno/agno/db/in_memory/in_memory_db.py:1368-1375 | libs/agno/agno/db/json/json_db.py:1740-1747 | libs/agno/agno/db/mongo/async_mongo.py:2760-2767 | libs/agno/agno/db/mongo/mongo.py:2523-2530 | libs/agno/agno/db/mysql/async_mysql.py:3041-3048 | libs/agno/agno/db/mysql/mysql.py:2988-2995 | libs/agno/agno/db/postgres/async_postgres.py:3279-3286 | libs/agno/agno/db/postgres/postgres.py:3805-3812 | libs/agno/agno/db/singlestore/singlestore.py:2984-2991 | libs/agno/agno/db/sqlite/async_sqlite.py:3521-3528 | libs/agno/agno/db/sqlite/sqlite.py:3742-3749 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 14 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 14 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/dynamo/dynamo.py:2799\u0060 calls \u0060max\u0060, \u0060time\u0060 and \u0060libs/agno/agno/db/firestore/firestore.py:2510\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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b886f93c5e40d1fd3a1ccabfd5e4501d66ceb10510299c6d4eb2c10359884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): libs/agno/agno/team/_run.py:1410-1415 | libs/agno/agno/team/_run.py:1874-1879 | libs/agno/agno/team/_run.py:3413-3418 | libs/agno/agno/team/_run.py:4094-4099 | libs/agno/agno/team/_run.py:8445-8450 | libs/agno/agno/team/_run.py:8731-8736 | libs/agno/agno/team/_run.py:9887-9892 | libs/agno/agno/team/_run.py:10607-10612 \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. 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7eb5a584249365d6cb195eb32b6422b99b6eccd4ff9cacfb2665ce3aa283ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:4435-4448 | libs/agno/agno/db/mysql/mysql.py:4373-4386 | libs/agno/agno/db/postgres/async_postgres.py:4748-4761 | libs/agno/agno/db/postgres/postgres.py:5282-5295 | libs/agno/agno/db/singlestore/singlestore.py:4283-4296 | libs/agno/agno/db/sqlite/async_sqlite.py:4950-4963 | libs/agno/agno/db/sqlite/sqlite.py:5108-5121 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4435}}}],"partialFingerprints":{"codehealthFindingId/v1":"237a95cfa02a4e948072298de28c77138d1a1a65a09fb3d9b0f62e3fca9e50ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): libs/agno/agno/knowledge/embedder/aws_bedrock.py:351-356 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:419-424 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:464-469 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:486-491 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:510-515 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:538-543 | libs/agno/agno/knowledge/embedder/aws_bedrock.py:570-575 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2df2b9d4ae29e2419aa2f8a5110d9ce06b7fb2552e39ae0d31d6581cab5e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:1222-1227 | libs/agno/agno/db/mysql/mysql.py:1238-1243 | libs/agno/agno/db/postgres/async_postgres.py:1849-1854 | libs/agno/agno/db/postgres/postgres.py:2085-2090 | libs/agno/agno/db/singlestore/singlestore.py:1288-1294 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329c7b52caa22d387a417be1654f83ec37230b5880d1b623144bc07fdc36a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): libs/agno/agno/db/postgres/async_postgres.py:2568-2573 | libs/agno/agno/db/postgres/postgres.py:3131-3136 | libs/agno/agno/db/singlestore/singlestore.py:2261-2266 | libs/agno/agno/db/sqlite/async_sqlite.py:2816-2821 | libs/agno/agno/db/sqlite/sqlite.py:3078-3083 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a393b3fc9a71530b441c879299b2772c83eeb12854f718c4cdb29f6ffda4f60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:2505-2510 | libs/agno/agno/db/mongo/mongo.py:2290-2295 | libs/agno/agno/db/redis/redis.py:2259-2264 | libs/agno/agno/db/valkey/valkey.py:2591-2596 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/mongo/async_mongo.py:2500\u0060 calls \u0060sleep\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py:2285\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bab4bbc84b92308bd71e8c30bddecc63d14e70db8622fc17c65a493b2b93b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:4831-4837 | libs/agno/agno/db/postgres/postgres.py:5365-5371 | libs/agno/agno/db/sqlite/async_sqlite.py:5032-5038 | libs/agno/agno/db/sqlite/sqlite.py:5190-5196 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":4831}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92b3a25ff4bf8e16fb9560ee635b42a5a6138eb6ab74f7f709b0ab5c47a52f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7311-7316 | libs/agno/agno/db/postgres/postgres.py:10062-10069 | libs/agno/agno/db/sqlite/async_sqlite.py:6525-6532 | libs/agno/agno/db/sqlite/sqlite.py:9005-9012 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7311}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b3a9270ac27838861a3e062d960307523214e0924efe8fa1e81dceb84e21a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7851-7856 | libs/agno/agno/db/postgres/async_postgres.py:7986-7991 | libs/agno/agno/db/sqlite/async_sqlite.py:7065-7070 | libs/agno/agno/db/sqlite/async_sqlite.py:7200-7205 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7851}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b31f2a817cc30052c5241c3b6e85e02cc323bbfdd2145fcfc58e69bcba788fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7967-7973 | libs/agno/agno/db/postgres/postgres.py:10704-10710 | libs/agno/agno/db/sqlite/async_sqlite.py:7181-7187 | libs/agno/agno/db/sqlite/sqlite.py:9645-9651 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7967}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f103508bc6da8d8120036adf1c5a550ca02116396d464ac6c7fe00043b5450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8243-8251 | libs/agno/agno/db/postgres/postgres.py:10976-10984 | libs/agno/agno/db/sqlite/async_sqlite.py:7457-7465 | libs/agno/agno/db/sqlite/sqlite.py:9917-9925 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292ace8e1ffa9c366395c1316b37efc23b550597e014e430421ad76164178a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:8688-8693 | libs/agno/agno/db/postgres/postgres.py:10080-10085 | libs/agno/agno/db/sqlite/sqlite.py:8492-8497 | libs/agno/agno/db/sqlite/sqlite.py:9023-9028 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":8688}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbeec5acd26020fc04ad1149d9cbd4b9f0831f7510b40cedfe579f023d8d620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/team/_run.py:2468-2473 | libs/agno/agno/team/_run.py:3017-3022 | libs/agno/agno/team/_run.py:9892-9897 | libs/agno/agno/team/_run.py:10612-10617 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c45f92ec05c2339718fb1a8224a585b54d51a664877ade7d14bc724997e3b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/tools/gitlab.py:288-293 | libs/agno/agno/tools/gitlab.py:361-366 | libs/agno/agno/tools/gitlab.py:437-442 | libs/agno/agno/tools/gitlab.py:515-520 \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. 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":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4576b535f91a92d12692e444790a168462054dc354b53c2b7edb2775f43d1702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/client/a2a/client.py:189-194 | libs/agno/agno/client/a2a/client.py:197-202 | libs/agno/agno/client/a2a/client.py:205-210 \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 \u0060libs/agno/agno/client/a2a/client.py:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/client.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a5c41dac44d24f5529778e0a6b893fe1239881f87ab0bbbda24d2544da3c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/db/firestore/firestore.py:986-993 | libs/agno/agno/db/mongo/async_mongo.py:1188-1195 | libs/agno/agno/db/mongo/mongo.py:1001-1006 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 80 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 \u0060libs/agno/agno/db/firestore/firestore.py:986\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"61400da170b5d7a2b37a75b77208de3a04eb9042227605497f1c0714e825256b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:954-959 | libs/agno/agno/db/postgres/async_postgres.py:1349-1358 | libs/agno/agno/db/sqlite/async_sqlite.py:1311-1320 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"c451147d371313781532281fba7d29b21f2261a6f4ee33a3aae4658829e4fb40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:2761-2767 | libs/agno/agno/db/postgres/async_postgres.py:3002-3008 | libs/agno/agno/db/sqlite/async_sqlite.py:3242-3248 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:2761\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/db/postgres/async_postgres.py:3010\u0060 calls \u0060execute\u0060, \u0060text\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:2768\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2761}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0ecfb76cb74b2e10d24bbf4b17073fda7f4db0381ebea7ccf75c47d4f9c294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/db/mysql/utils.py:931-937 | libs/agno/agno/db/postgres/utils.py:872-877 | libs/agno/agno/db/sqlite/utils.py:882-887 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c47d071e86af555005659ea128f32dcce9162defa6a9a87aec0c8e4f51e26f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/db/postgres/postgres.py:9407-9412 | libs/agno/agno/db/postgres/postgres.py:9648-9653 | libs/agno/agno/db/sqlite/sqlite.py:8592-8597 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aea382a3350ddfdfa17b28329f412514b7ed18e9ce5a25326b5e2e7d7ecf58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/os/routers/approvals/router.py:53-58 | libs/agno/agno/os/routers/schedules/router.py:93-98 | libs/agno/agno/os/routers/service_accounts/router.py:83-88 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060method_name\u0060 to \u0060str\u0060 in one and \u0060_SchedulerDbMethod\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":"libs/agno/agno/os/routers/approvals/router.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d68f3cfcf947cb6b7ac910b5af0b49e237e57fbac2cd171fb5d643b694aae29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/os/routers/metrics/metrics.py:943-950 | libs/agno/agno/os/routers/metrics/metrics.py:2027-2034 | libs/agno/agno/os/routers/metrics/metrics.py:2146-2153 \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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac806a0ef8d28e69fa5d499d74aac9d696f745fd067e0a889f1d1780f52a208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/os/utils.py:2543-2548 | libs/agno/agno/os/utils.py:2554-2559 | libs/agno/agno/os/utils.py:2642-2647 \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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9f531945703c8a4f73691570389b57d590e13b5ebd093bc688e018151e6f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/team/_run.py:1063-1068 | libs/agno/agno/team/_run.py:1879-1886 | libs/agno/agno/team/_run.py:8736-8741 \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":"libs/agno/agno/team/_run.py"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"078189dc003a2b5bfc458d2244a9e7751fe1b8aab3562954c0a0816a55a74a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/workflow/condition.py:235-240 | libs/agno/agno/workflow/loop.py:239-244 | libs/agno/agno/workflow/router.py:277-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:235\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c752ca016e009566be37380445726abb8f0d7d3e6889c28be220ec0ae4165d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/workflow/loop.py:371-376 | libs/agno/agno/workflow/parallel.py:177-182 | libs/agno/agno/workflow/steps.py:194-199 \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 \u0060libs/agno/agno/workflow/loop.py:371\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8abf1a6bac07266d29857b7b5003fc95e95a3f8fd70a74ec499f7242ae95ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cookbook/02_agents/08_guardrails/openai_moderation.py:100-105 | cookbook/03_teams/18_guardrails/openai_moderation.py:97-102 \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 \u0060cookbook/02_agents/08_guardrails/openai_moderation.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/08_guardrails/openai_moderation.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"10967bd3c4cddc25641878a393e30258e3821fba91dcbbbba642e8e3b81b7483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cookbook/05_agent_os/03_python_client/02_run_and_stream.py:61-66 | cookbook/05_agent_os/20_remote/01_remote_agent.py:57-62 \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 \u0060cookbook/05_agent_os/03_python_client/02_run_and_stream.py:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/03_python_client/02_run_and_stream.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dd3d7bd48dd719798e54cc6135f48a191145dc1e5a009f8678676baa5649e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/agent/_storage.py:1242-1247 | libs/agno/agno/team/_storage.py:1148-1153 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4503e475f5b2d55a030753380d3270f1950cd4ea993476b0d68554c89330ea76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agents/base.py:2205-2212 | libs/agno/agno/agents/base.py:2356-2363 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ee2fd110a33f55f5353e29e8accd12f511066794e6327ee78c62f211ad523d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/company/manager.py:1084-1089 | libs/agno/agno/company/manager.py:2063-2068 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"d161d52c3ce2c92e4f57d4871acdd10b93f228fee60540f9d0597600d5f41b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/company/manager.py:1105-1110 | libs/agno/agno/company/manager.py:2084-2089 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/company/manager.py:1105\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded43f2cf9a3d72023299516a8e7a29e19e43d475ceaf6be4895f957455b1b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/context/web/parallel.py:110-117 | libs/agno/agno/context/web/parallel.py:124-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/context/web/parallel.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 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":"libs/agno/agno/context/web/parallel.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbc76f99228a2c44d37a07213a85e4b4d8a232b341f5f871cf9f9f26ffff4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 3): libs/agno/agno/db/dynamo/dynamo.py:2572-2577 | libs/agno/agno/db/firestore/firestore.py:2276-2281 | libs/agno/agno/db/surrealdb/surrealdb.py:1840-1841 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83dc112511fa84b8fbd0d63be6545584065daed5910b44461f9e8bb640d632a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:1937-1944 | libs/agno/agno/db/firestore/firestore.py:1982-1989 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5afc649dcee5a982c53fc85512011749242aff4d9be4c9b381c42e7c8cb134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:4352-4357 | libs/agno/agno/db/mongo/async_mongo.py:4664-4669 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":4352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55999fc2d90b8cc9627eaf4d0665d60cf92f10ac7a9f74d116e4a5cc5a30dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/mysql/async_mysql.py:4373-4378 | libs/agno/agno/db/mysql/async_mysql.py:4467-4472 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed27c111c65e4147f35ee40fe1eb211eeec199cbf2edb2e82b7344733e90d87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:781-787 | libs/agno/agno/db/postgres/postgres.py:1334-1340 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:781\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c72413e23f1dbf1dd746efc9d5c9880143cf6b8d731844142a5dd997bbfc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1615-1621 | libs/agno/agno/db/postgres/postgres.py:1789-1795 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6e877b638516fc78e934afcb59506bdd7a37ecb62def2e2296a8d1c40f7c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1658-1664 | libs/agno/agno/db/sqlite/async_sqlite.py:1585-1591 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2e6f89076548d4df5f085c3228edf412b004a88bba9bd440097b3ffb4c55dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:6932-6938 | libs/agno/agno/db/postgres/postgres.py:9599-9604 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:6932\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4133f129b6343ba9d46e89abfee79ae4e68e11a0e05ae1bd584706169ff6f658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7589-7599 | libs/agno/agno/db/sqlite/async_sqlite.py:6803-6813 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17a1fee2979183d4d5d3fda62f118fa718aee4f2d8bfdf4c63769c2a5c25b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7747-7752 | libs/agno/agno/db/sqlite/async_sqlite.py:6961-6966 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7747}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bd9a727df61af7d829913390ef9a6b83f9b254af0fdc7f35328731b4615e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7755-7761 | libs/agno/agno/db/sqlite/async_sqlite.py:6969-6975 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7755}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1b590983a30dd21acbcc014cfe8f8feeafd58fbc166673ef0aca2eff07a722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:545-550 | libs/agno/agno/db/sqlite/sqlite.py:563-568 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"95574c84c7cad85cefb134c8a73ef4bf80fd7f11c93f8080c97996281dbb34f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1800-1805 | libs/agno/agno/db/sqlite/sqlite.py:1763-1768 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4fcdcd627cab7c9ace1e80cbb08698d52a6bec103fddcdf44518e9631965cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1856-1861 | libs/agno/agno/db/sqlite/sqlite.py:1819-1824 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"94610fb7050d972712d4d10450c99a5f485688808e611c5ba32a09369452f95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1874-1879 | libs/agno/agno/db/sqlite/sqlite.py:1837-1842 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75c4bf6f51ec260c3627d2caa666be7432f584365cb39b67973012ed7b2f19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10334-10344 | libs/agno/agno/db/sqlite/sqlite.py:9275-9285 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10334}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f62e84b7aa69007e31bbe7f45c4ce3ffe24ca1ecf96f7464bbd85f0cc0afe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10486-10491 | libs/agno/agno/db/sqlite/sqlite.py:9427-9432 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10486}}}],"partialFingerprints":{"codehealthFindingId/v1":"36013567e77c07b0772d008cb6951b8f08038a3dfc4477a5f56439edb1a2c094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:442-447 | libs/agno/agno/db/sqlite/utils.py:382-387 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/utils.py:442\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc4854f86d0d9fefe4dae302ed95e43c31551e145aceb71ea38de9ad54a6a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/utils.py:904-909 | libs/agno/agno/db/sqlite/utils.py:914-919 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/sqlite/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 16 separate duplicated blocks between them, totalling at least 228 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/utils.py:904\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7bd6cacebb03fc5afd661feda7895a0bdbfb6a1955c9fde87381cd28f7a7f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:1542-1548 | libs/agno/agno/db/sqlite/sqlite.py:1752-1758 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a0e2fdfa09dac2896c5395e5134dc02552c35beecf0dc090306425d514c58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/valkey/valkey.py:1395-1400 | libs/agno/agno/db/valkey/valkey.py:1865-1871 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d737fd448f22b35c7ab4e1756eae52a884cb2d8b8ea6941a112f02e9f1119470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:481-486 | libs/agno/agno/fs/toolkit.py:870-875 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"408b4aa0ae7062b15177844473da8c11b243286c28dfc301bfcb7518ce2d725d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/embedder/azure_openai.py:131-136 | libs/agno/agno/knowledge/embedder/azure_openai.py:168-173 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b226b80f347908f37108c812cb814897dba9e697d43dff70257dce6ba90aa0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/knowledge/embedder/mistral.py:92-98 | libs/agno/agno/knowledge/embedder/mistral.py:150-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. 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":"libs/agno/agno/knowledge/embedder/mistral.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1da5cd250e328bdf17f98cd4d3121f823d8e979bb44f18faedd4202d27012c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:390-395 | libs/agno/agno/knowledge/loaders/github.py:412-417 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a385841b2752c004592880af4209cfb81a8b8daf636458bb58c186f725fb2861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/loaders/github.py:549-554 | libs/agno/agno/knowledge/loaders/github.py:571-576 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b547f3484f6e2496a275bb19ee2e963cc0515abc419c6b02bbfc213db1b83428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/loaders/sharepoint.py:249-254 | libs/agno/agno/knowledge/loaders/sharepoint.py:368-373 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac5feddc5bfbf985673097bb0aba4a22facd2914c5a3f830a10eee2241ae3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/page/_coordinator.py:628-633 | libs/agno/agno/knowledge/page/_coordinator.py:649-654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/knowledge/page/_coordinator.py:628\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036844c1381b7b53b27e0d2dcebfb9eafdd894bf0ae6cee2ea8e00db5e49626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/reader/firecrawl_reader.py:104-109 | libs/agno/agno/knowledge/reader/tavily_reader.py:143-148 \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":"libs/agno/agno/knowledge/reader/firecrawl_reader.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9230ed274768bfcc07e91e21958beabc2e72162148975775b84b9fad92d93714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/learn/machine.py:693-702 | libs/agno/agno/learn/machine.py:728-737 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/learn/machine.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"656055efd9fb24d59be7975afbef811f53fb54bb646a31d002750def692689ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/learn/stores/entity_memory.py:2245-2254 | libs/agno/agno/learn/stores/entity_memory.py:2264-2273 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58115d417f86088e6e845c65b5b52a43316daf18f48634d43f5aed6a87b62af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/authz/native_engine.py:397-402 | libs/agno/agno/os/authz/native_engine.py:690-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe589e948d37389e8f58faac1b17c4b8f10f4899ddb925d672482445d1939ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/routers/company/products.py:24-29 | libs/agno/agno/os/routers/company/projects.py: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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/company/products.py: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/company/products.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe07ed7a563b69997515ddd1ba5f380b1fa1e11b2f0bf06e699857003edf520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/routers/components/components.py:1414-1419 | libs/agno/agno/os/routers/components/components.py:1445-1450 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/components/components.py:1414\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde17cc0b071042df243c97a7f62a00f5f75c1ba97fef85186c3964e9f2a88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/routers/knowledge/knowledge.py:490-495 | libs/agno/agno/os/routers/knowledge/knowledge.py:734-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded404fe9c21969869778ef59ead0fdbe5a1cd35e2db698d4704c60649043d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/routers/learnings/router.py:470-475 | libs/agno/agno/os/routers/learnings/router.py:495-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/learnings/router.py:470\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/learnings/router.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1da0c209710c276d9bebb6ca7f164d24c00f71d35d8b9d9bc18ca492b52877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/os/routers/session/session.py:1179-1185 | libs/agno/agno/os/routers/session/session.py:1240-1246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/session/session.py:1179\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/os/routers/session/session.py:1248\u0060 calls \u0060HTTPException\u0060 and \u0060libs/agno/agno/os/routers/session/session.py:1186\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":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8831f28e06d8586342b3adbc66b6fe63e1014d21278713da7d3e2dc91f20da72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/scheduler/manager.py:346-351 | libs/agno/agno/scheduler/manager.py:596-601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"119ac535bfa2228ce0a1c05047e1128f066a4e81f75cf8d68b8cde911a924ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/scheduler/manager.py:353-358 | libs/agno/agno/scheduler/manager.py:604-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 \u0060libs/agno/agno/scheduler/manager.py:604\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/scheduler/manager.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"347373f9846c2b5ae9f45c44dd3fab87836178757e2e160187e695b778a03e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/team/_run.py:549-554 | libs/agno/agno/team/_run.py:2462-2467 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/team/_run.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec11f7a84b8189481fb61ca307515133793a779567aedea319b011f750da703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/team/_storage.py:280-285 | libs/agno/agno/workflow/workflow.py:2235-2240 \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 \u0060libs/agno/agno/team/_storage.py:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"396d59089a35227e9bef217ac15e357a13ce25e5b98e853706a72ad93bd2dc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/agentos.py:253-258 | libs/agno/agno/tools/agentos.py:284-289 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/agentos.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0afe0237c6b2a06d1ef30e0c4beb2b26524eb0513fbe8f7f9ae0d64e49ff14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/daytona.py:354-359 | libs/agno/agno/tools/daytona.py:458-463 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/daytona.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb71ab13c80ccae97cc9a4106b7ae8b43cbf60f7517446f5b4cb65f20acb3495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/fal.py:73-78 | libs/agno/agno/tools/fal.py:102-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/fal.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34a8e0bcccfb422cc783daf7820cce3e9d211572f4d460662196febb87b92bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/scheduler.py:800-805 | libs/agno/agno/tools/scheduler.py:1191-1196 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/scheduler.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"225b2e6605a4eb621ea5a5f80f8aaf8a7dc5e38aa9dbf5ccdbbf87e69b8f2b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/studio.py:5525-5530 | libs/agno/agno/workflow/workflow.py:533-538 \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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":5525}}}],"partialFingerprints":{"codehealthFindingId/v1":"734c411c02d96a750d65b3dc09399f924356510fc86e2e57d76504872f8f03e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/superserve.py:440-445 | libs/agno/agno/tools/superserve.py:719-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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19f25ceab6d46a20188307a25f5af618855a31091e7d265e3a290fa41e85885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/vectordb/chroma/chromadb.py:1065-1070 | libs/agno/agno/vectordb/chroma/chromadb.py:1095-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 \u0060libs/agno/agno/vectordb/chroma/chromadb.py:1065\u0060 it begins part-way through the construct above it, so those exact 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, \u0060libs/agno/agno/vectordb/chroma/chromadb.py:1094\u0060 calls \u0060cast\u0060 and \u0060libs/agno/agno/vectordb/chroma/chromadb.py:1064\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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b9dbe6fcb2b54f1c308bdb730ff96ee510497a1266489f4b4ad6ad31feefa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:110-115 | libs/agno/agno/vectordb/lancedb/lance_db.py:124-129 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b929fe8a6de1aaaa498bb01d8877146a3ed8f256ff9ec5f04144d93e14ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/vectordb/lancedb/lance_db.py:457-462 | libs/agno/agno/vectordb/milvus/milvus.py:614-624 \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":"libs/agno/agno/vectordb/lancedb/lance_db.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0fb0ebb874b9c7064fb8a4d42ff416ccb0559464a3628ec4882eb77de19006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/vectordb/opensearch/opensearch.py:708-713 | libs/agno/agno/vectordb/opensearch/opensearch.py:734-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. 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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4cca2eb2ff7f58a3c52427dbfa7b4719d3ccb66975ef496c537c7627a8ca09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): libs/agno/agno/vectordb/singlestore/singlestore.py:219-223 | libs/agno/agno/vectordb/singlestore/singlestore.py:881-886 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/vectordb/singlestore/singlestore.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e96326cb3044eae64fd15988d5e96be59d3387467d89c6ea11bf6683576d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 17): libs/agno/agno/db/dynamo/dynamo.py:2950-2954 | libs/agno/agno/db/firestore/firestore.py:2658-2662 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1786-1790 | libs/agno/agno/db/in_memory/in_memory_db.py:1523-1527 | libs/agno/agno/db/json/json_db.py:1895-1899 | libs/agno/agno/db/mongo/async_mongo.py:2933-2937 | libs/agno/agno/db/mongo/mongo.py:2689-2693 | libs/agno/agno/db/mysql/async_mysql.py:3241-3245 | libs/agno/agno/db/mysql/mysql.py:3183-3187 | libs/agno/agno/db/postgres/async_postgres.py:3485-3489 | libs/agno/agno/db/postgres/postgres.py:4007-4011 | libs/agno/agno/db/redis/redis.py:2624-2628 | libs/agno/agno/db/singlestore/singlestore.py:3176-3180 | libs/agno/agno/db/sqlite/async_sqlite.py:3725-3729 | libs/agno/agno/db/sqlite/sqlite.py:3941-3945 | libs/agno/agno/db/surrealdb/surrealdb.py:2300-2304 | libs/agno/agno/db/valkey/valkey.py:2963-2967 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 17 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 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"958d5f414183946741a4e22aad7f18ee91654766d3a67b88427d578565da4c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 16): libs/agno/agno/db/postgres/async_postgres.py:7653-7657 | libs/agno/agno/db/postgres/async_postgres.py:7680-7684 | libs/agno/agno/db/postgres/async_postgres.py:7792-7796 | libs/agno/agno/db/postgres/async_postgres.py:7818-7822 | libs/agno/agno/db/postgres/async_postgres.py:7910-7914 | libs/agno/agno/db/postgres/async_postgres.py:7944-7948 | libs/agno/agno/db/postgres/async_postgres.py:8167-8171 | libs/agno/agno/db/postgres/async_postgres.py:8220-8224 | libs/agno/agno/db/sqlite/async_sqlite.py:6867-6871 | libs/agno/agno/db/sqlite/async_sqlite.py:6894-6898 | libs/agno/agno/db/sqlite/async_sqlite.py:7006-7010 | libs/agno/agno/db/sqlite/async_sqlite.py:7032-7036 | libs/agno/agno/db/sqlite/async_sqlite.py:7124-7128 | libs/agno/agno/db/sqlite/async_sqlite.py:7158-7162 | libs/agno/agno/db/sqlite/async_sqlite.py:7381-7385 | libs/agno/agno/db/sqlite/async_sqlite.py:7434-7438 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1991a457f52df2f6b36f5a2f3a0872351e98a0402d27700aaaf982caeb996d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): libs/agno/agno/db/mongo/async_mongo.py:2182-2186 | libs/agno/agno/db/mongo/mongo.py:1979-1983 | libs/agno/agno/db/mysql/async_mysql.py:2523-2527 | libs/agno/agno/db/mysql/mysql.py:2509-2513 | libs/agno/agno/db/postgres/async_postgres.py:2775-2779 | libs/agno/agno/db/postgres/postgres.py:3340-3344 | libs/agno/agno/db/singlestore/singlestore.py:2501-2505 | libs/agno/agno/db/sqlite/async_sqlite.py:3013-3017 | libs/agno/agno/db/sqlite/sqlite.py:3277-3281 | libs/agno/agno/db/utils.py:1868-1872 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2182}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a3511fc218c39a7df6e68759fa3385c457bb9abb9f976827a39941fe87fddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): libs/agno/agno/agent/_tools.py:1097-1102 | libs/agno/agno/agent/_tools.py:1149-1154 | libs/agno/agno/agent/_tools.py:1199-1204 | libs/agno/agno/agent/_tools.py:1259-1264 | libs/agno/agno/team/_run.py:5438-5443 | libs/agno/agno/team/_run.py:5498-5503 | libs/agno/agno/team/_run.py:5572-5576 | libs/agno/agno/team/_run.py:5652-5657 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b0635edff66e44e8536523b8f18e037e8f3956bab8fd2dc8e9c78681feadda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): libs/agno/agno/db/postgres/async_postgres.py:7721-7725 | libs/agno/agno/db/postgres/async_postgres.py:8270-8274 | libs/agno/agno/db/postgres/postgres.py:10462-10466 | libs/agno/agno/db/postgres/postgres.py:10999-11003 | libs/agno/agno/db/sqlite/async_sqlite.py:6935-6939 | libs/agno/agno/db/sqlite/async_sqlite.py:7484-7488 | libs/agno/agno/db/sqlite/sqlite.py:9403-9407 | libs/agno/agno/db/sqlite/sqlite.py:9940-9944 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e5091a921b4d1e75bc7d25ca4001b5ca6fe5a299c7a015c510cafa26edd4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): libs/agno/agno/db/postgres/async_postgres.py:7733-7737 | libs/agno/agno/db/postgres/async_postgres.py:8292-8296 | libs/agno/agno/db/postgres/postgres.py:10474-10478 | libs/agno/agno/db/postgres/postgres.py:11021-11025 | libs/agno/agno/db/sqlite/async_sqlite.py:6947-6951 | libs/agno/agno/db/sqlite/async_sqlite.py:7506-7510 | libs/agno/agno/db/sqlite/sqlite.py:9415-9419 | libs/agno/agno/db/sqlite/sqlite.py:9962-9966 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a45cf604f043102d2c9d37518ba365f35d601bab46a0928d06450186486cfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): libs/agno/agno/db/postgres/postgres.py:10425-10430 | libs/agno/agno/db/postgres/postgres.py:10557-10562 | libs/agno/agno/db/postgres/postgres.py:10681-10686 | libs/agno/agno/db/postgres/postgres.py:10953-10958 | libs/agno/agno/db/sqlite/sqlite.py:9366-9371 | libs/agno/agno/db/sqlite/sqlite.py:9498-9503 | libs/agno/agno/db/sqlite/sqlite.py:9622-9627 | libs/agno/agno/db/sqlite/sqlite.py:9894-9899 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10425}}}],"partialFingerprints":{"codehealthFindingId/v1":"973f3205b9a291d066ef0321a0c646f34ce0498492f648642bdaad199ceb1174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): libs/agno/agno/tools/google/gmail.py:1439-1443 | libs/agno/agno/tools/google/gmail.py:1466-1471 | libs/agno/agno/tools/google/gmail.py:1542-1546 | libs/agno/agno/tools/google/gmail.py:1563-1567 | libs/agno/agno/tools/google/gmail.py:1589-1594 | libs/agno/agno/tools/google/gmail.py:1651-1656 | libs/agno/agno/tools/google/gmail.py:1796-1800 | libs/agno/agno/tools/google/gmail.py:1850-1854 \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 \u0060libs/agno/agno/tools/google/gmail.py:1466\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bed313c4150c3d81fd0aea3653145e1bfa77b2e8e6801ad52ed6157fa255ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:1248-1252 | libs/agno/agno/db/mysql/mysql.py:1264-1268 | libs/agno/agno/db/postgres/async_postgres.py:1877-1881 | libs/agno/agno/db/postgres/postgres.py:2112-2116 | libs/agno/agno/db/singlestore/singlestore.py:1314-1318 | libs/agno/agno/db/sqlite/async_sqlite.py:1807-1811 | libs/agno/agno/db/sqlite/sqlite.py:2074-2078 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/async_mysql.py:1248\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a380b79284d0b32cb7324faf14e173e03ec2da821385d8e204246f213ee09184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): libs/agno/agno/db/mysql/async_mysql.py:2810-2814 | libs/agno/agno/db/mysql/mysql.py:2790-2794 | libs/agno/agno/db/postgres/async_postgres.py:3054-3058 | libs/agno/agno/db/postgres/postgres.py:3613-3617 | libs/agno/agno/db/singlestore/singlestore.py:2789-2793 | libs/agno/agno/db/sqlite/async_sqlite.py:3292-3296 | libs/agno/agno/db/sqlite/sqlite.py:3549-3553 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"de30ca3c4b1c1af8a74529493c1313676e3cbeeb62e9f7552ba7b2180b3a8f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): libs/agno/agno/team/_run.py:555-559 | libs/agno/agno/team/_run.py:1063-1067 | libs/agno/agno/team/_run.py:1415-1424 | libs/agno/agno/team/_run.py:1879-1885 | libs/agno/agno/team/_run.py:8450-8454 | libs/agno/agno/team/_run.py:8736-8740 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5803a39f25d501750be592f06b4fbd68f12a4cb39e9fb83591ca77549edbaa8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): libs/agno/agno/db/mysql/async_mysql.py:4006-4010 | libs/agno/agno/db/mysql/mysql.py:3949-3953 | libs/agno/agno/db/singlestore/singlestore.py:3909-3913 | libs/agno/agno/db/sqlite/async_sqlite.py:4492-4496 | libs/agno/agno/db/sqlite/sqlite.py:4704-4708 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/db/sqlite/async_sqlite.py:4501\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:4014\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":4006}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ab59003921527957649794393db9252ce09c2e765bfc0349a88a1d7fde9846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/firestore/firestore.py:574-578 | libs/agno/agno/db/firestore/firestore.py:938-942 | libs/agno/agno/db/firestore/firestore.py:1471-1475 | libs/agno/agno/db/firestore/firestore.py:3333-3337 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/firestore/firestore.py:1478\u0060 calls \u0060where\u0060, \u0060FieldFilter\u0060 and \u0060libs/agno/agno/db/firestore/firestore.py:580\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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"758991c553ddbe24a4be8e8d2320de1af6629fb488a8c5b7c2eef72e517dbfef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/migrations/versions/v3_0_0.py:1913-1917 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2006-2010 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2098-2102 | libs/agno/agno/db/migrations/versions/v3_0_0.py:2164-2168 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:1912\u0060 calls \u0060_get_all_records\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py:2096\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3cb4c7ffd5ebba326436e371df99b1999ccb53da5f11d32773512ef05dcc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/mysql/async_mysql.py:314-318 | libs/agno/agno/db/mysql/mysql.py:309-313 | libs/agno/agno/db/postgres/async_postgres.py:486-490 | libs/agno/agno/db/singlestore/singlestore.py:383-387 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"570878c51790cc005364ae9aac1aa2b4b9a8ca5504042dcc89009b03c20209e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:1008-1012 | libs/agno/agno/db/postgres/postgres.py:1583-1588 | libs/agno/agno/db/singlestore/singlestore.py:1053-1057 | libs/agno/agno/db/sqlite/sqlite.py:1574-1578 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:1582\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py:1007\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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd47a22d6e18490f677e6ab5a5569f5ca8c6f1abf31b0fdeaa6b55348049e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:2636-2644 | libs/agno/agno/db/postgres/postgres.py:3467-3475 | libs/agno/agno/db/singlestore/singlestore.py:2628-2636 | libs/agno/agno/db/sqlite/sqlite.py:3405-3413 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py:2636\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b0410bbf7b22943bab70e6219e9053efca9624da4c40b8fc5ca237b0682d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:2073-2077 | libs/agno/agno/db/postgres/postgres.py:2308-2312 | libs/agno/agno/db/sqlite/async_sqlite.py:1952-1956 | libs/agno/agno/db/sqlite/sqlite.py:2220-2224 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/postgres/async_postgres.py:2073\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"98460ffed856a7e468b26e15ac60d03ae5cf8a54b763ee6d153127eb75b4d40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:5724-5728 | libs/agno/agno/db/postgres/async_postgres.py:7070-7074 | libs/agno/agno/db/sqlite/async_sqlite.py:5849-5853 | libs/agno/agno/db/sqlite/async_sqlite.py:6282-6286 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":5724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba12743e52887a8cf83a0b11e69aa7e36febe7a151054a8c51a8aaf995f2f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7299-7306 | libs/agno/agno/db/postgres/postgres.py:10051-10058 | libs/agno/agno/db/sqlite/async_sqlite.py:6513-6520 | libs/agno/agno/db/sqlite/sqlite.py:8994-9001 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7299}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4855e29bcdeeb0550c8bcbab81eb00bad7ac25263b2a27933349d48ed7d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7676-7680 | libs/agno/agno/db/postgres/async_postgres.py:7938-7942 | libs/agno/agno/db/sqlite/async_sqlite.py:6890-6894 | libs/agno/agno/db/sqlite/async_sqlite.py:7152-7156 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:7945\u0060 calls \u0060where\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:7682\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7676}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb674278980bde04dfe840d02788b4a2af6742851478159fe6bb91931337a275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7696-7700 | libs/agno/agno/db/postgres/postgres.py:10439-10443 | libs/agno/agno/db/sqlite/async_sqlite.py:6910-6914 | libs/agno/agno/db/sqlite/sqlite.py:9380-9384 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e9c6563ff923f7787268114ed3eb32d4649a5cae85f4f51867e58a2b340fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7695-7699 | libs/agno/agno/db/postgres/async_postgres.py:7966-7970 | libs/agno/agno/db/sqlite/async_sqlite.py:6909-6913 | libs/agno/agno/db/sqlite/async_sqlite.py:7180-7184 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:7965\u0060 calls \u0060validate_project_fields\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:7693\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7695}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdccdea1debcb93d5ec5cd4485675c22e48e453eae70f16f46f115d91c482004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7705-7713 | libs/agno/agno/db/postgres/postgres.py:10448-10456 | libs/agno/agno/db/sqlite/async_sqlite.py:6919-6927 | libs/agno/agno/db/sqlite/sqlite.py:9389-9397 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa8dee0cccfdfc7d08e7009ade69e2afcaa483ddbadeff9530928535f375cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:7970-7975 | libs/agno/agno/db/postgres/async_postgres.py:8248-8253 | libs/agno/agno/db/sqlite/async_sqlite.py:7184-7189 | libs/agno/agno/db/sqlite/async_sqlite.py:7462-7467 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:8246\u0060 calls \u0060set\u0060, \u0060where\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:7969\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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7970}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd891f75bb89e695b7d882f105528c7796260d81825c84e196772349d80f7b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8418-8422 | libs/agno/agno/db/postgres/postgres.py:11143-11147 | libs/agno/agno/db/sqlite/async_sqlite.py:7632-7636 | libs/agno/agno/db/sqlite/sqlite.py:10084-10088 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8418}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe895a590316535636d3a5301f3976e9594d34f5e7d17ea13e682484fa4e14b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/async_postgres.py:8451-8455 | libs/agno/agno/db/postgres/postgres.py:11176-11180 | libs/agno/agno/db/sqlite/async_sqlite.py:7665-7669 | libs/agno/agno/db/sqlite/sqlite.py:10117-10121 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8451}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1592d871fd22cde7390e78104bd1fb3060b84f84788e7c5d5fc4b1879bbdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:10421-10425 | libs/agno/agno/db/postgres/postgres.py:10675-10679 | libs/agno/agno/db/sqlite/sqlite.py:9362-9366 | libs/agno/agno/db/sqlite/sqlite.py:9616-9620 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/postgres/postgres.py:10682\u0060 calls \u0060where\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py:10427\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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7271fb874558bea2d401c5a447abafb86fbbf15556b35381a8951fe09ed6d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:10438-10442 | libs/agno/agno/db/postgres/postgres.py:10703-10707 | libs/agno/agno/db/sqlite/sqlite.py:9379-9383 | libs/agno/agno/db/sqlite/sqlite.py:9644-9648 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cc921bea99010c8b5ef207635cbea17315c1b387f663de8b26de7aae40d979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/db/postgres/postgres.py:10707-10714 | libs/agno/agno/db/postgres/postgres.py:10981-10988 | libs/agno/agno/db/sqlite/sqlite.py:9648-9655 | libs/agno/agno/db/sqlite/sqlite.py:9922-9929 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1919068e3db23b0f738e5f5056e40dbe3c7904c6a638e97e7064d6e15197910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/agno/agno/knowledge/chunking/document.py:43-47 | libs/agno/agno/knowledge/chunking/document.py:68-76 | libs/agno/agno/knowledge/chunking/document.py:101-105 | libs/agno/agno/knowledge/chunking/markdown.py:294-298 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/chunking/document.py\u0060 and \u0060libs/agno/agno/knowledge/chunking/markdown.py\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 \u0060libs/agno/agno/knowledge/chunking/document.py:68\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f9e997a5b8ca86779809e8bce08284da87610b18ed852fc777050ba6c7b4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/models/aws/bedrock.py:590-595 | libs/agno/agno/models/aws/bedrock.py:640-645 | libs/agno/agno/models/aws/bedrock.py:689-694 | libs/agno/agno/models/aws/bedrock.py:739-744 \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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"919cc45018c026ee1797857e9d4cef148e3153c797833609dc6a92ee6e037565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/models/huggingface/huggingface.py:279-284 | libs/agno/agno/models/huggingface/huggingface.py:310-315 | libs/agno/agno/models/huggingface/huggingface.py:346-351 | libs/agno/agno/models/huggingface/huggingface.py:381-386 \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":"libs/agno/agno/models/huggingface/huggingface.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfc0646b29b64ad3ad97383bb1918cf20013bd57a8872e726035a293b6d2866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/models/mistral/mistral.py:228-233 | libs/agno/agno/models/mistral/mistral.py:262-267 | libs/agno/agno/models/mistral/mistral.py:297-302 | libs/agno/agno/models/mistral/mistral.py:330-335 \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":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e498c9dee8bdecdbf04f8929077939fc12a08a0743dcf61c11517778820c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/agno/agno/vectordb/mongodb/mongodb.py:705-710 | libs/agno/agno/vectordb/mongodb/mongodb.py:768-773 | libs/agno/agno/vectordb/mongodb/mongodb.py:1011-1016 | libs/agno/agno/vectordb/mongodb/mongodb.py:1365-1370 \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 \u0060libs/agno/agno/vectordb/mongodb/mongodb.py:705\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d609c99eac20ebf8230b86c4b4bd562da27f73f535401a5cd17fd69a228de1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): libs/agno/agno/workflow/condition.py:307-318 | libs/agno/agno/workflow/loop.py:363-374 | libs/agno/agno/workflow/parallel.py:169-180 | libs/agno/agno/workflow/steps.py:186-197 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbc01839a3f92124b03d6a98626eb197da4863575ed3f3238bc9327996ff345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): libs/agno/agno/workflow/loop.py:575-582 | libs/agno/agno/workflow/loop.py:819-826 | libs/agno/agno/workflow/loop.py:972-979 | libs/agno/agno/workflow/loop.py:1216-1223 \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 \u0060libs/agno/agno/workflow/loop.py:575\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/loop.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09b8309b7bdab3283be770315610b0514767f786e9ba1d3a320820b2ca7f0ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/agent/_storage.py:551-556 | libs/agno/agno/team/_storage.py:279-284 | libs/agno/agno/workflow/workflow.py:2234-2239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a9d5fd5b258e185b4b54c3c1db37765e3b5aac297d3e9a8fa7da5abc68f0de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/agno/agno/client/os.py:1852-1859 | libs/agno/agno/client/os.py:2201-2208 | libs/agno/agno/client/os.py:2264-2271 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/os.py"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4401f6bca88680b6e0210fde26392193ef7f2fbc311dc8d63eff3b3cd018f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/db/firestore/firestore.py:2597-2601 | libs/agno/agno/db/firestore/firestore.py:2620-2624 | libs/agno/agno/db/firestore/firestore.py:2721-2725 \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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"430d4b6b2d8257fab4bf8ca893a23f5d788f1b7cb9c0b6112d107dbcd313bf4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:989-994 | libs/agno/agno/db/postgres/async_postgres.py:1417-1422 | libs/agno/agno/db/sqlite/async_sqlite.py:1375-1379 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/agno/agno/db/postgres/async_postgres.py:1416\u0060 calls \u0060_collect_sandbox_leftovers\u0060 and \u0060libs/agno/agno/db/mysql/async_mysql.py:988\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeb97245a6bce74698a42a13575560654ec79dda8f967d982d364e79e18ad11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:1309-1313 | libs/agno/agno/db/mysql/mysql.py:1325-1329 | libs/agno/agno/db/singlestore/singlestore.py:1376-1380 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/mysql/mysql.py\u0060 as WHOLE FILES: this scan already matched 109 separate duplicated blocks between them, totalling at least 1714 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce90d155e132354c446d297340087787c701382b56c6f89ac1e1931ffaaecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:173-182 | libs/agno/agno/db/postgres/postgres.py:295-304 | libs/agno/agno/vectordb/pgvector/pgvector.py:140-144 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/mysql.py: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. 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1206d95fcf34f371e7e1bfd1d7226477f8c1da757a12b59d8856c9c72f6e08c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/db/mysql/mysql.py:4313-4317 | libs/agno/agno/db/mysql/mysql.py:4405-4409 | libs/agno/agno/db/singlestore/singlestore.py:4217-4221 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":4313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f87d01d4b7f096de8a4a730773862a7006cd58d8048991bd196990b8c834326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/db/mysql/utils.py:864-869 | libs/agno/agno/db/postgres/utils.py:803-808 | libs/agno/agno/db/sqlite/utils.py:815-820 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"546b18f862c0351a5ece18f1447df960462f57f1ceb55d2c0a02fbedf973a0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/os/schema.py:864-868 | libs/agno/agno/os/schema.py:1005-1009 | libs/agno/agno/os/schema.py:1080-1084 \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, \u0060libs/agno/agno/os/schema.py:871\u0060 calls \u0060to_utc_datetime\u0060, \u0060get\u0060 and \u0060libs/agno/agno/os/schema.py:1012\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":"libs/agno/agno/os/schema.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8fb94934bbbf362f91939a44cdb146ee26cec8357708bcfbc1ac22527d023e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/team/_run.py:7819-7823 | libs/agno/agno/team/_run.py:9646-9651 | libs/agno/agno/team/_run.py:10129-10134 \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 \u0060libs/agno/agno/team/_run.py:9646\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":7819}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f5ebf5804085fce6da33e51e81516032b56a639d3c4ff6ce6bd9a0764b8171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/tools/csv_toolkit.py:73-77 | libs/agno/agno/tools/csv_toolkit.py:103-107 | libs/agno/agno/tools/csv_toolkit.py:137-142 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/csv_toolkit.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ef302196dd9f9d7ce94cb2cf0a236344ec60e50abbb7f00f27fb2ad00fa721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/tools/google/gmail.py:1503-1507 | libs/agno/agno/tools/google/gmail.py:1625-1629 | libs/agno/agno/tools/google/gmail.py:1756-1760 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b0c7b0a3472dcbe02c307953e1018ae0901c7a5c73b489758075f949a60f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/vectordb/pgvector/pgvector.py:1833-1837 | libs/agno/agno/vectordb/singlestore/singlestore.py:219-223 | libs/agno/agno/vectordb/singlestore/singlestore.py:881-885 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12da75a446ff283a74d97e2e3ad538f5d41a402f73a57bf9bd76f1710e2352c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno_infra/agno/cli/operator.py:75-79 | libs/agno_infra/agno/cli/operator.py:150-154 | libs/agno_infra/agno/cli/operator.py:223-227 \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":"libs/agno_infra/agno/cli/operator.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ad117340539e6457dd82d6770519350a2b8e4b25f91760052a347c507b21f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cookbook/05_agent_os/12_scheduler/02_rest_api.py:147-151 | cookbook/05_agent_os/12_scheduler/04_scheduler_tools_agent.py:173-177 \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":"cookbook/05_agent_os/12_scheduler/02_rest_api.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d8d571395e7223e8edfa5230c81bbccb686b3853ed814bef43d483e8cefa7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cookbook/07_knowledge/09_archive/embedders/vllm_embedder_local.py:54-59 | cookbook/07_knowledge/09_archive/embedders/vllm_embedder_remote.py:51-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/embedders/vllm_embedder_local.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"729a3f61c187944a213860e3cf690228f0e141056cdb4bb846aeb9cc1b2ace0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/bucket.py:189-193 | libs/agno_infra/agno/aws/resource/s3/bucket.py:190-194 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/bucket.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/s3/bucket.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b13d6360f29f9147a9266ba67314ec4b044467d968c7f6542d2bd50594efbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/company/automation_history.py:97-102 | libs/agno/agno/company/automation_history.py:122-127 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/company/automation_history.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f44d3b8b5c85a0f1c2fab263fac8c3d58a129c15ede9e1b0e9b8fc4cbbacd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/company/manager.py:693-697 | libs/agno/agno/company/manager.py:1672-1676 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/company/manager.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e703792d51d75b801d81c34ebad154cbc16a5a2b64d4e8d67ab654954e39d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/context/wiki/provider.py:182-187 | libs/agno/agno/context/wiki/provider.py:266-271 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/context/wiki/provider.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde9cd17bb840ddd7c49784b1958ca74d6e5ecbf6db8cc7a367c836a66bb46a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:1473-1477 | libs/agno/agno/db/firestore/firestore.py:3339-3343 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"523e86a52b5148ca024de930349dfcb71a75e3a06fe0ce56885b3617688432c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:3636-3641 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4397-4401 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":3636}}}],"partialFingerprints":{"codehealthFindingId/v1":"543c2e7e73f56e091bc39fef0af4ff11c2eb80d9e20a32330d2020943cb96019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v3_0_0.py:4331-4335 | libs/agno/agno/db/migrations/versions/v3_0_0.py:4392-4396 \u2014 both copies are in the same file, so extract the block 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 \u0060db\u0060 to \u0060BaseDb\u0060 in one and \u0060AsyncBaseDb\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":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":4331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f70b40ca0ff2fffe69a6f7033045ed8beea6b583b3568291a6f2ba0e16c215b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:765-770 | libs/agno/agno/db/mongo/mongo.py:566-571 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060runs_collection\u0060 to \u0060AsyncMongoCollectionType\u0060 in one and \u0060Collection\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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee691a9e4b63051dcb2d2eb21b3d3a75d683a6226a0a5c36623be341b313842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:818-822 | libs/agno/agno/db/mongo/mongo.py:621-625 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b0501d534f3e0b9545da41a9c50fd2925de15c31a7366871cb95c568ea5c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:961-965 | libs/agno/agno/db/postgres/async_postgres.py:1359-1363 | libs/agno/agno/db/sqlite/async_sqlite.py:1322-1327 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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. 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, \u0060libs/agno/agno/db/mysql/async_mysql.py:961\u0060 calls \u0060log_debug\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.py:1359\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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c691651ee612e26454ff792bd6371acf05794a0c50af7e411193bf7074f0b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:1119-1124 | libs/agno/agno/db/postgres/postgres.py:1270-1275 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd6af0644832c1f8c5b29d56a323779016a4f94fc18ef397f593451d34ae149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:2310-2317 | libs/agno/agno/db/postgres/postgres.py:2801-2808 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e01f67256e45b04bfc07b910b2b6c7fadb7c832b0774391d8a5bf30f5d643a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:3497-3502 | libs/agno/agno/db/sqlite/async_sqlite.py:3737-3742 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c662d103e33d2aee79c560ad036f351adb482774e9321c740f0b9e1dc3ea342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:1830-1835 | libs/agno/agno/db/sqlite/sqlite.py:1793-1798 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ddf1e16b597c279a44c4a48f694c5023ce9be60ae400d06fadbe67afc8ef24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2035-2039 | libs/agno/agno/db/valkey/valkey.py:2368-2372 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a411285992a88e61b7bc7dd0d0a5127a2458cce1d7db5bf5506ed9b84a1e75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): libs/agno/agno/db/schemas/products.py:7-11 | libs/agno/agno/db/schemas/projects.py:15-19 | libs/agno/agno/db/schemas/tasks.py:47-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/agno/agno/db/schemas/projects.py:19\u0060 calls \u0060isinstance\u0060, \u0060strip\u0060, \u0060ValueError\u0060 and \u0060libs/agno/agno/db/schemas/tasks.py:50\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":"libs/agno/agno/db/schemas/products.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d579c2a6c2f376705c41a62b4ba54b9b8cd12437c9bcb8b6cdd279399dd87f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:80-85 | libs/agno/agno/db/sql/authz.py:602-607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sql/authz.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. 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a4d3fe9172ae49c470b90de483680e3b6e523ff9ce41e2e28233a4f9436a8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:519-526 | libs/agno/agno/db/sql/authz.py:893-900 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80b45a5fd5898ad1eb42481a2c9abf06f8a839eb56935e39d68726309396f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:534-538 | libs/agno/agno/db/sql/authz.py:909-913 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7cf22c78cd5ac567d8c408e364b960eae27614bbf9c3a7c07906521f2adf58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/db/sqlite/async_sqlite.py:2469-2476 | libs/agno/agno/db/sqlite/sqlite.py:2737-2744 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/sqlite/async_sqlite.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.py\u0060 as WHOLE FILES: this scan already matched 174 separate duplicated blocks between them, totalling at least 2485 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb5fb53232c10f2aa835e05724e6d70f249187e4862707b7120087706713401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/utils.py:1273-1277 | libs/agno/agno/db/utils.py:1289-1293 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/utils.py:1273\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":"libs/agno/agno/db/utils.py"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6f6db8fd28d5bfaa1f424489c15050bf340a5fdd2d37f910b9e4517eb36c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/integrations/discord/client.py:189-194 | libs/agno/agno/os/interfaces/whatsapp/helpers.py:351-355 \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":"libs/agno/agno/integrations/discord/client.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19d77cf015a882592224072bd2a9232911785251b81ec7686dc4a68832033a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/knowledge/embedder/google.py:240-244 | libs/agno/agno/knowledge/embedder/mistral.py:203-207 \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 \u0060libs/agno/agno/knowledge/embedder/google.py:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"339f486b27bc978c8b7e2a8ecaa529a7607a32e4202ff11fa24abc10985f7d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/knowledge/loaders/sharepoint.py:86-90 | libs/agno/agno/knowledge/loaders/sharepoint.py:106-110 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e644a101dd35654b8d3e5f72811aa7e5303fba537942c93007bbdd064c9a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/reader/page_fetcher.py:174-179 | libs/agno/agno/knowledge/reader/page_fetcher.py:200-205 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/knowledge/reader/page_fetcher.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ed6a28dc39f02fc7479e2bf340f7f95c3c248c42d178c953443d84ddd4f762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/learn/schemas.py:880-885 | libs/agno/agno/learn/stores/entity_memory.py:2035-2040 \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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c35de3b09a338196befa83149203b8ef9820a27dc3e8ce3f7c4ae14f9a784e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/models/groq/groq.py:258-262 | libs/agno/agno/utils/models/ai_foundry.py:34-38 \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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3d26e53d625f4e4f0bacae80debc7e98137f994f4100166624f9e5514e64f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/os/app.py:2535-2539 | libs/agno/agno/os/auth.py:558-562 \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 \u0060app\u0060 to \u0060FastAPI\u0060 in one and \u0060Any\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":"libs/agno/agno/os/app.py"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34bc0983cabefaf5960cf7bddebac7d073f6dcddb5af2267c1d30d8eaa9b33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/os/job_queue.py:1854-1858 | libs/agno/agno/os/job_queue.py:1895-1899 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8fb29aa157de36f4aefbd9989873a7732359d89c1e196c4aaf2f54ac20575f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): libs/agno/agno/os/routers/company/products.py:57-61 | libs/agno/agno/os/routers/company/projects.py:76-80 | libs/agno/agno/os/routers/company/tasks.py:191-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/routers/company/products.py:57\u0060 it does not close everything it opens, so those exact 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, \u0060libs/agno/agno/os/routers/company/projects.py:82\u0060 calls \u0060Query\u0060 and \u0060libs/agno/agno/os/routers/company/products.py:63\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":"libs/agno/agno/os/routers/company/products.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2155a2692f375bb92a0354e250584b9ae83d32b492c4f52175e6c075cce52e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/reasoning/moonshot.py:32-39 | libs/agno/agno/reasoning/openrouter.py:38-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":"libs/agno/agno/reasoning/moonshot.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"962965e8a29f2c1a8ee5b3672a03b341bf6849265cbceea5d6a927941f1e630e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/atomic_mail.py:732-736 | libs/agno/agno/tools/atomic_mail.py:755-760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/atomic_mail.py:755\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fa0a002fd2c82df434991587fe00e9012ca34091462b9448a2e92c484e6097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/atomic_mail.py:778-782 | libs/agno/agno/tools/atomic_mail.py:801-806 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/atomic_mail.py:801\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/atomic_mail.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c060300ed4f3f7e4424864404ddf8038690eddad61528ae0a06d47210d6bc4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/knowledge/management.py:498-503 | libs/agno/agno/tools/knowledge/management.py:521-526 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56f23f743729027fe81afeb5992d3d25c3b8b15d82c6fadab7d9e9c8bce2bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/superserve.py:402-406 | libs/agno/agno/tools/superserve.py:678-683 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/tools/superserve.py:678\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d015ff3e8351d655445144285834a265510f96ae00666f8112d4fe1f15cbcbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/superserve.py:420-424 | libs/agno/agno/tools/superserve.py:698-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 \u0060libs/agno/agno/tools/superserve.py:698\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/tools/superserve.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c54093c1bc3233d477627d8a30bb36068e8ad6e3128ecb10837e65b80ac6cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/wavespeed.py:80-84 | libs/agno/agno/tools/wavespeed.py:104-108 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/wavespeed.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"07353c69b686c63773651e456248e9c0f50eb8be0bba40ce33ae4aa6c5ab3cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/xai_auth.py:182-186 | libs/agno/agno/tools/xai_auth.py:265-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. 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":"libs/agno/agno/tools/xai_auth.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda1d7a2815d58696d44e05063a0fe71b06b67dbfe3b3b067317eb8782347bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/vectordb/chroma/chromadb.py:1258-1269 | libs/agno/agno/vectordb/chroma/chromadb.py:1341-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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1881478040fafe9a0d31047c42278de9afc2f6c8b22b2af5b4a2b49062da4212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno_infra/agno/aws/resource/base.py:165-172 | libs/agno_infra/agno/docker/resource/base.py:114-121 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/base.py\u0060 and \u0060libs/agno_infra/agno/docker/resource/base.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno_infra/agno/aws/resource/base.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"236a81db50a1e141552e6fa580e304aa5128a4cfda43a418b928f7e3c528f925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): cookbook/02_agents/09_hooks/message_history_hooks.py:20-36 | cookbook/91_tools/tool_hooks/message_history_in_hooks.py:20-36 \u2014 before extracting anything, compare \u0060cookbook/02_agents/09_hooks/message_history_hooks.py\u0060 and \u0060cookbook/91_tools/tool_hooks/message_history_in_hooks.py\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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/09_hooks/message_history_hooks.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb78f4c15ee1c28d1363a640c986e23ac30650b16741af38d903fb974baa91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4): cookbook/04_workflows/08_human_in_the_loop/executor_hitl/04_agent_confirmation_in_condition_step.py:46-86 | cookbook/04_workflows/08_human_in_the_loop/executor_hitl/05_agent_confirmation_in_loop_step.py:43-79 | cookbook/04_workflows/08_human_in_the_loop/executor_hitl/06_agent_confirmation_in_steps_container.py:44-90 | cookbook/04_workflows/08_human_in_the_loop/executor_hitl/07_agent_confirmation_in_router_step.py:48-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 4 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/executor_hitl/04_agent_confirmation_in_condition_step.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f549d806d18ca30e13e9db93982e013067fb44e94284679581d76acd5c306dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): cookbook/07_knowledge/09_archive/vector_dbs/redis_db.py:52-72 | cookbook/07_knowledge/09_archive/vector_dbs/valkey_db.py:53-73 \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":"cookbook/07_knowledge/09_archive/vector_dbs/redis_db.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"66282d2496026aa34290c2bd059c28bbd8518dfbd5aa0df0311b40e9b10dedb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/agno/agno/api/agent.py:7-13 | libs/agno/agno/api/team.py:7-13 | libs/agno/agno/api/workflow.py:7-13 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run\u0060 to \u0060AgentRunCreate\u0060 in one and \u0060TeamRunCreate\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":"libs/agno/agno/api/agent.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8179f5c5e5bace6bda556895b51948e9c7377364f79cd523bb38c265c7d9d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/knowledge/__init__.py:29-40 | libs/agno/agno/tools/file/__init__.py:40-51 | libs/agno/agno/tools/knowledge/__init__.py:28-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/__init__.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c05075936ee9d08beb3db914e0957543470bdf5b7dd3aef1ee55dc6c5c955b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cookbook/01_demo/evals/__main__.py:217-221 | libs/agno/agno/eval/suite.py:786-790 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060passed\u0060 to \u0060bool | None\u0060 in one and \u0060Optional[bool]\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":"cookbook/01_demo/evals/__main__.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed82ccd4abda464c16ae516193f9697bdc840c8c33dcd5522b31dc477cec5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cookbook/02_agents/05_state_and_session/session_state_advanced.py:47-57 | cookbook/03_teams/21_state/nested_shared_state.py:69-79 \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":"cookbook/02_agents/05_state_and_session/session_state_advanced.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb53b2e7ddfa6b7abbaaa37b1b3dbe301b4e8e7e391c35c49ab4b7b8f1ae3079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): cookbook/02_agents/05_state_and_session/session_state_basic.py:15-20 | cookbook/02_agents/05_state_and_session/session_state_events.py:15-20 | cookbook/02_agents/05_state_and_session/session_state_manual_update.py:15-20 \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":"cookbook/02_agents/05_state_and_session/session_state_basic.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbab6d7b66a098ba5df6d5f340888440e0ac2deb522f29effb8ee990cb09661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cookbook/02_agents/09_hooks/stream_hook.py:18-25 | cookbook/03_teams/13_hooks/stream_hook.py:26-31 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_output\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"cookbook/02_agents/09_hooks/stream_hook.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"015720c34c6b4de4aa4a7241c0761d86864e339bcba792ff68f2028515e6dd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): cookbook/04_workflows/01_basic_workflows/01_sequence_of_steps/sequence_of_steps.py:96-111 | cookbook/04_workflows/01_basic_workflows/01_sequence_of_steps/sequence_with_functions.py:111-126 | cookbook/04_workflows/01_basic_workflows/01_sequence_of_steps/sequence_with_functions.py:185-200 \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":"cookbook/04_workflows/01_basic_workflows/01_sequence_of_steps/sequence_of_steps.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cf99c1ab35bfb209e02e3226163251e1912ca5ea65ff0d49da94ed898c6cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cookbook/04_workflows/03_loop_execution/loop_basic.py:61-72 | cookbook/04_workflows/05_conditional_branching/router_with_loop.py:66-77 \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":"cookbook/04_workflows/03_loop_execution/loop_basic.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a521509aecd6ed791e33afd72166671fdb0d643e0a5e66111c0d0dc327301f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cookbook/04_workflows/05_conditional_branching/selector_types.py:47-53 | cookbook/04_workflows/05_conditional_branching/string_selector.py: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. 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":"cookbook/04_workflows/05_conditional_branching/selector_types.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e011b5dab4a58d471e8a1d75069decd2e4641ec710b336391024365596e8290a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py:26-30 | cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py:28-32 \u2014 before extracting anything, compare \u0060cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py\u0060 and \u0060cookbook/04_workflows/06_advanced_concepts/long_running/events_replay.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"cookbook/04_workflows/06_advanced_concepts/long_running/disruption_catchup.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c9dec7ca8b3a5afeb8e8fa3d154426b691051b0259f9c8bd2136bf490d55a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cookbook/04_workflows/06_advanced_concepts/workflow_as_a_step/nested_workflow.py:22-29 | cookbook/04_workflows/06_advanced_concepts/workflow_as_a_step/nested_workflow_events.py:25-32 \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":"cookbook/04_workflows/06_advanced_concepts/workflow_as_a_step/nested_workflow.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2eb4e570dbd24c3bcdf89707eb1ab4547e827428c92298dd028cc6d3d38b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cookbook/04_workflows/08_human_in_the_loop/loop/01_loop_confirmation.py:36-44 | cookbook/04_workflows/08_human_in_the_loop/loop/02_loop_confirmation_streaming.py: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":"cookbook/04_workflows/08_human_in_the_loop/loop/01_loop_confirmation.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5dc42859eb90f4a06b8e50aefd6cc33b2ead836e877aa6304640dd1288b0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cookbook/05_agent_os/09_serving_workflows/run_over_api.py:29-42 | cookbook/05_agent_os/09_serving_workflows/with_workflow_agent.py:86-99 \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":"cookbook/05_agent_os/09_serving_workflows/run_over_api.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"db167231fc972a19319c0a601d7cb7274e1209684fe7856a018ba0e2b6bc4abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): cookbook/07_knowledge/02_building_blocks/08_mmr_diverse_results.py:66-71 | cookbook/07_knowledge/02_building_blocks/09_mmr_with_pgvector.py:70-75 | cookbook/07_knowledge/02_building_blocks/10_mmr_with_elasticsearch.py:72-77 \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":"cookbook/07_knowledge/02_building_blocks/08_mmr_diverse_results.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fed370ce631788089130a61378b72c510e19bc878cba16a798f5596d42635a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cookbook/07_knowledge/02_building_blocks/12_hyde_query_transformer.py:91-95 | cookbook/07_knowledge/02_building_blocks/13_hyde_with_hybrid_search.py:90-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/02_building_blocks/12_hyde_query_transformer.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9249686bfa62b8f3c923f09b61187387c0d7a8bbe1d8d66da537aec4372ef83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): cookbook/07_knowledge/04_advanced/07_per_user_isolation/cassandra_db.py:44-48 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/chroma_db.py:39-43 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/clickhouse_db.py:46-50 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/couchbase_db.py:136-140 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/elasticsearch_db.py:46-50 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/lance_db.py:42-46 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/milvus_db.py:45-49 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/mongo_db.py:43-47 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/opensearch_db.py:44-48 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/pgvector_db.py:38-42 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/pinecone_db.py:43-47 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/qdrant_db.py:43-47 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/redis_db.py:42-46 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/singlestore_db.py:51-55 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/surreal_db.py:48-52 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/upstash_db.py:44-48 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/valkey_db.py:48-52 | cookbook/07_knowledge/04_advanced/07_per_user_isolation/weaviate_db.py:41-45 \u2014 before extracting anything, compare \u0060cookbook/07_knowledge/04_advanced/07_per_user_isolation/cassandra_db.py\u0060 and \u0060cookbook/07_knowledge/04_advanced/07_per_user_isolation/pgvector_db.py\u0060 as WHOLE FILES: 82% 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/04_advanced/07_per_user_isolation/cassandra_db.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54213ca3d8e4b828da07aedf4bad0bd8fc61a68dc2d618bfff14698d643d7c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cookbook/07_knowledge/09_archive/embedders/vllm_embedder_local.py:36-47 | cookbook/07_knowledge/09_archive/embedders/vllm_embedder_remote.py:33-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. 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":"cookbook/07_knowledge/09_archive/embedders/vllm_embedder_local.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf328536809d020f831fcdc22feda8f68dce2d487aa49e034bb83965f5edfd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cookbook/07_knowledge/09_archive/vector_dbs/async_elasticsearch_db_with_batch_embedder.py:54-66 | cookbook/07_knowledge/09_archive/vector_dbs/async_opensearch_db_with_batch_embedder.py:43-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/async_elasticsearch_db_with_batch_embedder.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e31c8628b4f87c9df4648ee365d2b6a7fcdb66c0da8a2ed345b39d44fd6933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): cookbook/07_knowledge/09_archive/vector_dbs/lance_db.py:77-84 | cookbook/07_knowledge/09_archive/vector_dbs/pinecone_db.py:90-97 | cookbook/07_knowledge/09_archive/vector_dbs/singlestore_db.py:101-108 | cookbook/07_knowledge/09_archive/vector_dbs/upstash_db.py:84-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/lance_db.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c59db992d26e0f1de6ef16740e92c15218df857b030c621b2ca50a4ec08c213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py:56-63 | cookbook/07_knowledge/09_archive/vector_dbs/mongo_db.py:88-95 | cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py:64-71 \u2014 before extracting anything, compare \u0060cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py\u0060 and \u0060cookbook/07_knowledge/09_archive/vector_dbs/qdrant_db.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"cookbook/07_knowledge/09_archive/vector_dbs/milvus_db.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ca309af04ec72988b6d34cf3cc584f30d0a0087270588dc593285ef66032c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cookbook/07_knowledge/09_archive/vector_dbs/mongo_db_hybrid_search.py:38-48 | cookbook/07_knowledge/09_archive/vector_dbs/weaviate_db_hybrid_search.py:42-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":"cookbook/07_knowledge/09_archive/vector_dbs/mongo_db_hybrid_search.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee2754674ff52ed49c694d1d32ef3a1a41d115e724f98daffa1dac05628fbcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cookbook/91_tools/mcp/graphiti.py:26-38 | cookbook/91_tools/mcp/mem0.py:26-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/graphiti.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6385d665a1566527ad1543cd36b3c7f93fcdc7b3e55b1504ed838dc3e6b8895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cookbook/environments/_00_quickstart/_03_tool_reliability.py:44-48 | cookbook/environments/_00_quickstart/_06_drilldown_demo.py:37-41 \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":"cookbook/environments/_00_quickstart/_03_tool_reliability.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e8be3a0d02313abc0767738b3dff069402d45e1976847997b375536b559336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/agent/_default_tools.py:332-347 | libs/agno/agno/team/_default_tools.py:256-270 \u2014 \u0060libs/agno/agno/agent/_default_tools.py\u0060 and \u0060libs/agno/agno/team/_default_tools.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 12 separate duplicated blocks between them, totalling at least 269 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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dd52c62a330cd17a769932c24484884d11849ad191bf17be3d875abd9c549c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_init.py:70-86 | libs/agno/agno/team/_init.py:854-871 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6a964242012cea2939fe1a1e7a6fb35fe57c1b5749278c63f87418c1c626ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_init.py:415-427 | libs/agno/agno/team/_init.py:804-811 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"edddc16f8bcf44966bff0f9a26d11b016b02e94c0caa5d58728dd4534700bc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/agent/_init.py:551-557 | libs/agno/agno/team/_init.py:982-988 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba155ad51da8e4249c612c598718d6fab8834971f95c4a2fb1170715f45fb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_init.py:578-585 | libs/agno/agno/team/_init.py:1009-1016 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a4a468c7aa2e46b8344fce42485369bdc0e3c65f799b674cfca24ad57ff305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/agent/_run.py:3089-3110 | libs/agno/agno/team/_run.py:7128-7143 \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 \u0060libs/agno/agno/team/_run.py:7128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060\u0022TeamRunOutput\u0022\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefdafcffcb90710a2bf1bec9776dcd592dc49f76eb3ebfe2ac78c5c7dda48d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_run.py:3114-3121 | libs/agno/agno/team/_run.py:7147-7156 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060\u0022TeamRunOutput\u0022\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3114}}}],"partialFingerprints":{"codehealthFindingId/v1":"76df1c0277bea6a285ee905b0facbc98286384bb7d23368202039349741a4f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/agent/_run.py:3185-3190 | libs/agno/agno/team/_run.py:7213-7218 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aa704a8eca8737c4402a5d9128bab37a2b9dff970e050a0f117cec22411b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/agent/_run.py:6181-6222 | libs/agno/agno/team/_run.py:4859-4882 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6467cbd6944782585d34eec1a5167d5b94fef20bacb13e5d200cfb04ba3894c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/agent/_run.py:6326-6331 | libs/agno/agno/team/_run.py:5037-5042 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060run_response\u0060 to \u0060RunOutput\u0060 in one and \u0060TeamRunOutput\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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddedf084f67a48c6e124d4b2118fd58bd44914a69a6b27e57d4fc3c83dcdad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_session.py:922-940 | libs/agno/agno/team/_session.py:1064-1080 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"175ff0d43ed6c24db6e23b3c9f9f946c138e9f1437a857fe76bf03f4548038c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_session.py:944-961 | libs/agno/agno/team/_session.py:1084-1100 \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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a725304119b3475ebc7f581adac4e7291378ea9b0401c2a599463e51dda11d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/agent/_storage.py:249-258 | libs/agno/agno/team/_storage.py:71-80 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6812eece9e0ac65e299ad63174e502473f5e7b96c7f2fc6e82e9444da275c7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/_storage.py:262-269 | libs/agno/agno/team/_storage.py:84-91 \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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"db788e281820f356ce3adffbb406b7fa2d45630c8c79eb17cb9b4353023f575c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/_storage.py:596-609 | libs/agno/agno/team/_storage.py:465-478 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060AgentSession\u0060 in one and \u0060TeamSession\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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13474628857c058f30e3ec8bfa8d6d78ab307a724e96c52da6010ff46ae424c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/agent/_utils.py:62-70 | libs/agno/agno/team/_utils.py:60-68 \u2014 \u0060libs/agno/agno/agent/_utils.py\u0060 and \u0060libs/agno/agno/team/_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 5 separate duplicated blocks between them, totalling at least 107 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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"781c28af1a2a08d23f1e5b0a5c41bce748454371461e8a805dcc6cd3dcc71cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): libs/agno/agno/agent/agent.py:830-845 | libs/agno/agno/agents/base.py:483-496 | libs/agno/agno/factory/base.py:83-96 | libs/agno/agno/remote/base.py:530-545 | libs/agno/agno/team/team.py:748-765 | libs/agno/agno/workflow/workflow.py:807-824 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"574061e6602eb706be1cdba3c5aa09b9312cd139c8cf9f9240ccac9f9ba50042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/agent/agent.py:1074-1083 | libs/agno/agno/team/team.py:1673-1682 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc20d641059aa12a60521a46a5a2bf404ac1eb27885f7e77d0acf8c2ec96c7f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/agents/_storage.py:122-126 | libs/agno/agno/sandbox/_harness.py:74-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. 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":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2597adf065c5f460beffd846d542a9e8573fd6392d33cd685c7eda7ac657afc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/cloud/aws/base.py:52-57 | libs/agno_infra/agno/aws/resource/base.py:64-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. 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: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a46095a73480b8999ba320440202c42cf54b2963924d8ff2938a884d9b6f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/cloud/aws/base.py:60-65 | libs/agno_infra/agno/aws/resource/base.py:72-77 \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. Note first that the copies are not typed on the same thing: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"751f24bb4c8eff20615b737f2b045804e48bbcc0705ce741b4639c59311543f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/api_client.py:12-18 | libs/agno_infra/agno/aws/api_client.py:12-18 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/api_client.py\u0060 and \u0060libs/agno_infra/agno/aws/api_client.py\u0060 as WHOLE FILES: 88% 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. 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":"libs/agno/agno/cloud/aws/s3/api_client.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"11122b29137fcde1c5dab58d8e8e44680bb61269825aaa8bfd5fb1c04bd303ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/bucket.py:42-49 | libs/agno_infra/agno/aws/resource/s3/bucket.py:43-50 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/bucket.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/s3/bucket.py\u0060 as WHOLE FILES: this scan already matched 3 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. 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: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3b781d8f8b0d3913d1c09fe1b97e4492dc8af89e8342e58aff33792e7adb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/cloud/aws/s3/object.py:31-44 | libs/agno_infra/agno/aws/resource/s3/object.py:35-48 \u2014 before extracting anything, compare \u0060libs/agno/agno/cloud/aws/s3/object.py\u0060 and \u0060libs/agno_infra/agno/aws/resource/s3/object.py\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/s3/object.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a6c8635b034cbea5a50c67609bdbe4c88fa572cc0f19bbb36b8e0b2101ebff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/context/calendar/provider.py:143-149 | libs/agno/agno/context/gmail/provider.py:158-164 \u2014 \u0060libs/agno/agno/context/calendar/provider.py\u0060 and \u0060libs/agno/agno/context/gmail/provider.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 4 separate duplicated blocks between them, totalling at least 54 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":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e797859578d5214fa1a5ba0ac111b9a84f11b2dfd03cb225805a687f2fc4107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/context/web/exa_mcp.py:96-104 | libs/agno/agno/context/web/parallel_mcp.py:128-136 \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":"libs/agno/agno/context/web/exa_mcp.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986eb7e828a38fe75ae4e83d4e027387b01e25165e4e4d3278725d7d7ecff14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 13): libs/agno/agno/db/dynamo/dynamo.py:3204-3230 | libs/agno/agno/db/firestore/firestore.py:2897-2924 | libs/agno/agno/db/gcs_json/gcs_json_db.py:1962-1989 | libs/agno/agno/db/in_memory/in_memory_db.py:1676-1703 | libs/agno/agno/db/json/json_db.py:2084-2111 | libs/agno/agno/db/mongo/mongo.py:2914-2941 | libs/agno/agno/db/mysql/mysql.py:3399-3426 | libs/agno/agno/db/postgres/postgres.py:4235-4262 | libs/agno/agno/db/redis/redis.py:2840-2867 | libs/agno/agno/db/singlestore/singlestore.py:3390-3417 | libs/agno/agno/db/sqlite/sqlite.py:4171-4198 | libs/agno/agno/db/surrealdb/surrealdb.py:2555-2582 | libs/agno/agno/db/valkey/valkey.py:3187-3214 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 13 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 13 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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dbb8348ba37b6b35b20252292d4cec89c470df221c6a2c886bc5b08bacb743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2665-2670 | libs/agno/agno/db/mongo/mongo.py:2696-2701 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba91a09b1d31d22de3e1a5088cbe76002b8412de3cf171d2be2a9e88cd38e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2792-2809 | libs/agno/agno/db/mongo/mongo.py:2827-2844 \u2014 \u0060libs/agno/agno/db/firestore/firestore.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.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 25 separate duplicated blocks between them, totalling at least 436 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfca3c2e1545ecb5d1c280bf5a94583d259ce4bcd7e7a49df6b5f52ea71fdd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/agno/agno/db/firestore/utils.py:201-214 | libs/agno/agno/db/redis/utils.py:216-231 | libs/agno/agno/db/valkey/utils.py:619-634 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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":"libs/agno/agno/db/firestore/utils.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cf83df39320032b6e62dee6914693786f52857fe4e9e65980cb569b2c52551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:266-275 | libs/agno/agno/db/json/json_db.py:306-315 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1ef41e2f16517b8901e2dce2a42ea350e34f06592bf048b151dc52ec7c7d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1186-1197 | libs/agno/agno/db/json/json_db.py:1272-1283 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"972cb1cb90ee07f5f8f25063ea46a442a526d1efaee089f0cb134e8442560961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:1255-1261 | libs/agno/agno/db/json/json_db.py:1339-1345 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab07b6f37b186eaa3efb2e21b052578a5d2b31046656dd07930f63e141df9bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): libs/agno/agno/db/gcs_json/gcs_json_db.py:1895-1909 | libs/agno/agno/db/in_memory/in_memory_db.py:1609-1623 | libs/agno/agno/db/json/json_db.py:2017-2031 | libs/agno/agno/db/redis/redis.py:2761-2775 | libs/agno/agno/db/valkey/valkey.py:3108-3122 \u2014 \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/in_memory/in_memory_db.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 27 separate duplicated blocks between them, totalling at least 571 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"880552341c71f3ad1bbf50889ae7258819b16febffdfee2f732e6baab3cb2a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:2726-2737 | libs/agno/agno/db/json/json_db.py:2875-2886 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94747b0d4ed372767de3835af15d930787cfb2f2462df60062b7161eb74b9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): libs/agno/agno/db/json/json_db.py:1991-2014 | libs/agno/agno/db/redis/redis.py:2735-2758 | libs/agno/agno/db/valkey/valkey.py:3082-3105 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/json/json_db.py\u0060 and \u0060libs/agno/agno/db/redis/redis.py\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 474 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a15f6b014c9b14043af9585be73eb01c6bcaee06a1846bb38a01ad86f582b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:136-149 | libs/agno/agno/db/migrations/versions/v3_0_0.py:549-562 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481d03441a808952e8f43ca529b37c961e42410c65f68e8fbe3835f37ccda50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/migrations/versions/v2_5_6.py:153-166 | libs/agno/agno/db/migrations/versions/v3_0_0.py:566-579 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/migrations/versions/v2_5_6.py\u0060 and \u0060libs/agno/agno/db/migrations/versions/v3_0_0.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/migrations/versions/v2_5_6.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39d91b3d666a9fd3d1d9e426b7043b4af68e20de81f3a5fc70316489977d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): libs/agno/agno/db/mongo/async_mongo.py:3163-3190 | libs/agno/agno/db/mysql/async_mysql.py:3456-3483 | libs/agno/agno/db/postgres/async_postgres.py:3711-3738 | libs/agno/agno/db/sqlite/async_sqlite.py:3957-3984 \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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0defe9fb9a342c70c231fe5b27dd60878c444676fcf295e6d4ae36971763aa67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/mongo/async_mongo.py:3710-3739 | libs/agno/agno/db/mongo/mongo.py:3518-3547 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/mongo/async_mongo.py\u0060 and \u0060libs/agno/agno/db/mongo/mongo.py\u0060 as WHOLE FILES: this scan already matched 81 separate duplicated blocks between them, totalling at least 1374 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3710}}}],"partialFingerprints":{"codehealthFindingId/v1":"48904bcd259a515563ef62e7fad89080ce478de192ab84c5a97c19b390707c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:394-417 | libs/agno/agno/db/postgres/async_postgres.py:394-421 | libs/agno/agno/db/sqlite/async_sqlite.py:378-405 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d38682669dee40b2c299ef50af16e1d9718251c731c0a6eacf3eaed3ce8f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/agno/agno/db/mysql/async_mysql.py:3374-3391 | libs/agno/agno/db/postgres/async_postgres.py:3629-3646 | libs/agno/agno/db/sqlite/async_sqlite.py:3868-3885 \u2014 \u0060libs/agno/agno/db/mysql/async_mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/async_postgres.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 146 separate duplicated blocks between them, totalling at least 2898 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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6ac667d1323addbcfe11d87b493dc90acbeab153b531f45ab1ab04800e00de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:387-408 | libs/agno/agno/db/postgres/postgres.py:429-457 | libs/agno/agno/db/singlestore/singlestore.py:295-314 | libs/agno/agno/db/sqlite/sqlite.py:429-457 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"68abbf61cb59890e67d3533f6285f9f63123094c0eb2d5da1efdbbbd78ba0d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/mysql/mysql.py:2423-2429 | libs/agno/agno/db/singlestore/singlestore.py:2415-2421 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/singlestore/singlestore.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 200 separate duplicated blocks between them, totalling at least 3798 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60a51792dad00ce68db108f12d8922b85b10f57ec542e36d25d0d62290c4e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/agno/agno/db/mysql/mysql.py:3314-3331 | libs/agno/agno/db/postgres/postgres.py:4150-4167 | libs/agno/agno/db/singlestore/singlestore.py:3307-3324 | libs/agno/agno/db/sqlite/sqlite.py:4084-4101 \u2014 \u0060libs/agno/agno/db/mysql/mysql.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.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 147 separate duplicated blocks between them, totalling at least 2783 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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c40642737218bcae9447dc10f5d02a9e6c773cbf3ef0722c0657c2ac2a7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): libs/agno/agno/db/mysql/schemas.py:308-345 | libs/agno/agno/db/singlestore/schemas.py:310-347 \u2014 \u0060libs/agno/agno/db/mysql/schemas.py\u0060 and \u0060libs/agno/agno/db/singlestore/schemas.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 1 separate duplicated blocks between them, totalling at least 38 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":"libs/agno/agno/db/mysql/schemas.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"92465532565a9e5ba9bd146a07992f3b1df1859cf70341febd3210a2272934b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:158-173 | libs/agno/agno/db/postgres/utils.py:160-175 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1defb1330e53d42b74afa556f623a39675862ac5bab5f765cb22cb71c6f8e42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): libs/agno/agno/db/mysql/utils.py:364-373 | libs/agno/agno/db/postgres/utils.py:409-418 | libs/agno/agno/db/singlestore/utils.py:286-295 | libs/agno/agno/db/sqlite/utils.py:349-358 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56093797a397e7759e5772b88852baa31eae4b1d02c2f7c357421f1d1a27d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/db/mysql/utils.py:379-390 | libs/agno/agno/db/postgres/utils.py:424-435 | libs/agno/agno/db/sqlite/utils.py:364-375 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/postgres/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 11 separate duplicated blocks between them, totalling at least 238 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"969effa3d3ef3cb89737e3b4a50c88d11e5a40a69d57b2a188f904527f2c2cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/mysql/utils.py:394-399 | libs/agno/agno/db/singlestore/utils.py:299-304 \u2014 \u0060libs/agno/agno/db/mysql/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 10 separate duplicated blocks between them, totalling at least 214 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/mysql/utils.py:394\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5805f65ded6810852c5df717c7e9b7bb200a4c668f38909f7b78d6b27ea5c03e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/async_postgres.py:7513-7518 | libs/agno/agno/db/sqlite/async_sqlite.py:6729-6734 \u2014 \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/async_sqlite.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 295 separate duplicated blocks between them, totalling at least 4821 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f08d89fb4797d05cf9fce43148b0e3ca561418d21ebe12a30472ec20cf718a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:4019-4024 | libs/agno/agno/db/sqlite/sqlite.py:3953-3958 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4019}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c322a747fbef33cbf6127c66f304cb2dd25fa09ef3d28c2b5846cbc8330a471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:6594-6598 | libs/agno/agno/db/sqlite/sqlite.py:6452-6456 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6594}}}],"partialFingerprints":{"codehealthFindingId/v1":"668074469865f6d7bd2871bfc2c7f48b8385b3f5a3d9436b7bfaa9946edbc3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9810-9819 | libs/agno/agno/db/sqlite/sqlite.py:8754-8763 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9810}}}],"partialFingerprints":{"codehealthFindingId/v1":"3152fe324c031bf7219c48fbd3cc62ab69ff6977d3954588bc0091d58a0622f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9828-9838 | libs/agno/agno/db/sqlite/sqlite.py:8772-8782 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec97cf817b59057edeb1b1f62382bcd58f9b9f478c031c48fd3578ca24bf9b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:9865-9875 | libs/agno/agno/db/sqlite/sqlite.py:8809-8819 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":9865}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a8bda76725a6868895475dcb14d944e6bf122db137f63453081e0234419f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10258-10263 | libs/agno/agno/db/sqlite/sqlite.py:9201-9206 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42d40361d1e3935993522da4ad53e895e1b9ca7c624e3c28a81442a6869ea6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/db/postgres/postgres.py:10503-10509 | libs/agno/agno/db/sqlite/sqlite.py:9444-9450 \u2014 \u0060libs/agno/agno/db/postgres/postgres.py\u0060 and \u0060libs/agno/agno/db/sqlite/sqlite.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 338 separate duplicated blocks between them, totalling at least 6591 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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10503}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af1f366a40bb150317215934e8b7be7d114e0911359c0fb584c41b86856b5e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/agno/agno/db/postgres/utils.py:473-478 | libs/agno/agno/db/singlestore/utils.py:319-324 | libs/agno/agno/db/sqlite/utils.py:413-418 \u2014 \u0060libs/agno/agno/db/postgres/utils.py\u0060 and \u0060libs/agno/agno/db/singlestore/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 5 separate duplicated blocks between them, totalling at least 126 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":"libs/agno/agno/db/postgres/utils.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f270ded7906e1118781ebcf8e0644214fd98be7c05e341e9ef23260c8cd6d33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:2983-3006 | libs/agno/agno/db/valkey/valkey.py:3332-3355 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"90841470224f46ba696f63b5eaccefcae2e62680f10c8d2454e2cd10cbbd2d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3327-3343 | libs/agno/agno/db/valkey/valkey.py:3724-3740 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3327}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ca4cc43c0830b9d7ed6cc584bf1a1e5e4872ff89ca6b5fa02e77555a57fc77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3706-3720 | libs/agno/agno/db/valkey/valkey.py:4167-4181 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3706}}}],"partialFingerprints":{"codehealthFindingId/v1":"4877a0c47d1d306bb7dc4f94450800e2fcb65196ee2d856bb19f8fd2dd95fba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:3744-3762 | libs/agno/agno/db/valkey/valkey.py:4213-4231 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3744}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02875c89d412940f17a6903d755a858ccc1e720342fe43d72e50208a80f9480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/agno/agno/db/redis/schemas.py:209-238 | libs/agno/agno/db/valkey/schemas.py:228-258 \u2014 \u0060libs/agno/agno/db/redis/schemas.py\u0060 and \u0060libs/agno/agno/db/valkey/schemas.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 1 separate duplicated blocks between them, totalling at least 31 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":"libs/agno/agno/db/redis/schemas.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb66530bd8052144d9bcad08ada412f6a95037d34d7244a94d2e1fc50d830177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/redis/utils.py:31-36 | libs/agno/agno/db/valkey/utils.py:43-48 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0413fc5f138086a4ae4dd6835802223bf343f880d969d1835ce082e96f726681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/db/redis/utils.py:136-152 | libs/agno/agno/db/valkey/utils.py:184-200 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58169462d3e1646e2db19d02d4d1db33c7df1b78424a2a74a3955f4a6a9bafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/db/redis/utils.py:156-169 | libs/agno/agno/db/valkey/utils.py:204-217 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"be06db52253c53dc46090920467b2079aedf927c10c303877caeffaaed42b031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/agno/agno/db/redis/utils.py:501-513 | libs/agno/agno/db/valkey/utils.py:882-894 \u2014 \u0060libs/agno/agno/db/redis/utils.py\u0060 and \u0060libs/agno/agno/db/valkey/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 8 separate duplicated blocks between them, totalling at least 131 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"370239214c077b5ab7fc188dbba03769e59d89e7d3afbb278f667d9ce03f31c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:58-63 | libs/agno/agno/tools/workspace.py:159-164 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac769b80a1d3d16741a6ae9a1bf2270e866ddfe79a66f6c441b448b2c68f4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/fs/toolkit.py:82-91 | libs/agno/agno/tools/workspace.py:185-194 \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":"libs/agno/agno/fs/toolkit.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ee1d83c6a20188deca29e6c7eab202fb40f4488f5d2bb69b4210dfe673834a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/knowledge/chunking/document.py:12-16 | libs/agno/agno/knowledge/chunking/fixed.py:12-16 \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":"libs/agno/agno/knowledge/chunking/document.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfefddd6254d0116ae97d76e18b22ebffde35bd9f5adecead3df45a5216e891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/reader/docx_reader.py:81-86 | libs/agno/agno/knowledge/reader/pptx_reader.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. 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":"libs/agno/agno/knowledge/reader/docx_reader.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae9eccdcac4fdf002d64c7109adb2321785a2d5f794a84b86ec4711c685c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): libs/agno/agno/learn/machine.py:1028-1033 | libs/agno/agno/learn/stores/decision_log.py:283-288 | libs/agno/agno/learn/stores/entity_memory.py:903-908 | libs/agno/agno/learn/stores/learned_knowledge.py:486-491 | libs/agno/agno/learn/stores/session_context.py:268-273 | libs/agno/agno/learn/stores/user_memory.py:330-335 | libs/agno/agno/learn/stores/user_profile.py:342-347 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"136daae6d38e4739c0ab0b774e36ab25aac0bfa486b9cdbb1d9b500fb5e6fa27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:126-149 | libs/agno/agno/learn/stores/user_profile.py:136-159 \u2014 before extracting anything, compare \u0060libs/agno/agno/learn/stores/user_memory.py\u0060 and \u0060libs/agno/agno/learn/stores/user_profile.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 262 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e033351198dfb90fdaa765be75b077a5788793823109c962d47749b785faea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:159-172 | libs/agno/agno/learn/stores/user_profile.py:169-182 \u2014 before extracting anything, compare \u0060libs/agno/agno/learn/stores/user_memory.py\u0060 and \u0060libs/agno/agno/learn/stores/user_profile.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 262 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"741210e513692bd26bbf6f85847e416e2ae313956c50f185e654427907beacf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/learn/stores/user_memory.py:224-234 | libs/agno/agno/learn/stores/user_profile.py:234-244 \u2014 before extracting anything, compare \u0060libs/agno/agno/learn/stores/user_memory.py\u0060 and \u0060libs/agno/agno/learn/stores/user_profile.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 262 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ef27667dd8063fc5a20b8d98730cc8b462cb93f78eb4d61fd6fc06d653daee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 21): libs/agno/agno/models/aimlapi/aimlapi.py:49-63 | libs/agno/agno/models/cerebras/cerebras_openai.py:25-38 | libs/agno/agno/models/cometapi/cometapi.py:31-44 | libs/agno/agno/models/deepinfra/deepinfra.py:32-45 | libs/agno/agno/models/fireworks/fireworks.py:30-43 | libs/agno/agno/models/flexai/flexai.py:30-43 | libs/agno/agno/models/heabsy/heabsy.py:30-43 | libs/agno/agno/models/internlm/internlm.py:30-43 | libs/agno/agno/models/litellm/litellm_openai.py:29-42 | libs/agno/agno/models/meta/llama_openai.py:54-67 | libs/agno/agno/models/neosantara/neosantara.py:29-42 | libs/agno/agno/models/nvidia/nvidia.py:32-45 | libs/agno/agno/models/openrouter/openrouter.py:44-59 | libs/agno/agno/models/perplexity/perplexity.py:57-70 | libs/agno/agno/models/requesty/requesty.py:36-49 | libs/agno/agno/models/sambanova/sambanova.py:32-45 | libs/agno/agno/models/siliconflow/siliconflow.py:29-42 | libs/agno/agno/models/together/together.py:29-42 | libs/agno/agno/models/vercel/v0.py:30-43 | libs/agno/agno/models/xai/xai.py:44-57 | libs/agno/agno/models/yapi/yapi.py:31-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 21 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 21 times. 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, \u0060libs/agno/agno/models/cerebras/cerebras_openai.py:22\u0060 calls \u0060field\u0060, \u0060getenv\u0060 and \u0060libs/agno/agno/models/neosantara/neosantara.py:26\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":"libs/agno/agno/models/aimlapi/aimlapi.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b2b5a46eac8670d2ef798cf82b090346d055a8ed4563ac4217194073bcd6b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 10): libs/agno/agno/models/anthropic/claude.py:461-484 | libs/agno/agno/models/aws/bedrock.py:262-279 | libs/agno/agno/models/cohere/chat.py:113-135 | libs/agno/agno/models/google/gemini.py:230-266 | libs/agno/agno/models/groq/groq.py:189-214 | libs/agno/agno/models/huggingface/huggingface.py:186-209 | libs/agno/agno/models/meta/llama.py:183-204 | libs/agno/agno/models/mistral/mistral.py:176-197 | libs/agno/agno/models/ollama/chat.py:132-148 | libs/agno/agno/models/openai/chat.py:272-305 \u2014 before extracting anything, compare \u0060libs/agno/agno/models/groq/groq.py\u0060 and \u0060libs/agno/agno/models/openai/chat.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa59c3643bd76eb3f5dbbca296b8817cead13d143f0691927aa9b5ba63a561b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/os/authz/audit.py:129-144 | libs/agno/agno/os/middleware/jwt.py:1069-1085 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060claims\u0060 to \u0060Optional[Dict[str, Any]]\u0060 in one and \u0060Optional[dict]\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":"libs/agno/agno/os/authz/audit.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb31f9d8f16284748407f4fad0f93d0476dfa7d3f6faf736f89ced85172fd5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/os/routers/knowledge/knowledge.py:67-80 | libs/agno/agno/os/routers/memory/memory.py:43-55 | libs/agno/agno/os/routers/traces/traces.py:76-88 \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. 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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d6266ff5c9bbbea15c710be95642ebdf1a9cf058ad48ab176ae04137a7124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/studio_runner.py:147-151 | libs/agno/agno/utils/string.py:336-348 \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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd024d4fbf2380f68842c7b0ec6b787c779da66e5c166818aba2fe8a849299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): libs/agno/agno/vectordb/cassandra/cassandra.py:184-190 | libs/agno/agno/vectordb/lancedb/lance_db.py:299-308 | libs/agno/agno/vectordb/milvus/milvus.py:337-344 | libs/agno/agno/vectordb/pgvector/pgvector.py:670-679 | libs/agno/agno/vectordb/qdrant/qdrant.py:360-368 | libs/agno/agno/vectordb/singlestore/singlestore.py:196-204 | libs/agno/agno/vectordb/weaviate/weaviate.py:1136-1144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05fa42be178fc083b29fc4fc4971bbb5970a84639b8ef919c45432efb5b32ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:221-240 | libs/agno/agno/vectordb/opensearch/opensearch.py:185-204 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad14c3430396507968b4e0435fdffd733aab10c98ee3f75899e3d52ad25284be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:855-875 | libs/agno/agno/vectordb/opensearch/opensearch.py:767-796 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfa6c2cc0420dccc995abca7a82cfecdde075d98cd9f67833d6ec2f79790240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1004-1021 | libs/agno/agno/vectordb/opensearch/opensearch.py:925-942 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e9dd7c90dd6fb8930d62b85c795bb0e7c57f4ef78aae9b4a95b8ff3eb5b05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1032-1047 | libs/agno/agno/vectordb/opensearch/opensearch.py:951-966 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"c314663f17c1be2d2c511dfd7f81a02f75e45170c1de90c8aa61a7668c1a7fb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1820-1834 | libs/agno/agno/vectordb/opensearch/opensearch.py:1576-1593 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b1d9e78ecfc54704edec9eb9666a9eb98bb62352579b51b12ae9b5ab834568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1843-1860 | libs/agno/agno/vectordb/opensearch/opensearch.py:1602-1619 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32543a7c762dca3ee861cefd8634de955e19dd084a5b302ff66fc130271a44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:1869-1887 | libs/agno/agno/vectordb/opensearch/opensearch.py:1628-1645 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"f496501ab8154eaac3ed575b637ef8f7ce324c7489d072afcf397326741794ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2141-2163 | libs/agno/agno/vectordb/opensearch/opensearch.py:2053-2078 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c8f042086261897e59613de202bf639541bdeeb238eb91f477f9d2bf62bedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2189-2210 | libs/agno/agno/vectordb/opensearch/opensearch.py:2081-2102 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2189}}}],"partialFingerprints":{"codehealthFindingId/v1":"31184d46d1f97b9b4cc66f28400fed221b75b089b161c34c5ab8abc9c5cabdbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2607-2621 | libs/agno/agno/vectordb/opensearch/opensearch.py:2262-2276 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f679c348b14eadc5d18acbbd70c396ff6a4bcd34c2fa862fb5c964c1239ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/elasticsearch/elasticsearch.py:2671-2681 | libs/agno/agno/vectordb/opensearch/opensearch.py:2326-2336 \u2014 \u0060libs/agno/agno/vectordb/elasticsearch/elasticsearch.py\u0060 and \u0060libs/agno/agno/vectordb/opensearch/opensearch.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 45 separate duplicated blocks between them, totalling at least 892 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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7936acc81b49d1e5f89add9123de53ab658fceb860ad5a7e357088b2125ff001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/vectordb/opensearch/opensearch.py:2471-2485 | libs/agno/agno/vectordb/qdrant/qdrant.py:1273-1281 \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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b38c5dca22abcb963525cb9222311537aab39e0594ab8f8ac91c9a35354182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/agno/agno/vectordb/pgvector/pgvector.py:319-337 | libs/agno/agno/vectordb/singlestore/singlestore.py:169-187 \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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6963993254dc2cb2b08028f1567b520ec0948336ca34fb238340e391dac50e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/vectordb/pineconedb/pineconedb.py:861-867 | libs/agno/agno/vectordb/upstashdb/upstashdb.py:293-300 \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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"407dfcbf265b24ab48eaafff05a0ff5bdc8305219627987b8fd08d6e1b054950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): cookbook/07_knowledge/09_archive/embedders/azure_embedder.py:20-32 | cookbook/07_knowledge/09_archive/embedders/fireworks_embedder.py:20-32 | cookbook/07_knowledge/09_archive/embedders/gemini_embedder.py:20-32 | cookbook/07_knowledge/09_archive/embedders/mistral_embedder.py:20-32 | cookbook/07_knowledge/09_archive/embedders/openai_embedder.py:20-32 | cookbook/07_knowledge/09_archive/embedders/voyageai_embedder.py:20-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. The 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":"cookbook/07_knowledge/09_archive/embedders/azure_embedder.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5787232213f04f6e9538e603986fd11700e79fc2b3a385995527d11c0641e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): cookbook/07_knowledge/09_archive/embedders/cohere_embedder.py:44-51 | cookbook/07_knowledge/09_archive/embedders/fireworks_embedder.py:39-46 | cookbook/07_knowledge/09_archive/embedders/gemini_embedder.py:39-46 | cookbook/07_knowledge/09_archive/embedders/mistral_embedder.py:39-46 | cookbook/07_knowledge/09_archive/embedders/openai_embedder.py:39-46 | cookbook/07_knowledge/09_archive/embedders/voyageai_embedder.py: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 all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/embedders/cohere_embedder.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e010a6a98cd6d6eb3f7d52125eee840da51cba0a3f2e5a8ba592283b349b073"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): cookbook/07_knowledge/09_archive/embedders/huggingface_embedder.py:31-37 | cookbook/07_knowledge/09_archive/embedders/langdb_embedder.py:31-35 | cookbook/07_knowledge/09_archive/embedders/nebius_embedder.py:31-37 | cookbook/07_knowledge/09_archive/embedders/ollama_embedder.py:31-37 | cookbook/07_knowledge/09_archive/embedders/qdrant_fastembed.py:31-37 | cookbook/07_knowledge/09_archive/embedders/sentence_transformer_embedder.py:31-37 | cookbook/07_knowledge/09_archive/embedders/together_embedder.py:31-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 all 7 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/embedders/huggingface_embedder.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ac19d571caf2fd625558beb6de0e780cdd22b322db2810ac4080f2e12e81a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): cookbook/07_knowledge/09_archive/readers/batching.py:58-69 | cookbook/07_knowledge/09_archive/readers/from_path.py:66-77 | cookbook/07_knowledge/09_archive/readers/from_youtube.py:49-60 \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":"cookbook/07_knowledge/09_archive/readers/batching.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0092d4e8a2c69af88e614c2855182429da28a140c1fe5411ec719b795fe2f5b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): cookbook/07_knowledge/09_archive/readers/batching.py:73-84 | cookbook/07_knowledge/09_archive/readers/from_path.py:81-92 | cookbook/07_knowledge/09_archive/readers/from_youtube.py:64-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/readers/batching.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6707664c7cdde4c3cd3d223cf92b6dc72781ebd4edb3ec6daf06b7e96cd45d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_managers.py:219-236 | libs/agno/agno/team/_managers.py:173-189 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce51512a2b2c1b18123416079c4bc5363bfc62a43d38ce789be4715db3e7071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/agno/agno/agent/_managers.py:240-257 | libs/agno/agno/team/_managers.py:193-209 \u2014 \u0060libs/agno/agno/agent/_managers.py\u0060 and \u0060libs/agno/agno/team/_managers.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 7 separate duplicated blocks between them, totalling at least 100 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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfba2b2e5e217a8a0270b8b321ce73ba20732d62f16a73b50fdc5052ee7ebea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/agent/_run.py:6401-6416 | libs/agno/agno/team/_run.py:5051-5057 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97b26d84556aa21939035187af12dd50ee164c660898efdd14a54a4e1e448be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/agent/_run.py:6425-6431 | libs/agno/agno/team/_run.py:5066-5072 \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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31ca7b194ef1a3126e6551a62f23fac6ac7c17eca273d90c8892240f28ce346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/agent/agent.py:798-805 | libs/agno/agno/team/team.py:796-803 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5c959a615533b031880cdc46084a4fabef031c93810ecac5e105f0eafd0e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/agno/agno/agent/agent.py:1442-1455 | libs/agno/agno/team/team.py:1443-1456 \u2014 \u0060libs/agno/agno/agent/agent.py\u0060 and \u0060libs/agno/agno/team/team.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 9 separate duplicated blocks between them, totalling at least 148 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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"708ac395e6810c4b1f8cbace27f86223f452b39085ecb3675df5810286f77db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/agent/remote.py:163-169 | libs/agno/agno/team/remote.py:156-162 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ef2095e5ce13bd1ee5d6ebe997dd321b751575c890ff69a5a49c37c0e7dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/agno/agno/agent/remote.py:173-184 | libs/agno/agno/team/remote.py:166-177 | libs/agno/agno/workflow/remote.py:128-139 \u2014 \u0060libs/agno/agno/agent/remote.py\u0060 and \u0060libs/agno/agno/team/remote.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 9 separate duplicated blocks between them, totalling at least 124 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":"libs/agno/agno/agent/remote.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9176a3db2e164f9b71431ce1df2ce5eb043be78138548f5fa120872777a51353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/agents/claude/agent.py:447-453 | libs/agno/agno/agents/codex/agent.py:651-657 \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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"0182d61332430ba48568ebb1dc2a0e3a45ca360a40afb61c1090785adaf5b599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/cloud/aws/base.py:102-114 | libs/agno_infra/agno/aws/resource/base.py:90-102 | libs/agno_infra/agno/docker/resource/base.py:39-51 \u2014 before extracting anything, compare \u0060libs/agno_infra/agno/aws/resource/base.py\u0060 and \u0060libs/agno_infra/agno/docker/resource/base.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The 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: \u0060AwsApiClient\u0060 names \u0060agno.aws.api_client\u0060 in one and \u0060agno.cloud.aws.s3.api_client\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":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bb1f52039aff7cedf461b874481cbfb2641332c4a1b42efbfdbaf0a5589d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:1900-1909 | libs/agno/agno/db/valkey/valkey.py:2228-2237 \u2014 \u0060libs/agno/agno/db/redis/redis.py\u0060 and \u0060libs/agno/agno/db/valkey/valkey.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 91 separate duplicated blocks between them, totalling at least 2220 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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69fe10761634542e9198d01e2e1b755ce853bc0d7d0fcc96132edc0d92d1da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/knowledge/embedder/azure_openai.py:120-125 | libs/agno/agno/knowledge/embedder/openai.py:88-93 \u2014 before extracting anything, compare \u0060libs/agno/agno/knowledge/embedder/azure_openai.py\u0060 and \u0060libs/agno/agno/knowledge/embedder/openai.py\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. 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":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e457a3472800ac7aba553f13a6e56fc43f79fcc1803d73aafa2855315443894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/knowledge/embedder/cohere.py:35-43 | libs/agno/agno/knowledge/embedder/huggingface.py:32-40 | libs/agno/agno/knowledge/embedder/huggingface.py:44-52 \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. 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":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa786829d58687397b31331a3c18f1ac873588f740b5e472de953176eb12cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/agno/agno/knowledge/loaders/azure_blob.py:33-45 | libs/agno/agno/knowledge/loaders/github.py:203-215 | libs/agno/agno/knowledge/loaders/sharepoint.py:35-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 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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0835995bd8c78e154682b6dec2affe708ad69a020511b5ae2139065909d26101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/agno/agno/knowledge/remote_content/gcs.py:20-34 | libs/agno/agno/knowledge/remote_content/gcs.py:37-51 | libs/agno/agno/knowledge/remote_content/s3.py:266-280 | libs/agno/agno/knowledge/remote_content/s3.py:283-297 \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. 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":"libs/agno/agno/knowledge/remote_content/gcs.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06cd67f18c7bce80c54a6b7bb117b960fb3163bb15d3256401af22a0006bcf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): libs/agno/agno/learn/stores/session_context.py:422-438 | libs/agno/agno/learn/stores/user_memory.py:580-596 | libs/agno/agno/learn/stores/user_profile.py:742-758 \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":"libs/agno/agno/learn/stores/session_context.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db45323829b7fa72ea83f345daccda8dea4cb4eab41c3c4bf8cd97790935e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/agno/agno/models/anthropic/claude.py:425-440 | libs/agno/agno/models/vertexai/claude.py:67-82 \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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43b77edc546b8cc0cf32e7f27fe3180af5b11df8d37420619f089748b73883a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/agno/agno/vectordb/couchbase/couchbase.py:719-729 | libs/agno/agno/vectordb/redis/redisdb.py:278-292 \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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"1711162b787b722998f1a3397d13e4676b0ad4b3c948b146484cf30c0af2b880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/workflow/condition.py:461-469 | libs/agno/agno/workflow/router.py:518-526 | libs/agno/agno/workflow/router.py:612-620 \u2014 before extracting anything, compare \u0060libs/agno/agno/workflow/condition.py\u0060 and \u0060libs/agno/agno/workflow/router.py\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 321 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060libs/agno/agno/workflow/condition.py:471\u0060 calls \u0060_has_else_steps\u0060 and \u0060libs/agno/agno/workflow/router.py:622\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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96bca746ca53053b9554f8ce510d87d216205c4239aa7325dd51c7ae7db799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/agent/_init.py:52-56 | libs/agno/agno/team/_init.py:470-474 \u2014 \u0060libs/agno/agno/agent/_init.py\u0060 and \u0060libs/agno/agno/team/_init.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 14 separate duplicated blocks between them, totalling at least 215 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_init.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb713ed2e97262ae6ab97725f208f300398eb1651142db15b884f54a6ed3e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/context/fs/provider.py:56-60 | libs/agno/agno/context/workspace/provider.py:65-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. 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":"libs/agno/agno/context/fs/provider.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2a374771c8b9b0e147292274f10ba50a1ee5c965685b1bfcca32d3df133325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/firestore/firestore.py:2029-2033 | libs/agno/agno/db/firestore/firestore.py:2269-2273 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a9ededc6157e5c87c818d63bcfe628b21407874770f7b1dbd1511ae4f172f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/db/gcs_json/gcs_json_db.py:278-283 | libs/agno/agno/db/json/json_db.py:318-323 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/gcs_json/gcs_json_db.py\u0060 and \u0060libs/agno/agno/db/json/json_db.py\u0060 as WHOLE FILES: this scan already matched 82 separate duplicated blocks between them, totalling at least 1892 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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc715f384c9b353500197ec10943870145ce7bd55354c20474ad0748f4d7cb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): libs/agno/agno/db/postgres/async_postgres.py:7824-7829 | libs/agno/agno/db/postgres/async_postgres.py:7950-7955 | libs/agno/agno/db/postgres/async_postgres.py:8226-8231 | libs/agno/agno/db/postgres/postgres.py:10563-10568 | libs/agno/agno/db/postgres/postgres.py:10687-10692 | libs/agno/agno/db/postgres/postgres.py:10959-10964 | libs/agno/agno/db/sqlite/async_sqlite.py:7038-7043 | libs/agno/agno/db/sqlite/async_sqlite.py:7164-7169 | libs/agno/agno/db/sqlite/async_sqlite.py:7440-7445 | libs/agno/agno/db/sqlite/sqlite.py:9504-9509 | libs/agno/agno/db/sqlite/sqlite.py:9628-9633 | libs/agno/agno/db/sqlite/sqlite.py:9900-9905 \u2014 before extracting anything, compare \u0060libs/agno/agno/db/postgres/async_postgres.py\u0060 and \u0060libs/agno/agno/db/postgres/postgres.py\u0060 as WHOLE FILES: this scan already matched 184 separate duplicated blocks between them, totalling at least 2510 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7824}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3b8ca66c7f7feea72514f9eb41b147baf22ad3c5be91239ff64e5d9d9e5054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/redis/redis.py:4616-4620 | libs/agno/agno/job_queue/store.py:379-383 \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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":4616}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cf45bccbc8a7b88aefe369e714a3287a5fc6707a6c50411baa88284e45df5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/db/sql/authz.py:92-96 | libs/agno/agno/db/sql/authz.py:615-619 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/db/sql/authz.py:92\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/db/sql/authz.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e771c91783fed2cb33542fdb1ddae70d7e5ab5d3e0a6c60efdaf3f68b95756f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/agno/agno/knowledge/embedder/ollama.py:93-99 | libs/agno/agno/knowledge/embedder/ollama.py:128-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/ollama.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"36610d15e652c6a207b9db3c5a2084d0903ad8c35bf52de048af8da4d3132b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/agno/agno/metrics.py:199-207 | libs/agno/agno/metrics.py:339-347 | libs/agno/agno/metrics.py:624-632 \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 \u0060other\u0060 to \u0060\u0022MessageMetrics\u0022\u0060 in one and \u0060\u0022RunMetrics\u0022\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":"libs/agno/agno/metrics.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feb6b59b2b1b1a8d73377847805d58dc72f4088bf7688a73ab5015cf2386e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/models/openai/responses.py:610-614 | libs/agno/agno/models/openai/responses.py:617-621 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cab5771b9b9d6013870289942a8cc8dc3e335d9f8d499a2c69ba3f07880ddf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/authz/user_directory.py:372-377 | libs/agno/agno/os/authz/user_directory.py:672-677 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/os/authz/user_directory.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b84d0098a2154c48c21a64b34520d07ff16d0d91ad4110680ba84a6f677258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/event_streams/redis.py:296-301 | libs/agno/agno/os/event_streams/redis.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/event_streams/redis.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba2912c848443a653cfe375828a87f62db4b3bc0fde5ccaf00cd26a31795750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/os/routers/registry/utils.py:36-40 | libs/agno/agno/os/routers/registry/utils.py:61-65 \u2014 both copies are in the same file, so extract the block 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, \u0060libs/agno/agno/os/routers/registry/utils.py:41\u0060 calls \u0060class_path\u0060 and \u0060libs/agno/agno/os/routers/registry/utils.py:66\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":"libs/agno/agno/os/routers/registry/utils.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4d22574b407dc82768cda06f2041923ce99c242fa02fef96ffb409f4a3d6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/routers/schedules/router.py:499-504 | libs/agno/agno/os/routers/schedules/router.py:530-535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/schedules/router.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bc4345b9fa9c15ef973e9c24e7d589373b1f6a5616d6e0f471e3950b0856d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/os/schema.py:683-688 | libs/agno/agno/os/schema.py:723-728 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/os/schema.py:683\u0060 it does not close everything it opens, so those exact 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060session\u0060 to \u0060TeamSession\u0060 in one and \u0060WorkflowSession\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, \u0060libs/agno/agno/os/schema.py:691\u0060 calls \u0060get\u0060 and \u0060libs/agno/agno/os/schema.py:730\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":"libs/agno/agno/os/schema.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd50e23dbf8f4f34df3a2bfedef9f1de4fa4a1aee9077b338941d3b6c39e2b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/run/agent.py:952-956 | libs/agno/agno/run/workflow.py:1055-1059 \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":"libs/agno/agno/run/agent.py"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1a3eb60115ff3fef9bbd8da4fc88845e1ed7b1ec99cf3f2fb30714415569ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/agno/agno/tools/google/drive.py:649-653 | libs/agno/agno/tools/google/drive.py:698-702 | libs/agno/agno/tools/google/drive.py:776-780 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/drive.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"198f973eb6ff663109ffc2370ff653debe46222d65a46e0cd7ecbb9873a856b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/knowledge/management.py:216-220 | libs/agno/agno/tools/knowledge/management.py:273-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. 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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bed36298e2aa53445c9ad74619026d2384ceb8ee95a8d19700da81fb1ad069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/tools/knowledge/management.py:241-245 | libs/agno/agno/tools/knowledge/management.py:300-304 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f91bf7298dcec8c889dd89cd40802950922d110e950ebc066560ce31b46a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/knowledge/management.py:324-329 | libs/agno/agno/tools/knowledge/management.py:349-354 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/knowledge/management.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ac31f16e7ef5908063f6508d294db2b9dc119f466ff06d7019d211a5deee65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/openrouteservice.py:232-237 | libs/agno/agno/tools/openrouteservice.py:278-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"libs/agno/agno/tools/openrouteservice.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33080aa3e5763952a27c81329e11abd3922990083addc71f2ef51e0be7520f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/tools/slack.py:618-623 | libs/agno/agno/tools/slack.py:888-893 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0551f14ca6e31480f5122e04530add93e9e48ca05870d88bec56f34a00b04a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/utils/agent.py:490-494 | libs/agno/agno/utils/agent.py:513-517 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"db20a551e8a4f9637003c9c7e5818fd9dadbda27f86bdd4ce94a83701c1922aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/agno/agno/workflow/condition.py:649-657 | libs/agno/agno/workflow/condition.py:1102-1110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/workflow/condition.py:649\u0060 it does not close everything it opens, so those exact 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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fec50163dda4c3b5bd8f5e4d76e6ad9fbfdcc5df09f971c9d9b58e403ce2f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/agno/agno/workflow/utils/hitl.py:433-440 | libs/agno/agno/workflow/utils/hitl.py:444-451 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/utils/hitl.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"90895a4cd2f63966e69025ddc6bf7da1b7eb7082d15f38eecccfb14b91f6c405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/agno/agno/workflow/workflow.py:1875-1879 | libs/agno/agno/workflow/workflow.py:1909-1913 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73a1085be5e7366a90d8c06c4c242a01d9f3d9db5e028b6a2e029c4ceb74d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): libs/agno/agno/sandbox/postgres_checkpoints.py:292-323 | libs/agno/agno/sandbox/postgres_checkpoints.py:326-360 \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":"libs/agno/agno/sandbox/postgres_checkpoints.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eca26fa9f2ef2983aec735584a6935ff85b51c2889ba25a413a302adbbc7d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): libs/agno/agno/sandbox/client.py:253-271 | libs/agno/agno/sandbox/client.py:283-298 \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":"libs/agno/agno/sandbox/client.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"938f839452ae9303b86653b07090ccd055ab8655ad958a60c3a6bfa3f8a09063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/agno/agno/sandbox/docker/sandbox.py:711-719 | libs/agno/agno/sandbox/docker/sandbox.py:722-731 \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":"libs/agno/agno/sandbox/docker/sandbox.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb055e46759cae2ff3867731db37ab36799d25101cd17d150675ab1305d9f75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/agno/agno/sandbox/agentcore/sandbox.py:204-205 | libs/agno/agno/sandbox/docker/sandbox.py:251-252 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/sandbox/agentcore/sandbox.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f363505b58f4154fa39f9a42f15ad8bc4406bc8a9eafabac165f9e0f793a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cookbook/01_demo/evals/__main__.py:225-231 | cookbook/01_demo/run.py:38-48 \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":"cookbook/01_demo/evals/__main__.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0223e4f0b2061f6ffb378da52536e10664cb1f544e2a636c232652a448b428d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/agno/agno/sandbox/coordinator.py:164-178 | libs/agno/agno/sandbox/coordinator.py:335-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/agno/agno/sandbox/coordinator.py:164\u0060 it begins part-way through the construct above it, so those exact 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":"libs/agno/agno/sandbox/coordinator.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1b49dd9f7b96f80fe89ea37113777bdcc12c05f8a48bbf770603922f99c29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/agno/agno/sandbox/postgres_checkpoints.py:172-181 | libs/agno/agno/sandbox/s3.py:141-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. 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":"libs/agno/agno/sandbox/postgres_checkpoints.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ce416c4cb471d80e2ecce1374defd8c27bf02bdb33017249e405f2d69c6430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/agno/agno/sandbox/postgres.py:870-875 | libs/agno/agno/sandbox/postgres.py:989-994 \u2014 both copies are in the same file, so extract the block 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":"libs/agno/agno/sandbox/postgres.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b127a06ae5325508ce2668a9024b67093d2bbd0d079a05c57fdc506f6f1ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GmailTools (LCOM4 16): GmailTools\u0027s methods fall into 16 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 16 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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad65bf09ee7ae6d1f289165cb2b6320a436ae7cda9ecc09028d58b5efe9eee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseExternalAgent (LCOM4 9): BaseExternalAgent\u0027s methods fall into 9 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 9 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":"libs/agno/agno/agents/base.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f32e3459bc22c19303ba5a8244cce2e677fdc4385d89550d840a1235a5c4a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InMemoryDb (LCOM4 5): InMemoryDb\u0027s methods fall into 5 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 5 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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"476277226a5674d69a4900572cb0fb38de9c8acbf22250c0d411db4331660acc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseDb (LCOM4 4): BaseDb\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":"libs/agno/agno/db/base.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"75316ea745fcb1030de0cec2992143e9a60c08e036ec090fbcb0b13c4968d0eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AsyncBaseDb (LCOM4 4): AsyncBaseDb\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":"libs/agno/agno/db/base.py"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"486f36c204a128c5dd72f632fac671a724e09f7859ea2bb583299451ccbfd736"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PageFileSystem (LCOM4 4): PageFileSystem\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":"libs/agno/agno/knowledge/page/filesystem.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edde0931df8ab159de0f58960998f070cd5a32a1c375816d518495082706205"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SlackRuns (LCOM4 4): SlackRuns\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":"libs/agno/agno/os/interfaces/slack/runs.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabaa6c044c2945c61db0df71bf873daeed02dd7349c0bd73d234583cfb1d82b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GoogleSheetsTools (LCOM4 4): GoogleSheetsTools\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":"libs/agno/agno/tools/google/sheets.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"011e6d63fc4c2298180a6b92e5a2c5d7120fb871b80c75a87fb9d3ff0e80d166"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Elasticsearch (LCOM4 4): Elasticsearch\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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e720d40d3bff98152fdee3c7b64742a2863dbffe6466146e77e8b2291934e246"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenSearch (LCOM4 4): OpenSearch\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":"libs/agno/agno/vectordb/opensearch/opensearch.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97099f7f37e61e5707a86ae805851f7299fbfe2f7b4c73b32aba09de7b4747f"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 cookbook/05_agent_os/16_agui/openui/frontend/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: psycopg: \u0060psycopg\u0060 3.3.9 is published on PyPI under \u0060LGPL-3.0-only\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57e0195d284ef3fb0f29fa195d135277e5d941641db63632b6ec32fc013a89a1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: psycopg-binary: \u0060psycopg-binary\u0060 3.3.9 is published on PyPI under \u0060LGPL-3.0-only\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ecc517b12a2a5cd4decd202dba8037e24329661df7136a698d56a68d2825d67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/app.py: libs/agno/agno/os/app.py changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in AgentOS.get_app at line 1993. 17 of those changes were fix/bug commits, and the other 37 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/app.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":"libs/agno/agno/os/app.py"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec6946595578988f52857195c4c3ece5da335e5439f3c72914828a68f128e45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agents/base.py: libs/agno/agno/agents/base.py changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in BaseExternalAgent._arun_stream at line 2354. 10 of those changes were fix/bug commits, and the other 20 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agents/base.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":"libs/agno/agno/agents/base.py"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab05d523d7aa61ab8870dc083923b3f402fb882fcb7d0b29c613c739922851d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/postgres/postgres.py: libs/agno/agno/db/postgres/postgres.py changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in PostgresDb.upsert_sessions at line 2336. 18 of those changes were fix/bug commits, and the other 29 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf45743a3e6a6d34612109b689c59ac8db578d7bbb39bbe0d728233b06f520b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/workflow/workflow.py: libs/agno/agno/workflow/workflow.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 164 in Workflow._acontinue_execute_stream at line 9588. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/workflow/workflow.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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":9588}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e6128aafc6c56be33e0cc3acb0cec196814d9fc043e0cd309aeb334437d9f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/sqlite/sqlite.py: libs/agno/agno/db/sqlite/sqlite.py changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in SqliteDb.upsert_sessions at line 2249. 15 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/sqlite/sqlite.py"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f776b13882c8b7a385ec50e99b659f40cb9f95e57781303e61bbdf106245fbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/sqlite/async_sqlite.py: libs/agno/agno/db/sqlite/async_sqlite.py changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in AsyncSqliteDb.upsert_sessions at line 1981. 15 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"2895fb0cec8d2181df535d52ef66b755fd4d04e9aeb1364be4130468969c603a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/postgres/async_postgres.py: libs/agno/agno/db/postgres/async_postgres.py changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AsyncPostgresDb.calculate_metrics_dates at line 3214. 20 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/postgres/async_postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b664eb71c476de2c3afcfe9a49c5946d949a25199a5001919ab8a2d86642920"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/company/routines.py: libs/agno/agno/company/routines.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in _CompanyScheduleExecutor._accept at line 976. 4 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/company/routines.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c813589e1388fe2f3f7f09403f4c88d287ef7f7587701c4c0bcd4146db8edf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/_run.py: libs/agno/agno/team/_run.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 129 in _run._acontinue_run_stream at line 9908. 5 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/_run.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":"libs/agno/agno/team/_run.py"},"region":{"startLine":9908}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc88bb8b4fc9da56b06e7ab14544929a3aaacc5447bf22c0eccccf2866b5c974"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/job_queue.py: libs/agno/agno/os/job_queue.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in QueueWorker._execute_claimed_inner at line 2383. 10 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/job_queue.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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1459474c56dec9b3be5f0a745849dc6d5a981eccc55806e826b9f18d4cadb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_run.py: libs/agno/agno/agent/_run.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in _run._acontinue_run_stream at line 5227. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5227}}}],"partialFingerprints":{"codehealthFindingId/v1":"703f3d169cf392ae0e5ddedd032b5ae4f0773cf24ab593dd678691fad19fc206"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_storage.py: libs/agno/agno/agent/_storage.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 144 in _storage.to_dict at line 806. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f32f14700b1f85ecb26b8b6e280899f2432eeb67c2bfa42b09a06e3092f3da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/workflow/step.py: libs/agno/agno/workflow/step.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in Step.aexecute_stream at line 2140. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/workflow/step.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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce617736fda536d73168f2d04d251dabce1b33d1756298f8f713f6a34dd656d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/utils.py: libs/agno/agno/os/utils.py changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in utils.get_request_kwargs at line 145. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/utils.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":"libs/agno/agno/os/utils.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d97f2d54ddfa323829034ccdfedf63696823729aae8dbf57958d89793f004ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/base.py: libs/agno/agno/db/base.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in BaseDb.__init__ at line 308. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/base.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":"libs/agno/agno/db/base.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"105008dede5912d6f62ccfd7a1a0617bfdff3b3800609a4a69a5b9c79b9881e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/mongo/async_mongo.py: libs/agno/agno/db/mongo/async_mongo.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in AsyncMongoDb._get_collection at line 453. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/mongo/async_mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a910e973064dee0f2b78a8df7a861fa134906c0d8706dac00fdf8834efddc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/_storage.py: libs/agno/agno/team/_storage.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 141 in _storage.to_dict at line 481. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/_storage.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":"libs/agno/agno/team/_storage.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c75ea68ea9342945533888dc43707ed5255904dbbd77dd5942671f2b7a0f72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/workflows/router.py: libs/agno/agno/os/routers/workflows/router.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in router.handle_workflow_via_websocket at line 270. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c849ce649760f226c29baf013d6eb1fa2fe693fb18ab9d8db6cad77ebd870a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/knowledge.py: libs/agno/agno/knowledge/knowledge.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in Knowledge._aload_from_url at line 2542. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/knowledge.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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b274c9e9e48798f91f2d22ecaea4c613134c2d58691f1fb71aebcf7676e68630"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/mongo/mongo.py: libs/agno/agno/db/mongo/mongo.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in MongoDb._get_collection at line 258. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/mongo.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23139c12dd6f174a51ffc52d6c32eb7800e5fee46a5b66eddd62907d0d3e9bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agents/codex/agent.py: libs/agno/agno/agents/codex/agent.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in CodexAgent._translate_notification at line 1044. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agents/codex/agent.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":"libs/agno/agno/agents/codex/agent.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f148736e8f36a4b8532b762d0662fad316703f822ebed692677ab1ec20de4d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/middleware/jwt.py: libs/agno/agno/os/middleware/jwt.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in AuthMiddleware._dispatch at line 1473. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/middleware/jwt.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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da8aa3da6d18862a34fecb8b0827dabe7b098db79842bb1c31ed1213194dd3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/company/runs.py: libs/agno/agno/os/routers/company/runs.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in _TaskStarter.dispatch at line 332. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/company/runs.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":"libs/agno/agno/os/routers/company/runs.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"24840ce269eecae3b1b6096a1ea8a8cbe9eff658c05fd30a1304e6f5e02d8db2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/mcp.py: libs/agno/agno/os/mcp.py changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in mcp._register_exposed_components at line 1936. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/mcp.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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"100a64ad026b36e3abd42497f4fe54062ffca76be6a59719f85b93e664eabbe9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agents/claude/agent.py: libs/agno/agno/agents/claude/agent.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ClaudeAgent._build_continuation at line 795. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agents/claude/agent.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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7cb1ad712f88e2432f64b0efbd77cbe9b85f6eb12cc66048cf1dd239537e28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/models/base.py: libs/agno/agno/models/base.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in Model.arun_function_calls at line 2636. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/base.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":"libs/agno/agno/models/base.py"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f275efd1d8e9ac6f338f071c733df59db4781234d887376a60319aa96578edad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/mysql/async_mysql.py: libs/agno/agno/db/mysql/async_mysql.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in AsyncMySQLDb.upsert_sessions at line 1458. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/mysql/async_mysql.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b8600149f0ab44c4468f87f7216bcd936b06a167d7dc3ade3cd3f3d35cf09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/agents/router.py: libs/agno/agno/os/routers/agents/router.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in router.agent_continue_response_streamer at line 292. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/agents/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d39e316d86d458618507f4b8b784fd0b8394bf1ef0e4f64167d5dfdcd07ac6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/tools/function.py: libs/agno/agno/tools/function.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in function._derive_entrypoint_schema at line 586. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/tools/function.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":"libs/agno/agno/tools/function.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca15817324a2e600af1d7170429601966fbbfe2462a774cf15add1531f740df3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/mysql/mysql.py: libs/agno/agno/db/mysql/mysql.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in MySQLDb.upsert_sessions at line 1466. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/mysql/mysql.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c23a5bec20d66c3042a335be47a3a8ceb7709c86af196b8fb6e1711b65fa9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/_tools.py: libs/agno/agno/team/_tools.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in _tools._determine_tools_for_model at line 115. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/_tools.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":"libs/agno/agno/team/_tools.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13d68f4a2940638d1870f3033e009da0488c1bb98271784e691b709475eb24b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/singlestore/singlestore.py: libs/agno/agno/db/singlestore/singlestore.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SingleStoreDb.upsert_sessions at line 1514. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/singlestore/singlestore.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":"libs/agno/agno/db/singlestore/singlestore.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e778f321f06265872004b4b35496e5b717b5cd63ed602cbb8043e214968d1f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/remote/base.py: libs/agno/agno/remote/base.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in RemoteDb.from_config at line 115. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/remote/base.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":"libs/agno/agno/remote/base.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"62266d4c226bc4b4d2a8c8537897d2c7b67a039989c00fa651e20896f84f14b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/company/bootstrap.py: libs/agno/agno/company/bootstrap.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in bootstrap.arehydrate_product at line 49. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/company/bootstrap.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":"libs/agno/agno/company/bootstrap.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"50793b898eb52e6cb562d86b5fd204505eb414993dc575bfe140a6bff3c9a341"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/sandbox/coordinator.py: libs/agno/agno/sandbox/coordinator.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in SandboxCoordinator.astream at line 408. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/sandbox/coordinator.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":"libs/agno/agno/sandbox/coordinator.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"be06e64f02242a95b7848398f36cb194f658bfd705e68ec400cb00677a90d8cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/dynamo/dynamo.py: libs/agno/agno/db/dynamo/dynamo.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in DynamoDb.get_sessions at line 849. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/dynamo/dynamo.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83b1c600fdf2412b2f0f0df2070d852e6258304b24992de845dc9e4b1f7d806"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/page/_coordinator.py: libs/agno/agno/knowledge/page/_coordinator.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in PageCoordinator.sync at line 1404. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/page/_coordinator.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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43704a80a573c80758be8c52c9ea28b93267b887528d6f4376a1f2d4ae2c5b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/models/openai/responses.py: libs/agno/agno/models/openai/responses.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in OpenAIResponses._format_messages at line 665. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/openai/responses.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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1375e8305d7e23ec3898d14c0fb8de4e3906978ec5b0d82a6ecc9b48658e99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/tools/studio.py: libs/agno/agno/tools/studio.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in StudioTools.__init__ at line 308. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/tools/studio.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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdb072ca26bbab203de08aa1a02eab0d0f940f093a0a41881f0ad807cd0856b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_tools.py: libs/agno/agno/agent/_tools.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in _tools.parse_tools at line 483. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"d241b37d469e3445abee943dab96cc3d6ddcfa84d248ccadf16da54f91a8f0fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/models/anthropic/claude.py: libs/agno/agno/models/anthropic/claude.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Claude._parse_provider_response_delta at line 1114. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/anthropic/claude.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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58b8526d29bde9fb97bbe814f43ea48439e1c7dc80e436b64022022b213382"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/company/execution.py: libs/agno/agno/company/execution.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in execution._check_task at line 470. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/company/execution.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":"libs/agno/agno/company/execution.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c95d42d81343424cc7d528272a107cfb1bc7efbc24de343fc1ac70eb46325ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/teams/schema.py: libs/agno/agno/os/routers/teams/schema.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in TeamResponse.from_team at line 73. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/teams/schema.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":"libs/agno/agno/os/routers/teams/schema.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523e949e714eb46ad0a9fe806d80a6cb8b26b25a2a53c3c96a996721b467255"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/scheduler/executor.py: libs/agno/agno/scheduler/executor.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ScheduleExecutor.execute at line 128. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/scheduler/executor.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":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef58dc98455b80142131a4f72ba6f42379a60771db33da23decf72e1362872e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/utils/models/claude.py: libs/agno/agno/utils/models/claude.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in claude.format_messages at line 609. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/utils/models/claude.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":"libs/agno/agno/utils/models/claude.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cbf85d64162940d60d59e5b72658a464b56540ea3c854d6c2dcbda95ab297d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/valkey/valkey.py: libs/agno/agno/db/valkey/valkey.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ValkeyDb.upsert_sessions at line 1263. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4eeec607404924f0cf9a1a3ad0bcb411953f0cf74c8fbfdbbec2c7fb160c0b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/redis/redis.py: libs/agno/agno/db/redis/redis.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RedisDb.calculate_metrics_dates at line 2411. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"396fcacc81e02d3095c0fd74022560a9546f63708d2b52fc6d8a1515728c4481"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_messages.py: libs/agno/agno/agent/_messages.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in _messages.get_run_messages at line 1926. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_messages.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6313988eff0ef8df158d62704397893ce384712699a685f192ec6be1980cf8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/utils/print_response/workflow.py: libs/agno/agno/utils/print_response/workflow.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 136 in workflow.print_response_stream at line 195. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/utils/print_response/workflow.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":"libs/agno/agno/utils/print_response/workflow.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf427e8fa78e055f4d9b626d215dc7be3cef3a954aa00194820e5a5374581bf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/json/json_db.py: libs/agno/agno/db/json/json_db.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in JsonDb.calculate_metrics_dates at line 1629. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d32a92131d6f3d71f02233d48553887e3b0bef82a2f84c1e496175f70a7c7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/run/agent.py: libs/agno/agno/run/agent.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in RunOutput.to_dict at line 787. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/run/agent.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":"libs/agno/agno/run/agent.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c6b4150c8bce9faf6d86d03284012659275d35992431dd591a8256405a9707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/surrealdb/surrealdb.py: libs/agno/agno/db/surrealdb/surrealdb.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in SurrealDb.calculate_metrics_dates at line 2000. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/surrealdb/surrealdb.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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc7320bf5a2552633ed363c00cc4c7fef781a4c35c6a0609d0dce8a7cb37fbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/gcs_json/gcs_json_db.py: libs/agno/agno/db/gcs_json/gcs_json_db.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in GcsJsonDb.calculate_metrics_dates at line 1521. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/gcs_json/gcs_json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047aed5ea9d9983c631005cd7a0e32cbc6ab232d4f9235e1f789f3640e6f269"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/firestore/firestore.py: libs/agno/agno/db/firestore/firestore.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in FirestoreDb.calculate_metrics_dates at line 2428. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/firestore/firestore.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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69c73665eb2c45dec7b56377168a38db765f5d4cf27a0956cca724c85aea113"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/agent.py: libs/agno/agno/agent/agent.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in agent.get_agents at line 1962. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/agent.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dce739ea61594f8815e324e7b97241ac49d8fef178c315041f591c90098151c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/manager/manager.py: libs/agno/agno/os/manager/manager.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in manager._build_manager at line 286. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/manager/manager.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":"libs/agno/agno/os/manager/manager.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba039f0ebbc46628f87e4974166b90656621f49ffb559be4dc474c75c6e9ad9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/public/_middleware.py: libs/agno/agno/os/public/_middleware.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in PublicMiddleware.__call__ at line 219. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/public/_middleware.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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc59b37a830b64ee2fb8ce1798a58527df89d2b7695b1b64875cfe2494052a1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/in_memory/in_memory_db.py: libs/agno/agno/db/in_memory/in_memory_db.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in InMemoryDb.calculate_metrics_dates at line 1293. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/in_memory/in_memory_db.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"172a08e7b80c763fee4e8f0bdf0a086fb83d1f68f4d13d1a26084c30306cd924"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/teams/router.py: libs/agno/agno/os/routers/teams/router.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in router._resume_stream_generator at line 259. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/teams/router.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":"libs/agno/agno/os/routers/teams/router.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5db96aac19210bb056a0d40f59b985cc90945a664930f257919190eae575574"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/tools/mcp/mcp.py: libs/agno/agno/tools/mcp/mcp.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in MCPTools.__init__ at line 253. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/tools/mcp/mcp.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":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d2915c26f5b11f662b332bd8a2803b8336cdbd13e4088d9baa20258b18cda8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/agents/schema.py: libs/agno/agno/os/routers/agents/schema.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in AgentResponse.from_agent at line 89. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/agents/schema.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":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"180a09574e3e969ff35e7b2029843155e49698eea03fba53bc606d8112b00f76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/schemas/tasks.py: libs/agno/agno/db/schemas/tasks.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in tasks.validate_task_fields 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/schemas/tasks.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":"libs/agno/agno/db/schemas/tasks.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db21d8c58c003a3640ea1268be66fc2d6bcb56408a0b69978809e8a5fde5b20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/run/team.py: libs/agno/agno/run/team.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in TeamRunOutput.to_dict at line 871. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/run/team.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":"libs/agno/agno/run/team.py"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"120a8ef0a5836a3d811201ac5e2631842d9340225a38e78f0eb25beb4487ea16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/company/refresh.py: libs/agno/agno/company/refresh.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in refresh.arefresh_product at line 54. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/company/refresh.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":"libs/agno/agno/company/refresh.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efb275805d46df364319e1e08981c7b3576c7b626098e07a314e6962cafa76f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/run/workflow.py: libs/agno/agno/run/workflow.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in BaseWorkflowRunOutputEvent.to_dict at line 103. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/run/workflow.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":"libs/agno/agno/run/workflow.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"af88c48edf80544e4e6c3c0ca9ee0ae56713d25564e82b38628eefdcecad52fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/utils.py: libs/agno/agno/db/utils.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in utils.aggregate_metrics_by_date at line 845. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/utils.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":"libs/agno/agno/db/utils.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb849d8899953ae990cc10f9199f8965b834f7b72d3360f13da05018cfed959e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/team.py: libs/agno/agno/team/team.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in team.get_team_by_id at line 1886. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/team.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":"libs/agno/agno/team/team.py"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"4504e4d58fc81d87ee67626fbbbfc90a48e40ebfacdb5549593178d38429f4cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/pgvector/pgvector.py: libs/agno/agno/vectordb/pgvector/pgvector.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PgVector.vector_search at line 1044. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/pgvector/pgvector.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":"libs/agno/agno/vectordb/pgvector/pgvector.py"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4ba278060c753d7579a3dc6e38c9a6fc05fd9154d6a7906bbe45abdc172b18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/chroma/chromadb.py: libs/agno/agno/vectordb/chroma/chromadb.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ChromaDb._build_search_results at line 1213. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/chroma/chromadb.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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9d0b3b1a53cc86153c3df68af1418dee0cbb854b5de041643fdc97a7cd6e56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/_messages.py: libs/agno/agno/team/_messages.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in _messages._get_user_message at line 1297. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/_messages.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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d847551055acb1cf7ad84655f34eb07d18db8bd7bced34982b0a7d8177eb052d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/_default_tools.py: libs/agno/agno/team/_default_tools.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in _default_tools.aget_relevant_docs_from_knowledge at line 1877. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/_default_tools.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0dea4fe6b6753833321d0e692aab24abb1a70c408b5f92b0fa1dd2f6abc0be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/public/__init__.py: libs/agno/agno/os/public/__init__.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PublicSurface._bind at line 76. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/public/__init__.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":"libs/agno/agno/os/public/__init__.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2a97cac46762c01897906634baeb11bd9c77f37fa65fc52298f55736c53f59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/sandbox/docker/sandbox.py: libs/agno/agno/sandbox/docker/sandbox.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DockerSandbox.__init__ at line 77. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/sandbox/docker/sandbox.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":"libs/agno/agno/sandbox/docker/sandbox.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1c7f5a98243b78b8311a8e14dd9dc353c3b9135f1d250bfce6c7dd2909193"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/agents/sandbox.py: libs/agno/agno/os/routers/agents/sandbox.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in sandbox.enqueue_sandbox_run at line 16. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/agents/sandbox.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":"libs/agno/agno/os/routers/agents/sandbox.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d723541f308d8d4dcecab430cca3ce6c0e86ff6e8b79d5245269f9a25153bbe0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_init.py: libs/agno/agno/agent/_init.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in _init.get_models at line 435. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_init.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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e648f0e96be24a14e41ff5121e5ea2b18a2b0e62109d180804b802f8d9c8a52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/environments/runner.py: libs/agno/agno/environments/runner.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in runner._isolate_attempt at line 765. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/environments/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":"libs/agno/agno/environments/runner.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafb4effbd0f691b0b231860907e67f9d212057fc67d8ea65b869d374c5ceb27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/diagnostics.py: libs/agno/agno/os/diagnostics.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in diagnostics.arun_diagnostics at line 83. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/diagnostics.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":"libs/agno/agno/os/diagnostics.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22209fe6c9babac99ac7f3fbfb8446336369e79ed10dd7b1cfe73afecd03e36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/team/_init.py: libs/agno/agno/team/_init.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in _init.__init__ at line 67. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/_init.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":"libs/agno/agno/team/_init.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a01b42a1ef62ab35f60b8fff86742e0e2d9fed20410c6948f421051f7dbdbad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/upstashdb/upstashdb.py: libs/agno/agno/vectordb/upstashdb/upstashdb.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in UpstashVectorDb.async_upsert at line 623. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/upstashdb/upstashdb.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":"libs/agno/agno/vectordb/upstashdb/upstashdb.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"013f952dc9114b3cda0c3ac52fa23965952d63122bec20716b15b6e2e003b6c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/eval/suite.py: libs/agno/agno/eval/suite.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in suite._run_case_body at line 353. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/eval/suite.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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78234619747ea93181e5704a89cb926dc717cfca6cc3690dd7ed4bbf7c37667"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py: libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in FieldLabeledCSVReader.async_read at line 176. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/reader/field_labeled_csv_reader.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":"libs/agno/agno/knowledge/reader/field_labeled_csv_reader.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7493c78e2ebe637276ef1ece310b9c1e7b9ed3edce6e0dc8d6976a75b551af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/interfaces/a2a/router.py: libs/agno/agno/os/interfaces/a2a/router.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in router.attach_routes 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/interfaces/a2a/router.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":"libs/agno/agno/os/interfaces/a2a/router.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efa1267bd4722647a15be9becaf1fac5eab9a3ee1be8a8f38c50054f25c7829"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/sandbox/checkpoint.py: libs/agno/agno/sandbox/checkpoint.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CheckpointArchive.restore at line 567. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/sandbox/checkpoint.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":"libs/agno/agno/sandbox/checkpoint.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3bfaa888be0541c08cd2018c446ae06bc327f8a8cda7095863a146520a0891"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/components/components.py: libs/agno/agno/os/routers/components/components.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in components._resolve_member_links at line 556. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/components/components.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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a38b2f01bc94bc20322a7901cbc2e94fcab5f79eeb20ced3eefc8cbb1a31f81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/mcp_results.py: libs/agno/agno/os/mcp_results.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in mcp_results.build_custom_tool_result 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/mcp_results.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":"libs/agno/agno/os/mcp_results.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74a4421e43ca0ad4d39d2e2702345d4b19f9cfd98054a49d9b34b611c973d64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/run/status_persist.py: libs/agno/agno/run/status_persist.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in status_persist.apersist_run_transition at line 125. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/run/status_persist.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":"libs/agno/agno/run/status_persist.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a6c595f4671a8a2bcbd399cc582dbb8ec993047cca5aa6d21c8828928980ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_utils.py: libs/agno/agno/agent/_utils.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _utils.deep_copy_field at line 181. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_utils.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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"111b7c22cc4055cde370881ad5be17b72161ca1b357a2e12cf49e700e3e4c0f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/page/_source.py: libs/agno/agno/knowledge/page/_source.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in PageSource.fetch at line 131. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/page/_source.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":"libs/agno/agno/knowledge/page/_source.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a643bc8973dcf2d621bbea83e482d13baa3ed9a4f832a29f6eb4bb94bfc9dda2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/middleware/mcp_routing.py: libs/agno/agno/os/middleware/mcp_routing.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in MCPRoutingMiddleware.__call__ at line 45. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/middleware/mcp_routing.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":"libs/agno/agno/os/middleware/mcp_routing.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"12502cba7600b46f39c4f96d70a601cb719337fab04da8b6ad20f08c55a2bbff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agents/_media.py: libs/agno/agno/agents/_media.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in _media.stage_media at line 152. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agents/_media.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":"libs/agno/agno/agents/_media.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a417a6ab588e92265f320aa2610f869a1a7bbdf9166bd0bce16fa259290b5607"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/db/migrations/manager.py: libs/agno/agno/db/migrations/manager.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in MigrationManager.up at line 34. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/migrations/manager.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":"libs/agno/agno/db/migrations/manager.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"be08a92903244e26039dad9734382ae19b746e7216805cb8ebcf600dde2a781b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/agent/_response.py: libs/agno/agno/agent/_response.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in _response.ahandle_model_response_stream at line 1193. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/agent/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cd552ad7786d6a24a5179092826bbaa96952016868be299b3e135c20e4f1c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/couchbase/couchbase.py: libs/agno/agno/vectordb/couchbase/couchbase.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CouchbaseSearch.async_insert at line 1074. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/couchbase/couchbase.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":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"376715d5089ad413e1916a9e25051e01d7bac2b1b0139f6d3c3281bf915f5bf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/models/mistral/mistral.py: libs/agno/agno/models/mistral/mistral.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MistralChat.get_request_params at line 129. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/mistral/mistral.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":"libs/agno/agno/models/mistral/mistral.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"feba14e76ce3f97c5c9be7ebd970e932f349713d5fa42ba69a37eaf77366d650"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/cassandra/cassandra.py: libs/agno/agno/vectordb/cassandra/cassandra.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Cassandra.async_insert at line 240. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/cassandra/cassandra.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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef98d9ddf4894857f4ab71b4725c08f9897a858e6e52d013a5b2ebeedb60da1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/pineconedb/pineconedb.py: libs/agno/agno/vectordb/pineconedb/pineconedb.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PineconeDb._prepare_vectors at line 370. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/pineconedb/pineconedb.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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"97812aa1455868d9450f24d8bb8f9a662af4c8ceae0744f069bf09ddea1fc2c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/metrics.py: libs/agno/agno/metrics.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in metrics.merge_background_metrics at line 804. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/metrics.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":"libs/agno/agno/metrics.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"7985aa3b4b292249bb7e4339243995fbf68395863b5e1b05234475aa682c904b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/tools/google/calendar.py: libs/agno/agno/tools/google/calendar.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in GoogleCalendarTools.find_available_slots at line 536. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/tools/google/calendar.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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eee795fa6e9fa031ae8fbaff35e77f16f964718446f45b7f8e885d90b827572"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/tools/workspace.py: libs/agno/agno/tools/workspace.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Workspace._list_files at line 736. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/tools/workspace.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":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81736cbe5d94412f388dfc6f6788dc639d2d9d70b033c3452775aeb50625dc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/loaders/s3.py: libs/agno/agno/knowledge/loaders/s3.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in S3Loader._aload_from_s3 at line 67. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/loaders/s3.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":"libs/agno/agno/knowledge/loaders/s3.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08e00c6d2081e20bafd616c004fabae784d1c13a2a991589d9dd0bd968211c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/loaders/github.py: libs/agno/agno/knowledge/loaders/github.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in GitHubLoader._aload_from_github at line 336. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/loaders/github.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":"libs/agno/agno/knowledge/loaders/github.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"900ba1524a76ae47189752ecaaf0be1e2c8ca6a5b3a55e7c833c4ee241e0fa87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/weaviate/weaviate.py: libs/agno/agno/vectordb/weaviate/weaviate.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Weaviate.async_insert at line 364. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/weaviate/weaviate.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":"libs/agno/agno/vectordb/weaviate/weaviate.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaef0f3a013f32d701c2d668ad2c8d3f0b80a77c2e9a2e51e6bbb42bc0ac21d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/sandbox/agentcore/sandbox.py: libs/agno/agno/sandbox/agentcore/sandbox.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AgentCoreSandbox.__init__ at line 129. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/sandbox/agentcore/sandbox.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":"libs/agno/agno/sandbox/agentcore/sandbox.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec49e7e457450ba8918a367415779d81d96883bb91571ae7bccd5ffeb8eaa37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/reader/csv_reader.py: libs/agno/agno/knowledge/reader/csv_reader.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CSVReader.async_read at line 133. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/reader/csv_reader.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":"libs/agno/agno/knowledge/reader/csv_reader.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"af60d8fee87ad7f10510b376f5c54d0c4796a7cec75b4eb896f5e550e62a781c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/knowledge/loaders/azure_blob.py: libs/agno/agno/knowledge/loaders/azure_blob.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AzureBlobLoader._aload_from_azure_blob at line 148. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/loaders/azure_blob.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":"libs/agno/agno/knowledge/loaders/azure_blob.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8e78422f76cbe4a72f4eca9c9a9b3c721d90452965eca60bc71631ecf7d8fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/vectordb/mongodb/mongodb.py: libs/agno/agno/vectordb/mongodb/mongodb.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MongoDb.async_insert at line 1141. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/vectordb/mongodb/mongodb.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":"libs/agno/agno/vectordb/mongodb/mongodb.py"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad99f537b5d125d852d43f1076ff8648e48eca3e4adba3413f87cfb5853c48e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/company/sources.py: libs/agno/agno/company/sources.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in sources._local_files at line 19. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/company/sources.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":"libs/agno/agno/company/sources.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"310007f1e92b84860decd9ae91a90dc683098f618a95cef13b002876552f6ef0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/tools/coding.py: libs/agno/agno/tools/coding.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CodingTools._check_command at line 317. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/tools/coding.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":"libs/agno/agno/tools/coding.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a245252746c1cd28fde16a0e14be9f5666e7110808dc719a6f567889b942cecc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/agno/agno/os/routers/run_permissions.py: libs/agno/agno/os/routers/run_permissions.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in run_permissions._require_endpoint_permission at line 14. 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 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/run_permissions.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":"libs/agno/agno/os/routers/run_permissions.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"846797d5cde2bcea6f3943516b0f842a6b5e4036439d2534f6d659840a31e496"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/os/routers/knowledge/knowledge.py: libs/agno/agno/os/routers/knowledge/knowledge.py changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is knowledge.process_content at line 1725), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: knowledge keep per-upload chunker options off the knowledge base reader (#11327)\u201D; \u201Cfix: reject unsupported knowledge URL input types (#11260)\u201D; \u201Cfix: reject knowledge uploads without a content source (#11259)\u201D; \u201Cfix: surface embedding failures during knowledge ingestion (#9814)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/os/routers/knowledge/knowledge.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":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d282ec21dfb7e757f096057328a199d69311a285563b600147e253b145e6ecd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/db/sql/company.py: libs/agno/agno/db/sql/company.py changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is company.require_project at line 72), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Company fixes before 3.2 (#11592)\u201D; \u201Cfix: don\u0027t let archived Tasks block Project completion or retention (#11336)\u201D; \u201Cfix: don\u0027t let archived Tasks block Company archive (#11292)\u201D; \u201Cfix: keep Company Routines linked, routed and owned consistently (#11184)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/db/sql/company.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":"libs/agno/agno/db/sql/company.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8eb0c568005258df22024d2e1b3c1778fecbdeb7ecf2cf1a4bc30e5204968ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/exceptions.py: libs/agno/agno/exceptions.py changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is EmbeddingError.reason at line 278), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: confine harness attachment staging and roll back failures (#10971)\u201D; \u201Cfix: harness soak follow-ups: tool errors, resume status, one turn per session (#10958)\u201D; \u201Cfix: keep failed attempts\u0027 tools and announce retries to streaming consumers (#10937)\u201D; \u201Cfix: surface embedding failures during knowledge ingestion (#9814)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/exceptions.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":"libs/agno/agno/exceptions.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc728c0f94e5c48e45878f166bed5f33cfc64c496ec3a87decd0b4f9d5b90db1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/models/perplexity/perplexity.py: libs/agno/agno/models/perplexity/perplexity.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is Perplexity.parse_provider_response at line 103), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[fix] Remove silent token caps from routed providers (#10723)\u201D; \u201Cfix: correct run and session token metrics (#11426)\u201D; \u201Cfix: docs correct the Perplexity and v0 base_url defaults in their docstrings (#10192)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/perplexity/perplexity.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":"libs/agno/agno/models/perplexity/perplexity.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"561717b69ca42bb6d187f116e635da6923ac45cef03f4a2db9901a7a83ad3dc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/team/remote.py: libs/agno/agno/team/remote.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is RemoteTeam._arun_a2a at line 355), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: send remote run fields in a shape AgentOS parses (#11587)\u201D; \u201Cfix: correct run and session token metrics (#11426)\u201D; \u201Cfix: add missing @property to RemoteAgent.role and RemoteTeam.role (#10172)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/team/remote.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":"libs/agno/agno/team/remote.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b860225864b87669f531abc8005caa6b824b843dbd3cb703680f344dcccf5f7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/models/groq/groq.py: libs/agno/agno/models/groq/groq.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is Groq._get_metrics at line 552), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: correct run and session token metrics (#11426)\u201D; \u201Cfix: correct streaming docstring parameter names in two model classes (#10228)\u201D; \u201Cfix: replace the deprecated Groq \u0060llama-3.3-70b-versatile\u0060 with \u0060openai/gpt-oss-120b\u0060 (#9588)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/groq/groq.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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"9270edeabc50d942907609cee2e639b78154093a8828282d2c84f4b4e2c1f6cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/models/azure/claude.py: libs/agno/agno/models/azure/claude.py changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Claude._get_client_params at line 56), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: send adaptive thinking when a Claude model rejects a thinking budget (#11215)\u201D; \u201Cfix: default Claude to sonnet-5-5 before sonnet-4-5 retires (#11212)\u201D; \u201Cfix: replay Anthropic assistant turns verbatim so thinking blocks are not rejected (#9924)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/models/azure/claude.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":"libs/agno/agno/models/azure/claude.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc14b16d6cd3b109da144463756ee4b8eda385d12af8275b5e0edb12a588f534"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/agno/agno/knowledge/reader/json_reader.py: libs/agno/agno/knowledge/reader/json_reader.py changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is JSONReader._read_documents at line 53), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[fix] Handle non-string stream names in JSONReader (#10634)\u201D; \u201C[fix] Preserve scalar JSON roots in JSONReader (#10402)\u201D; \u201C[fix] Await async chunking in JSONReader (#10167)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 20:21:55 -05:00\u0027 --until=\u00272026-11-13 20:21:55 -05:00\u0027 --full-history --no-merges -- libs/agno/agno/knowledge/reader/json_reader.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":"libs/agno/agno/knowledge/reader/json_reader.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f2891a6f3d21700befd20d847282f8c79e4ee51ac4461ac52114be1e8b36ba"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 55 significant file(s) lose their only recent owner: libs/agno/agno/fs/toolkit.py, libs/agno/agno/fs/fs.py, libs/agno/agno/os/authz/authorization.py, libs/agnoctl/agnoctl/commands/connect.py, libs/agno/agno/tools/code/kernel.py, libs/agno/agno/knowledge/page/_commands.py, cookbook/frameworks/reliability/verify.py, libs/agno/agno/tools/knowledge/management.py (\u002B47 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6074f2bd3a287a02773d5f23ce54c4ca281fac2e468c77e4651a62fa0b4403a6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 6 significant file(s) lose their only recent owner: libs/agno/agno/vectordb/elasticsearch/elasticsearch.py, libs/agno/agno/knowledge/reranker/recency.py, libs/agno/agno/knowledge/query_transformer/hyde.py, cookbook/07_knowledge/02_building_blocks/11_recency_boost.py, cookbook/07_knowledge/02_building_blocks/12_hyde_query_transformer.py, cookbook/07_knowledge/02_building_blocks/13_hyde_with_hybrid_search.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"71df93d6768b06d67cd0297d62206ff756a6fa60c8da91e8962a015d5f173387"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: libs/agno/agno/tools/openrouteservice.py, libs/agno/agno/job_queue/config.py, cookbook/03_teams/22_metrics/06_loop_team_and_member_metrics.py, cookbook/05_agent_os/03_python_client/03_sessions_and_memory.py, cookbook/02_agents/14_advanced/background_streaming_resume.py, cookbook/05_agent_os/background_tasks/durable_continue.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"76707b1b7ddede80b8fddc2507bccd09b82efb4ac0b07c3635489b800eeba895"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 5 significant file(s) lose their only recent owner: libs/agno/agno/db/migrations/versions/v2_5_6.py, libs/agno/agno/tools/openweather.py, cookbook/91_tools/async_generator_tool_with_pydantic_args.py, cookbook/90_models/google/gemini/gemini_3_8_flash_market_brief.py, cookbook/91_tools/yfinance_tools.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2d07412e1777444f1092bb015668ae1bb8ba27dc3cf84589d44b720bc13bfb3b"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 34 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (109 single-owned of 1910 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1910 of the 3774 production source files in this repository met that bar). They are anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)), anonymized user #7 (2 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)) (\u002B28 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: libs/agno/agno/media/media.py, cookbook/05_agent_os/04_run_lifecycle/unpack_archives.py, libs/agno/agno/tools/models/aimlapi.py, cookbook/91_tools/models/aimlapi_tools.py, cookbook/03_teams/07_session/nested_team_deep_history.py, cookbook/03_teams/07_session/nested_team_history.py, libs/agno/agno/tools/scavio.py, libs/agno/agno/tools/redmine.py (\u002B29 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Figure out multiple urls for origin and how to only get the fetch url \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/utilities/git.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d148df91e0df0f5082af5b760a063b2fc733f325a9dddab01f99b341fd369a01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: setup automatically for the user \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/infra/operator.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e17515628cbc3a08a2d7f362299429acaa9b7ee7cbd0e3cd93d4528d4a6eca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: validate that the network was actually created \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resource/network.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3219ff2bac571dafc06b7dc235af29efaa77dced606aef71b44f8c3cc181feb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: use json_to_dict(_attrs) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resource/volume.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98c1ea485035db57856e6765851e91a957765091a3d482ffcf3368da7a0664d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Validate that the volume object is created properly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resource/volume.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"762e8d636834f435a7e1ee1020fc0fd7b9352b56a23c7d807dbee70a66e48175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use the -f flag logic to force build \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/cli/infra_cli.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b210e6089346d4a78641d61ddc387f218eac70a401325f2421ab77db5303b48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add more targets as needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/glue/crawler.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"950871bb3b68dec2da6c115b9249168b94c5b20f9d34df49d989bb87394ba78e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fix the task_definition_up_to_date function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ecs/task_definition.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c272431cb59b0eee5987ce1a8fd07619861aae31202ea3b8d72cc7adb976a796"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: citation tests are not working \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/tests/integration/models/perplexity/test_basic.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"632b40b9b237ce64d164d34711aa874033156728ada05ccf26d936e7b6c5e79e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: test filters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/tests/integration/db/surrealdb/test_surrealdb_evals.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b725ee4b75f879d250712b7235c2ddbc65fa0cae31f20c8593918d1e5b5dd614"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: test pagination and sorting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/tests/integration/db/surrealdb/test_surrealdb_knowledge.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4121f0ad3972718dbfa5da2f9e82e79decff0d323dbb3865d86106380771c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add tests for get_sessions using filters and sorting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/tests/integration/db/surrealdb/test_surrealdb_session.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30f06208801ac811045823f5c34d08c90ac6abcff9edbf9f044a1852b91e304"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Deal with background \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/remote.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"306352b7374589af6a0bbd604c2f622dc3ac05c92a907fab9ecfb21d77904407"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use db.load_component_graph instead of get_config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"479fa001b714f9a0336b7372b9bbac02db4529f32a73d4d37cc138aaf087dc4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This is a temporary method to convert the workflow to a dictionary for steps. We need to find a better way to do this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c9a9a66a2ba4c1d29c21f097b87861df4a16236afcfb7faeb56d6094811d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle properly steps inside other primitives \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c58b2943b6f96e6c0c55a2fc3403557c8297e44fd6ee47c0d5f8e86c76d09c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: determine how we want to handle dtypes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6bb6b8dcce5d664587bccd6666cf6096d590a0ba103de494a59c8ae5d3ec18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: do we want to pass back the embedding? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca58257537971e5575de3d08658414781c1e5043b17aa0deafdd215c28aee14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v2.0.0): Remove backward compatibility for unnamed vectors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2ae40c023de2041e94f0414b7b37817ddd88ee67b979352c394cb2bb825d30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v2.0.0): Make named vectors mandatory and simplify the codebase \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00449d472ddc59524082b772f263174e2ae8085f82d9ecba0caaf45e72112fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v2.0.0): Remove conditional vector naming logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"711c7b7156d3f26d21799448f1300b5aa5e1b56821327708fc7ab8d461d5c253"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v2.0.0): Remove this conditional and always use named vectors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13c5bd49dad456fc0ff047e09924794c0fecea23c57a03d81a4c2e2815af480"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(v2.0.0): Remove this conditional and always use named vectors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/qdrant/qdrant.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbbad5da62bd8a7d224c5b1e162cd9dbb0115fa8fe09a061088e6a95aa8a77d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Define supported extensions or implement proper URL validation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/lightrag/lightrag.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfb74b4d51b67cfe5a42973e1ac48a5d0c89b9aac4bb0b16c76771f0a1692a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Files aren\u0027t stored in session history yet and dont have a FileArtifact \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/agent.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2a245385e2c5070e402a6682d1e25e34507e78f04a30e7686608463eba964a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Replace __self__ introspection with a NormalizedHook(fn, kind) wrapper \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/hooks.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a839fecaf0e86275dbbac012355bcf6feb5e48fc9016b39d31fa0df0ebef73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/dalle.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b431ad947acdf3e6e66e4f3ccbf94df78ff95b45a631b3f4932b5a81916ebb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove these \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_init.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"305945cae4c16414dea9a28680fd927fab9190b185a4b80feda5ceb22f2ee548"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement session summary manager serialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe4e32a7eeecaaad4d21c894699e4dfb26415404e7248293fb8706682aa7676"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement session summary manager serialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c861db11b8aea1a9b2deaf063c5130725f2740877f01542dc79dc776d82cddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement compression manager serialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"165a5f4ee828369040e1cc1e00eff168f86bdec4b8261dfccfa7ec8105e61687"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement compression manager serialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8c0a719793c302b7bc7f8f60bc8f861458c03d22c8a43fbbb8f378a4a62cb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement parser model deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba861db78cfe39afa81c3ded70e85756376ab844e44905f12d9ab5367b9c0b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement parser model deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d9f03582a8d282a5ad5030d33cb7cbedab6c80a5182d29533116e687269f80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement output model deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3af8476406e6cba69dddec51dd62a27dfdd53f2ffde821ab45f24a136e8c9c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement output model deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e8940ae53c9f619dacffb1e756379f5f4070c37efcb58f046f247dcbd291bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement session summary manager deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"133432c8767d89b66756c7fae800f87321dc543654db2322cce3637c41e6b491"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement session summary manager deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"782cfe50fe55d23fab9c16a6480f9e9f1e2f1d621b8fb8ebd36d385730be7e17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement compression manager deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec8a5506571aa84e1fff0520009c8f26e19e7651992f3376f801fe99af5ad49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement compression manager deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3c995a9be398e13b6820c03a52a4a3305cd680381b0edfd06c48ff3588d39d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # parser_model=config.get(\u0022parser_model\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64de0acf610d295b64c2dac3dfe3e887c87df8e6ab4f9b18940b77aa3e2ac38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # parser_model=config.get(\u0022parser_model\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85bbf63e691b229bde3c7d99bee14164ef2bddecac62e9ca29dd6872f148a1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # output_model=config.get(\u0022output_model\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e382c93432ac26e4d89e978b15cafaa8ca952b814a859df4e44b8d8612ff2837"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # output_model=config.get(\u0022output_model\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e08686ccedac136cd7fb348e19ca0cb24578805f90dacda51112a82dbef854"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # session_summary_manager=config.get(\u0022session_summary_manager\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c08fe0b7ef9fc6fc0e762d327b3eb3bdfb4af28b19573e98974aa4505e7b5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # session_summary_manager=config.get(\u0022session_summary_manager\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"385971fabbb830de095ccb96fd26e8f19aadd1a8c8f687e9e2c4e9f5fd0765e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # compression_manager=config.get(\u0022compression_manager\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_storage.py"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db2d1572257a53d54e635976c7789e4a3ce7485d5c6d3686a7ae27eb2843ed3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # compression_manager=config.get(\u0022compression_manager\u0022),  # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd56ca238f569ddd3646713620376103dac0a3ab108c00c8f619de627428cca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Media generated during this session (TODO: Remove these) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/team.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e81310eded5775b14b0e293cebcfbe4baaa3ee8466f386def01d31fd70cc11b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Look into moving all managers into a separate dir \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/session/summary.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd6e3fb8d80ddb3d2169fa9185964bd02b23e43681ea8783c3e384d0f0c9527"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Move this filtering into the DB layer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"04150c924c3f18cce24a400fe25a38ac0bd3276fdcc32ecb7d4dce70276418bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Forward to remote knowledge instance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e5e87ef2b8b391af8c312e2fc906d952be8cde780627a8528f703f724a5592"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: These fields are not available in the Content class. Fix the inconsistency \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/knowledge/schemas.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dc33b5ead5ff19cb50778055cef37f60ea824da9b48a5a7c0e5ddf7042cfdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle remote evaluation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/evals/evals.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f27985c960d4104fd7cc0923063f8d0ce921071a6aa27ba1804625305b9b612"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle remote evaluation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/evals/evals.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d692e06de158df08c0614f98de8c74689f4a2d4eb8a93c6e2589fe85d93956"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle remote evaluation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/evals/evals.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"64981e3ab567234cd956014cd982195dae2214e6368baf59b6f7e53f8605b9d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # graph reflects the team structure (implements the members TODO). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4d6577cd89f21517ba5b3b597cc16a740fa68a97a6e0e2598f9b31522ab8d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Implement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/state.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a12e5e3b02457e23742ba041e353c3812689643ab200643bf4ba689872df3b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add caching: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-call.html"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"103876636c8cb53900ffd2f457f110c1c519f6fb26614673a68b780d5d21f58a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: This is inefficient - we fetch all memories just to get their IDs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/memory/manager.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aa2767aef17dd908565ac64ee970a8812efe429ce1a4dc839aebf7978f7705"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: we shouldn\u0027t check for content here, we should trust the upsert method to handle conflicts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4824}}}],"partialFingerprints":{"codehealthFindingId/v1":"600bda19a35d5bea5ccb4fff318f9a39684faa99789879b7a0ae77d69c7f2c74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: we shouldn\u0027t check for content here, we should trust the upsert method to handle conflicts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4876}}}],"partialFingerprints":{"codehealthFindingId/v1":"4576face25f86f6fe03b68558d617d320ccd9cc2c4b8e06bd0027e4a469c4fa1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add docling for unique file extensions eg: images, audios, etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/reader_factory.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3d6ec1d8ccbc41a612b262a77f376cb0ead787eb3223895f738b875f78f4ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Unhappy with the duplication here but it keeps MyPy from complaining \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/integrations/discord/client.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05dd26a16116751457abd538bddf3cc3315a104642f7583ac0c276e81d892d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use index sets (agno:sessions:index:user_id:\u003Cid\u003E) to avoid full scan when filtering by user_id/agent_id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b02870e01858227fc5845325e54db1c7e1f6a4c63328b0282ddd772bcb73566"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: is this ok? or should we cast datetimes to int? Like in desurrealize_session \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/models.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac5b0fc440e443d1f098b30062efb170f1d0482d9c3e4377d64fcbdfe5436bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: optimizable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a87b1e0383dea8070b9d78677bdcdf95e9b992645c2ade08bab5052468a6c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: cant we optimize this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f110531bddbacc5de5cd3b8672a6503030b02bb156781ca580cac81b1eb9acc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/context/wiki/notion_ops.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb183890fce8d974a2a203a94f7eb4877f33bca34e9296012bc6cc2abecdec92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: We don\u0027t have workflow content events and we don\u0027t know which agent or team created the content, so we\u0027re using the workflow_id as the agent_id. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/utils.py"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"97808b9df58883cbb531dcfadefdf36bcd7631a0f5018a7889267217b0ef71e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support Message objects \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b2921ebd59da7ea59ce05b89d8779723d9d3f8554215f465918872d1b4bd11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support Message objects \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a6a3b76cce04befb767f20256bf33d1578845945ae98e281312168652e50bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement compaction serialization - until then an agent saved with compaction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a57ace73226e140246c710bba4c557a23233764eb57bf4cf9cdc8a7bc21186"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement compaction deserialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e843b97cd926450dc48aa39cf213fd360f28f767ede0dffa1234182fcca4fa2f"}},{"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 \u0060libs/agnoctl/pyproject.toml\u0060 makes this repository a deployable product (line 41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/pyproject.toml"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bd4faac5fe960056f0513d19ac3ac8d92032d397d10c1c5a7d071e2afc290c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 8 project(s) overshoot their size bounds, lowering Project Cohesion to 2.5/10. The most over is \u0060libs/agno\u0060 (465990 LoC, 1956 module-visible types across 222 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2de313e6f0f3a0b6eb479e490a0599b8078e2a09281b2d07b4910a200d99a091"},"properties":{"commitSha":"fe1e54bfeaccfa984ee14328e67ec1f81f78abf9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2dfcbc54ec3ffb59502daebacc74d0e42f2167ee2d8fec44f02fe1d708adf486"},"properties":{"commitSha":"2e63f52a9dabfa96f935509ba70e733c3e58b496"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d2551a1be662a65326ceb4287d9b5bc094cdd912c6cf2a6af5a70fc248b8b6b"},"properties":{"commitSha":"6556ef9fa11a38c00b71b6e1ba6c8742de4bc02f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2ff5beb61718e4298db4b53431fa03f2d7ac801e36626344ac505ad9cb13d26"},"properties":{"commitSha":"976d1b581e221220ff73abbc2d10359a54d38a31"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6347cfc9f72c2433c0b1c00c70892c1f296c3f5ef9071d0ba70609851f5cbfb8"},"properties":{"commitSha":"f057eb7b8653c9ea0b088d142b48825334078cf7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4d51627a20d775b670d989b3b59eac3ee6bfa74eb512235f490222d8d61abf5"},"properties":{"commitSha":"f057eb7b8653c9ea0b088d142b48825334078cf7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b24a87c91832d9a63bdbfd2c1e733a5594d7a1e029fbedd944d957ae2df59d7c"},"properties":{"commitSha":"f057eb7b8653c9ea0b088d142b48825334078cf7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e358ca8e60f779b864aaa0a371adb56aac5e05da58a3161b60ea3a3a3068085"},"properties":{"commitSha":"f057eb7b8653c9ea0b088d142b48825334078cf7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe18f98599e3ee17b1f7385835ee4bb1a311599dd4f0439dc9f9764b8bb6734f"},"properties":{"commitSha":"ea94ffdff6e01ef0c90052f35b78fd95ad6be25d"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49e9df15abb5f92add0830591936c7eef68c563b22208cadcbe80ba32728ab96"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05f92d74e20da56d22397213f18beed4b4720fec305bd7b4749da572b201037e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0957cc7f47d1931c56662464cd3ce406765637560a7f96e94ab37853c0558962"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e172cad45399901ba578742c47d40f50f1e85972096bf28e22cb7e414c7a6dc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df4af6c283fa337a7c738cd5a2a8a0b3f15fe6c6aac35172ee3af48c10b2c75b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f47600a8b7d44cdee236767c02bbc0450871a96c3248cb881ea5d81d245a82f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38d33a11a9a0a1f8f2cd4c9044be0f7d5c364466ec20220cff885c5699e9ad13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5bf4654489e3ae0e22e8fafbe31f8341c9fd92e13652f2a6d14be04c576ba2d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a663ccac716f570969a0eb653715e379b14f8327fb2c4b457b1f528d0c0dab40"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3334cfb1d06e9ff7158ac22261eaa939e461419949e7b9a13ea6b0cd08c0be79"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5699f8f003b2f246dbc8975a84e337a63aaa14306bd847e2adf9c9a017de79f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7169e615a48ffa1cc0893c3835aada8223244e58718c387dd9d62b47d12ed4b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01756c7c2e8b3451750aef3b12a77eac180334dbe82e4cc321c28aa2c244343a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9e968cbe10da89cf0d84c0b1daf1b428e0aed09cc8aeb6f88cbdf0098f36df4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"beececf2e11ea9c888bba4644e6e5544284e4a433dd45cf8ae7c021958a2b518"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44cb86ced5123723b1ab348cba219f5c98b8b7e8ed29781743556c7af95c7d59"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20de6bb388a37e59b6d4110115c72f39270ecee2c51ba13edb1154afc674e812"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"488e59cb0373e58c260041be1cb11ef3e574a658b3631523ad5698cc2abbc046"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a18117a538367e5f14e5210d589f8e39bb15d6855c7799f0f398227df284598"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44a265d2fa96ebc2ca291c27700172c53c446f0850f0502fb670b3b215f73cd7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2263ed51ac533f624655129ddacfca98fb3ad3375d5e6213d74dfa37be240637"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe628f142220e4dfe267449c7ce846fcc2a35f2ed1964a0c92dc0252c24f3159"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"503718499e2556a71999fa99074f1810d8d8548e6328edf09632f67787db6119"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4197d47f693fd5e1142994957f237dff9253c1c04a24f065cfe9a75f2c56f003"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7aea5ad354bb944fe749ff0e5f574830ccdd11e2edd1cb16678dd3d93b52205"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42258b6c2e744d9f693624d265ebcd66e609b619505d4f3f75e763620e5fdc65"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd51f6de50a15217083e1541f7be8043f7980634f47d6b7213a597d698288626"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccd75f4fe73347b1054e7d4ec37ad471a2bb9d86cb9764d1a54c6cc866c0a59d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55a9feee9774121f2f799f78815f48406c361b20f27615a6b6c4aa576c312700"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89c4023628ea4091fa969901125469dbe2f9762263a7cc3e8c5cb191ee996c1f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8ce016c05617d2bea946f803bbeb3700de85a9611a8808cd4bc113313a14a3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"929889218fe2adba5577454da6e2fffb54a21f38de62c057ea511bf22abbc080"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7cf3fdcaa652f3d5916742ae44d7256c636beef302c135ba13d58739a9038dd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5737efc06c6e8974d9eca5116fd6fad508959b148616caec8005de3fc2426593"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3acf9b8d2dd79e753329f5ca76b3a63d39f256d59a0a654b3347af4317e40433"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53315474bb32001c95429eb87437f2f6d6b5dc02b7dabcb3440cf7a4f84d5346"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d76900f04d93d872fc3f86e517a6e3befe6949b408329dd58a866d4e65b837de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d951e19574a6bab28d2c3237c4d3902a5e18818e2a792861b89ffcb9f927b73c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"473d5c99d0f37011bee9cc92c6291faf7a567e435ebf2101d8c24743e6bfb3f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6645ecdca7c4db486822dba45a38fb7808c956094a6ca4308e8f4bf7879757f5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1528fc9296385a5dcd6c2d10267e79eb12c25dbd7dcae3bb2dc7d444752ac0d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b33a6833b559cecd60a6bb469e3bc52a0c91caa9bdf63643bc9160a1dce7f60"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa9fc71b3f4085338066a95888b11ed6d04e75285c3033ab0bf89cef128f40f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f96b6cca7f092b384dc63e738f8c24e05c8341a4014190602a7cc3792a0bd5bc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"115c7dd04b5e07474d691fb781f07d9c8d75b5de72d558f3749bbdb86cf5d076"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95da68e6d7a227c4fc49bfd503431d5ac7206d26635513dc56028a9ac260a09c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fedef778c36189284d8b9639dd0d8baa7c3c9c44b1af5afff8da241f65f44557"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b88871f3b0c519c6d78be46d967884298848e0cf731937bf8727d76e9caca24"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c98f332b85d7a4d66588fe4e441eb7706b887d568ca5efe312e1dca7dea32124"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f1df83c237f113aa266bed69d54cd5bf497a6c2ac095094f2fe348580a457a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b72ca2f1bc68d01ab6d5ca26d02c9d763cfec354565071e3e24bbf126ed3f6d1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a86a9542289bb38467edf3a16854a0c34b2f7201cf060bebaf4ad08559b65660"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf0216b597208a37fb5ee8b6e030e2cf1e933b2d9dc6d70464fa1523d8b8bca5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a85dd33a4268103b97ec4338ca81cc9f6e09a21b67cae69c857db4c19034dcd8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b0a84f0db751a2371d6ce989c43b692035e6b060e18ed71ae0cfeca8f47f054"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9eb574103821922e4b38e283b24249b896db1021137d968181d3161253318d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd0a390d4b425bae103b29f43453084582c6a0687e51d3a17cf2f86f9fa1c3e8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2127ee808cee42e09a17421f01402327ace56f4f451f3a0bdf8f506f05cfe0e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eebadcaaa8f3e366f1567b4d575c08b647edad365073bed2e08bf9ce1b548063"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"340a2b74e061e433a89d861f151016f69ecde423a64e28e8d1667633073bb292"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d215f1a9ec6cfe6a714fe7bdf85b613a73c634ca4ccdcc74ca453991b40fd7f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"383a4748bbee5b871864c6ff02c46f095d82cdecec9a76f5b8a7816cb1d6c736"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9156396f373e1486bd081151a0cd6b21c3b31b92e9fcac8b27402fb82403b262"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6ad82231ed27c8b13f48256bfd0f2ad4a1d1b29807360f49dbc091a3d0dacc8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0a019e89f2fea79902b1ecb35edd3dd883ad7f9eba0d1b9076d22d51f50427b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93f6566d2e94669547b939a3ce53e02de6aa65d540c2a0256e63fc1817ce4eaa"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56dc196f694c8fd8242ee467d273defc1b4b2e5a420aef19d95c05ecec8cefb0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1423b6097b57726cd72b78b4d3fe0e0d47782c4ceb21d7500bcf568a04cd7f32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b1b70675a5bafd63ef059c826589e0ee1c5a25ae329e0a09830037883a8f221"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9b6ac01c3ed60d9da2a0b52085f596e2f9b23988873b9a7c80777167489e93d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82f440d5124ef7dbaeb6e6c254d306222b46868187b04ccaeadbc2f3db7076c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3378cd78b48b68480fb617a7a8f4cd79d3fd351808965f2ca66438791d45b4a8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61ec9c661f5125ec1091638ba7153ab006aae2faff87ba8db601691416b38d89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e1ae5c3adeca5f525b7d3ea41578e8db46286243b4d569db71aa31db7571da3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bfb167bf6e7107ff0498551f4fc9b46f21c02ff2a07e0d8c40ca31ff15f0c4"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ca95f280d6a4d9b58bafa3017beeff4a61b1aaad6e6561b114006d61aafd4ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5719bd9a63a7c15f7097cf8ee19867d282d488546249b1a4aec4e2de211af277"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6c7a5b786a50f1ef7dfa3be2a5713f62a37d16da2910f1a529e6ec042bd236a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8331d9a71a349316a48889a92ea36ca57b88908842b6327b5b963ae70a82e1e7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bd36bd932bb742c3025aef644149d67576833ba648606f3380ac557c12da4cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"179840f970b9f39f81a4754ce4e0d696a381b8c53a098c28da80b20dfd4d654a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b642b43c49f23a7685d017ad0156d8a037717e0363277db7a22e76cc63dc810"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"789a01fd0495484534cc0689812b9396720e0f6b032370e7fb2f6f4e45155f71"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73354a15d142f62af322aa5a5462c430179c1966b74a9817d94c428bcb41bc8a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84eb8668407970cd711e48606b6726cd21a516079934169a4a1014d821d7bfc0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47396c0cb0eab5d0dec46f79cd488b97ac697bb370aed242ee5682ad2c278e18"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16a028aba82b514722d965233d8042d672d86460a4a31865f54163258338b6df"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85c794212db164ca22729d39c467b24783f2125c07d32dfd8c57642dd99c90fa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"785d02c210b28ba264437dd7ed6874ae469d9ff197c91ed14f3968a63609c289"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"775d17b7adee7037b10323b42d5cfffc2216a8b60c7978ecb4cacb37b4c7db9b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cca9e54a7d19633ba45677caff3e2f763cf12dcdb126de40721a4f82b417df0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0cdc97c415536497b748238458c87b164355110f07f6618676213f37022d11c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73218df0ce61ae643e16a4f27f3f676be67fb98c16955fa08448f22c59408929"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74e37cbf624ecd26ec1f636ff8b49f74b2ed9b7c64d6c5d2a0613caf45301f12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a2bcc3ab4b0ea9dcbe8fa0a5d23fc91f007264ed0e8c649fd37ac255b672d28"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d643b88e8f249fbd49f933bbb82b3c2cb5f5e70fe339dc42512339a82da6bfc"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69d93dd027da7099809a2cb3cef5a54879b133a7c5300b1c6c293b326ec1f282"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc6dd1f51cc0e201d9d91194acaa349719fd5d6466a940886d36addddcd7cbf9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c590cbe613f1138723fc71dc49f492914337f4a7a843cbcce9223d48f457169b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4bb6128771358b8bda467926f3b3775b6452fc9b2234f43e28e808e39be1c23"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"465f024b99963253b0628a13eebf9d53dd9d515d949698dc34ca06d73a1f77f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8da2952c121f7342748f5a6fdfa11a036fdba78ae3c9bd17c006258325c3d80"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0c3fc3945a815314c71da3d50f1a37328c8d995722739883dbfdab235aa41f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b96346bbff3dc19a819927ee7dd791554fd844db089815ef83b46dcf79a7daf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"437df6482feec269a95b8bcc68c9c189a4a032ac2f73c7f8d46b3fda6db45b4b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38b57b6d3ae8690dfc14a4fee193d58714b55e374b88096a3f5b9f677af4d048"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5085f9213bb57aa20f9064595782b0ceee30cde77f2bf59dcbcd2d832b61dbb4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b7a62fdc9d2ecfa917c24364af99b1612d087d6f2df73ae90e1039311a2ba56"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96e27685bcc9bd41bc77c2c76978d74aa198083d1714fde015b75d46b5ad32f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b013036705d8e78afd9f235c3103d201c229e6cfc1e2bb4b688fd1cbc6b0404"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"958e41bf0994339795480f1316abe395dfff8b2a9e1b0370aabedc6d4b9b6192"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ce1b928aa25d8fd91c1b0f09833b0903dbe5d74f530430176a3ebc5c1e70105"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f3a7c119cbb28ae6833f0292d0be362a5ec6fbf4c5beee0bf87ddf05b351eea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d182f1df414a2f497932ba43eadbd173c4a697d5421ac059dab858b75d0c61e0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91626b3aeab9d1122922d2acf2a95c7dc7491a75283eba068527ed327be30065"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a918779c9553cb9b5fa215f6080f3566bb8b99093eaa67fdb64a4d14e4004b4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f162e7d766c4432fe1576643976e6b9bee0777b4d158bd7120fd52b5a7a3a7d0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff01e0fe6b83149ff9414c89d9575e85564c6fe4411542fcdf15a3a01d9533ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"188d8363da2a5b86ad46562207d98a4626e6e64166a55dd79646f508a32fcb61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c9cde5c6fa3a610869a64fe0933705940d4a1f27c2aba70a8655f1c7c23a88d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9729f7490549806e2534b3d22b7cb900f8cc20e4aa46747f3d27bc5074dfa92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ca1b0fb4fc3cc24e098da73adbdac1afd5188d8f4d5c11c2413695fda7203a1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb47b84a876f6d2a8eee52dce737e48dc9c15b1f358f9a76608363d8c71a5b1d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2ee1504af02f25bdf8bdc680d38a2c1a2d66de84c97606b35a128909890726d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29ebb08e0e784b36845972ab4dd441dfaf8abfdbe16eb18de3ab3b2d3a2818ff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"686347fafa7af7a4ade64c813adab798632406037e96ae77b48cdd52fd5db67c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c6cf7880a42ddc1dc873597d2e4c23702611dad4e0597071966b1f89a052062"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6ddab2bf4f928453a5400c936002a7407894736feda1c0ae566a61e27f49163"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48630c214f7f22c36b2232fb8483fae3bbd088c2ac3fa9c47c7f80ecea874b92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0eb1550328ef7a39817df1ca372898ecf59b2b5322a1873ede5d715320173c0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"534978ad206628552d993804d3d53b65ac25171f2b28e5789804074049ec532e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4c3c69ae5946d47783982db671d74a836fc271592648e51100993cc500afeee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e18ead589772f3fb78efe07ad59603785fd50cee05346152d314095ddfc26c6a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a78e1dd44c71a461287076332f9b7255b8a39df750d81a6b1dbf6e79a8e64b10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"758454cfa1b17cc496bcc030f8e412fb98052c4973dd4a6d4592792eeb4bfb68"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c45689b40ca4fe1ac5203b5b59981df5e8ff8a5dd5f05decb0045ba03b0c27b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e393253509dfe102be3f12894d0689a2212debe8b662152e75bce4af0763a84f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0f830d017e724451f84b86f6498eaefb9a5575ef3b6772eaa3a401e57d6e319"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89dbd2529f8d2fcc37e819ebeac4392fbf64307373ef253659dd6dd48991b777"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3927b0595c4e0dbd4a878f35936ec69ca766625fccc5328b9b8ba82e8f98f5a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f155f1af0f7b6b508a8efe320745eacc88d87d3e9e69069903f5906f50be503"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6669d9f724d333dc7680d6367180d7523ea680a9e23a3d8e6988ac8536becfd1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc660565e0936d2c7e5cb37dc363823690803681401cc2a0a21447beb80b2cda"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"552bb89fce5ddbdc55914510f8ce77b392bb0aa750b88657ea26ff58bb3f5f1d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d2d8da3fcf7bb1a194e15c2b88a31fcb6f2c405bca634ded3c4dd83caca0d72"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e77a1d51f6dacbf70c9d77af4077a5e4a182130ccc880e8ba44a8bd5e81eb78"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6df379949e3b2c6d1df7c16934a10f9a45966b17fc90c16f724b41638daf8fb7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa65bf06f23fc4b47cda92ae6007665217712fbb231634cd46509c63c2887d7b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3432adca01237b5dc7368a00a4fcd5c7ec70a7750d0d9312aefda2a8828af9f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91d4176e31bc05c756251ec5490118353112ccb888e2b835cefef16d31cda75d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afe52a1cc688793da416733ffeeab6518e43d1cd9dbad344c6c362bf57e3aca4"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f23fcf663d1a7780e5f96cd5a4ff68b6fc166b011f73cb193b874fa03a1c8c2e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"724e2ec13283992c989a879f7a9555ee6eb2b58a3615fe003ac615c07af74eb2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ae7d279853f87dece5997a22ffef7c24d63e65da58607e8335a00a25cfcf34e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd8ffe7985cc3eeff1130575defe20ed946b20c70da3354ce01f356710fbb955"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ee98a3a0a6c96375df4ce99ead1c990f29230c6316e0f5df993744cd1a27471"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbb6651e721ea1a3d695cf52344f602b033455a0ab9dac54e6ad933014fdae29"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19aea654ed6bb15b422f168282ec0c72b537467e77c9aa610243e7fd49e0eac6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5bab939278e9a967c972e0006dfd59057f7341718864a201b6af252187049f1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb2282cf8d0e51abc1a50b753d2cae1004e3a9492228a666f86c33ea409852e3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15125ee49cb2fcdd6135fda40233aec19c8e8d51c2ab175cf62b0d7e389e2700"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d54e8fb31ae9956fe794cb2cb8123a51de48ac6ff8f726b1161040e3472f67d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8d7e4feec3e507334c31247f021c514a9696cda65c460107116c359a1e9e79f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af8c36a9e33ce314dce9d5e79dee2cfc018b1267f90bd707f359c258eb4d5a04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1f68c8def98a8bb0f4ea7e29ddad42a3228c5c4c59459003e9da966b58a06c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91062a80e2d0ceb48a18140f66f39ee33ba06e7f155e42af3a8e4d6a57552208"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8058fd51d921d629aaaa761a5bfdd2ad190485c0df23c5b3584c626b595f07e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a5c0a6b311a239deb283d80cfc10a78dab0222278f0a26aeaf9c2839b0cf1df3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdd935c5f67a0170ca820427f4e6b7492db607f465249f0a6223405f5302be1d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95a20369b19057c30fe49af647368b40ff888ec106a35d76b91e34c74f36499f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2df8c6d2f93376f96d594043bd429a27766267021d109f97777b5596db15d9d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a1b65c832f94b816e720f4856dd2339d3e0d4fa9cbdf4e94da2f64acf932600"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a8a2c2acdbfd10b3e41c64fe3e9313dcddb60d4e4e5dc10ca9603ea0a4cfe56"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a7ce006dbc2de4bf01ea1e73fee267a2a1c92f09b19a66cde16af84f0f2ec6e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"818cbe63f0bb3327a1729877e97f82dea7c79a6b25443a29190d9fae65d7343f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1332b4f3f03f39cec2d96588c0bf7468cadd2eea267412f5491f9f392a78e1f5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"874ec791cb95d91e103a927fde45bbe5a3f6b1534cdf53f23620e1107803a416"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1651527fcff7213da991a35665cbf6cf1708d5350636e4e5058d3a3134c8df65"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"094f07dab202e1477fe69c3747bebfab0126882db5b0f6af10249300483591f2"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24f20f127a2fd71b707210f0ae7395181c1184e128e8b5965a125a497d8f0ce9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"22b907aeda0e8ee72bed3049c6a16b320f604af0c61a59aac6ca5777346ef195"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"65456333496327446b4f1b16ade20a7834015cacb5c43a402e057fbede634495"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5abfd5d643a10a0cc09529b1ef08bdc31b3372bf89fa066d73a5a906bad0a4ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"91882571501a631627372a87e43244fc5a1f22a51d1e1b16742be0d271ec5c9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"192f95af9f9dc5eef390f48115c8cfa6587df205fb35499517e857c7bbb3c2dc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4a519c69edd395e46afb07b71e6b6b61fce4db6c418910b0dac8d364899fe851"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1c0209d59e0e7c70ee293617392329d35c619bc0fd145a9052d9308eb5a7be8"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55f54756997965efed3e04b15a901e52b4a893a046bfd296b138e61a8daa8236"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cc44d9331edc1a88db328d399ab43cfbb5ec7d03722e15d299bf8c89f610303"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e116e7973791074d72e7408c2bd7bb126357a28a4cadf05defa62596080d21c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62a3a6eb93adea226fb0957eb214d1d220d23ba7c1a2f2428bcfde7384c005cc"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99ce62f415399136d44baf7303e4014ed4d608bd845125ff6adcf79260c82a1b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de007bba668d08d65cec0ac4651ee25fd7dc2ac98b64c29d2dd7ef4d7cdd026e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b76a4078c6a35605894de2096c39a0ac61cc38d5b2a63fe9b79b6a8130bdcef0"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfe62ee7f7e4e385f6e5227e69d8856631b9ac2cb22492dffb11ac0919dce86a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f92267ed4e2c22b026ba57137261d8cadbc0302d21421a1c0a19e8b441e07a07"},"taxa":[{"id":"CWE-79","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":"d746395b4d34159604931d5883692f3d36008730522affb526037eeea6b468fb"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"5aadffd535784d57202ab06570bfba031e9eb475200a51a7f0f51f410f390fc8"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"8aba695a950aaeb5c5a673c0391322ae57e00ed039d779831655e8c465f1d83f"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"9b024bb943d7e5841be1a1f2418072d0b98be24e22d7306b83eba4bb8bc1b25c"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"026c51a6767e8e6efd5773eeb025d2bf382748c4bf57f561d77f607d891096a1"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"0e41c2754eb8654ffaeaf52e5831397d1277e9092f3b7399bf6f58d382a759c7"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"4525d54276c4306b2a80049251c89cf8baae9915b1d4f7c5cf2e6584264808f4"},"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":"83724fa09e9251bde51834499088c4a03d7e0e33329716b139d045426b2d4759"},"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":"852bcd1d424846d17d3336d49e020475bbb1dab3f3cb7c46165e725d8f107009"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"057884f651c2ccb4c5a957809a5e7511a701d93a9231b08b5e5f0a54c1c4ad00"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"3dd2f59cf3d62ec4b5651d947a4bac949156e9bf709622557b9c881cb515e597"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"93386a20be1bf6c8d2ae328f5b8f9c69e18f10d1d938283cfb0e0aa28bbe23e1"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"ba442a5e30d786e95e835afc01267d7536b8bf7e9b83c6394eca51ee4999f312"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"6526392d3581ca277de8013ff8860c2291a279bc112887bc1335549489fcedf8"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"50365cdc6c229972500d19b601c3033b550ed48529f8bbbaff35d28610ce6a17"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"136d615240e7ed5cf3b04f9dfbbc2eded407931189c527ddf38af54836753dcb"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"6792d013d83145ce4e6dead7236a9acfde19cb476f034012436a8748749531c7"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"e9e02fb6a737f252e28dcb859025b014749ab5af958f3f25bf398a48b742b93d"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"aff7aa85e08be50de3f9b3b98904db33a9b3c3e35b38944cf2c3fa5db5825128"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f8408fbf2498a64ef62671e962205ec1a7fd6c97fa3b2d97c0bb7473be517aad"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f6e787bb74b18da80a470d09886ff2278201b3cad59e2bbb6d1c36de6df7a6f8"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"265b9fcf7407bd8e81c1b51fff967130a85343d346bbcc589a796981ef1dbf6b"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"697b8b07be157d89fb9581fe25af521019c9f8fc303ff03991619f3f8c2c2210"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"fe636afd2387c63294e460ea1357857b819ee7fb5e8290f8663e21bc98b3ab6d"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"a30fe1b42b3faf6b3ad832f012481e41174f71ec3e7e8c72584176eb297f9c6f"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f0fe1fcd3fe4c8052f3cd5b7870b3ff1d36f9ca62cd2fdbfd0b0a86e79e8563c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"731393b48351e913d47588b23541e5f8e88295dcf3edfe06df29dd0c70593e49"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"a7b88d4f0283226d682c0537052075fc197db2c63f4572c35a329e452e27dc52"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"993d6fd9099e55345b2da2a9debd81bed2d5badf5f3377938ea54e59108ba6d5"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"30a6efe0db2d5c47c597c548c085ac8a9feccda81b5a17425f2174ee8a844e9e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"e6361617f790710a4f80e9a1948ee0e6935f91c0388be5855926597b1bcc1c8e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"70acf1b2493b0139c5530935010435cc31f4c6e3c1e8bc586a528992d65290bc"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"754c874c22e9dd37ecf8b623d53116c77f39714330cffcbd36e55996be9a77bb"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"ba23151f3395c3b716888ba97c57cba9aa915c2dc89454ebe4b425053fb3a80e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"8d0a6fa764704e20e923256a488f3af565e8870fc5c56250a57a1ad7e7889c19"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"52baead13e1bb45c0b00a87670370443f6a7ead3ae1f6669a39dfb140e927011"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"dc0545aa1421c511de460ab98efa3c4ea1f79c2b9c514eba69653b9201fd9af0"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f43d5ba5107565003183db71754b8145c117e8f3e8cff0f3c35da022347093d1"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"c18792005dca2046bbfe6f47c25ef80d17229453d0e2a3758045b7af637bdeb2"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"a65e14fea9cd996a7861d3cc470418e93f08501e8bc016aa41964593ea0d1729"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"ad884dd883937c1695cfac3adf19239f73b20f8c9d82b52d0d6a960d201de149"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"451d865413afa80a71d13d9c3e588f932ba068dcc58d9a82462ab41fbd86b5a9"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"02c104c9aceb67234316e6bfd7255f583f509b4174c28aa8c79960f515cd6a19"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"c319ca933c847073090a6a05b656a3f2d82ecde0bb9b8d6d0283d01325448f15"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"c24e20115160bd1fb171f36c478330d743f98f1061c49950316425d3d7c84298"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"887e0be99b0d6ab676fa74c1a6bf0849e43df1497222360a227addc207fde0a6"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f3303d2033ceb5763ba26029cbfb77adf796b92f7313a5a222c2408ce7218cbe"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"c20a30862360978572bc1dd7a5a37ba8b9a55c9eac80638538a7388a781e879e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"5ea051a6675c2a9035a29cd5128f3b6561085b4c15a9221b4d9d5338b8581ef4"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"41e52448140e0e497fdeffb42c761cc1fd7a71ca1953e1191645f396ec6cc0bc"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"7f9ba406f64abd2110603e5eb088802b7cfc3418e48a7968eefe51e85f83da24"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"e65851aada8a01c0e702c488499c9b496fc73b1e969bbaac6c9649bb686feea4"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"e41feab0c9be254dae870fb949a72ae58d0b8603609d1cc841c23945b686067d"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"8088240ca96318bdee53e69935749c5bf1050e43314fd340ecc54e12f2346a34"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"63146f32b0534c123afed6a7540d0b0582e94988d90bcbccbbcf00450aedfdf4"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f9b72a8796ce28c2ee2e13efe816de47b81181e6c2446bf1097063b0ff9a564a"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"7086eb6768425ad5561e72147b98b776e1e5a907951363c655a7c2e67f42fbe7"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"86fc39c2c138036b921bfd8f8bfb2afa84f83728907efbdbcebaf751f8af1f41"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"b6e851f83205baf0a3884ee8bdb21a1a02d197fdfa721575639669090b7f8289"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"79f0acbb5a33bf8171bfdbd6f7d74b07172f46c7495366049d48d8dab49d6e8b"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"d8dc7d4d5355cd3f9e7b454436a9441639b7e12283d5d7ae3fc92739aaa979a8"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"66569b5efe3f2821f7494f11d8493835654f53c59b0df660f10b4e648417339b"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"5af5ef7f2ec664482056cdaeb9e4b1de41d22467952da5ba3aa425983f36fc31"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"9c9f86f377a408886d6f4f17578db9f6caa08df8ca345ed7e3749fb029e6d3eb"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f7c138a0a2af21d55ecccb6dca26cfbd4c411cd6dde59aa69ada4b5ea6309d7f"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"05c0eead001ebf648774fd90501a336977fd47d2e8e8c0e03a128b8998b6450e"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"03be29461fdf3c1783dfae6ecc1627021508ac70a1d88a6b092d888f2b586c53"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"398d6c084666f5bb05c020b581279d3ca8659d865233e2bb4f9f8c85357901a0"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"fd792d8de9e80a0381cf0f60bf536cd06bbc2df5002295d29aadc89bae0666cb"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"75cb0cf2c7087deddfad2d84c0cd7bafa39de7e586367a96eeb51e48a096a796"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"fd7df4445c5abb3ad39d3c21055d026df522c169f3679d6ced329ffb8bbfb47c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"2638a494115aee3006eb19f7a708200b21d295991e81c6800866e265a8b016ee"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"3237cdc573dfce38b654fa43d8b7ea8878c405f71a71b890f12ea08654355b1a"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"22823dbf39372b25f8727bf3fe7c63c61f1c674fb18c22a8a08c77af1d7507a4"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"dd32c3ed78bc9f15ba7c048d87866e904833f8e303cee3f509747b7caae7eb77"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"57bf45e96f7886d77859dcde42715e038c7ef91870c37489beb72545840cfbe4"},"taxa":[{"id":"CWE-89","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":"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":"8d82ad7ce1d973d7755b16868b54568ac181b3bf45e16e0e8fadc905542d9a83"},"taxa":[{"id":"CWE-89","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":"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":"a3efe1dfbdbc885198249efb85bd8bb216f79c069bf18297e92e3bb49d0f7676"},"taxa":[{"id":"CWE-89","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":"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":"3b8ac5138837ba281dd1efb7246c34848e82cd1206f8d6195ac353a1811ccfd0"},"taxa":[{"id":"CWE-89","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":"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":"3565a1e829ac94867a616bc8383a5351f08c030fd8d962c87288c41e13ec6ec0"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"a16d7b3758bc4e6eaaccd8026e37c3bb6fac72cee7e45d84cefb8413ca078748"},"taxa":[{"id":"CWE-89","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":"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":"a763acaf5694e25f680c158c3f004d881b13d88a4aa8afeb2b0de9ba675907b6"},"taxa":[{"id":"CWE-89","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":"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":"1cf14a7a9e3a7c90bd5b5a0155835c2488ce90c2a6c3180bb9d02e4e43b653d5"},"taxa":[{"id":"CWE-89","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":"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":"05fc10db2b3a7978600aae2b73e666ecc92f1b45d3d7afeca6a4a4fc1d1ab61d"},"taxa":[{"id":"CWE-89","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":"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":"c16e640dc12f9b895556448d67dfdde8b2313d78a1bd40a3ebab191ae7158625"},"taxa":[{"id":"CWE-89","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":"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":"8cd5c3b526e19fd0c928481426df8b1eb8384868acf9181803cc709ab8d619ec"},"taxa":[{"id":"CWE-89","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":"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":"186ac786dd9557b7ad748c638c3241ae60a0f7453a4beb23976a694cc0ad6be3"},"taxa":[{"id":"CWE-89","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":"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":"3781849874248ab2e2c42ed7d05cabcd7cfc9079d7e063de7e5d5a1b694456cf"},"taxa":[{"id":"CWE-89","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":"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":"8be060eef698112ff7a9bc0fd14994a9f54be43396169694439691f948ae4fc1"},"taxa":[{"id":"CWE-89","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":"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":"5ec786eaeb78201f9510d45b75c4b2fc351ea0c243192e8312aebfcdbb95504d"},"taxa":[{"id":"CWE-89","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":"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":"44b309410140cf452de6663792c9a26a1076c2340e9105bbcb0b33aee5d2d292"},"taxa":[{"id":"CWE-89","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":"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":"c1892914e2ae70ea5c5547ac129e3642a4467d71a6b9932f8dd61aa0cf3fa89b"},"taxa":[{"id":"CWE-89","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":"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":"4026ef8d1f9654803bd85b7b745accecc96acec96235e8d822f5d43d04b8fff5"},"taxa":[{"id":"CWE-89","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":"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":"a36e944abd23de7a622765ad9b4330669e17b2806b9570f8be5ac9409b8efb18"},"taxa":[{"id":"CWE-89","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":"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":"45c1901df2e23aa12320278ea83f927e8f297ec28b1ba0ffca513188809a2af1"},"taxa":[{"id":"CWE-89","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":"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":"7c7d6591a4df1739ec32a6c940b447b826c67c252a32056c41def1730096f8e1"},"taxa":[{"id":"CWE-89","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":"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":"0dc8aaff85b70ff5016a85bfa82f859385726c6f6056f1c831bd641c486cb3c4"},"taxa":[{"id":"CWE-89","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":"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":"019be810973911ee8ce21a9e1ce522b575c0fd5b38f338cfbb8da033064d6085"},"taxa":[{"id":"CWE-89","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":"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":"7a17e0739cb302a08a14fb7101e7397c5c6081c83a629289a7307b6f4bb2000a"},"taxa":[{"id":"CWE-89","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":"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":"961c5fb809176d86c5d0ba842d1ecea7efb2ab7f9441069ba5e82d5a3d672062"},"taxa":[{"id":"CWE-89","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":"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":"10d075e80c76d3a3dab02482d32da0428f9395610e4e0485926320c8d71a612f"},"taxa":[{"id":"CWE-89","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":"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":"48c2337ce65cb99f4decb7598b82b425cb0f9107824937dfd5b4897877c5b32f"},"taxa":[{"id":"CWE-89","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":"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":"aa03119c53621ea84352136a1cc21587a7c04b3a8611fbfa32faf7fa963bcf3c"},"taxa":[{"id":"CWE-89","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":"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":"d22b8a303efe08c883a06ae78c2f0ebffc8ef141fefc1e8e8ab22c720192ec77"},"taxa":[{"id":"CWE-89","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":"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":"ea2a138cf8d718f329afe41cf8042ac4e165d24cec1d4752f1b10f8eff7616d5"},"taxa":[{"id":"CWE-89","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":"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":"5840f4b46813e6e158fe91cd366e7b34ef9e91a0327d2e62dc7fbfbcf04d47db"},"taxa":[{"id":"CWE-89","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":"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":"0cc8170cb43d3e7935cfa5d25a183325e6dc9cd50dca0367ae68a239001e7e83"},"taxa":[{"id":"CWE-89","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":"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":"7d8d333398f5d67da0d54ad0a11543dc499a00a277232ead85c4119bcaf897e3"},"taxa":[{"id":"CWE-89","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":"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":"a9991b4fb7c1ad5cb6f8a032025180abb30456858281697a98cde57c53748509"},"taxa":[{"id":"CWE-89","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":"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":"df0bdf58da3a7e1c27ba57ab141b075286e2db2a62c80196b35b726bf9b1c274"},"taxa":[{"id":"CWE-89","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":"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":"9935ce268de7dd889b6e6d93c5bcb97d06359cf62af498deadb70462b9b4856d"},"taxa":[{"id":"CWE-89","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":"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":"f027e494444ed77e032a35d36bf0db778497d902e982ab3b62fdfad151b450ab"},"taxa":[{"id":"CWE-89","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":"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":"1fbde49a2f3822027b97059788ac04711573c0568fa9294cea64f352e38bab72"},"taxa":[{"id":"CWE-89","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":"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":"d51f00203d14884aaf88d993f1b9414ae24843c7baf25f586b6c9f9a19cbb29e"},"taxa":[{"id":"CWE-89","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":"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":"eadc37acbbf86e299bc4be0c21a76754b38443ea81cc54ca17db88ca755861a3"},"taxa":[{"id":"CWE-89","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":"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":"97763cd6796293b6dda57809049b2b6942635f3c7ebe406e36e7cb1a76ed97c7"},"taxa":[{"id":"CWE-89","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":"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":"df2b09b3bc286551cd8947d39decaa107c596eff0e7a356a913f02f61e5ac5a1"},"taxa":[{"id":"CWE-89","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":"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":"bb6bc9d7658945323be3b0f90337e066869bdf1dbe287e23f69992bbfb473668"},"taxa":[{"id":"CWE-89","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":"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":"3877398c1eee946cca70e8183978f6c49a99e88c4b8bf97a7facad8508f95c20"},"taxa":[{"id":"CWE-89","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":"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":"2e4f26b1e66b38e996723985cb8fc9ca305e1e9ed7824dc00d11e4f1141cf509"},"taxa":[{"id":"CWE-89","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":"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":"f9447dcf734664e52edcf6c43561fdfb17107d41aca4f5cbc29f6eb5e25f6906"},"taxa":[{"id":"CWE-89","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":"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":"8fd65846cc9bb635c7d1f3906af86bdb6d04a9c54e5d4c826d4d4318024fc80c"},"taxa":[{"id":"CWE-89","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":"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":"dc3e5c12dbf03e081813952e805a08fb1f9afc7c9f142f2c44d229ebe7a16fdb"},"taxa":[{"id":"CWE-89","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":"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":"fd9634aab3f68e76f0a78c250f1e9dbf93b007f7a6cb676381b57ffcad9ce04c"},"taxa":[{"id":"CWE-89","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":"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":"f79475663251d6bc343309cbf4ab6660e6859db7ee6447c0db1f58309f735d86"},"taxa":[{"id":"CWE-89","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":"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":"9013822021049bb6cf746f136d37d237f16d2540b70e16b80513b26bc922fbbe"},"taxa":[{"id":"CWE-89","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":"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":"897b8db2b0e847aee441b63b4008568766e5540f9fa90ed4f4847621e5497469"},"taxa":[{"id":"CWE-89","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":"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":"7e9045d7ac974a60ee901f544afa968920769ecc112b5ba390ac7452510a47b2"},"taxa":[{"id":"CWE-89","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":"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":"b4cec43c8e0033768a2f8f0400f34b90a6b465a8e45d82de8cb6e6d7925a1da3"},"taxa":[{"id":"CWE-89","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":"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":"d65573e0d8b9ff701194d7753fa63b5400345c13b325a4f5a6e2ed3e78763663"},"taxa":[{"id":"CWE-89","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":"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":"e70857f5d9dafe5aaf9cb419382fd909b77a9af348e67c9f3487970a993eb1c5"},"taxa":[{"id":"CWE-89","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":"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":"9f3c1a55cc61941696ca00fbda6d1ff9d857e03741dd6ce7b215b42faa7e2369"},"taxa":[{"id":"CWE-89","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":"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":"8d4238b3904b3a6931d8bf86ca2081077e43d04c9dc4f3d871953120a3d7e05a"},"taxa":[{"id":"CWE-89","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":"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":"02b10610c12bf60205bd0f835bb9794578b7e994781162164e5367e01aeea83f"},"taxa":[{"id":"CWE-89","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":"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":"66d3e59a46f418ef6277ed95d9aa07643a90736f1bd40d2fcc5f56cd89ea4fb6"},"taxa":[{"id":"CWE-89","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":"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":"76fc33a8cfc9eef77c8a78ffd57a4ba6fc58186d2478a04bc8f7ecfbc9390f8f"},"taxa":[{"id":"CWE-89","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":"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":"a075b64bb74bcdca4790dd00b7e32cb5494f29dd6cd66109154b202aabaa66ad"},"taxa":[{"id":"CWE-89","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":"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":"db18de3e6ac886624f67913452e27b65c9d5cf6fd2643cad2ccc712674c52a3b"},"taxa":[{"id":"CWE-89","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":"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":"e9cf719434b6184a5df2b9b17aa83828fdb04c0452b5f236b34069c5c93ff687"},"taxa":[{"id":"CWE-89","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":"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":"6b3b2ce368cb41e6428e209f8614de67182c65c0231f71146b445edd1b01173a"},"taxa":[{"id":"CWE-89","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":"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":"1b2c6c7c39995c45b1465e622e24f796731658eef704825a0ddd6e4379442e39"},"taxa":[{"id":"CWE-89","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":"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":"6814e4abc8302930ff59586ed937fb36d64dc1e7e9f26af03fedf06709d5d601"},"taxa":[{"id":"CWE-89","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":"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":"757842c7167df5af78381b38f821bd936a2ee8365d4aca7b5f2e6553ceacfe54"},"taxa":[{"id":"CWE-89","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":"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":"c329a072e6713ec129f26240b9875d5a31ac9058118d0373b5a680a5825ca64d"},"taxa":[{"id":"CWE-89","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":"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":"ab8c5aeb9a677125458effa17c64ae6f56200744ea96aeaba85feafc1ae016c9"},"taxa":[{"id":"CWE-89","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":"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":"2783c11b344f3c17cb3334da28cd154dbf00273532d3081c15862f95c5edba78"},"taxa":[{"id":"CWE-89","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":"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":"70dccae4095e93977f9f1eb27e55a9929d3a1f5fd3d63baad2846dc81316bd91"},"taxa":[{"id":"CWE-89","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":"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":"fe52342c8e6730fad63613e60bcbec7031569df58886897c91d582ff0de7e811"},"taxa":[{"id":"CWE-89","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":"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":"dac1ef11d225a15dbdd5a1090b3254b6eda82336b2afc673c909d38f404bb0a7"},"taxa":[{"id":"CWE-89","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":"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":"af22c8fdc747ec9a830a0f23a772a08c6c93dd25e12eff83cb86428bdd4d0e64"},"taxa":[{"id":"CWE-89","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":"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":"6931b997d4665ec86c69b0eb474f3d6836e9a1fbfe26a6675c19f7f1c0745cbe"},"taxa":[{"id":"CWE-89","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":"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":"f5f1a8b69444f28d1ee53938de57e5c847a4850460634da214c2bfdfc2e92c92"},"taxa":[{"id":"CWE-89","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":"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":"1040317dd82af8c6e2435c9a8875bdb86401a3680f1bce17fc94410f4ca8e082"},"taxa":[{"id":"CWE-89","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":"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":"42ebeb4963adebe27db32fab56ca7805997777a33c6b15a25490440bf8b03737"},"taxa":[{"id":"CWE-89","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":"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":"d6dc3bc2d72824ff507cd252c06e3e0f7a29889a72e7baaa09adc6798746e1f5"},"taxa":[{"id":"CWE-89","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":"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":"f037077c0683e17bd292417ef1fad9ddbb994a5cbd5999f1e7a8d48ad135dd2c"},"taxa":[{"id":"CWE-89","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":"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":"7185767c61768e1ac82f34205d14fc3dd23ff20490a254a3e5c54b57cb87b6e1"},"taxa":[{"id":"CWE-89","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":"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":"46704396b3edbd81024ab44e534a754f50b7213c4a2a0427db6b17262db4f0cb"},"taxa":[{"id":"CWE-89","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":"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":"c81c27202aad9c4302ce42d3e2188bb6856c1c3f5fa0cb53319543a264025b9c"},"taxa":[{"id":"CWE-89","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":"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":"b29c197e29316caba5e981481dd81c703b0e8801d85ba3bb75730f8f1f452b7f"},"taxa":[{"id":"CWE-89","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":"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":"57782345ee9ad5f19aa39ec6f78d1d87728c7b0631771eceeadac4226d0b32b0"},"taxa":[{"id":"CWE-89","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":"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":"6e973873edb84f58177f715beda084c41e1b5c307842ea70797afd098d5689cb"},"taxa":[{"id":"CWE-89","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":"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":"e1c6fb55bec3df17238bc58914ccebee004e256400b69256fd981920462301e5"},"taxa":[{"id":"CWE-89","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":"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":"23f6f75bdeef7fbc8973db253f1a9546c9f898cc60de51565f34a52a4c154849"},"taxa":[{"id":"CWE-89","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":"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":"a8fec0c539acd5ab29b141f4390c790159c7f1e38a86f86365e0a0919d10b0e9"},"taxa":[{"id":"CWE-89","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":"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":"25fc0696ec9dc543463df2628f6bc489605090e58ceb50e906044164167ac89b"},"taxa":[{"id":"CWE-89","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":"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":"9d0d859a3fcd579effda213e612ded4484b3e3f795e0bbda1d31348d5fbabbda"},"taxa":[{"id":"CWE-89","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":"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":"f3ee7965a8a2b5d1e51adfbcbe957c7589f40fc6117542940ab80e3e0bcd2160"},"taxa":[{"id":"CWE-89","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":"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":"9a7fd300fc7266c76cec88f60b37d4ba4b05b4e07caedf5cfd9d0103d4018482"},"taxa":[{"id":"CWE-89","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":"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":"ee05ba570ba6f6cf90d9385052f4fc8eafdf4a907a3245aa14695853c6d8dddf"},"taxa":[{"id":"CWE-89","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":"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":"2cc665b7c27f9bd2455e828993a0bfdb9dde9676b55774ea7e260daefc03fbd6"},"taxa":[{"id":"CWE-89","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":"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":"1d27c5c8829d6b4a73d04af685fc08fcb91d04ae3ad593d4908cca60df921bcd"},"taxa":[{"id":"CWE-89","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":"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":"8c5400a507f252eadb8f4a25bf32f4b488fa9f6cd32ed4e6b96a7a9e9241b210"},"taxa":[{"id":"CWE-89","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":"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":"0a43187f2c3c2558c9df521e79c77c965631d96a4ab5826a41a726195ac7a96d"},"taxa":[{"id":"CWE-89","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":"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":"93b9c0289ae19acf8de10fb1b9477034d02f0d5557d321f96d6a30f61f8d3d22"},"taxa":[{"id":"CWE-89","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":"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":"eedc92f9d017f73c39f7a9108fed69c692970b2dd9be95b020dc1db9c386a9cf"},"taxa":[{"id":"CWE-89","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":"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":"348d917bb7ea664bc4a740fbd00342ebdb26d168a7273f364ed0d795354e486b"},"taxa":[{"id":"CWE-89","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":"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":"6a17723b3affebdda1e046ec95f1bc2a793ab3a0ab9de06c58969e7b4c97fbe7"},"taxa":[{"id":"CWE-89","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":"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":"42e6fa24fd31dbf8cfc7d0875ccb4dd372db85ff6a912c1b2b5394f917f8f29b"},"taxa":[{"id":"CWE-89","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":"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":"feb43aff15993ae3339bcac69d721252713157e66ba9337fc3c668eb8444af40"},"taxa":[{"id":"CWE-89","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":"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":"73cf3d8a36c68203dbdcbe85d52cb68ec80204ee29cd248dafe05101143e7bef"},"taxa":[{"id":"CWE-89","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":"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":"061be06e185a737ffa67fda502d5a295c8244770c477f2502db3289dae01a142"},"taxa":[{"id":"CWE-89","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":"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":"e976ec906443f2591586f72d4b6515fb157f6c7a813ddc0fcf58224e04878667"},"taxa":[{"id":"CWE-89","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":"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":"5a8f90d69fa5cafb5912b1f87709478ba683a691c5525205bb897efc922805c9"},"taxa":[{"id":"CWE-89","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":"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":"ad3946cb3305cfb7a552305ef2af6d13a639ff39785bdb733a59b669b6596b39"},"taxa":[{"id":"CWE-89","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":"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":"1fe7f1d3f3fbd6eb1ee131d79879fb93049b06ad1bbbba0e0229dadd0709e4ba"},"taxa":[{"id":"CWE-89","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":"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":"479bf32e31db0db3602aa0db1dd33f294b094e390679e9fb17260e7955a99325"},"taxa":[{"id":"CWE-89","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":"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":"cf11f7089d3d5161be9bd3ec50d6ca0a1f534fdcd3b52d0aa3c751f92bf797e1"},"taxa":[{"id":"CWE-89","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":"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":"082a8427d94c9fd3c31748e0493205e28641ed2f9b344b4c73eb4ad65a2316b7"},"taxa":[{"id":"CWE-89","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":"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":"798b87cb25b59a510190b6f44797cfb3eeead80020cd4fe35c009146b57be487"},"taxa":[{"id":"CWE-89","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":"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":"3b67260664965ed7fd1b4f29dc9e51d38a30aebd77bfe4f38d3e4d809fd668b8"},"taxa":[{"id":"CWE-89","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":"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":"d26699e50c55ff2fff861dcdf95dfb8bd2d76c567117f451314287d4ee6f450c"},"taxa":[{"id":"CWE-89","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":"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":"83ac940e1c134d9a63413c7abcf2d09534243daa4807c9e3a4d592693ebea123"},"taxa":[{"id":"CWE-89","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":"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":"af6e48b37fb248da60934c0e2343172698432db10c11aa6ac9c9f7bf0025ef08"},"taxa":[{"id":"CWE-89","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":"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":"f84ccd467217fca7687ba7783fbe1a1bba17f216719de7d3349615589c25864c"},"taxa":[{"id":"CWE-89","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":"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":"ff588652c2009f3c0b27f946d5924de410521ea4d5e45ab792b5d778429b785e"},"taxa":[{"id":"CWE-89","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":"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":"ee30ca903abcc266604c0bb3c118ead69f3c4a8b66aeb4f21785af9f2aff5f1f"},"taxa":[{"id":"CWE-89","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":"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":"8849306371927b6f45d6161bdc343fc149fbf78cb01d72ad96e99df7a862b32c"},"taxa":[{"id":"CWE-89","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":"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":"76135d8b7a732b58d9813c25c1862587281d039f0182870101851430b9106f2d"},"taxa":[{"id":"CWE-89","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":"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":"243988d673a89551de421d44b51ffb7c81ea4e61dc1028dff800a47fd547a7b8"},"taxa":[{"id":"CWE-89","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":"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":"77598625b374359ae0f79f6f7d73d1110855c8dcf1d2f36c31449b0c7d39f409"},"taxa":[{"id":"CWE-89","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":"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":"b659badbcfab262cad697d3754cffad934440333a830eb12bac9483cfd1f8629"},"taxa":[{"id":"CWE-89","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":"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":"6acf1c31af694d715012c49093845f8e0f9540a9d53627f44c8f1e55aff7b677"},"taxa":[{"id":"CWE-89","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":"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":"f50b598c0d3d06878137916bfbd6214bd6cadae07236ae3ce20b7eb1cdeb6c4d"},"taxa":[{"id":"CWE-89","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":"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":"4030cd108324679d6314690b587befeeca61dba6d8200241983d6fc1537914f0"},"taxa":[{"id":"CWE-89","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":"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":"65e78a0dab81a30b57a9bcdba581ffbd4120abaf2f9df4ad7380a2380940013f"},"taxa":[{"id":"CWE-89","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":"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":"a0fbaf07f9b901fc400eb064c4d9f9eb7be5a879311ee8db3b7e0f89d236436b"},"taxa":[{"id":"CWE-89","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":"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":"644d0693890e2634827db77a578569d02d3d19c3bfe57b2d4f07f9c0f4bd7a97"},"taxa":[{"id":"CWE-89","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":"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":"fe6a2d8f61e6f8d9ef5b24becc70ed7593ecf4fc76f5d9755423e7d0f12f1a2f"},"taxa":[{"id":"CWE-89","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":"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":"cc10486ce536228b101ea2cf8df25f8a88783769fa0aa8670d96eae69eb36c65"},"taxa":[{"id":"CWE-89","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":"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":"d4495c358fd7ab865d7bed26addb04dc04974d2de4e53bf284537c592c107bd5"},"taxa":[{"id":"CWE-89","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":"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":"110f23aad580e335c68873747d0c322268ef58714df7d9b01dff371481c3c2b3"},"taxa":[{"id":"CWE-89","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":"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":"1712bbe39ec29a608bfb73c4b4753e53de9fc6761ff0056e06deaaa90e7589a8"},"taxa":[{"id":"CWE-89","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":"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":"ed0b2d48525a45cba5e0fa9c11a4521a43e7ea46b6e0e5b16ee16145636d3c06"},"taxa":[{"id":"CWE-89","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":"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":"766babae60d863db577e7a64ec761195164afbf45dda8b5c168a4e3587dd4ffd"},"taxa":[{"id":"CWE-89","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":"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":"f5803b9effdf458adcad8132e7254f053a21766def9a8b9e0acca5a0c3e9ecc4"},"taxa":[{"id":"CWE-89","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":"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":"b48f4c8a3aee2afd1cf018fe2b8399451c6eec3fbd2278ed86809b8d745ff8cc"},"taxa":[{"id":"CWE-89","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":"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":"985e34fa11069cd9b9010efd628abc4494185d12fa46c88f6e4e6617c74332da"},"taxa":[{"id":"CWE-89","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":"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":"30d0317cc926ab1028a19cb2e87e57d41ae25e9167885a9cafa3ba95ddf91af7"},"taxa":[{"id":"CWE-89","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":"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":"11974c073693e23c4b972f12e46bc1c6c0d66b62a25508fcdfb9c108861ee818"},"taxa":[{"id":"CWE-89","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":"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":"3bf8b9f7def4fe0849dfb5e4c749a97528cd43ab9777c023a5a576eb2dec3cba"},"taxa":[{"id":"CWE-89","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":"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":"bea91fb74b1bdd5d05364eb92fefad0b2b608ef879b4c383387989ecffa678d6"},"taxa":[{"id":"CWE-89","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":"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":"2045c0356002142e69c4b59f1eba939b1d86dfdbd8d44f22eb6be5a8afdfcee2"},"taxa":[{"id":"CWE-89","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":"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":"80b49fbb22a9f70723e69ecfbe7861d0227c5eee72f539b6ed68e212afbc2434"},"taxa":[{"id":"CWE-89","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":"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":"e91c99f6de31a429e82beb5bc6bd0ed054218007de7443e0c80024a7fbd787c9"},"taxa":[{"id":"CWE-89","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":"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":"821dc73798796fc3d6bdd4bea1323f450fb577854c24c92f3163b0d690ff0df1"},"taxa":[{"id":"CWE-89","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":"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":"caf38ea1ea12fd399c7de6b695f4c94e772a02f0b121c8bb48dd0fa532070dea"},"taxa":[{"id":"CWE-89","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":"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":"2f12ea7c00192f59451d5ca7f96279487ea8385d1fe6b75fdb3d4152673ebe09"},"taxa":[{"id":"CWE-89","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":"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":"586bdd46e4a1cd22d54ea9159545cf57c453e2ecb477150468bb1f9ab4de7b3c"},"taxa":[{"id":"CWE-89","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":"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":"d76b8f9c287023d89ab00c571bd95f8d17593ef1e9ff48d2135c6cb90ae4838f"},"taxa":[{"id":"CWE-89","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":"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":"f4fb17c89d6361cf92af86b83310958268946e593d03d2586524109f4035b1e8"},"taxa":[{"id":"CWE-89","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":"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":"34e31bf1678b09420d0513cee6578832ed77fe8a5f3e1e803ab3c9d39c21cb32"},"taxa":[{"id":"CWE-89","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":"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":"01698876751741c381cc6553b4b7e13be1764bc7ae00fcc7d3a32c486233f9e3"},"taxa":[{"id":"CWE-89","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":"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":"072ad8025fc6f6b67caa01566e3f9fb5ac784b9e8cc7ca7ac28026b28ac7a7a3"},"taxa":[{"id":"CWE-89","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":"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":"724337f6d498b7057108e06e7c4e8a5b36e8c2bb62ae12bc45959ef30252509f"},"taxa":[{"id":"CWE-89","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":"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":"191d81ab09079ea394e55dd75995ea1a3e24af866bc9c626c70e5b51c0c36cf7"},"taxa":[{"id":"CWE-89","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":"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":"28c69fdca41c0de96c0520d8af788f1d8ac26d6abea5991e7a4d3962711cc8c8"},"taxa":[{"id":"CWE-89","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":"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":"04405d2d4b6159acff076dcfd1f25250b54464c0d36db9dff881e97470d49c0d"},"taxa":[{"id":"CWE-89","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":"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":"f48063b67f61f26424870b71bfd49c27ee680deb527fe2cd3b1de12ad0952085"},"taxa":[{"id":"CWE-89","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":"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":"803ac44249044e3fc42a69cd313ae485cfad5a6c354a8ebc54724bf37fb2fc5a"},"taxa":[{"id":"CWE-89","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":"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":"00730e3152d379c0e7018c6edc0a3ab82b1c379994d73a117c72c747fefb9202"},"taxa":[{"id":"CWE-89","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":"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":"6053cb5b0a9a52fca51f69056c7895064febf47b4dd1b37a09baad0546f5fc95"},"taxa":[{"id":"CWE-89","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":"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":"68a3e29a9602b0fccbb8e865e41760b632284a0915068b3c11ead34096261e57"},"taxa":[{"id":"CWE-89","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":"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":"e3b19e12509c2cc5bdc5584807e2564c799b2f7e07a3f91dab6a3172fe51a98c"},"taxa":[{"id":"CWE-89","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":"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":"a9a77410f2bc664a0dd6d82fdb8afea64fd8258a945b4ef29901317ad33f557d"},"taxa":[{"id":"CWE-89","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":"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":"1518c71e44be01144f5c2cfc0e97bcd1c2b4e8b21ec1fd64e9e6274991e97bfe"},"taxa":[{"id":"CWE-89","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":"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":"554650c4b50858f0dd4c80272d8a557957ca6cab90a28184b6fcf0f018f1f1f5"},"taxa":[{"id":"CWE-89","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":"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":"22512f20a7335d2071c9b91bdafa651ecaa014f66cf4c8aef38daa81254fb382"},"taxa":[{"id":"CWE-89","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":"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":"8730edb4f13b969fa8abd8cc98a0a59e3e407e00f8deacc2e8d1c0e147d349e1"},"taxa":[{"id":"CWE-89","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":"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":"656cd6efcfdb599f317ee4979b0110404501e3175718cf6579addbaf2b862529"},"taxa":[{"id":"CWE-89","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":"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":"46a93853b7fb45172a3dcc362cf762bbcb242a7edce225bf0ab0f04be99c2c9c"},"taxa":[{"id":"CWE-89","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":"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":"68f81aecb1de4ac778f02c476c7f1a7003b2488c78655cddd38d33a4f17204aa"},"taxa":[{"id":"CWE-89","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":"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":"a1ec7c7aba117750caaea64d3e6a79e77e01d2f17c63a17bdf9df6c60648bfef"},"taxa":[{"id":"CWE-89","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":"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":"3014cda4422a4275c61e894e5b311f476f4d1571eb5733465826d0e237e4e964"},"taxa":[{"id":"CWE-89","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":"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":"4eca732058fa105ad852d9bd8e6e5257473352f2730d14ca08c66dd6260e6288"},"taxa":[{"id":"CWE-89","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":"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":"15232c3aca49dd544d63fe4075356bab526978b8ba4995176d6c4d59a918d566"},"taxa":[{"id":"CWE-89","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":"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":"90793771aacd6a4ad344878d259e05adf3b8a02ed520fddd67acc16d9094f365"},"taxa":[{"id":"CWE-89","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":"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":"809d35addbded227b2352f641123d226f40b0f99a15a3e50f8dc48e17817fb28"},"taxa":[{"id":"CWE-89","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":"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":"bcb5da6165793b13cc5e7c4c7563fcd94d11c95185cae247d70ca7db469840e5"},"taxa":[{"id":"CWE-89","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":"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":"70bd2db3385b65002707e43a5a9e4ea0fbaa5b1ab7ba525cabb9f25945263855"},"taxa":[{"id":"CWE-89","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":"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":"0264a74657f2d823bfad01e5e7ab268604e433e7a6b14bc3675c9fa6ea60a9bf"},"taxa":[{"id":"CWE-89","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":"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":"e37fc5b17d6400145170cf9c0658243aadfa69d53b2e85da27acc6550af443c8"},"taxa":[{"id":"CWE-89","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":"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":"b26815171146020ca968a451d173f4062522654a84863fbb66bc01105a0cab25"},"taxa":[{"id":"CWE-89","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":"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":"742066fe52d3739ee8414cc52c0d58086e2a35761e18af1393103abaeec56c39"},"taxa":[{"id":"CWE-89","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":"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":"06fe3240e0400acf35e6835728b28ed893dbe33d482ba2fce8b2764ce84d1071"},"taxa":[{"id":"CWE-89","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":"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":"0287ed1317e184497d140ff9fcbd14c25d41fcffd3c8f9eb795200dfb64a84bd"},"taxa":[{"id":"CWE-89","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":"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":"c220bb23fc4bb6403348452e7902dd1987e4686cccb8ee0e354cd7190e6887ab"},"taxa":[{"id":"CWE-89","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":"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":"9b2a1ec01a9907c8c7f4fd4a7aaef8ccd87cb5eea0e46572bcbb04d3e0c0d276"},"taxa":[{"id":"CWE-89","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":"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":"60a61427d1b08826377924b0efc7a6e292e8490c07674b673847f64b54164493"},"taxa":[{"id":"CWE-89","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":"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":"487890dbf69d5e7cd9cd90b846b45305aba8791ddf993b8a7d70bfe1188ff0aa"},"taxa":[{"id":"CWE-89","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":"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":"fb6a36503da310c610028114d19b34d67c73c8a91291faa0dfa4d88261ec541b"},"taxa":[{"id":"CWE-89","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":"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":"2b2a41f39300d70e11db626d4fe69e840148de775aed0485b0c31eecc7e52813"},"taxa":[{"id":"CWE-89","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":"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":"daba48cbba8ba7859228c33cf72c1ab303d318bac2b44187218f97b8d21d62f9"},"taxa":[{"id":"CWE-89","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":"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":"d58642e8b1e8345a95f2807b8aadc582654f47996f32f2104ca6016c82226ee4"},"taxa":[{"id":"CWE-89","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":"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":"740358c8b815e1909fca9394486f75f6fd3481c7cb107860d84882e8616b3029"},"taxa":[{"id":"CWE-89","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":"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":"2d8c63f16c301f09f2cff245ff1cd1cd9b229395674d99f79082f60908cc575f"},"taxa":[{"id":"CWE-89","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":"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":"ce4651960f310b8ece634da6bc8f716f326a2bc5247c1890af10ff618df1e5b6"},"taxa":[{"id":"CWE-89","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":"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":"10085aeaa67cff1a51e262bfa770e93696aefcb5cc06a82234e0ff494f360982"},"taxa":[{"id":"CWE-89","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":"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":"b94c9b0a78256fb70d5e3fdeec4dacf66d40ac35b9fb0547cdc582dc8285e58c"},"taxa":[{"id":"CWE-89","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":"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":"61bcec95b7b0ea21348741afe1f16b93f26fd8f7c9d615f479b6f2e97cdb4579"},"taxa":[{"id":"CWE-89","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":"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":"e12833ea8ac87aea8ab0a452a389d93e33fea179e64129401b891727f709ae87"},"taxa":[{"id":"CWE-89","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":"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":"f7e5873e4f58b0a7cccdb6d7e089da13b69a9d51389655e2eb2da8283e131879"},"taxa":[{"id":"CWE-89","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":"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":"86260423d80fef7dfdb638ebb933384ecd5a321f58c613858ecec807423e0825"},"taxa":[{"id":"CWE-89","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":"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":"c4aafce7908483c17fb6a998122d40c5f0840e4a873ae27721b52e8ebd30f055"},"taxa":[{"id":"CWE-89","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":"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":"645def68b2fdb822a57751ab11a4b1f386f81c89d32561a74ee14b7bbf922f0e"},"taxa":[{"id":"CWE-89","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":"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":"a1efb1aa6a039daf5f8b8d6db6f89d0fc3268fd99ba724f56cf2cf85e0b75021"},"taxa":[{"id":"CWE-89","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":"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":"1db7f96eabb45f1dd0b299d2ccff31ba5d1f5ad52267c8d9e16324e83d130cc2"},"taxa":[{"id":"CWE-89","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":"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":"c10654930494b4169305317840f9bf345bc8f3b90fdc345150c35fcfac199d1c"},"taxa":[{"id":"CWE-89","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":"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":"668e6fd8f8d5327d4034ff133593a052159bc425a2ef9792f419416be08c8c06"},"taxa":[{"id":"CWE-89","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":"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":"0c6cb26e9b0909885bbf2817e0ec4913d19e921550ba1a78101672828ae60765"},"taxa":[{"id":"CWE-89","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":"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":"f296d201e529e6e749c5abd8cbe0b5045eb2eaf40375f8ee51f8a4512407c40f"},"taxa":[{"id":"CWE-89","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":"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":"fa141c55c12566dc81366c6b2ca82aec7db0e9e37bb6b258b1d29667c1b7c6e2"},"taxa":[{"id":"CWE-89","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":"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":"7aed6587493c4f5a2d404b116f6b826381deb88237fd4fbb78dd368e4cb54561"},"taxa":[{"id":"CWE-89","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":"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":"c1e49255dd1a76e13bbe1562b5aadf4c6f8eab1983decd36bb1230d126f99df9"},"taxa":[{"id":"CWE-89","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":"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":"a16ba281a2a014bbfc6d44c3c4131af46a36fbe05013e4254ac9609df38b91a6"},"taxa":[{"id":"CWE-89","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":"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":"e03ebee6f64e6d2f7a431efef48181b588ba24ca7d01393e2ee999784a03c0a4"},"taxa":[{"id":"CWE-89","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":"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":"74d76d649c330486f2172d1cbc36d7fd118cff38a7e88f330d5bf97a58e0ce85"},"taxa":[{"id":"CWE-89","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":"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":"a0dce738fe32c407937ac623fe32ff15a1cf224afae6356f8671410120aea355"},"taxa":[{"id":"CWE-89","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":"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":"cc515338611024599ece30826002978273f048450231edaf741c4ecf3188f585"},"taxa":[{"id":"CWE-89","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":"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":"0faeca8694114a2d62e7ff5a44d4e065dce19b5a6b65a2810b1165c4c94b05be"},"taxa":[{"id":"CWE-89","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":"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":"4dc9f14633e06134cb79cbfd8d9580815a22ad3c60530ee988a1f7a5c8fc2d31"},"taxa":[{"id":"CWE-89","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":"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":"d536f1abe1dc30c57729a92509c61939d073bc1fb41cf0cf393d9df32d4119ec"},"taxa":[{"id":"CWE-89","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":"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":"d88c991b1a42b31ff4cdb4bd799d7ae179c5081b3fc1188160a8e391945e531c"},"taxa":[{"id":"CWE-89","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":"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":"3ca8cc6aeba26d9dc4aa6e4b20ca25206119898f541a0e542c5c54fb4154c14d"},"taxa":[{"id":"CWE-89","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":"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":"7a0f544b94fb283610bcb941c67462207e42a9bdf243f388c424b5d6dbd1b6da"},"taxa":[{"id":"CWE-89","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":"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":"6043546decdb8544b50efabbb942d25a55cb254f1fc9115a2bbaaaa3c45810f4"},"taxa":[{"id":"CWE-89","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":"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":"d0d0edf20cb5585af72ff05f1fbc5fd1e6600e81418a296e67a92f8a9ca35ea3"},"taxa":[{"id":"CWE-89","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":"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":"175aa4737c56dc7946375b904d40623ecd5ab64cd19be374c245b8ca829c8788"},"taxa":[{"id":"CWE-89","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":"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":"cce2e3e8c7b118398b46c3078fe38c4dc4962a0590d20463c4bb6180431130db"},"taxa":[{"id":"CWE-89","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":"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":"ab94f7bedb80d7a05ed5a2ccca0f8b775e3cd8411e91bc2339ba52b46e654827"},"taxa":[{"id":"CWE-89","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":"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":"70f951615a14f17768e11071aefee31aae11ccc8effa506dd0048998209738d3"},"taxa":[{"id":"CWE-89","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":"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":"083e06ea04c29edb9099fb56228c6db2d0f139ae434b61d32336709c6af2f365"},"taxa":[{"id":"CWE-89","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":"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":"1d6b142ce886eafde28229fb7cd6629993415b20dd8f46f06f64ebdc07c7f80b"},"taxa":[{"id":"CWE-89","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":"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":"f73d27a71920d3c5622838122d88aa787eb81258273d10fbac2f9a4ee701bcdf"},"taxa":[{"id":"CWE-89","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":"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":"bcdbe16c86cd91014645a1f47994709ea3770882f92d809614a939d9ef966b43"},"taxa":[{"id":"CWE-89","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":"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":"563d98b40fab7ae3274e5cc86472c8a51cfe4c27128468b1d398783cf00a1cc4"},"taxa":[{"id":"CWE-89","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":"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":"b93b668dce1a4566e2e6a2b27ac716d203177e6f2d9a3e52cb22dd03cc55ce84"},"taxa":[{"id":"CWE-89","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":"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":"82d098b30b5790cb465c0ff2d92fba591d9c1db6bd8d5b8be92c9308f1365b3b"},"taxa":[{"id":"CWE-89","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":"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":"c08f3a631b89d628fcf2a6aa317da20c18c0b4f0791a94833ffdd0b31b58c960"},"taxa":[{"id":"CWE-89","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":"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":"17de0a5ae7831cf13a97d3ed2618b69bf4d530398ead95da05e90c09a02eadc1"},"taxa":[{"id":"CWE-89","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":"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":"896d1303db59c0d1f44b6a7800f3d13fb9e5c82e7f20cf58a2adf61a9d918986"},"taxa":[{"id":"CWE-89","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":"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":"7c3ed897e59c2940a295190bb74f463774f6bc4edf4ed41bc080e42b8b1e362c"},"taxa":[{"id":"CWE-89","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":"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":"74b1761319b7869197eff0087e03e4201e4384023127f247284dd30ee4cc4724"},"taxa":[{"id":"CWE-89","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":"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":"060d35c90950786f27b815b6967f5ada11c1e203bc0e21bb1d681e4077b359ea"},"taxa":[{"id":"CWE-89","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":"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":"d3a622bc1709b796220977559cb6b4b42947865470bd93df7ecd5503f36dc7ed"},"taxa":[{"id":"CWE-89","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":"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":"f3be58caa7ed4c49fd1da33c377f6ce3a4145c5ab0690bde29419340f15f9a98"},"taxa":[{"id":"CWE-89","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":"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":"77aa029117d10f9e46743d8c23be9779eea01d8813e1f5cd74bc2b5d7d788b3b"},"taxa":[{"id":"CWE-89","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":"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":"9ef52edb3d216d75613b767e548df0b7de374961d54bb8742e110cb902cf1879"},"taxa":[{"id":"CWE-89","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":"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":"b0463b15d69d3a9da998dc52517b14a4c6c13ee0d8ae4cc0eae92e6f59c58918"},"taxa":[{"id":"CWE-89","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":"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":"0c1fbc18914fa7801063096a2817ce568acbb9b85c3bf68c10a12a885def3219"},"taxa":[{"id":"CWE-89","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":"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":"cad9ddf81cab96558445f7f8482a30dc13a56a15fda999263dafa6d055d31e31"},"taxa":[{"id":"CWE-89","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":"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":"a16bb89ded74c3c7d08600fef8281e6d90577baf103ed6f2c7f77f282f5f1cd6"},"taxa":[{"id":"CWE-89","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":"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":"919aa2d3db497fc8f114fbbca44d296ae06a9648b386b8aec21b67f21f0c9e8f"},"taxa":[{"id":"CWE-89","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":"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":"f1793a5c6fe1226f1908804a66f6dcf376d3f79bd9e844df98b7b43fdaed2253"},"taxa":[{"id":"CWE-89","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":"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":"b34f89b9c07ce3e0117bb0d7e5b6cbbb812e9edd969117150c2b33dafb990b8b"},"taxa":[{"id":"CWE-89","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":"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":"a13ac849054156b3e6bbac3f609d5b88be027013160ea3332c9fbbf2eabaf866"},"taxa":[{"id":"CWE-89","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":"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":"6144ee146c0aee83c1b867b2102a01fa133b07a4d81335156c788bf1ae84668d"},"taxa":[{"id":"CWE-89","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":"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":"ffabd5d82d77a238359ab18044fe8b24f5ec500e7225b8198a94b5aa2b4f60e9"},"taxa":[{"id":"CWE-89","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":"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":"39fbb46fd77f04fb724ac04bf5ab9d0a7783822799f2bb94e78b1ea9df91e23c"},"taxa":[{"id":"CWE-89","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":"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":"199608601db44d21d01b1c619ce002c477cb7523979003be677e0b6b93c10e15"},"taxa":[{"id":"CWE-89","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":"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":"4d949eb04bace559ca75cce5645045ce4eca8a1242a242be4b1b6279c88275d5"},"taxa":[{"id":"CWE-89","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":"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":"22113fb78f30905049049a7ffe2ee1f85507e26b2ea4a49e2eb11dbffa16ae61"},"taxa":[{"id":"CWE-89","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":"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":"0490081f716639bb71024e502ae20ad5e51c22c73a46c8912e2d95d71412be5e"},"taxa":[{"id":"CWE-89","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":"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":"835741084def0a9a1b0011cf20f91ea03021aba59eacc1be6fd90bea2a2eb57d"},"taxa":[{"id":"CWE-89","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":"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":"f59077f4a152465be593a439552ff5ecfd5e4851e7c11d5a6badfcd3e8e93303"},"taxa":[{"id":"CWE-89","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":"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":"d18bb2f599e269e25db27381a781902b0551d35e67a1a7510aab35d53bcd9e5d"},"taxa":[{"id":"CWE-89","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":"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":"829d01763f1ceb00857a81e5303acef42c0b6cc4dc54064eaf254463015bad7b"},"taxa":[{"id":"CWE-89","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":"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":"4d7040bb656e85c148f3f6bc7d0f49b83050f9ba542a00cf932d90e8ab50d8c5"},"taxa":[{"id":"CWE-89","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":"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":"99a2383ccbe86cd7e40b24dbcf970d592e9932020d72503282e6a55699dd5a05"},"taxa":[{"id":"CWE-89","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":"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":"58c02dc3032adec42b7f3fcf562fe42c24caf80e3ad7271e564550de967b356d"},"taxa":[{"id":"CWE-89","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":"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":"e6148fe2224ba0240cf3bd9ddba30017677384797bb138e471af6325ecc54052"},"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":"c3024e093e4f9877f1faa2ab6b5e156895f3f952e3db55aa807c334c96ea81b3"},"taxa":[{"id":"CWE-89","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":"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":"88dff6064262c7447ac0a357efb16a1e6355e2dcb695aa2a97832b05324faad7"},"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":"8f3a3475e1cfae4628e45f2614c73ab137650838c4ed6440a3ac7d6d50284e50"},"taxa":[{"id":"CWE-89","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":"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":"6c87d601e8699f1ff9c565f3a7d047c3ebafe795df4d446f52ec1e35025bb221"},"taxa":[{"id":"CWE-89","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":"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":"0add4e46fbfdea1c798e404e807ae180143cca139530482c7c38923c98b27928"},"taxa":[{"id":"CWE-89","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":"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":"ec043dfd09a8c5033884673e70a01323d2854802a47bee97f7d67f48f56df6ef"},"taxa":[{"id":"CWE-89","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":"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":"82bde6d6319071cc2136a7bde712580621d0736a8d18f914474c208090341699"},"taxa":[{"id":"CWE-89","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":"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":"a05731193852a4bf325b439f1b86e427c183f5a34a4e2c000c443f2303503376"},"taxa":[{"id":"CWE-89","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":"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":"1c9f7d6236343e6a0be8d4e2d5bfea46f5f712b394644e6f03f44bccafcf76ca"},"taxa":[{"id":"CWE-89","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":"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":"a4ec4eec66dfd0ff2392cfb9ef0d7df5b80aa5886ec9292a5cf389e5156c5817"},"taxa":[{"id":"CWE-89","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":"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":"da6c8cf850e552cb9541297444928730693841c30f6817b6848325c6fed1ba07"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9adf0199fccede41384efa9de64052892ed37f2e86d77f95fbb3e30d1b18071"},"properties":{"dependency":{"package":"certifi","version":"2026.7.22","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c4dfd2b7614e9f0ae21b23856eb927399d8f9bd2fadee0f1060e7b2a991b980"},"properties":{"dependency":{"package":"chromadb","version":"1.5.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-311","PYSEC-2026-3813","PYSEC-2026-3814","PYSEC-2026-3815"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c73c47ba3559bc536cc2274dbc1060ab590e5186fdbc5354e18523e81ec25af"},"properties":{"dependency":{"package":"pyjwt","version":"2.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4142","PYSEC-2026-4143","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4146","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4150","PYSEC-2026-4151","PYSEC-2026-4152","PYSEC-2026-4183"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df7585b253d953adeca89d1e59a70e2c2a034806b967a2a448d1f8c1ed6591bb"},"properties":{"dependency":{"package":"anyio","version":"4.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8a90902872f0fb0c2003e6bdcea08a3788d1e1654f9c6f7df6541c9231de2e9"},"properties":{"dependency":{"package":"certifi","version":"2026.5.20","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bee25b4cc13ee79150a74d4432f3926b0d55d95af960869b033923809aba8553"},"properties":{"dependency":{"package":"gitpython","version":"3.1.50","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3947","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0223a26ff247095cfdb4b453cef59d8da4640e4bab3104cd3aad19bf130d5b2"},"properties":{"dependency":{"package":"pyjwt","version":"2.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4142","PYSEC-2026-4143","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4146","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4150","PYSEC-2026-4151","PYSEC-2026-4152","PYSEC-2026-4183"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e27a9c2f41ee68a8b69003c4cdcc3a5f63724324cad7877b1cdda2df373f8fb0"},"properties":{"dependency":{"package":"anyio","version":"4.12.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7dd5f8f0c4d5bfe0dc8633b99ed8ac19066b8791ed4da32eb7378f071e4bc333"},"properties":{"dependency":{"package":"certifi","version":"2026.1.4","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"435a03d0cf67553b1b24b4ae993d5446048262605acfd81f3040e4f606992915"},"properties":{"dependency":{"package":"chromadb","version":"1.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-311","PYSEC-2026-3813","PYSEC-2026-3814","PYSEC-2026-3815"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"056a90492ff94637c6a1af464b41d9e3943558400d131da132b898b0fbcf6030"},"properties":{"dependency":{"package":"gitpython","version":"3.1.46","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd8045939fd453b569d4205e45978926f326b9da043068b3c89c4efbbe1caa4a"},"properties":{"dependency":{"package":"pillow","version":"12.1.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59203","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3452","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ce14b5ac77572a13f1d20c722a2ce1c9c1eb245d2ff8d2c8b4dd8f0ab5bd344"},"properties":{"dependency":{"package":"pyjwt","version":"2.10.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-183","PYSEC-2026-120","PYSEC-2026-175","PYSEC-2026-176","PYSEC-2026-177","PYSEC-2026-178","PYSEC-2026-179","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4152","PYSEC-2026-4183"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1e963beeb0c7236d1fdbc910b09387f68f4333bd6d928fe0ac42c5eedc3ed06"},"properties":{"dependency":{"package":"anyio","version":"4.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1767068f81cc289bf9e7e40f0bb20b9bfdf57136c40d9d826640962d047d1ed"},"properties":{"dependency":{"package":"certifi","version":"2025.7.14","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7dc27e54c2ce986d6c04d98b9b2182b9432d731fe90ea673a178baaa937f5323"},"properties":{"dependency":{"package":"agno","version":"2.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1077","PYSEC-2026-2333","PYSEC-2026-256"],"reachability":{"kind":"production","file":"cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py","line":8}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ab0186af47cde28764d39344f6c158a52d696b773d4443e2d3b2faed140c907"},"properties":{"dependency":{"package":"anyio","version":"4.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba747faaa78502d6fb63b58de9bf762f87687bd2108302d69b761482e685c753"},"properties":{"dependency":{"package":"certifi","version":"2025.7.14","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71ff66c25b71c4257a5bd93b769caf90942e261c52018759ae6fb30566180a41"},"properties":{"dependency":{"package":"gitpython","version":"3.1.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8983aecea9b11169dad04d0d97e78dcebf52bf3c8a13334f2691f729d5310e6"},"properties":{"dependency":{"package":"anyio","version":"4.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b91f5f3d4ede9f46d1f5d04a5968076ade14d9a5fcd363323e308228c4040cf"},"properties":{"dependency":{"package":"certifi","version":"2026.5.20","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b244a9c28b60df861064d2bd8d8d6fc2298a15ef5976862656d772728e86ee93"},"properties":{"dependency":{"package":"gitpython","version":"3.1.50","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3947","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48cfb20800988f183d246f879ba68bac57b14c6b853e943874746474920fdda5"},"properties":{"dependency":{"package":"pyjwt","version":"2.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4142","PYSEC-2026-4143","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4146","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4150","PYSEC-2026-4151","PYSEC-2026-4152","PYSEC-2026-4183"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d6d7faa0f15bbaddc57cf5eb30c97ba309c01a5a42c805a653abd828986d61e"},"properties":{"dependency":{"package":"anyio","version":"4.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4023","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0ba142eba4db50104e03e7644338189aa791af65baae444bf1067c0e242a648"},"properties":{"dependency":{"package":"certifi","version":"2026.6.17","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1a1757e31bcdefe635109fd6531d3bed3ccbef17a953e06df701836a9821e88"},"properties":{"dependency":{"package":"anyio","version":"4.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0b24e8173274c69a53dd23adec9c79b02f8ce10e33a4304b64bdd3a8b20d146"},"properties":{"dependency":{"package":"certifi","version":"2025.8.3","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"124376097fa438159c37c9bba1bd95fd927d81d7d2a45f89a5f09a1dd486a580"},"properties":{"dependency":{"package":"gitpython","version":"3.1.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2ef5f14f8efcfa1fd567c7a934b79b09e1c67db833366e528dd50c0fa11658d"},"properties":{"dependency":{"package":"aiohttp","version":"3.14.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2cdfe6dfbeeabed7589160f7b9bdc87f689156d3457028b0e759896417e1117"},"properties":{"dependency":{"package":"cryptography","version":"49.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3552"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e7ddb5a9209f9eff4e602e56433786bd19f06f3c9b070aee1de8eb1097c0460"},"properties":{"dependency":{"package":"filelock","version":"3.32.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f9c11175859cc4a1c06d4dffc07bfa17cadff0206338ce40641797c8de6768f"},"properties":{"dependency":{"package":"oauthlib","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4113","PYSEC-2026-4114"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f34028e07f67a83140c610f6b2bdc0a3568ff11eacd441ba7c51fe38d40a6150"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15aef2111ca81a2300e914ddb9f942280aa00c5c1f49909c4da9efb4899b68a4"},"properties":{"dependency":{"package":"soupsieve","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c8b6785b37210ecdd4b7cc9f7f970a42224cebe7c478b540d52f9febee96f87"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e797dc84b2e466c53e52b2d2b414d41f4259c2e2a11ae6c801d59ec65acb2b82"},"properties":{"dependency":{"package":"cryptography","version":"48.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3552","PYSEC-2026-3553","PYSEC-2026-3554"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb92a539719d30e6142a8c9c4663c6628b9342ba3215e1740d67381128a16abe"},"properties":{"dependency":{"package":"dnspython","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a06e28de03ca331c7c770ba2103534428b8a36d48bad56e08e60bfbf90d8724"},"properties":{"dependency":{"package":"mcp","version":"1.27.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3483"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ae298ac1da62988fee454902aea3eed21b4276456b86674f0f78d6bd2666017"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14aa9cbeb5fe6eb19408125a8d488ef048adcfdece559dd59e7a7a47259ca2f7"},"properties":{"dependency":{"package":"starlette","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-248","PYSEC-2026-249"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2649efbaf0b6c3999b72abf3592dfee3ec3695cb6317997cd34c8454a7c5c4d3"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95785911375cd190236ca326f5a52cb01b5258eeab01f9cc44235dfc405d8a8f"},"properties":{"dependency":{"package":"agno","version":"2.3.24","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2333"],"reachability":{"kind":"production","file":"cookbook/08_learning/00_quickstart/01_always_learn.py","line":13}}}},{"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":"a651a5bf340133ecc9d5713424fa4ac560d87c33ad517b8320d069f699bec9a5"},"properties":{"dependency":{"package":"cryptography","version":"46.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3552","PYSEC-2026-3553","PYSEC-2026-3554","PYSEC-2026-36"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16b2a09cf44c396517eb9221c734bbdfe01e0850885b22e50f44d996fd1eba3a"},"properties":{"dependency":{"package":"dnspython","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4193424192c2a701a7133cab69955e7ac1ec12179f83b822b2c71f110fbad20b"},"properties":{"dependency":{"package":"fsspec","version":"2026.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4217"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"418b7fce3b0c65e8694eb7f3f99b598bcdb2f6f29deeab4a848d7133b08f483d"},"properties":{"dependency":{"package":"mcp","version":"1.25.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3481","PYSEC-2026-3482","PYSEC-2026-3483"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8457414d398bf329dcf3d66c25b1b94e6d16c1623c287ee2a615ff779e40463"},"properties":{"dependency":{"package":"oauthlib","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4113","PYSEC-2026-4114"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"972e23c035f927734a1e4a7a0ca5acf8292dc419c509ae11ba193792e40fee5e"},"properties":{"dependency":{"package":"orjson","version":"3.11.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-107"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a0ab715d5ed91423e695dbaec51ed4281c5f81ffd1b371f10b57c4662bfa6ed"},"properties":{"dependency":{"package":"protobuf","version":"6.33.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1805"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c880b93e9a880c865734087b650479ac26dc794fc1e3ffc69cff5d41d3d3885e"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1810","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"270ec2de6e4e6ca3051d886696e0623f0a7c845d851c1bc57e7b4cdd497e232a"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1852","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32b8b62d586c268eaa718e0a8291fca49e2761860b4622bc37a346063cd07b8a"},"properties":{"dependency":{"package":"starlette","version":"0.50.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebcd590ea57e6c62675400b588ede1d4eebfd06a92761a5fb887041daa60b025"},"properties":{"dependency":{"package":"urllib3","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1996","PYSEC-2026-1997","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4258a676617e0bc6daa6836e0ba29b2ac53c186cac096dd9857093471329084a"},"properties":{"dependency":{"package":"aiohttp","version":"3.12.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1097","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"699918730a79433c3c026acb6c9db623529f16dbce52d0a791fd413ea3327250"},"properties":{"dependency":{"package":"mcp","version":"1.12.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1617","PYSEC-2026-3482","PYSEC-2026-3483"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1831708ab92570db05c6fc4401a68c9e0a81b896b525fda307011523edf4f98f"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1810","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07c148df582136737a7f6f164dd11623882f3b1f87efbc7fffc7459551b02dd6"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1852","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aec5799e5f6c1c3c7324ada4cbb3df93daf52b210b0afe4cc426a7cc15d59051"},"properties":{"dependency":{"package":"starlette","version":"0.47.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-1942","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5516a712fb04b80cc8f7af6ac2624f8f2d1421b65f11583c8fed0ca1bdebdf5c"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e678d7429c21c5fb61ba7676dceedc494a96d8e049e7cfc180acc51c451dd05c"},"properties":{"dependency":{"package":"aiohttp","version":"3.12.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1097","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d9aa3bf34f055d67fb8c0e3ff60fff09d3a62c1a900fa3942176472b432a9c9"},"properties":{"dependency":{"package":"mcp","version":"1.12.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1617","PYSEC-2026-3482","PYSEC-2026-3483"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52143b41b388113d46c7983e1dc88b7b3579121c3374459d3f1ed09b32c59c4c"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1810","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f724f0dc5c314a7d38c597a3ce9de4da4890ae8b194726e97553128f190e52db"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1852","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d36a6d60073a34bb54dd5d0509dd4b3429e93cfa60ac474b5bfa87f46a3374b5"},"properties":{"dependency":{"package":"starlette","version":"0.47.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-1942","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50d6a40ec747fc6748fbae0499e329dac3a49c7854cc52b431e6e1e3208f132d"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f444fe571363dd2e242ab0672d44ea0ad09762e7db09a2e8f2022c349564ff0"},"properties":{"dependency":{"package":"cryptography","version":"48.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3552","PYSEC-2026-3553","PYSEC-2026-3554"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b4d3512903f158198245ade39cc06e593065945adbf411a4cb0994de6250e4a1"},"properties":{"dependency":{"package":"dnspython","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6893e6307ab66fd084a46d0fbdb2d66eebe6204583ce13e633a111b89655d031"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a114419f8de5efd23d5bae9c1ddcc12fe1fb2f857c1bc7e893735c7180cca074"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.29","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3040","PYSEC-2026-3041"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bca7608b24d09389a082e6bfd35c1177a9e10a3883c8fa7cf86862265721cf9"},"properties":{"dependency":{"package":"starlette","version":"1.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-248","PYSEC-2026-249"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"469f97c09a6ec6572f07f9e0d5abd6ab94648af5bc161e770d64486b23138778"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a74414d1f4f05a28f5300432d0395210ea64193d6071a500230866bb9586daa9"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1852","PYSEC-2026-3036","PYSEC-2026-3037","PYSEC-2026-3038","PYSEC-2026-3039","PYSEC-2026-3040","PYSEC-2026-3041"],"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":"a54a6e5e543d003d2a36212c27ee4c8481c01786758720d5e65e4405c6aaff37"},"properties":{"dependency":{"package":"h2","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3628"],"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":"c4bc01c3e34d8f27b20503f53a119edf079b55e48d6cd469f7373c4d8f87cf12"},"properties":{"dependency":{"package":"multidict","version":"6.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4244"],"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":"7bc5ec287f0c9f05e5b7b9feaf4244012bf6bd9d2cdb8415f425fac2c425b357"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"fd91a429f387bba825de8cb7ef4da297ed0089ce117a411a5ac4700cce7433af"},"properties":{"dependency":{"package":"h2","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3628"],"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":"c68f13f9de8bb7c8c66b8f24bb2d62ca903c692dda2b6dd0ca309794d0cbcb20"},"properties":{"dependency":{"package":"hpack","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4053"],"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":"b635c7e8a49aa8c8920fbe2154f534f6dff5825a574ac889bbc5a668b605f93e"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.42.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"09f21bcc3905231c4915cd3084f69700c5f1545d4dc4d247da5926d4c35cd7e8"},"properties":{"dependency":{"package":"pydantic-settings","version":"2.14.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":"74423785501d0d5487fbca465f3a950be9858d14b2ae900568c92255d505b906"},"properties":{"dependency":{"package":"filelock","version":"3.20.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"75720fb17f0b24a33b06e7aa7e6a49a4bd3db8ad37b34e6d73e7e1907cb11b05"},"properties":{"dependency":{"package":"h2","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3628"],"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":"8f6142b9a8d00bf78ada32de25d648d3d107c6f2575d9f84ee34e15f19cc1d9a"},"properties":{"dependency":{"package":"hpack","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4053"],"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":"66c66983ef27158d648b86d36a54b27c94fd28b483ddb8928ba3e4ae67e03d6b"},"properties":{"dependency":{"package":"idna","version":"3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"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":"7437136f5ce5bddceaade582e2ba1a9ea9b991d1984d955f1f5fbbae32926890"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.39.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"bc59a2cd8c701129ffa57e7445f421439b955193dd98c7cf56c0dfdb7c038e20"},"properties":{"dependency":{"package":"pydantic-settings","version":"2.12.0","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":"50c3a6b37677898cfe10814955a01384e29c46990da1840b7429ea13e6312112"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","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":"efb11cc072fe8e6e39a782d7b4409ff244cc32f8f0570bd479ab7f8d22db772e"},"properties":{"dependency":{"package":"python-dotenv","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"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":"f536becef5eeefd5b4b2fc5047bf516769c9bd4bd0f21ba644e5c1c96fd6b86a"},"properties":{"dependency":{"package":"requests","version":"2.32.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2275"],"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":"7fe6183da5190203b8eb12fc60daf37043f74e4f41ce29ee31dfe617a7c73c96"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"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":"31b1f31d9c753dc20ada5ab5e407c12b6d3d400a260f0f6e2285c97d1d4fe0e1"},"properties":{"dependency":{"package":"python-dotenv","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"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":"b6e096417e0d024b30995973bfb48dc8e91c01c1b5670909667164516185f9d9"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"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":"bec75c5a38fecb48507e5d543ff81277245f75e9ca4c2e53689ed6144f1edc14"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","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":"a54c218b1266c35dda6e850efefba3e591876e097a9d0db3412b1186cc08053a"},"properties":{"dependency":{"package":"python-dotenv","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"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":"7d86761f300c3a2b139969afc0728ea06ebc9cd2d14bdf6bc7ca89bd88ce53d4"},"properties":{"dependency":{"package":"h2","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3628"],"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":"eba4e9ba274c20876725035e76a5a9e647f9f071a4cbe2af61041212a935fbbd"},"properties":{"dependency":{"package":"hpack","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4053"],"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":"d07153da6e893758bbbbd7b198a42751a8f0712dcde935ee1bd33374e72be945"},"properties":{"dependency":{"package":"opentelemetry-api","version":"1.42.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"6e29ae58a40beda65ba5a55a5a1dbe0548045e9572838871f283d5a5475ef35c"},"properties":{"dependency":{"package":"pydantic-settings","version":"2.14.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":"96f8b246bec58083c558fe27cba1b858291c13bc88fc904235ff3fed5a3f1334"},"properties":{"dependency":{"package":"h2","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3628"],"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":"8747cfbaf5bef1b09e7e338393f06e7f7a0d5505c78ab4efb692f935d61d5616"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"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":"2ba6e5fcc2fc96d34b96c6593f66694ec0ddc5f67a522d336188ebbcf2432978"},"properties":{"dependency":{"package":"pydantic-settings","version":"2.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"libs/agno_infra/agno/cli/settings.py","line":5}}}},{"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":"645669e2af5185ad119b9f77bc2bf65e34a2e30366b224bba08c1df45cc8f216"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","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":"7f9549907cbbe814b5a08b115509ff55dd515c9ae94acd9e59dc4a3fa9050b59"},"properties":{"dependency":{"package":"python-dotenv","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"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":"bffd466e6d676bffdf02a763378ae5736db24123cfb505b5d0b84104e534da79"},"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":"5a12f42fbccd6a80b13ee7f9c4f46b035844ab39dc6d2c640e5ffe7ea8c8aab3"},"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":"a11ee7101a355e6d81b4be01cd7ddaefa27cb2bdf24ec8a8750a8eb7453285e4"},"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":"aafad462831495d8cec47bd18b3fcc3b3cc3816d17bd2181a68d8d4799ab6b60"},"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":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/shopify.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f1b748fd463342004067fdb9bb7c2d92ee2027afc07d9cc57496a376db05c5"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/09_evals/performance/team_response_with_memory_and_reasoning.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5c7cba2d3cf03a4810d35f0f9e5dd3da2badf4f4f90b0f1773e71658690db4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v2_3_0.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e241f28e7fb0f26736db863d4093477d071636cf5519e0aa9304c25d09810103"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/docling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ff0d3deb460f0d8b03a460442c594a8d723ba2d78f229115f68182cf180f7"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03f4d6c0da2a5a33f971a602c17fcef4eef1f0e43b0161a287aad5803886b67"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/docker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e41b480861eab71dfaa512363c2f850bd52aff9acec25dec6d63751247dde8f"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5132b728f85abcdc601215f4663d52b950567c3733cff44274f9f1839b13108e"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 225 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: libs/agno/agno/tools/memory.py, cookbook/04_workflows/06_advanced_concepts/background_execution/websocket_client.py, libs/agno/agno/workflow/remote.py, libs/agno/agno/utils/streamlit.py, cookbook/91_tools/trafilatura_tools.py, libs/agno/agno/filters.py, libs/agno/agno/tools/visualization.py, libs/agno/agno/tools/trafilatura.py (and 217 more) (232 orphaned of 1910 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1910 of the 3774 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/memory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe2f64864fa890cc1f780471211fc0f4e5c8506f25ebbfbab3adc5ddc54b810"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/background_execution/websocket_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a676542dbd0ff9f6c90986e375aeef52e3975172e6d956ab17f21bd629cc2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/remote.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4980167df0e566aa2773aafc6bac9551ccfb0d5387d8f4a7d0574acb18ee9781"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/streamlit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf34171d7806ec189566193c0ff5fa29079ca2abaedda0d3267d1de4c290995"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/trafilatura_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96d1bbbf5ce9d98327aaf1619006ef15db662574dfc4d22561c682f5b8c717b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/filters.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa83717b5d025416aac55d0136fc0c46c514e796057ba118b12ceaadb1e9584"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/visualization.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c475801d0cff5f2b4d9d1475a49cd8f355824b7efa946d84cec52fdbabff50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/trafilatura.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e70b8b3a52875702e2ce943f9fbc775bcb6cca4ac3f25664a9cef8ab7e4f7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/cohere.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afe0086c0af0263192f202689c221cea8ccbd58a309a022bbd398924768f661"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/brightdata.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6402493bb4745ab54d3722e9566ed6f1e7f3bde8b01d5e8985cfb0d4b30b22d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bff4cc480a87070adb35872210cfaa0d010382dad0633b2ca7b28271506be9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/infra/config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98912cabede1bf940a743288806922e38e9504a5cc4909e799cd429078ad2081"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/salesforce.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc0beaa096a71d5bf6f04fc9e04e5eb1c99f176c8db553461a827fda1293e61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/opencv.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f153298d4a65acea2aa748257429af9a2fe25f2dfbb9ea19c8a0d0338b0082"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/compression/manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b3de0c71c3be48c4fa6983c997797a23244e23edc74603648bcd71fbc502a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/bitbucket.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e93cf44a0141c5d4ab8f44b97f3adf80c941f80fd633faa55e10298069b00ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/events.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd35241f39df06224e823eca98dcb7d834581000fa8aa09e22e9a40b58a63092"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reranker/aws_bedrock.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50ac28943139d75adf9f239ccd150a6bef9137c28aff08bbf0755cfd290a211"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0672eab8c9f52336069f6d43b46d0e34557590fc900de6ce9fedf3aea855e372"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/scrapegraph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7909e969e23c75d514030d4e73fc55b929e0553027863f6e48b4f0a0ab0f0c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/remote_content/s3.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6937ee6e81340a09b52bf0356a232fc720948dc4fcea8eb273d431347bfd29c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/formatting.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ffc7bf51298364557e13db48bba4c4c0c576cd41a17fbaf2cabd3e3c550ec0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/azure_openai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb85541c012c2e1dad3b1088d45c64e95384f6d065c9ed7d5fba47dade053d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/websearch_tools_advanced.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ddb4efa705cd1bb475dd50e471a86c5d526474fd75c0011e04c6c25932a2ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/financial_datasets.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ae747721ef40866da4b77b9392f5d01f50bbf3e2b095a88ea54ba786575ad8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/background_execution/websocket_server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f240fcc647b628b6fb320efd710c98e9c93c3239b9b4b51c9ff2f788a8dbea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/confluence.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dccfd88b52ab54fccaf2819dd9964995442d8ea64f1294b2a074883061245ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/valyu.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2db96fe76abf3368c828ba8f02040984cbff31960073adb90172c4a46e8f37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/trello.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"373b3464002f554d97a3c5ea5d5ce513e9b536b03e63a07d0e1e7a3721f29977"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/evals/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"491b6978d5e62ca6fc5e85d39b6ee9408eb48d7f32b7ab203eb404dca74b14be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/embedder/openai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"950773ad87d29b57ffff6637e0226981d01f5ba4db0983d33852b46dea2db568"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/cli/config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8044e7ab6eb7494b85de51108e9c6b17fbec74a3c730baf6cae82ddee7e032"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/file_search_rag_pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f752d843b2ccf4ced4a827113ed9d673fc70d486b89d90d2f761d0105c7770"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/todoist.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29239cc563b6b59471cb6a25a04ff11d59f1bf725670fc0fd9f6afb525a87bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/brandfetch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7a9e1eaa32ae09ea1abdb9e2b3b322757204df3aab29ada5068b77c19fb2ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/skills/validator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"065014a3bba587d7d8165093ca1bcbbdac79e5a391c4433342450566e122881a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55ff91a1507b04e79d69d45aed29d3b4916c7441ed7cc922bf9a38a9a4f0b44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/migrations/v1_to_v2/migrate_vectordbs_to_v2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1019b8f71b56e7ff9b0df6ff9b0a90ef1389bea3426f1dcbab62e13eee73f29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c4fb1bdbcc0a308fce26c9f5612a738ee7e54bb8871c6b3ac2c135f8c937b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models/azure_openai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"952c08d4e2ae6d3d00f40c48ed532ae1317f4848095a836813b907a0129d700c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/skills/loaders/local.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82392e9ebddf1147544bc463be6e7db77fe955fb0dac34dc5b96ea8f52e76ce3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/15_distributed_rag/01_distributed_rag_pgvector.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4575960a0f6a26362ace672b582453da742a8b95b6823dc23200b37bf9ee27"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/memory/strategies/summarize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b8aa6721813f31daab886f257ed0596a2ab938b40985ce7ee156db073b98d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/15_distributed_rag/03_distributed_rag_with_reranking.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf6d9f7c4c71ec076b525b09fa9aaa1ae2f9c16b85add1c3e3f79b0fda80946"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/llamaindex/llamaindexdb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18b3347eceaec70ef2215b60967dbb41c1c93a3950cbb599a3f52b64dd77ab4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85f606dacd16e01e13904f6fd5c680fb84b3d4ce3bf06ee2fb246c306073f5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reranker/infinity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1612f425bf7ddc6e81dfe96ce908ee6df7e56de264aac52519aeb55b75bcf6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/database.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd5f3efbd032b1a9a37b9d654c0167a7434d9587b48f8f1bec7af4a900a63e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/jira.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf75d27a7f9b3c43e0d57ae6f79cdffdc97c0aebb1fe97a0fff03110497c6e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/twilio.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3736dd9ff5146a1cd06f1623c0fae936d2f560ef2c133ca95afc8ac6c3264d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c0482a751e31305aa9cdeb3acdd42fe7558522dcdb91d310a1deb5e96b6eb8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"532ce34e489ee21c019204701ababf9d784e6a87ed868ffa31e5b130ffb03593"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/15_distributed_rag/02_distributed_rag_lancedb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ddd537371ba230ad0214f0ec7d80aa2dcaa33c8bce1b81fea85da8a2f579e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/helpers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"750f3f5af5c98f222a28067387e9b0b2070c38ee040d5d7c29d75d4b2a41ee14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/duckduckgo_tools_advanced.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ced5d1a809c019f25e4f5f6c1ce66d2734307c0d5f4e63cc3ae5f645e4f55c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/file_search_advanced.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3332426e663cedb8c1d07062099a7d7e56569eebb8100d8c7cd94e6cda9d4977"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/09_hooks/post_hook_output.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b73775f0953e9afbb5d2be10de5f969c85b43139d8a2620e0f1a8573243eb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/09_hooks/pre_hook_input.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"672b85993babf278da906bc295801114ad7a0e7ae352697ee2e1a1baad3dc538"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models/groq.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e59f476f95e3e061fd85ed0fc38c55c10229584e8d176e87b20118a52e52306"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/08_human_in_the_loop/condition/02_condition_on_error.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a656c7ca04859f37154b80e25f2299186229d8d828c485f3db33860f2410631b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/nano_banana.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b82a1c6072b22dc081801227352865a8842124429c67252fb8471b2f3694ed9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/remote_knowledge.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d476fb549e158a690680c179acae6aed70c04914838a490457336fd6f5d5748"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/guardrails/openai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cbae94f78e8e6f7c31b364451decec703e5a71d490a9b956c2e810950375f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/prompts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108877f3c1a2d675f6032d6c846728d42da22a8f56cb5e810a5d7f3457ea8fa9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/remote_content/remote_content.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa6577d916170df8f7a18419b1491a0123804ab8ce3bf8c12658138efb102fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/discord.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d0292d8545f3b7d3100140e7b12f044754c8a5174e5ae84b20f9b03a228473"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce70ae449d1300f12f0cbce34eb251c4d9f4c731d6822456528b56e9c1f54f42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/12_context/20_google_workspace.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a297a6abb2a35544d7811fde91f19e97380b4b74c372f605b452a403d9d5195"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/clients/http_client_caching.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc3786efd5785057e677937fc01428daaca550c848ab011c013862d039bc6fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/filters/isolate_with_filter_expressions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1500d7b864ee8e252e99d9b066ce06922592175ef58dcd8fee281918f0365127"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/guardrails/prompt_injection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4176a217a6a60574b96541512b7d2db547a2b78f98a945c2da8c39f0f25f786c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/08_guardrails/pii_detection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d3e1898f7b43bb9713802541c5406446e78f776c4eaafee9d6a184d680f88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/evm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39232e3df6736f4cd5e84480545d0384cbb00f0750fa877107468ff315a6e5c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/workspace/meeting_prep.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5930f7e419428ca1189cf777f30dfec97f1aae04596b88c4545af5012884c4fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/mcp_toolbox_for_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8da5cd75718a0446e5e8be052b2097129e7d1555968576d45439dfc2f6c3cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/models/schema_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe65d5f561d83855d5fff57904e9e1cc404ec6c292f58a1a5bb29fe68babc28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/cloud/cloud_agentos.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe90d010a1652a5ab8f54d2cf343795405c3a94d71b8a157847e92f895a366f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/opencv_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4f7502ce23bb654de7e384c2ce21ca80078e8739178e11e2d4972e61e60261"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/cloudflare/cloudflare.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f48fb03672a34a19406b87dbec72f5b99d57a0958b643ce292e6c35a6ccd07"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models/nebius.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c67dea20e322e34cc0df6b92bdb43018ccf6a8e2e0a49221fca276178e4fe4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/02_building_blocks/04_filtering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"494cdbd00f356e172b1d26dc8e551421ec475a3341253b5bb81831c884171a40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/10_context_compression/tool_call_compression_with_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd09f946bf6caaca6d53cebb05f67ea1b2446fd58f7115e0010c3bf472c016f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/memory/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6fcfcacdfc85ba649af0ac434fb0adaff319b505a4a7460e7b4641d20182c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/client/a2a/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0df1abc277c93c7afa13c62af4419655c1277f3ea2a59db6101c73dc6483a15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/user_control_flow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08ac18050e1c54f84ed089123fb4262ae7bdd1befb4e46ea68b16efddaef052"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/replicate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4571bc82352990c2f4cedffedf79a4db302b03fee6014b9567511c04ea5e60b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/09_evals/performance/team_response_with_memory_multi_user.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7986c687bcb0d00297631108cfd41337c883c35d18c121e66c0c488ac9e84658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/stripe.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ec375156f8e0f62f9dfeb6dac3a94c182d959112bcff603e60d021257cbf1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/12_context/19_calendar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bb84b96a770cfc4a9d4537211c648161c5856410727917666631518552daf2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/02_building_blocks/01_chunking_strategies.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfdfdad1436e01445186ff00bdd489bedce74dfd74282758a9c3470ba11aa73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/aws_lambda_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03209f394d46ffe52eee8fe0e852fe39d7737b8e4b29823f2b8435e1311adebb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/12_context/18_gmail.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b13846402bab299efc4d846e06f14b2f5145e3c295dfc65384b4446c2af3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/08_streaming/team_events.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f7140e1df82ef631e16cd4e120f60ae6a9f667122da7f217c03563dcaf5542"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/01_getting_started/03_loading_content.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deda58d30aa7518204de2a56367e436e7d7e791096b10343ab64b07b4807101e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/08_guardrails/openai_moderation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a13717d8eac0a3b7e3e9cd6e1967bf0663f80c2fc5d61f84ba0a965d1d51dfd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/03_context_management/few_shot_learning.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ce2c996a6750597b72b35e4dc880e06ad1cc85b1243050e42a125ae3cca001"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/aws_ses_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25761dae21b6418cf1f05ecd3b0187e2948b36515f3049935b2bc9fdc23d5fb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/12_multimodal/media_input_for_tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b18b3a620b4882172ab4d7f6014fbb5dd7fa4021ab1ed735bb7bb84eca0c71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/run_params/workflow_all_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97dc0d1dfe34ee7a78ccb5e70b73933bb82045aae185dcf016e29d7eb05c8b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/remote_content/github.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94069fc1daab62eba008152df35ed7d34219dd692e2b490c88ed1d66f20ed20c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/cancellation_management/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4251e1cd87c740a5fbd87d3794fe9dc2a63d5230a932f3afeace378921cb3a75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/anthropic/skills/agent_with_documents.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bc05b7fbf496df84972a87e92d5a069b6d0b17dc6f5ea083554341d635e7fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/unsplash_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e69eef3ff09f837e968be2e262c7405a65ae71777eec0039dfa9a4929edbdfa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/auth/tokens.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdfe07fb992b8f89641898e68777e6e9132fab09c03b362760708f2e00574d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/mcp_toolbox_demo/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9cace97d9bc630cb5c4252906a3cdf1b5e6875dfe7b6e300697ce51c5945ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/filters/filtering_with_conditions_on_team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3291f564ee05671437c904208a39772b55bd23ec6875a08dd2a2125c04ebe13d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/xiaomi/mimo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"236675c379ab07acb21e3950f2ab33dd0cbcdde06c48f3b56dd461ad9223ddb3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/12_context/24_multi_context_streaming.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df57dfb5ed8ac51e5a4a6a475507cc99aa0c42e7c37bf89bbd8481b51e31c3b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/parallel/output_schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a2e802c3ea91905a318beea9f239d4c2d27651270cbb0fa7c37fccf480855d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/16_skills/sample_skills/git-workflow/scripts/commit_message.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d9f0ab8c02fa93531d2bfc7beebd82edee553a02b89e284ff0ead56b857f87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/reasoning.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b4d06385218c2d2b6150de83f2597af03b0011b58cf7686adc2352d788f64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/parallel/market_research.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc782e71b3f212ea97a13c4d8ffacbe9fec69de90282cdb770fb9784b4d8016"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/calendar/daily_briefing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccdaa2c618ef258e56562dc62c3dc8bb5632894c886ea38082dc8b3f7d2eb24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/utilities/logging.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8fccad99ac7cdfa2ba8d12167ea2edd5c7b4863c916abf0b1570b18eee58a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/context/google/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aaa29740b23090cad141d2d6550b9b859fa81eaeb664e825cacc95938ee520"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/salesforce_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7770dce97c00a6aa4075e2bfcf139155a4fc572a4d0a2754d99dd461cf804755"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/08_learning/07_patterns/research_assistant.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe7cc1ed5f220b654bf3d5af7c6cf4b4f13992355b913baa004c226eed0d7d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/calendar/meeting_scheduler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2726ad785f591631be1edb747a37b4565e67700453ecb4f1479763a350383d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/utils/spreadsheet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7464ed954a5333a0243a633078c912783565593c9175aaec723326009387a5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/11_memory/06_multi_user_multi_session_chat_concurrent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec0a75694d1f0ad82044858a283b22faaa134dd977fcf43683b6c2aee16b69f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/bravesearch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff04b963c91c4a0b3310c324abe432fe7103729976f19c5555b40c3a7c080e50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/parallel/competitor_tracker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90f76defda5442dd7e2d8c2710e34db499e57b2c4ead0b58c24dd33309e183a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/chunking/custom_strategy_example.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee127a470ffcc2c707af1d61699da844e25674d58a472b3264939bdb10bfbfb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/20_human_in_the_loop/multi_round_user_input.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c11c964f8b0d4b7e6a352cb87ab1121bc2909337ae448f982f11eaf04cdd363"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/anthropic/skills/agent_with_excel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd7322119a6aeb951529d83b15a5653308b83b4dcd4d03b1047cc72f986ba34"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/10_human_in_the_loop/confirmation_with_session_state.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e083b8545663f94cbc2fc287e1bdbd461db5436a1b0d126cc7a41f4a927bee58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/09_context_management/filter_tool_calls_from_history.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7034c33756e7da462c6d9bf4aae09d9a707b2abd5b784dad843bc28fbe00c31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/file_search_basic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0de303afccd30840a4b1c6f41a6a725e50f810914123d85b154d5484ec13e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/custom_retriever/retriever_with_dependencies.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8a6a1667e8a2b50554f4747520412799de07e1d9e69f384ef2b77c47125686"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/anthropic/skills/multi_skill_agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aa9546268e537706c8f7b48be9add31a4744220390037307b8bad3bbe18b31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/cloud/github.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8876d81b6040bf3e93af236978dee85ddbe5771531f6cc996deaa944a8a306"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/04_advanced/02_custom_chunking.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29676fb499a9eb10b09a12d1d4c6e35a80ddc3c220ac127f6a30dbd42a3e1de2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/04_advanced/05_knowledge_protocol.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefb4ccb4273a0c2cb03ff32b4bdb92068e538a5add50bed234cfe00aec4f215"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/whatsapp/whatsapp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68995d89d7f9598307253e6fb8fc55c9e400ec7e2ed98867d18277c1b1ec562"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/02_building_blocks/06_embedders.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a017a93dfaedb9b2dac1ee6894f47751f348f9f3bd221e424af04928c0d82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/gmail/daily_digest.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"715b48905ac69cd0178ddb1ec8814f97b3ee5604187e81aab360fe95ea5b8bd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/remote_content/sharepoint.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0703c8ea27fb6f8497a2051702c1f83c7232818d09bf6d26907dab741942379"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/11_memory/05_multi_user_multi_session_chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34af1886425b0b94edbb2d64e19132be3537ba15cc1b38a74c7729c612e7107"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/anthropic/skills/agent_with_powerpoint.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f48134f921e96e4e138425250ad7109d96a089cb8b18cdea706776ac82c2f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/gibsonai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31514cc16fe7d3e2c96201e110aeca107169adc0c3d5edbe7cca64077a114634"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/03_production/03_multi_tenant.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a56e4c02de56a59f3076c4fc6c9770abd79443ee66df84ca0c8be4bff63f90"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/filters/filtering_with_conditions_on_agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b68de19b8010863c6e791e4cbcd7df49c9e0e7eed954110635f86587b8244f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/parallel/company_enrichment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"494c0d11acb25df4adcda059ca19b232dc63f3ffa6b042627aee18a982ac968b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/09_evals/performance/team_response_with_memory_simple.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4757efcfb24b0edaf489d78058bba7acd8387fe6c952e1593bc705d7ab2c05b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/mcp_toolbox_demo/hotel_management_typesafe.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6c180389f40d57a03f79154cda7c380bdd9e26673e15629546adcb883047ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/01_quickstart/08_concurrent_member_agents.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96d2aaa72e7e765a331d52c6601910f6744952308ce91fc4df73da07c6336c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/04_advanced/01_custom_retriever.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4140c574ea620fede5921401b73f07782302de254402e04b7d3cc747c551eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/custom_retriever/team_retriever.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58955f7bb0abb5db8eeabbbf4d352260a4094f994c3c827e7ea61b80ac6fca92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/giphy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5132d8ee1a3eaedadbd98fc085f045835ac56de307cfcb5efc93593fcf4ee72b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/08_learning/01_basics/6_extraction_limits.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf25cb06b60a288a78e169bb30e085fb5854f5d46ed8c51da508f0d6a0e36b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/filters/filtering_surrealdb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05d0dcabc0ee2d9bcea38da37e68891b81ce100cb26b1c163bb8329df5ac9f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/03_production/04_agent_os.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e116bbc23b7edb792089c76a393faf767aa71956762fcff46f0e26c9f41078ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/surrealdb/surrealdb_for_workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15269834905598009a4e9b962ea90a4efa726b2b46beedbae92ff9e9a0cea5da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/07_knowledge/rag_custom_embeddings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"563629a2de01dc0db0999400ab77cb03293724d18c2938afcb6310afa4154455"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/readers/01_documents.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bcc40228c443bcc2a7bc796b901d1911d88bf28e524d38fdccda432ee96b9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/02_building_blocks/05_agentic_filtering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b913703ea689d5525f0dd4b1965ba876b9588906b53ab3052c5b8583dffb79f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/x402scan_mcp_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"548088ba4581540459c88db2228bc62a70cfb644f62a72696dc0601a542dac31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/04_workflows/06_advanced_concepts/run_params/workflow_dependencies.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5f56992e6879aa0c5d8519e44419c417dce643229fe28f52903f9065b0e18c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/slides/basic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cac8ece467bb4f1cc708d7c64157f46cae5d071d31626bbec2a452e7aafcc0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/vector_dbs/02_local.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841ae2b90fb6537c2f640bd2b975247aabd539454636a21d77bb75d18f420c45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/portkey/portkey.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c74a1d5ff72e4fde6e4efc49928500452873eb6df48a01ee5066ba32bce1d38"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/structured_output.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b40486d57499fdda90653d17f58bba0df4b4653dc8867e726c2e1d23d56fc6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/cloud/sharepoint.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5191100b8eadd58cd4dfc2ebe6f0e705d380c06220f9adc6fdc5a18171af17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/vector_dbs/04_pgvector.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f807ea3ca6a1638f3fc377d690e0b50279ee626b597d21493491bd13dd6b6607"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/03_production/01_multi_source_rag.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0282047946725c19c8b3f9de1a8bd30590f312bb30c3c6b2ed354caa8aafcd82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/cloud/azure_blob.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db558a1b27f84f9ace79defdf9d523bf36e317fc40ee0d76e814dcf0dd12b9bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/03_production/02_knowledge_lifecycle.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7fde68fd79f81bcea2e8309dcf5fa850158b74780ef8d3ce93e4526e4cedf6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/vector_dbs/01_qdrant.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8e7bab878a0ce2520fb038ac53973b8899d594422605b8775890be03e9df2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/mcp_toolbox_demo/hotel_management_workflows.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5124c73147aeec802cb476f9ea10ea387a7ac17fc28fe31992ac7f854875b933"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/cli/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"defc19989a2172f90838310b207c7dfa9cb011e17c69da3cc32948f4f7b4d338"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/imagen_tool_advanced.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d1dce5df120a2095d165eb70b10b02d7ea096719446467ac1d1d0f70d5d60"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/03_production/04_error_handling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b24068fc1d3a9b0683c43604c689961d4579161176f344dc37da88358024c81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/vllm/vllm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5063df5c1c4a8e0de8fc88611a393a737d1203164b606b9d2647835e5d9cab53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/mysql/async_mysql/async_mysql_for_workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12a0047a079f2e17ecce1ac53349c29943b393f47e9e34495ed8ce6f57a9088"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/sheets/action_tracker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7346d60aeb5553fa7485096dcfd1c88b395f17d686fe48d207b5721f456b0c2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/08_guardrails/mixed_hooks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"231ce10358c999bcc24ef483d61ff114de3b3316efcf69dd8514e9cffb61cd1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/drive/basic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cacd0f27ba6fc323b36f623fc2762966b323bd257fd83bfe40da73b261e785d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/migrations/v1_to_v2/migrate_to_v2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7cb98d8d10ac4e65986ffb9d7b67cba7c508c74c27c0ef4061ef5b0bbfb96e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/mongo/async_mongo/async_mongodb_for_workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f3f4323ae55541730deb019946f03c2cb06def4a7f7383ba7c792521642b80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/shopify_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e5ef2da44100bc62e0cf237f3b58b09c7d7d55a5797adc389192dce7063f59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/17_dependencies/dependencies_to_members.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"663fbfd991340cc8f6b722546c83a8e526cd10983bf6f6ee70a8661005fd4a06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_hooks/tool_hook_in_toolkit_with_state_nested.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb07bf5287ead8044d76d3c41c8699428944e3adfe5af386d2eb84fa7c1fd6f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/01_getting_started/02_agentic_rag.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bfbeaa62ec89b14a9357271330d5d33d72dd40e91264c5d8583e13fec2a4e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/lance_db_cloud.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f43463a6de7b94e65f726fb4b72f8bab767972152cfe7f9c50965c333def5fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/clickup_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f873460d3896db2f7ded56cb87879c5de1c43778b4e0cd0a001c3b0a588e87d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/content.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2964cdac9c6c8b042a843043f73c43180ff21c25d051182bbbe3ef6225992f61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/readers/tavily_reader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e2963878a6b95c3cf30c5f4ff2551629ec0160120c444bd443ed817ec10387"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/drive/file_search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cfd659cbd7170b31d3d4add1a5028c069a275f7896f72f94f00f4ef2ec1c6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/cometapi/cometapi.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d34bd24fbde6b08a64acb1f2b01161430b515435c7e3278b11d151e968b92e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/surrealdb/surrealdb_for_team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e945139ad38892551e14f11a1eb9f8d1be5ffe366fff45fd809ba5514161c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/anthropic/context_management.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d8b3f6465b7ede87b75a240e16e801589ef14365523fc8fb1f59bec367028d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/openai/chat/audio_input_and_output_multi_turn.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5ddbe43d9ab86d660c9de276942c235b59ca8c90569631c91877a43471f847"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/10_human_in_the_loop/mixed_external_and_regular_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1281d8a0be55f52a52d5ec2e4f278c9cfc46129aa5007da1b63cebd89fa8d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/webex.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95950319f7addeaf3c1b4789969680958675a83e87915f19fb5c2a600dec0dbe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/readers/03_web.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"237fbf6e967f90d6c5d7ce7206a9ee83e5072163961f7be4f581efc9462c59c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/encryption.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8875338622a3b5d3a08fbe8c94f3c99f91b4f8c085b8502149138678586777fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/sheets/sales_pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fbe0b020057569cf97058fcd97196908477cd1a4c3864bd0a868c6faf5174d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/observability/langfuse_via_openinference_response_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a92dab9ab23519f48899ce875bc4e285d7d3a69aa6433edc7d94ef581bbeae2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/postgres/async_postgres/async_postgres_for_workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2060c93b71bc76203465c67a87de606eb565d18d6bd8f034419244729f5a30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/cloudflare/switch_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00d8af06441b61bad7fc2fa9730965495af7a576567ac72fd4ac6df3f97d2c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/slides/media_slides.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"337c39ea63c64cc25fae00001f1949d22ae9339218f4e8a91d1c80c3f4c1a8c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/readers/tavily_reader_async.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9488b59c355e3019fa8d78840b41e67a86b46c813fa51b5b1d1ea678bf5719f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/infra/helpers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"192f6f4b7d322bcd309008ef8f94593dd7a7290c5baa88da901c6aad2ef3b0e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/02_building_blocks/02_hybrid_search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"446fb0b4ecd9d58c401773367bc826d99a6994bbb2e7a271d4bc825516f73846"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3670975a779fb028f317e825b80850ee5ac297ba51f3432f8eb016d7cb62d277"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/docling_tools/basic_examples.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9aca75cddd068cd9234647133d3ea6a5444c2e94baed29ff77c01a6ea518c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/readers/02_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5e54ae16cc3a6a60bad1a3c8f773a1f17b0c8e31b1ae46ea3c959cc9c2d908"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/skills/skill.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107d11a8654e21d2780a64a5d9120631881f6c2a7cd16d7a034043e89a667c15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/filters/filtering_with_invalid_keys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1547376e9ac059d4ba84a73832f1e07d5bc3d3acab803bd9f12021912b1b16f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/parallel/investment_monitor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7141c61a28a4bb6b39c222a5049da78c8628a8e97582f6fb6ad93a12ae8e0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/mcp/pipedream_auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dd3554486f3d4a824680d4f7fd3634b5d08ab112373ab478c533e50840af08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/auth/toolkit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b269b205449b40798805d248ff3f8e4e451d1ebcfd6a52dbcf3a6165e9aebd75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/05_integrations/cloud/02_azure.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff8aaf756e538c63b840ffa10febec420b5f7d2690a94d50a39da8e6bde1500"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/auth/credentials.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63709229d324438d6fbd97bd859d27f606277e03682cbbf39164fd45e1dab411"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/mongo/async_mongo/async_mongodb_for_team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31406e823f3909888622548af09b4c95183d9cf8c29700319cd12c621f078c6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/singlestore/singlestore_for_team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b26f9bdbcc083935085a5d4aaac4da1f518129886d74af4b8c6a2b8b3eb5b09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/calcom_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6c3978d9231040ca41ee0cc0c30862e7f90a9950bfdb626138d089e325e7b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/file_upload_with_cache.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d313e70c75551ba4fb4b8f34030eb482ee9b2aff9cb2e5a9047cf4a025b034de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/sqlite/async_sqlite/async_sqlite_for_workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bf73c32d4cf8683b73a399f4bd723d4df48ad574f762b49cd38dee91f3b9f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/openai/responses/structured_output.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebc4bb4d9aee7d86710ed1219d8ddff34d36fcb17a1043f2f6b265a78c76b84"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/01_getting_started/01_basic_rag.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1343154079b28037cb666e443e20d42144be998fc7d1ac00effca05aa9abe22c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/sqlite/sqlite_for_workflow.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d09093244874f50f5ce246c43c767798c4673eab6c8d14f28d0f2059ebf329"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/16_skills/basic_skills_team.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2310fd64386e1666fb2d0471dcff340aa8f0ee7a93c6f828b0561455dfe98a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/whatsapp_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5370824b394784db896161ec12b6474a205be1698ebaf4d91407eff632598d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/google/workspace/service_account.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3cba20535e590ed750d0d6275221b45168b78e4479fd3bd47927d6a14ea2ba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: router.py, router.py, router.py: 3 files \u2014 \u0060libs/agno/agno/os/routers/agents/router.py\u0060, \u0060libs/agno/agno/os/routers/teams/router.py\u0060, \u0060libs/agno/agno/os/routers/workflows/router.py\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3943b32e14e10480c92c941dae2288ee0ddbf441d6f79aae37f967bcc0f6e877"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e50e56d6b769009c3c6bf2fe43001876f849a685e00bcd03d60db5367d40cf4e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1103138df2746df92ae79cf211a802145276f82d14be4afd2c25c242df42c4e"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99979baf70747995030edb8da8030f2b590f3c9feb37a2b6943d45ac6e3067e4"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"933ab05869b734b68181f908c1ec2d1ed0d8bd4792419f8d119a34d76eb01998"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af07f158e833dd5c24543e5b31598b3838c4bd6bee2ab3c9bdd247fe5a0835a6"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40a210afea1713af1d6e9e16365d1eb838573ef9d2c91a7d8be8254778b032a6"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f8958462c7ea5cf847d2c30a974feb7c0e58c3014e56642dc70c144467025"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a124415477bcbbe6429898f96cd215d47e40bd05f7b284a1d12a32c194399201"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10a1449f96433cce8d767fe49d1df1bf268b6a91a7de5e78dcebaaf82892c69"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3605c7bb3f3b2e09b0f7df4f51e038959fd08a3a1d1c9d5314526e4fac78ad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ac4a5e3fbcb4afab87e52ca9f40a888de354c24a3497feb027fb7edefd9bc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed867aafff0d1b2f354b38507a745cfc46768cd5bae0735367b7425e7cb2011"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"66398e329cb8443f14804a42b55c1c660c7e8c427efb9101557320128a731212"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e720a85900f99adea25ed31fc28852e1179c891df5ca89b67b21212df83d2e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0982e25a5727ad5aea943eab562855da2d910ce8723617527b295c9888c13d7c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/testing_resources/company_info.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"33db702df8aa90ac015e4e70649fb5221890e260acb60da0e48ba8106b11447d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ac947b36d27f7f3845324c32bd08d4e35a6400ba9e93edce084cf8d57064bd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.5:1): \u0060button.primary\u0060 sets color: #fff on background-color: rgb(255, 64, 23) \u2014 3.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"47beb1e66cc3cdb29a4127dbc249a8537122e0536960a4e4ef540aba92ca573d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060button.primary:hover\u0060 sets color: #fff on background-color: rgb(235, 110, 82) \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf95195efbed8f1dd41d56b159da8e4cd4ab9b0ed429184a97ab03f1327e070"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060th\u0060 sets color: rgb(113, 113, 122) on background-color: rgb(244, 244, 245) \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/26_authorization/console.html"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f886434579b80e2f2b098f5abd4b7cae96e414bb55476a3875fc4c71dc4829"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.2:1): \u0060th\u0060 sets color: white on background-color: #3498db \u2014 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/testing_resources/company_info.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c536c6737b3110bd5c37ba8a6d9a8d5f1a6c38395ade4ffc638d67490949911a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skel\u0060 moves (\u0060animation: sk 1.4s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e354bbc539cfc97f96f97d2f4b117bec20fd0fc14046a998ae90c809351e54"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.card\u0060 moves (\u0060transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3711a821fc5adc9d7c0ee137a11ae8a0ffa8b28bec9a15823faba41e8caf11a5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.card img\u0060 moves (\u0060transition: transform .3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b0f23f58e4fa34b4871f405fbeeec1749582a1e920a0570ff3b4100b47a3b0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Ci\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c4bf4f748a478fee09a5d4db722565a46f64abe5638bb6fcfe99f02b60a02f"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/9 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060cookbook/01_demo\u0060, \u0060cookbook/08_learning\u0060, \u0060cookbook/91_tools/mcp/mcp_toolbox_demo\u0060, \u0060cookbook/data_labeling/image_search\u0060, \u0060cookbook/gemini_3\u0060 and 1 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pr-lint.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060cookbook/05_agent_os/16_agui/openui/frontend/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/16_agui/openui/frontend/package.json"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a143158f4c332f713bddbfab343a491cbe0337c528e86d4d2b51e38053293f4"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb863f3b6cd1fb7a0f94307a4082853d1777ff8a98c6b5ddc86c25e41dcbe6d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/10_human_in_the_loop/confirmation_advanced.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06eef11b10e47d5b8f56b7b2baee1a29c975c5dfddb743593abb573c99101e8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/10_human_in_the_loop/confirmation_required.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8664d50c8865c11034291854500ea7f59f2091a218e4db8f2c132b62b1ef5e7f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/10_human_in_the_loop/confirmation_required.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a6919866c45b050391f8f659f7ba84fd8b46e38e466929c202f939d54f13a1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/11_approvals/approval_async.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d824c722c5c69e3ee21e4cb649ed9055a7efbfd8eb5c047e088265d4b2918ff"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/11_approvals/approval_async.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2825eede7256a3556caa58bbc0d8929abea4370ea8f80b415f30abf279b19e10"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/11_approvals/approval_basic.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a582ef619a3399fc1aced7cec199906ab8cafa827d10c3b80d53997107f44637"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/11_approvals/approval_basic.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b71e03d2907939b265eccece8d7ad999fbbafb484d38d280a692c0b292c7fb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/12_multimodal/audio_input_output.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aa34b858bb4ba56c7988ed280f05c6c2a294aea5bc39b51f77db3a04978cb9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/12_multimodal/audio_sentiment_analysis.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df8de66719aff7d03e189d9f4dd1725c012f9fa66f2bd12e34ef80e55393318"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/12_multimodal/audio_to_text.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7bafd493316611895873c6a6e68887b967f992af6a4448201cabbb609ac74a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/15_dependencies/dependencies_in_context.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aafcb0bb9426fbd5dcf4cca7e439ba99b8de99dd914a9cc2b65d08025ba4dff"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/15_dependencies/dependencies_in_context.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c8eefcc3fe47e94db220cdf37b7390d3c10288c2e5d4f05bc0cc863582a4b4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/19_multimodal/audio_sentiment_analysis.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c39873c1a09c43eaf3949bcdf3a06f25e5649fbd1108ac8bd3bd27a9fc8540e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/19_multimodal/audio_to_text.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd5e1a9eef14b131928892ea87ee1a4abbcef817b425cfc8acc11c77149b6bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/13_observability/filtering.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"011d418c0e880442d9e48e957b2ef97e834401622210851e3bcd3cc68d007a6a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/13_observability/metrics.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e591f3312df07323950a1597b46941368d19e7b1aaeb846d9b2deacb995cd01b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/13_observability/os_metrics.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a473d83abf8a9d659d604e0e67812cf79c483430c466ec283a81b3daee6ea4a6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/13_observability/read_traces.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"879143560f1acb0d9dd498d18ce6fae3da1bc8bb628467d0544df8cc87b6c4fa"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/13_observability/traces_to_clickhouse.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd7cba5a56f9841a41870537ca9aa691067e62ceca35e0e2cc4b86220ca7026"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/05_media_storage_local.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe10fc34c9ceaac00bbe2731b2860bdc90e83900c05e2523defc014bb03499f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/06_media_storage_s3.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"245145e1493f79b486ce89e06bc9233e3eff6b785def0144fe1e9b39a10a1431"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/07_media_storage_multiturn.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8acbea0828daae179fa18eb3b2608f3fb5aa94d2475b87bf2b9a44d296ca660"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/08_media_storage_gcs.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da4f476f544c05f323997c69cab5a498ead770c0ca128b6e2d67734e5f3b6e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/09_media_storage_delete.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad99e4b48a73b0c629821137396b549e4c32429beb517d619ab7f4514282274"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/06_storage/10_media_storage_workflow.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1c498a3138e9c2f64cf40ffdffa64baaea005f9f3ad5ef511144618d138019"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/llamaindex_db.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e44d04cae9b182ad5af45b6272e25b4c312500aa1863d6e4766c44881141c7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/audio_input_bytes_content.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bd259cace413c3b546469ef3bef3e004a44fbc03526f4a01d839bbebad1ca4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/file_upload_with_cache.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a5c97898a6660b2c54c86ea2b2bb426f399e350ece7e51992f99d016b45f99"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/video_input_bytes_content.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ba5476e14dd3e6b8da76999c281874881d039f27933b79cf2fc297e0aae5b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/litellm/audio_input_agent.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b449eb57e868add314f3d57ac8231232d243a3a76f52cf9a2162711e415d1a15"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/litellm_openai/audio_input_agent.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cb7ebc8bd6ba1a22509b26738b4166c464f41ab89b76fd37aa714ea2ec967c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/lmstudio/image_agent.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b30d2ff9d398283d022d080c31e13aa1d18be86af9050e398bec3c84538e68"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/mistral/image_bytes_input_agent.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de9a25737d1d302de27892fc0eb27451f01e0fcd9a0f18d834e1e63128c0a47"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/openai/chat/audio_input_agent.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"727d958e4f44504a9d8ab0f92291beb72269ab10247b4820d10a10a263d78a1c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/openai/chat/audio_input_and_output_multi_turn.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"730eab94947843c390f9b2f8b1bc8ef7f4db1b10f700a792a77062ea6b62226d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/openai/chat/image_agent_file.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb881d99746ae76eeb380cbce04625f08eb095167b5dfbe043465aed1febee2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/openai/responses/image_agent_file.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a3c37fcc21b2eceeb459205625a71c5d128aaaff1b9fcae740be884bdb8e7c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/csv_tools.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5260de709968967ab7180037a56419c0a7b0b07473be5395906ef7d7a032262a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/other/human_in_the_loop.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07d1e0c5172d280af7f2d940b18fcedb40d4e55be4b240a6118c7945569c01a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/other/human_in_the_loop.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"489bdb15a7bfc3a30f9ba7e849e79097ed41acaa807080a8e29bcf0cef8a25b5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/python_function_as_tool.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6d28a5c9efd02250d36daed2df7a8fb6b626162dd6f767fff7eb9e036af7a3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/python_function_as_tool.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"933e176259857fee8d4fc11b3adba3d884f66f13c39284f0eb2e4e5a3935530c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_calls_accesing_agent.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"125eb832b2bb657522a3e8079d82b8fdef6649ae3d658ce83616f9faab47b2c3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_calls_accesing_agent.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"018fb7e0f0761c78beb592baadd1e64649334bc00fa7daa7554656ead1dcdc61"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/async_tool_decorator.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00b359dbc1d92bfc572b72afecf66270c640bd9ad4193755dbc916863ff6c2c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/cache_tool_calls.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2697a7b5c316d9951840f7dbe9f2acb41db7693e2dd81d9f13e8adba4ed8d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/cache_tool_calls.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8529cf1b33b3ffec17e9d5019c6603eb159181c7039c7f8236e99429150c988f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b86a62a3311c4d37044fe88419e50ceee286e3552c3758eb9d16a8b773d888"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b1ee8adc4520e43899c6fe3e9735b0ffa0bf4391181a822c90cf487321e905"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"762fb273a27a925f80d7106fef682324d8a105f18402d08a06fa7a85459d888f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e883c41149136625ecf094e55149f51919fdeec89be4be210e695923b0db364"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b688762ccadd7b86c6459a228e4fa38930b62b7af9a379eb35251c87f29af"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator_with_hook.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"879dc6da5b37b727a3a08a856f5ee63a97866bb940f5ff435288cdaeb094f99b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator_with_hook.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f133078fbf26b59a97283012495b156ece9abf20e0f19fb22a57bbbe09b17656"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator_with_instructions.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ce936d4e80ab7d3e15fdf54b60bb950412b67cd13430a9f02e6d6d1be3fefb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_decorator/tool_decorator_with_instructions.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b8fe50e3cdc1dcd99532cde2136a4f4ead75e77b2a301778ee3e8743289aa6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_hooks/pre_and_post_hooks.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80c7f610448afe9087675db0b254ebd82bd1e2374653080c888233f64c3c363"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_hooks/pre_and_post_hooks.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d045e8bef421c678632510d5e503b08bb598ba3691c7fa037e3627f7755e90f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/tool_hooks/pre_and_post_hooks.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b13c24fbe91a9351a260274bb4f13567eb464afba949613eba98905f559edf"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_10_audio_classification/basic.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1397646f5ce4dae40e420ca44d779337088f90f26df89bb766e4c983a11e7e19"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_10_audio_classification/with_confidence.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad01a87dfedbbc4b83c07d933ef4d2c38adbae4d7d3578a7c2a7cb24f7b57c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_11_audio_transcription/basic.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d678643d6e06c0999efbd57be1d1cfddf8415422ddb23b24002b21b1d72307f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_11_audio_transcription/with_diarization.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"85097ef77d2d2d8626bbfa1295c8566f2ac5aaf601dcf4cae591c88958c4df96"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_11_audio_transcription/with_timestamps.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"add6915d25f3e0efa719b1203bf32a83825c9994fb3165598456fa369dc8e6cb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_12_audio_extraction/basic.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"606b1b394bb2215fff5ddf25b967a9f897bfae807d7d7da455e6c1e77311c44e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_12_audio_extraction/call_summary.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"399cefbb2f30a34c97c84b585e93162d4da05e50cd6fd885cd3e88083592974c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_12_audio_extraction/meeting_notes.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0541c7e27fb32a1c0ae0fbfa94b817652e7de7ef5ca64e31c84d9ee10b10a9e8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_13_video_classification/basic.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad53a27fabb4a27c035ecc992c74c2eb53febbef0ca02abadc0d07122ccf5dd"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_13_video_classification/with_confidence.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb700bdcac834d65209e0e13ef9557ecd84bf4865a0600a06cafb6bbe6f03175"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_14_video_extraction/action_timestamps.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5523973de66c0d098bb5afd93ac9e961c893035cc09699d4398b4c94c0f2d6c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_14_video_extraction/basic.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"345fa748417f81868de630f80bd8db258406422eb468d8796a9d99bf98487847"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/_14_video_extraction/scene_descriptions.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b20f11d71a81323d86fd581ce28f23eb6aa000fe4bd1aff055899c7261838b2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/gemini_3/10_audio_input.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e2c9596488771cba1b3373e56fc805055b575c5556afcdb45e59ec9f0dfc9b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/gemini_3/12_video_input.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5b987483b3289df0d4183c12c9db386a522d527357517d9d17b9ea3470ae6b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/gemini_3/16_prompt_caching.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f98caa704fbfae4718bf23edd2b646a1271d5cbba4908b63de9c5c1b863cc8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/gemini_3/use_cases/film_scene_breakdown.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f794b95f958b70ff68a5e1b7dcbbc4dad7972384da2a8d6ad6555eabffc4f2ad"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/gemini_3/use_cases/music_asset_brief.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5b059c4a9177ea9be5a3985a5272ad61731c649a8abbd7391f4cb1744ba1fc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/routines.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c52298ab023a5c9a4f3d27d2858e765ca007141f084ef9ebd2f053189716f73"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a727b45cccd5ffa39fda314162f62913003a68b7db006ead3776c0fc90c2d8e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d6f2507855cc9948048de42d868468fd7bbf60501b41dae172e864a8a145b3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/loaders/sharepoint.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5197fd6513e6f13edce54aee207e5cf96e732d913b07bd6e08fbacd2b3a49887"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/remote_content/sharepoint.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f37533cd93bfaa7ee9a7ca01f749cd5727ce890ef8695995907122671193516"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/media.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"086b1ec1c7a5abf969df5a3ca3eec3a1c6776cccb761ff92541e445c1effa5e8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/media.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"030fc290c308df5d60462f1b17e079442359cbbb4d0fddc4f1ba804f19f40b60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/google/utils.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e714cfecafdc8559da77f15898d34d7a6cdb6718f23cb1e098a1811c7482c06f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6f83003d5e20135a172339ebe751abaf04edbcdcc4193eeabdf7fd38dbc40d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a064c8350d98b7ffd58469d83a63996d35e8d4e8e59e6e50bf070f9a1c2fc1a1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.AsyncClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/company/runs.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"33963eb725399b0fcbd79e0795859805334f708faf8c84d4540ee82b8aded588"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.Session(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/confluence.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebfa0cb282032a1ed143de987a0c6c4046ae8713b32a59ec823068f4cae5263"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/discord.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7598ba6c80bbf6927cb629d39951c74cf50e09cdfb78e9b8190328803c53f14"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/giphy.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe7def02d1be155585332f695096b4c920c9b59c6e5c24d7dcc1494ca42562"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/jina.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9353b71824ccf762b0fd214e1c1272891efc398ac8e9096a562024f54a0e62af"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/jina.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fbeb3b5e6938bbece6cf9a30ed9acd98795e653a3cdc8e47f952ce689aee65"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/linear.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22d8951eba599622e575e24ad090be6455e4cba74a869447d2f1e2ab8d49464"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models_labs.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d439d7da76bbcece7a0782090007e7447466537ed129ec084624f8670334a6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/models_labs.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8e0a9ee33c24a88951f478d214da2601e8787eb7364616e47be9208e6325a4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/certs.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c2a7d6a937aa97caa5f2a9151bb4391db3419d7c60445f607089b034c12af0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5368ef3d9d54a4a5bffb208578b4ee041ff1b9b1411fa0c7d0af96d2a1ad53"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e48b1b9788be2d079cf1215ab962e2aac1af957bdad99ce2f6d01731203990"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d046ee6d6e2aece19dd63fdc89684da68ca6080d87f725a8d4181e7c6ffd01"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8f99edb979f814afbe81127c33589f2c7e8b01d63334ecfc514ae4d974fe14"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpx.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a380a6740c58491b069cccb67d45d013e11742ea329c6b2712edb6444cc38b72"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by SQLAlchemy create_all() (no migration path): SQLAlchemy create_all() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Alembic (\u0060alembic revision --autogenerate\u0060 \u002B \u0060alembic upgrade head\u0060), so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/fs/db.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c3343f6fdf01fc71b44e8a974a6b6e68e1a7ce601e6093d07dc2d363b659a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060cancel_expired_pause\u0060 is async and calls requests.get \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d858f2866c8abc2e90aed03ca2c12f859a389a3fe30ee2bedbcd9ac2d181c02d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060main\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3503f391eb2124d550046b9ccdf17622b57d3ebcd672e49f0fcc749e978c99"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060main\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/23_checkpointing/01_crash_recovery.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b8b3df7e02fe2f14af18c15e3d72a5b2d80eaa428385090b2a5e6c512763a5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run_async\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/couchbase_db.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ee28b97535755f4051957f61541b9284eb94d87cf94094db9237d3ee35436f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060main\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/lightrag.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc021368de69f0cc8fafd030213d49fd8288ef824656701b436050a3aa33e2c2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run_async\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/zep_tools.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec6f0d6ba3ddb99c3ee26decd59c9e0a4f6ce4a251a4cbdbf9bfb65a47096ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Cyclomatic Complexity: P95 cyclomatic 10 \u00B7 0 function(s) \u003E 10 \u00B7 0 \u003E 20 (of 16)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9558875059a1ac12a23a5ce14003f01660073584f41bd4fb8b80c1b8dea5eb9c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@openuidev/cli\u0027: Declared in cookbook/05_agent_os/16_agui/openui/frontend/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c302a51c6c9c8681d04a8dd5673fecf76b42352ba2ecc1cf928bf2fcb74b7e90"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@openuidev/react-headless\u0027: Declared in cookbook/05_agent_os/16_agui/openui/frontend/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3bae6a985b7a239b278ffa894db8e2fc94272dc71b021f089bd1a9b20b18cfef"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@openuidev/react-lang\u0027: Declared in cookbook/05_agent_os/16_agui/openui/frontend/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"56f8a95b8b11fc2c76799f6dbbd08eef4f719d86ce4ca03b79d8ebd4f79975d9"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027@openuidev/lang-core\u0027 in production deps: Only test files import it (first: cookbook/05_agent_os/16_agui/openui/frontend/src/library.test.ts:1) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/16_agui/openui/frontend/package.json"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"551a6552c5490ab82c9383810c88e845e17c952370c01c144ab00380f9fd4e73"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.tailwindcss.com\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 3 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/data_labeling/image_search/public/index.html"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a0cf80e5f9000db8192043a6cf5cc2d4022980fb93a2583ab9cc7acb716ad5"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: cookbook/05_agent_os/16_agui/openui/frontend/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/16_agui/openui/frontend/package.json"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad02c12543507592a0c2a678f1a30a60b14ae2bff36262732937e1adfc768648"}},{"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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"134d2967e2f0b7d9b81f7414a490b214c30e3fa857e58d86a3496d5526c530ea"}},{"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":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":2650}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3959e7b8b070adc52f3fbf84ccf029ba16a82a1760f7a1c1e653b97c904b4c"}},{"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":"libs/agno/agno/tracing/exporter.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e242d3b0393e87fa7f3f3341404cf5f740d8bdcb1ba12ba450172f278c21f9"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060time.sleep\u0060 inside an \u0060async def\u0060: This \u0060async def\u0060 runs on the event loop\u0027s thread, and \u0060time.sleep\u0060 blocks that thread: for the whole delay no other coroutine, request or callback on the loop makes progress \u2014 the Python form of blocking on a task. Use \u0060await asyncio.sleep(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the loop with \u0060await asyncio.to_thread(\u2026)\u0060 (or \u0060loop.run_in_executor(\u2026)\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/91_tools/zep_tools.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"39401dc1c4e854b52aa04912dbf4315cba3236667c7937f89e6945c1c69ec019"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060time.sleep\u0060 inside an \u0060async def\u0060: This \u0060async def\u0060 runs on the event loop\u0027s thread, and \u0060time.sleep\u0060 blocks that thread: for the whole delay no other coroutine, request or callback on the loop makes progress \u2014 the Python form of blocking on a task. Use \u0060await asyncio.sleep(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the loop with \u0060await asyncio.to_thread(\u2026)\u0060 (or \u0060loop.run_in_executor(\u2026)\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/couchbase_db.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2404148730bd90f081246737b8f60e3230eb49fb7e6f4bdeba2b9377d2cec5f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060time.sleep\u0060 inside an \u0060async def\u0060: This \u0060async def\u0060 runs on the event loop\u0027s thread, and \u0060time.sleep\u0060 blocks that thread: for the whole delay no other coroutine, request or callback on the loop makes progress \u2014 the Python form of blocking on a task. Use \u0060await asyncio.sleep(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the loop with \u0060await asyncio.to_thread(\u2026)\u0060 (or \u0060loop.run_in_executor(\u2026)\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/07_knowledge/09_archive/vector_dbs/lightrag.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e952699d5bfab913074115ec1391078801955387d960078ef8e3052dd70b2d7"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060time.sleep\u0060 inside an \u0060async def\u0060: This \u0060async def\u0060 runs on the event loop\u0027s thread, and \u0060time.sleep\u0060 blocks that thread: for the whole delay no other coroutine, request or callback on the loop makes progress \u2014 the Python form of blocking on a task. Use \u0060await asyncio.sleep(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the loop with \u0060await asyncio.to_thread(\u2026)\u0060 (or \u0060loop.run_in_executor(\u2026)\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/03_teams/23_checkpointing/01_crash_recovery.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"826b711ee72e5cbf1aaffc5fd9f5a18f93d1cd25739c9d43c6f15beaeaaf8bde"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060time.sleep\u0060 inside an \u0060async def\u0060: This \u0060async def\u0060 runs on the event loop\u0027s thread, and \u0060time.sleep\u0060 blocks that thread: for the whole delay no other coroutine, request or callback on the loop makes progress \u2014 the Python form of blocking on a task. Use \u0060await asyncio.sleep(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the loop with \u0060await asyncio.to_thread(\u2026)\u0060 (or \u0060loop.run_in_executor(\u2026)\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f5238e62ab2478345476e51e331b35114125e04f8a19bd5946bdfc535880ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022\u003Cthink\u003E\u0022 in content and \u0022\u003C/think\u003E\u0022 in content\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/reasoning/azure_ai_foundry.py, libs/agno/agno/reasoning/groq.py, libs/agno/agno/reasoning/ollama.py, libs/agno/agno/reasoning/openai.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":"libs/agno/agno/reasoning/azure_ai_foundry.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48a5fd29a99bcb5d3e36837731e934966abcab621c37b3618a56d8ce30b8e07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022attributes\u0022 in span_data and isinstance(span_data[\u0022attributes\u0022], str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0abd408f8ef12bd00c4e71cf5ae44549eb3d3ce165284fbc6ba0ca3008bddc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022attributes\u0022 in span_dict and isinstance(span_dict[\u0022attributes\u0022], dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a57d16e09ee990b0bf9870a6e28c29a747d862d7e7f7d7342fc79f63d522b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022audio\u0022 not in content_type and \u0022octet-stream\u0022 not in content_type\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/gandr.py, libs/agno/agno/tools/smallest.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":"libs/agno/agno/tools/gandr.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0d6c3b6e637d265581bdc0d0fea256423d5addc45b3d239f8567ffae529c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022business\u0022 in topic or \u0022market\u0022 in topic or \u0022finance\u0022 in topic\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/05_conditional_branching/selector_types.py, cookbook/04_workflows/05_conditional_branching/string_selector.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":"cookbook/04_workflows/05_conditional_branching/selector_types.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cd8adf8b3b53a3a400c4789f3e1b2d493c41ae26ff45c7f2ca59e96948c755"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022config\u0022 not in fields and isinstance(candidate.get(\u0022config\u0022), dict)\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62b450dab1abfe3a678fa947c5181783d6666b569e08c79e7a6d9731d9d57e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022content\u0022 in aud_data and isinstance(aud_data[\u0022content\u0022], str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b38f536c6c225c7d389f2441f682b791cd03ec6badedb49ae5580867f8e148e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022content\u0022 in file_data and isinstance(file_data[\u0022content\u0022], str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a32181d0f4369db143bdfc9ee9b6e35f10ccbff20a5958d618af813201a58a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022content\u0022 in img_data and isinstance(img_data[\u0022content\u0022], str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d538635af929d3213f3d488a7fe5e84536054b667c7ba53fa1e60dab889734cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022content\u0022 in vid_data and isinstance(vid_data[\u0022content\u0022], str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc5e9737d9a6f79b959e05a4dd8b8e8d4d3f2d9e04a19b376fc5c39c5c833b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022db\u0022 in config and isinstance(config[\u0022db\u0022], dict)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"243741a2a92522356020fa34524359fedcc596af3a427d47ec904f7fe2faaeb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022id\u0022 in table_columns and knowledge_row.id\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"337b6773adab95668ed8e72e188d2e6857c61dbf59b6b8d9e6269787cd895d1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022input_schema\u0022 in config and isinstance(config[\u0022input_schema\u0022], str)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ff44d15c3c98fa85c014d92fdf13b57bd5af79b037232cb6fba42a3d390a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022knowledge\u0022 in config and isinstance(config[\u0022knowledge\u0022], dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f403047550bad08e1b7479b8fa27603dc6f16667390291b1a2bad9811cbb1c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022media_reference\u0022 in aud_data and isinstance(aud_data[\u0022media_reference\u0022], dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a59a077ae2f00aa6f3a030e2b8df73484c12cd1940a9a89e316f08d01f9b109"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022media_reference\u0022 in file_data and isinstance(file_data[\u0022media_reference\u0022], dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9a560e2d0ef111881ec458f2ac081f0bf929962488ba52489e5ae7db053f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022media_reference\u0022 in img_data and isinstance(img_data[\u0022media_reference\u0022], dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d0b2f41be74714a6763c23afde04c78aa70cc2ecc92b6f6c6260f06f7b123"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022media_reference\u0022 in vid_data and isinstance(vid_data[\u0022media_reference\u0022], dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/message.py, libs/agno/agno/utils/media.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":"libs/agno/agno/models/message.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05fee907cdc47dad1e3a6cdd92a4f2887694249bd05647d1f89f4f5de29da44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022name\u0022 in fields and (not isinstance(fields[\u0022name\u0022], str) or not fields[\u0022name\u0022].strip())\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/schemas/products.py, libs/agno/agno/db/schemas/projects.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":"libs/agno/agno/db/schemas/products.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"82351cf7ee6628c3b4556646c38936988207a9c9d7a3ec63fd4fcc176a42a4aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022output_schema\u0022 in config and isinstance(config[\u0022output_schema\u0022], str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5aca1ec025f5eb8dd646ee203fb2195dc5d2ccc29d20e83b74ad12626aec1e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022reference\u0022 not in fields and candidate[\u0022type\u0022] == existing[\u0022type\u0022]\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7711}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd44f6df5575d82a6b654a9505d2ee117b4322d7b2c49003a3c08f68c76dbc8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022run_data\u0022 in payload and isinstance(payload[\u0022run_data\u0022], (dict, list))\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/migrations/versions/v3_0_0.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb28755e38524d05231e723d803695869b25048cab1a6d712a1363111d1cacdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022run_id\u0022 not in run_id_container and chunk.run_id\u0060 appears character-identically in 4 files \u2014 cookbook/02_agents/14_advanced/cancel_run.py, cookbook/02_agents/14_advanced/custom_cancellation_manager.py, cookbook/03_teams/14_run_control/cancel_run.py, cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.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":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6d590febe9ef48c20a633459d074a518e01efe2b13a3be4b6012b08c12e20e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022session_data\u0022 not in session or session[\u0022session_data\u0022] is None\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c9b7fdd2f7d4053641c9ed321d1177f3328f481c8b3dfd271846215750dbfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022tech\u0022 in topic or \u0022ai\u0022 in topic or \u0022software\u0022 in topic\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/05_conditional_branching/selector_types.py, cookbook/04_workflows/05_conditional_branching/string_selector.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":"cookbook/04_workflows/05_conditional_branching/selector_types.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a82230e164f02a37d2b459e779e498285a1852b3fd6783daf2a6f7f9b580c3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022tool_execution\u0022 in executor_req and executor_req[\u0022tool_execution\u0022]\u0060 appears character-identically in 16 files \u2014 cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc5f2de866914285868694052deb9694dace5d0a7c12f2a0671db68d283ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022{\u0022 not in message and \u0022$\u0022 not in message\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_messages.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"b817e69f54c0685fd345d09b8fcb74281daa25e722dacd1586da60b89798b818"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(await sess.execute(count_stmt)).scalar() or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6342}}}],"partialFingerprints":{"codehealthFindingId/v1":"498621b886398baecb5008783591dff85ca9415c52e4c9a0dedd99805d359ae0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(await sess.execute(select(func.count()).select_from(stmt.subquery()))).scalar() or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7685}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c688462aeade5737d269129313d785dde6210a334b37915d88a8e98eee7e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(await sess.execute(stmt)).scalar() or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":7106}}}],"partialFingerprints":{"codehealthFindingId/v1":"480860b885ed054f7000ae8a7e834d22cf1d5dfff7411c1126a3023d8be114ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ALGORITHM == \u0022HS256\u0022 and KEYS == [DEV_SECRET]\u0060 appears character-identically in 2 files \u2014 cookbook/05_agent_os/26_authorization/07_manage_users_and_roles.py, cookbook/05_agent_os/26_authorization/08_manage_users.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":"cookbook/05_agent_os/26_authorization/07_manage_users_and_roles.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb412b4ca27d7b97cb9a605adf341b751b8aa70fdf799b93e6eb10081d198f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Path(urlparse(file.url).path).name or \u0022file\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/openai/responses.py, libs/agno/agno/utils/openai.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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca6da3cdfe611d87dd00dc63f260cf23a0e036c1424f7c75d14abf185af6db3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_exc is not None and issubclass(_exc, (asyncio.CancelledError, GeneratorExit))\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeec3ccb23597ae8e76524af47b88bd842838b21c6055b1831ccf4c1daa0dec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_func.add_instructions and _func.instructions is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd41eb4b1ea2ad40fbccc0a06bc0384346ab830a9fad61cbb4222dcd6e32664a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.confirmation_note or \u0022Tool call was rejected\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a880a313f36a3905bf9e016735578ceaaddb4acaa178b61f49f4c19ba360b1e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.confirmed is not None and _t.confirmed is True and _t.result is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6628a80b90e80c8f54d8ec415aa31b7820623185705c1a1f96083b41faa68216"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.external_execution_required is not None and _t.external_execution_required is True\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5804f274d2b9b085a0638b350705ae8ff86a785a58ad42758dd9ff1681beff5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.requires_confirmation is not None and _t.requires_confirmation is True and _functions\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6908de6c9c5191e99e0350e27cf206281fc595068d50db72336371ceb96316ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.requires_user_input is not None and _t.requires_user_input is True\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bbc9defcf88f094d9d2ddb3d7a1727cceec17655a94d06cef6940e3c4305e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.tool_name == \u0022ask_user\u0022 and _t.requires_user_input is not None and _t.requires_user_input is True\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c6c25a93bf2870129e94c58305764ff729da086202e59d3eaac7d351aa4bd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_t.tool_name == \u0022get_user_input\u0022 and _t.requires_user_input is not None and _t.requires_user_input is True\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d332ca458601e62ab506718484557b54cfa607cd729ad27769b03975343ebc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active_parents_only and components_table is not None and configs_table is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7612}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1bfc9f422a040d714d54fe55cfd69725a8f271ac6c6b0bdb2e1cb1a162496e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actor is not None and r.get(\u0022user_id\u0022) == actor\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/studio.py, libs/agno/agno/tools/studio_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":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"7905098f47647a142f9e5e155a6ca41a0448b4cabc83e1bead28747a8e8cb351"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060add_history_to_context and session is not None and not input_has_history\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"58535c212b797de5915cf445501f87f76ea10bf9a7e1fe7ee7d14bfd994399f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060add_session_state_to_context and session_state is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_messages.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a473395ea8d9999e19adc3100772a2e23095560ce523f495631ad01bcb302fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060additional_instructions is not None and input is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f5494f2a3007f7633a7dff84f1e40a9549d78121504760a25457e679cc6e5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent is None and team is None and workflow is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/telegram/router.py, libs/agno/agno/os/interfaces/whatsapp/router.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":"libs/agno/agno/os/interfaces/telegram/router.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a8506e89cb0f75c82559edd1d86273e2ddf362bf54ae62261bb2b9f02bdee7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.db is not None and agent.team_id is None and agent.workflow_id is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_session.py, libs/agno/agno/agent/_storage.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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"871b8f0ed95140f3b9f42cebb765e936f260fc166e559d48b291d126d26a3b19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.tools and isinstance(agent.tools, list)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_init.py, libs/agno/agno/os/app.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":"libs/agno/agno/agent/_init.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea2b64916064cac4ac10ddb4f1d31ae9a62379e88903619dc8368a456273917"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent_id and t.get(\u0022agent_id\u0022) != agent_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f995fdce03c6a4b3d479aae911dc17e9c0ca7f193cfbc410eb33ff1f0955a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent_id and trace.get(\u0022agent_id\u0022) != agent_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b286c45e4d3ff9c6c174c3882fed3a72d4feb32c3cf05707e79d255278df27c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent_id is not None and memory_data.get(\u0022agent_id\u0022) != agent_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33d1fbf3c5955502ea0f07f30af4332badee5986835bd33aec691a48dbf56c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent_id is not None and run.get(\u0022agent_id\u0022) != agent_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26f6e346873632bd80e4171e947c0d9f3323fa6810c2410ee5076d4ddd28018"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent_id is not None and run_data.get(\u0022agent_id\u0022) != agent_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"179f683c575e511d19eced7f0d2cc1cff738a83b9ef5f47d5bc150cb885af23d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agents is None and teams is None and workflows is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/a2a/router.py, libs/agno/agno/tools/scheduler.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":"libs/agno/agno/os/interfaces/a2a/router.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba361b9cf83a28a9f8fe1f24ce28d7aa5718980206a510f2518a1d02905d1d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aggregate_metrics_collection is None or collection is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3121}}}],"partialFingerprints":{"codehealthFindingId/v1":"433a40a7397fc2c882144ef6ced0718bfc42dca041b3a0947e90452d3c757757"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aggregate_metrics_table is None or table is None\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cd20483401bbdfcc8535b8185ec2fbb54053ec3b68ca0432177c1b3e0e411b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aggregation_period == \u0022daily\u0022 and day \u003E= starting_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/valkey/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bd0651a4d65971ff95302e71f580de1b4a187b255361df90b20835e5571f79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aggregation_period == \u0022monthly\u0022 and day in month_starts\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"392cb0700fa09eb5f224cf22786935f5137ca6ff4cb83b7ebb80f8b2c66e5d50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.group is None and self.name is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resources.py, libs/agno_infra/agno/docker/resources.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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd9dcafe5637f3044acfe8377fc68fc088b00ca419c7117d1ccda0d6d5190fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt.score is not None and attempt.score.passed\u0060 appears character-identically in 2 files \u2014 cookbook/environments/_11_export_provenance/inspect_sidecar.py, libs/agno/agno/environments/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":"cookbook/environments/_11_export_provenance/inspect_sidecar.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eae817408825a295b80ac093b6b23e42c7124195321ea1f6a9e2f325779f36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt.score is not None and not attempt.score.passed\u0060 appears character-identically in 2 files \u2014 cookbook/environments/_03_code_scorer/custom_score.py, cookbook/environments/_20_report_drilldown/single_attempt.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":"cookbook/environments/_03_code_scorer/custom_score.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd27899506025ef3372c93996e619142a5b133060852f89235ef8b2f15be12c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aud in getattr(chunk, \u0022audio\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/state.py, libs/agno/agno/os/interfaces/telegram/state.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":"libs/agno/agno/os/interfaces/slack/state.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b067613989b8861c8b55ca22847e6b7a52be3799c3e392c098a62ed9a9dc0c81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authority is not None and authority.service_account\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/routines.py, libs/agno/agno/tools/company.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2be0b0d1e31c49bcf6c01dc6971480bd1d9d83d1db1c46e50d9ebd5c90777c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aws_client.aws_region is not None and aws_client.aws_region != \u0022us-east-1\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/cloud/aws/s3/bucket.py, libs/agno_infra/agno/aws/resource/s3/bucket.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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"63725559331450953b49d7ae950829fb4164721f386e92f2d632d976dca7dece"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060batch and batch_bytes \u002B size \u003E METRICS_BATCH_BYTES\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c44c440037a2e93969afaf3d84ff9a65ef8be5ce31ae075e073ed65f2b1af3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block in response_json.get(\u0022outputs\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/antigravity/agent.py, libs/agno/agno/tools/antigravity.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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94f52eb35b271246ea354939e90cfabcd883379fe54f8856432375c2b0a035f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060block.get(\u0022type\u0022) == \u0022text\u0022 and block.get(\u0022text\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/antigravity/agent.py, libs/agno/agno/tools/antigravity.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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eec9c76fc1d1388f50c1079f68ae0ed2a0de5cea8405972d8c30587cd036f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bucket is None and remote_content.bucket_name\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/knowledge/loaders/gcs.py, libs/agno/agno/knowledge/loaders/s3.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":"libs/agno/agno/knowledge/loaders/gcs.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c7614e4aa97eae3bea2f26a34f13f82fb95dd0b387ae36e1ac6ba7e9103367"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060buffer_status in (RunStatus.pending, RunStatus.running) and not await run_stream_served_here(run_id)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94fe6992465efb7e412b101b8dc6633d509330772f0891c6778c5d56b85e760"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060callable(step) and hasattr(step, \u0022__name__\u0022)\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/workflow/condition.py, libs/agno/agno/workflow/loop.py, libs/agno/agno/workflow/parallel.py, libs/agno/agno/workflow/router.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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e70355182d95443986590f9cd57359a1e25851f0b286f513843e8f0853276c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause.args[:1] != (1050,) or not self.table_exists(table_name)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/singlestore/singlestore.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb53cad6e792408c5f8f923ab512e86de0a58bd0e0b8ff329fafb2b184e32e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060check_mcp_tools and not tool.initialized\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c479daa7f9e5996433b0cc43ee1583d79ea9bf19e2cbac33f022cbbe4be85f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cleaned and not self._deprecated_metrics_logged\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5eded844cb3cf0d646d81816cc950d245657d00ccd4e4bccab109821c7346c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060col_config.get(\u0022primary_key\u0022, False) and schema_primary_key is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9345f2f0c03dee7f8fccc981f24b2cd04a7278fff6d46a51fcbf60898eda525"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060collection is None or aggregate_metrics_collection is None or refreshes_collection is None or sessions_collection is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77bfbc6017ac5351cdc6f563df6c51363938256cb43a99e127a01f7314f65c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completed is not None and completed.metrics is not None\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/metrics.py, cookbook/frameworks/codex/codex_metrics.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":"cookbook/frameworks/claude-agent-sdk/metrics.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbb222f4b83a1faaab19d178b53c42a45dd0aeeafed51d137f555993b5add07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completion_details.get(\u0022reasoning_tokens\u0022, 0) or 0\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/models/azure/ai_foundry.py, libs/agno/agno/models/litellm/chat.py, libs/agno/agno/models/mistral/mistral.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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"1debb1a37b35560795e613b290c548bc23f030908c3b8005f216c3ae05415927"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completion_tokens_details.audio_tokens or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/openai/chat.py, libs/agno/agno/models/perplexity/perplexity.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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"9522ccbcb5250fa884acc0de6658caad506e82b2edda1b26de3c9741104baf91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completion_tokens_details.reasoning_tokens or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/openai/chat.py, libs/agno/agno/models/perplexity/perplexity.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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa2dd55dedd9ae4921aa52f67b9a23cbf2257e1fcfb44ebf0d8dad344acdc88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component is None or component.get(\u0022current_version\u0022) is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6596}}}],"partialFingerprints":{"codehealthFindingId/v1":"af123e2ce5b31bc812b25c1df8d1123946560e4486a126e26cc65de8e43ede12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component is None or component.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":5952}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e79756ab647d8d3d7704acd45d0dbf15fc4f4c4dd68a3dcd3cb7b12f10716"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component_row is None or component_row.user_id != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3568e0c852ad4cca0ad444a2efac730f6ce0f08083b9bf7a62b9fee24f6c020"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component_row is not None and component_row.current_version == version\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa6b4cf8832ceeaf8cf2c3d1bb7fe07fe0183daa752c9579edea5c6dbb57d5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component_row is not None and component_row.deleted_at is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8053c3076853c4948fb8099f6ff18352566aab406c558de209936c76bc82697"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060component_type == \u0022agent\u0022 and persist_fallback is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/job_queue.py, libs/agno/agno/run/status_persist.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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc3a07f2d07776fd871e45fc201081d18b1ffa40a7792cdb5a7c2ba4a658db4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configs_table is None or components_table is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6530}}}],"partialFingerprints":{"codehealthFindingId/v1":"447d66a148c2620c5ed73f75a751984b573a7e6fb570f9249904432b9a95e022"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060container_context.requirements_file or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/app/base.py, libs/agno_infra/agno/docker/app/base.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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad742e0297131aef39026f88b7a1bdd714dc87cad6f1f85ab1cf12c0e4c8d228"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content.file_data and content.file_data.content\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/knowledge/knowledge.py, libs/agno/agno/os/routers/knowledge/knowledge.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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":3798}}}],"partialFingerprints":{"codehealthFindingId/v1":"8018f16ac9ddfdce863875abf2268bb3081b8a905d7913744ec303ed1f14ef24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content_if_absent is not None and not run.get(\u0022content\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a608a5fe0f768c511d3a40678f64396188a66f1c4e2719f591d91d56062d038"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060created_at and session_stats[session_id][\u0022first_trace_at\u0022] and session_stats[session_id][\u0022last_trace_at\u0022]\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":4223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6861aa69cf8f0644c942e8aa5b7c3c7f767bfbac7a50f7ad72c73e51fa9bc522"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current_authorization() or getattr(run_context, \u0022authorization\u0022, None)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/routines.py, libs/agno/agno/tools/company.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ed12b1b0f2cfac213fa9c59e222ab93f18895a6f1b29789049feb8595de2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current_session_id and session.session_id == current_session_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_default_tools.py, libs/agno/agno/team/_default_tools.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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca9a6b9ca4db1875fd65634962e99f5519ca3ebc6b4f747e9f0fc907d10568f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data is None or data.get(\u0022session_id\u0022) is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.py, libs/agno/agno/session/workflow.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d170f3cef6612f638fc44ce4bc8825dc9e0df87ac7f8cbc1e181714fef30f86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data_from_file is not None and isinstance(data_from_file, dict)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/utils/yaml_io.py, libs/agno_infra/agno/base/resource.py, libs/agno_infra/agno/utilities/yaml_io.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":"libs/agno/agno/utils/yaml_io.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4460b464c3490e6100871387bf22d2e50e461377e1a8e9b211865f61e838fbcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dates_to_process and packaging_version.parse( await self.get_latest_schema_version(self.session_table_name) ) \u003C packaging_version.parse(\u00223.0\u2026\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3038}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be579b3c40b4467ac328f174f1e2222faaf0706e4c0cfc830d65c814e3b1113"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dates_to_process and packaging_version.parse( self.get_latest_schema_version(self.session_table_name) ) \u003C packaging_version.parse(\u00223.0.0\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":2985}}}],"partialFingerprints":{"codehealthFindingId/v1":"966cae4c525900d64272349cc37f3c90074d52a01f50952b064308b807173cc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060db_config.get(\u0022id\u0022) or db_config.get(\u0022type\u0022) or \u0022unknown\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/studio_runner.py, libs/agno/agno/utils/db_fallback.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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c21baca0a5cc6cda52350d2510ad9b2a8425e995038ff70a70436d928dca9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060db_subnet_group_name is None and self.db_subnet_group is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0eeb948ea337facfb39ad9fce5a269e8ad35f805c5cffe4f3e54226d4e74b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declared and declared != \u0022application/octet-stream\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/models/aimlapi.py, libs/agno/agno/utils/media_offload.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":"libs/agno/agno/tools/models/aimlapi.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b57501f39c477719867f4baa1efc8c88fd148cf905acd958cf97aa926e0f19b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delegated_user or getenv(\u0022GOOGLE_DELEGATED_USER\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/context/calendar/provider.py, libs/agno/agno/context/gmail/provider.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":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaaf4d22eeb141b9fb2c6e55599470fbe90c59a16716e21a665b9d730415508"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060doc.id or hash_string_sha256(doc.content)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/vectordb/redis/redisdb.py, libs/agno/agno/vectordb/valkey/valkeydb.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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65186fd518c94810f726e839c3707d6b586e05171f72b66c5966afd1384000b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060doc.id or md5(cleaned_content.encode()).hexdigest()\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/vectordb/cassandra/cassandra.py, libs/agno/agno/vectordb/elasticsearch/elasticsearch.py, libs/agno/agno/vectordb/opensearch/opensearch.py, libs/agno/agno/vectordb/pgvector/pgvector.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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8175d70b475d38e4baaef67ef22d7d1664c236fb45374a3be992a1aeba0976b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060document.id or md5(cleaned_content.encode()).hexdigest()\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/vectordb/chroma/chromadb.py, libs/agno/agno/vectordb/lancedb/lance_db.py, libs/agno/agno/vectordb/milvus/milvus.py, libs/agno/agno/vectordb/qdrant/qdrant.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":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba439bf3391c2a78dcc3572e6de631ee996b7304fd847bfed300f4fa9ec8c5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060document.id or md5(document.content.encode()).hexdigest()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/vectordb/pineconedb/pineconedb.py, libs/agno/agno/vectordb/upstashdb/upstashdb.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":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b48a837ee04f2001f5565a7e09c19862a95b01894e83d94a54c15a0c0a1d33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060duration in nested_run.pop(\u0022call_durations\u0022) or []\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/utils.py, libs/agno/agno/db/postgres/utils.py, libs/agno/agno/db/sqlite/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6e59d28e4637ca6d79f05d0b37bb2ad38cb25606e94a1e9984279d25828d6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060duration in run.pop(\u0022call_durations\u0022) or []\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/utils.py, libs/agno/agno/db/postgres/utils.py, libs/agno/agno/db/singlestore/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddff47db7b15514899f6dd49b7c0527acf85b8c155093875ec57e00fcdc2ea3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective_namespace == \u0022user\u0022 and not user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/learn/stores/entity_memory.py, libs/agno/agno/learn/stores/learned_knowledge.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":"libs/agno/agno/learn/stores/entity_memory.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e190a485a1083010daba46a2f5c82f4f1e8aabcc16f6e09a326f5117ff7831"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060emit_toolkit_instructions and source_toolkit is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ab7a714f03016989987d0f5223cc02ac50f1ea4825f1829e99360673990fe7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end_time and created_at \u003E end_time.isoformat()\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad5aab1a98022099c8eccf1e24885bd9393f95abb03fa775292605369a64603"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ending_date and metric_date \u003E ending_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"1236041d32bceb046885e26a5a6764a91c25bb7bf14a725313a6a326c61a639b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ending_date is None or day \u003C= ending_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed93783312abb217b46a89e0548023441414a372172665ff2cc09217942d89c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ending_date is None or metrics_record_key(record_id)[0] \u003C= ending_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b99c8e065b5f9bffb41683c32623dc9b8dce95e7987b4b50110652feb613ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ending_date is None or row[\u0022date\u0022] \u003C= ending_date\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc0fb41bf3a00176106f96272287f8bdc35b779af416cc4eb843398ef0b0db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ending_date is not None and metric_date \u003E ending_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ae5d429d181bb6843fda4636e08b049191ec09b11561ea6c74e2a7d33b0547"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enqueue_result[\u0022reason\u0022] == \u0022duplicate\u0022 and enqueue_result[\u0022job\u0022] is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a72ca6b9e322b3344f770c96a5e0016ea7dea2001368bf8e407dee00e2ccdde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eval_type is not None and len(eval_type) \u003E 0\u0060 appears character-identically in 17 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3635}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dae4e0daa5b2c6f3f65e65c4ad20a9a7da4554af2857cfece8a30ca102e7d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.get(\u0022event\u0022) == \u0022RunContent\u0022 and event.get(\u0022content\u0022) and not cancelled\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/background_cancel.py, cookbook/frameworks/codex/background_cancel.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":"cookbook/frameworks/claude-agent-sdk/background_cancel.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e3db60bd3f089b17d35e4ee5bb2650caeec382b181f2b0faca37166e069bdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exc.status_code == 409 and isinstance(exc.detail, dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/company/products.py, libs/agno/agno/os/routers/company/projects.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":"libs/agno/agno/os/routers/company/products.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2636fd55ecdef9206f2864cf2174712ad35d9f2ba814179a53e8cadaa7262f47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executor_req in req.executor_requirements or []\u0060 appears character-identically in 9 files \u2014 cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/04_router_selection_and_tool_confirmation.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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc96fc0f6c4b16e3ef99d6f7341588fd7c41446feab9f3aabf3fbad5157c68ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060executor_req in step_req.executor_requirements or []\u0060 appears character-identically in 8 files \u2014 cookbook/04_workflows/08_human_in_the_loop/executor_hitl/01_agent_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/02_agent_confirmation_stream.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/03_team_in_step.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/04_agent_confirmation_in_condition_step.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":"cookbook/04_workflows/08_human_in_the_loop/executor_hitl/01_agent_confirmation.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e7dca2e5769d8b15d0232c9057075f3a507c171dc4564dea2d84086ad69048"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exempt is None or exempt.match(folded) is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/_local_file_utils.py, libs/agno/agno/tools/workspace.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":"libs/agno/agno/tools/_local_file_utils.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cf5660f608808b46e57e2202cacbd99f00e90bef703ead95a45de2d35535e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing and existing.get(\u0022created_at\u0022) is not None\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ddd94e637dc1bc3f6013ab59eefed34ea4d293d9328487ecaaa568a0fab3fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing and existing.get(\u0022runs\u0022) is not None\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d3dfec797d03d36cb7887aeaf7e7ba870604f999beb27af6c1a4be07025d92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing and existing.get(\u0022user_id\u0022) is not None and existing.get(\u0022user_id\u0022) != session_dict.get(\u0022user_id\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a0f415f7d08d948affe7c38789dada0ef159e6f6e0242a1f2de493b29407d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing and not existing.endswith(\u0022\\n\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/fs/base.py, libs/agno/agno/fs/local.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":"libs/agno/agno/fs/base.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b3b72bf840d6d2c020da2d01c9d140eaa7295c1d50cc146781288c5c8d4e03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing is None or existing.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f882f1cabfdd7f634d27ea9a6db9d347ee75d75ffed22159f5c54f2b76fdd4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing is not None and \u0022run_index\u0022 in existing\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/surrealdb/surrealdb.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b01dd4f6150045606fc663500896ec1a6f9fb5da02e1a87e766065db5b40c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing is not None and existing.get(\u0022created_at\u0022) is not None\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da40e2600818fd7b72806c0f3f0248d18c572f8bea2d49f766e78446dcae682"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.get(\u0022agent_id\u0022) is None and trace.agent_id is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3853}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e84b2d190ea68404bd08b462c75ac743f173c4c203ce0a7585a680cabfd083"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.get(\u0022run_id\u0022) is None and trace.run_id is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3844}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e68817d5912986cb41508dd2c6810456c6789f18db30a534f89c0442ce18ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.get(\u0022session_id\u0022) is None and trace.session_id is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3847}}}],"partialFingerprints":{"codehealthFindingId/v1":"d784563f8d35ad63c716b692c54b259192268fddca04b2c1265dfd96d37c1168"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.get(\u0022team_id\u0022) is None and trace.team_id is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3856}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b6cfbaaf4647a7a447b9190f630258d538ebb0ba85c69fc6ac1d13a9c2e0e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.get(\u0022user_id\u0022) is None and trace.user_id is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21d1124c6dc447b8fe43c784771aef85712f5f0ed25d16eae36b7c004b9f842"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.get(\u0022workflow_id\u0022) is None and trace.workflow_id is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3859}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cc6924fa78a83eb1e7a7998830bb2d74774aa1196e16e6b5c79b9db2196434"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_future is not None and not existing_future.done()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_managers.py, libs/agno/agno/team/_managers.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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"583e6e3f130421e63a81e462a977e45290f590186d39074cac3eb3fef50c5876"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_session.get(\u0022session_id\u0022) == session_dict.get(\u0022session_id\u0022) and self._matches_session_key( existing_session, session )\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f23d56da173b3af4d6c6198087fc9864b0e08ca24932dc5543fb5bc3a1973"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_task is not None and not existing_task.done()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_managers.py, libs/agno/agno/team/_managers.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":"libs/agno/agno/agent/_managers.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aed8562504e6f64d8d332a52aa879acad10a074aa5bb73c5fd79b58f6c58301"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_uid is not None and existing_uid != session.user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/surrealdb/surrealdb.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7095d4edb492d7ecd1ada989414f89c9503b5606d7e7b5764536661c4ba3c38b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_uid is not None and existing_uid != session_dict.get(\u0022user_id\u0022)\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/mongo/async_mongo.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2cf4c1f4111d0bc2a574cb50b76124a1fea84e91bc9e9ef49975e86308229b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_attempt is not None and stored_attempt is not None and stored_attempt \u003E expected_attempt\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f20e3e4de0aeef327f9edab40ec630b024e7b6300a68a53dfb19d179173beea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_current_version is not None and not current_version_matches( row.current_version, expected_current_version )\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6004}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e79ea3c75020340955b52768f3032a888a6d0692bae486f052f30f8fe7a1964"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_job_id is not None and existing[\u0022job_id\u0022] != expected_job_id\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eabd5b6f8a5c42380c4cc5996010aa285982c9f7e83f03e532fb5cdba4f78fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_status is not None and existing[\u0022status\u0022] != expected_status\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c387ff97434182afe92cb1cdcf2139e2af0e2670ca0d85d8bd7d94d6da578eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_transitions is not None and existing[\u0022transitions\u0022] != expected_transitions\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8385}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbb08b1538f80da6e82f946f3d91312d88b987015546fdccd9c7c895646f0ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected_updated_at is _UNSET_UPDATED_AT or products is None\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8461}}}],"partialFingerprints":{"codehealthFindingId/v1":"808eb7134cc3e47b4961da4d0403d983d864d1dc5e7fa328b1d805849c00ec6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f in getattr(chunk, \u0022files\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/state.py, libs/agno/agno/os/interfaces/telegram/state.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":"libs/agno/agno/os/interfaces/slack/state.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a788bf5563e5c280b917493860c5545bc2ade536dc578caffe56fe9506efa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.get(\u0022updated_at\u0022) or f.get(\u0022created_at\u0022) or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/learn/schemas.py, libs/agno/agno/learn/stores/entity_memory.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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd32c944a04ed76bfdf456776c3b7f1f097d5e897a643c7002065317dbeedaa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.name.startswith(\u0022_\u0022) or f.name not in init_params\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/_utils.py, libs/agno/agno/team/_utils.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"978f8abf7134f0db8c667d780641bf12b2835be5cc2c363361cd1cf3114e0c45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field == \u0022root_runs_count\u0022 and field not in table.c\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/utils.py, libs/agno/agno/db/postgres/utils.py, libs/agno/agno/db/sqlite/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"3497e6b509fb5273c13b421ca4b4fc29429e572e9fd9e748d8b9cb0c1352bc5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field == \u0022sessions_count\u0022 and field not in table.c\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/utils.py, libs/agno/agno/db/postgres/utils.py, libs/agno/agno/db/sqlite/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b100df33fd829949376caa29ffdd006662b970082b3ea5c9fc44ddead31712e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field in record_data and record_data[field] is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/valkey/utils.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5871095fdbb6fb55386aa3c55d2cb181ece212e5009fb1ef5da5902130c3a1d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field in requirement.user_input_schema or []\u0060 appears character-identically in 4 files \u2014 cookbook/03_teams/20_human_in_the_loop/multi_round_user_input.py, cookbook/03_teams/20_human_in_the_loop/user_input_required.py, cookbook/05_agent_os/22_studio/studio_hitl_agent.py, libs/agno/agno/os/interfaces/slack/interactions.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":"cookbook/03_teams/20_human_in_the_loop/multi_round_user_input.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a42c8a2ae8895f403ffccaae3ec97265ec20a6672a6ad6e59da5e92f05d3187"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field_name == \u0022tools\u0022 and field_value is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_utils.py, libs/agno/agno/team/_utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_utils.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4624ab6a31331a38440a1f26015f9db01221fce45dc4b5f2c648349075082ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_path is not None and data is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/utils/yaml_io.py, libs/agno_infra/agno/utilities/json_io.py, libs/agno_infra/agno/utilities/yaml_io.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":"libs/agno/agno/utils/yaml_io.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7696022ddb884fe9ccedd506a2ee7211b29efa2e669120676c20e69d740a7297"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_path is not None and file_path.exists() and file_path.is_file()\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/utils/yaml_io.py, libs/agno_infra/agno/utilities/json_io.py, libs/agno_infra/agno/utilities/yaml_io.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":"libs/agno/agno/utils/yaml_io.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb5661dc758aaef72561a976d36a4686fa2dadc24424032b57cfd0042ce05aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_path.exists() and file_path.is_file()\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/models/google/gemini.py, libs/agno/agno/models/openai/responses.py, libs/agno/agno/utils/pickle.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":"libs/agno/agno/models/google/gemini.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3100e6537fa77ab853064c3e112bf3291b46a0befbbf0e9d657d39567b8c82d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_type == EvalFilterType.AGENT and run.get(\u0022agent_id\u0022) is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7752498e77bac857d75eea67ef0f61441bdf75d3585d0c15e1500ea68e5f35cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_type == EvalFilterType.AGENT and run_data.get(\u0022agent_id\u0022) is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"40205ab169deb391d4b310e72797a4198067348c492969c8d96a7f081779628f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_type == EvalFilterType.TEAM and run.get(\u0022team_id\u0022) is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3544b9e8cb4475db50a05e54c460be6d830b708463fe89548b873062f27e02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_type == EvalFilterType.TEAM and run_data.get(\u0022team_id\u0022) is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"869ba7fd83f421fbcf8cfb1a1dac992dcf645d260497f320ff4a867569105a37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_type == EvalFilterType.WORKFLOW and run.get(\u0022workflow_id\u0022) is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e866cfac801d3edfb58dc05cc1753edcbe8a3c7fcbc1a675ff4b527d991b66ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_type == EvalFilterType.WORKFLOW and run_data.get(\u0022workflow_id\u0022) is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbf6f3957d184df0a2a99bbfc3512b613110dd23871aba04b9840231dada345"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filtered_metrics and not self._deprecated_metrics_logged\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"d859612589f3a600d41003d54be5f029d4a038508974461301c7b8e08557824d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060final_response and hasattr(final_response, \u0022reasoning_content\u0022) and final_response.reasoning_content\u0060 appears character-identically in 2 files \u2014 cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py, cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.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":"cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfd75a642a757e2857fd86a75015b1bbe4285ae580d067b495c2661350bfbc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first_calculation and data_date not in completed_days\u0060 appears character-identically in 13 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa020026883e342fd0eea6feec4eea818926b52f556909a7f9706edfca9b421"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first_calculation and not completed_by_day.get(data_date)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"88874538ab4d5619afe6f1c3c960577a092c1a45bc50ff79f439f8c6ac5ee97c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first_calculation or fingerprint is None or fingerprint != refresh_row[\u0022fingerprint\u0022]\u0060 appears character-identically in 15 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0f99847b604b3893e29a5f12aa7293b221e5a63aa8f4bb2d89a254b70d983"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first_calculation or rebuild_from is not None\u0060 appears character-identically in 15 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0818b495dba1c77dff62921a572d115f7653a4d6f37c5560b956392bc0854519"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060future is not None and not future.done()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c969247e195cfcfbec57afd2e38c1fedc2de49ec6b7fcb0c904700e00ffede4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get_scoped_user_id(request) or getattr(request.state, \u0022user_id\u0022, None)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/router.py, libs/agno/agno/os/routers/evals/evals.py, libs/agno/agno/os/routers/filesystem/router.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":"libs/agno/agno/os/router.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e61a7be209557f3d7566c10abaa003398ed97b57e0019f6f30e37f9d9cbe66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(chunk, \u0022step_name\u0022, None) or \u0022loop\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/events.py, libs/agno/agno/os/interfaces/telegram/events.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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42453b606aebf56e4cdbd283a3f92905a0ea77a3dd14207aad5e4683fa9e0a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(chunk, \u0022step_name\u0022, None) or \u0022step\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/events.py, libs/agno/agno/os/interfaces/telegram/events.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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"f552d55de05642ddb3589e054ff683ff1fe398a29ba8915c08d61866877187e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(completion_details, \u0022reasoning_tokens\u0022, 0) or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/litellm/chat.py, libs/agno/agno/models/mistral/mistral.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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b40b4a1adddf7824e53a96de2d5eb06398e5bb489f0d8ad303b9c2b9fd2ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(entity, \u0022id\u0022, None) or entity_name\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/context.py, libs/agno/agno/os/interfaces/whatsapp/router.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":"libs/agno/agno/os/interfaces/slack/context.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70bbc32b84f39127409177d570975661d90f958437d3148b93d0e8268fc512"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(event, \u0022content\u0022, None) or getattr(event, \u0022error\u0022, None) or \u0022unknown error\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/environments/_engine.py, libs/agno/agno/eval/suite.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":"libs/agno/agno/environments/_engine.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f360a7025564ecffce6787deafd62fe49580f318a44b16f332fa55a2c59490f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(event, \u0022run_id\u0022, None) == run_id and isinstance(event, TERMINAL_RUN_EVENT_TYPES)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/interfaces/a2a/executor.py, libs/agno/agno/os/interfaces/slack/executor.py, libs/agno/agno/run/background.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":"libs/agno/agno/os/interfaces/a2a/executor.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d0fe3c054dbd3cb40e0e962d3f2608716f1217fa569da0c723a873642f5cda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(prompt_details, \u0022cached_tokens\u0022, 0) or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/litellm/chat.py, libs/agno/agno/models/mistral/mistral.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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad42753026a928114b0e71434f7b979dce54040eb6ef36bcf7e5195c3bb4edaf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(reader, \u0022name\u0022, None) or reader.__class__.__name__\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/knowledge/utils.py, libs/agno/agno/os/routers/knowledge/knowledge.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":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d3d275e372bdae26202cc6a13232a573ffa9a776644ceb504a43de4410f03d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(request.state, \u0022admin_scope\u0022, None) or getattr(request.app.state, \u0022admin_scope\u0022, None)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/run_permissions.py, libs/agno/agno/os/routers/service_accounts/router.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":"libs/agno/agno/os/routers/run_permissions.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d477a6b05f9b48a5f1181638c7857752e710330c9a0e92d50d52e8cf2f1081c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(request.state, \u0022scopes\u0022, None) or []\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/os/auth.py, libs/agno/agno/os/interfaces/a2a/auth.py, libs/agno/agno/os/interfaces/agui/router.py, libs/agno/agno/os/middleware/user_scope.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":"libs/agno/agno/os/auth.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1be6913688b8e837e134c7ed0379386aa01b2fc1dc6b79a201d4768387ce877"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(request.state, \u0022scopes\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 cookbook/05_agent_os/26_authorization/07_manage_users_and_roles.py, libs/agno/agno/os/authz/admin_router.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":"cookbook/05_agent_os/26_authorization/07_manage_users_and_roles.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db1858d4c02de6738b01c752a06f2e2e2e622c87c581379eff4b29b86f11a8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(self, \u0022sandbox_coordinators\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84ca4e10fc6033d600921844877504adb6ae4116c570aba36b30b36e123277b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(self, \u0022tool_result_filesystems\u0022, []) or []\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f0364c8b89ac78e5dbf3be1ddbc723e698868b9cdd866f020a747b7bfef01e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(tool, \u0022name\u0022, None) or getattr(tool, \u0022__name__\u0022, None)\u0060 appears character-identically in 3 files \u2014 cookbook/93_components/auto_populate_registry.py, libs/agno/agno/os/manager/manager.py, libs/agno/agno/registry/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":"cookbook/93_components/auto_populate_registry.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5bd5d5a50f7aa894344d19dacc1bb52ba80bbde567729d05d00e2e426a7160"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(tool, \u0022tool_name\u0022, None) or \u0022tool\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/types.py, libs/agno/agno/os/mcp.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":"libs/agno/agno/os/interfaces/slack/types.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"59431708dfa420829cdbd778e511631e682a3af2aae9b97b82ecce250690f0e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getenv(\u0022JWT_VERIFICATION_KEY\u0022) or getenv(\u0022JWT_JWKS_FILE\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/app.py, libs/agno/agno/os/auth.py, libs/agno/agno/os/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/app.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cef3da19b3c510ef63fa44a26f1f8f5b6407ff2d8e69c8414da23f6f2807ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grounding_metadata.get(\u0022grounding_chunks\u0022, []) or []\u0060 appears character-identically in 5 files \u2014 cookbook/90_models/google/gemini/file_search_advanced.py, cookbook/90_models/google/gemini/file_search_basic.py, cookbook/90_models/google/gemini/file_search_image_upload.py, cookbook/90_models/google/gemini/file_search_rag_pipeline.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":"cookbook/90_models/google/gemini/file_search_advanced.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e5aaea31b1b3586719ec22d8648243176bdcc64d19a2bc4b35691a12d9884e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group_name is None or group_filter not in group_name\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/base/app.py, libs/agno_infra/agno/base/resource.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":"libs/agno_infra/agno/base/app.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1c171a34caf482cd9ced92de86d375b395e2abd7c6b9f1b6489c2af3429260"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(choice_delta, \u0022reasoning_content\u0022) and choice_delta.reasoning_content is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/litellm/chat.py, libs/agno/agno/models/openai/chat.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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a42cd3c416de39889702c8def846d1ce1059d7ce9333e9844d99f904b9c2ea9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(chunk, \u0022status\u0022) and chunk.status == RunStatus.completed\u0060 appears character-identically in 3 files \u2014 cookbook/02_agents/14_advanced/cancel_run.py, cookbook/03_teams/14_run_control/cancel_run.py, cookbook/04_workflows/06_advanced_concepts/run_control/cancel_run.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":"cookbook/02_agents/14_advanced/cancel_run.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a61d49e4ddadb4c54d6bf40f068eedfab65266025f81a4c83c3884db48bd8e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(data, \u0022b64_json\u0022) and data.b64_json\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/models/nebius.py, libs/agno/agno/tools/openai.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":"libs/agno/agno/tools/models/nebius.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f637eaed2f2051b2f562c4f942a6d5400b7e15fb32ee3fc62ba4ab9b3e4f57f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(doc, \u0022content_id\u0022) and doc.content_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/vectordb/redis/redisdb.py, libs/agno/agno/vectordb/valkey/valkeydb.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":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f63a03af645644ea43581a9c234096009b00f3519815c7a163a5cb9d16439"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(event, \u0022content\u0022) and event.content\u0060 appears character-identically in 24 files \u2014 cookbook/02_agents/14_advanced/agent_run_cancel_persistence.py, cookbook/03_teams/14_run_control/cancel_run_persistence.py, cookbook/03_teams/14_run_control/team_cancel_while_member_runs.py, cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.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":"cookbook/02_agents/14_advanced/agent_run_cancel_persistence.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd09633d80b1561e1a8141e30ef963f008dbcd0090560675857f14931a2110c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(event, \u0022reasoning_content\u0022) and event.reasoning_content\u0060 appears character-identically in 9 files \u2014 libs/agno/agno/reasoning/anthropic.py, libs/agno/agno/reasoning/azure_ai_foundry.py, libs/agno/agno/reasoning/deepseek.py, libs/agno/agno/reasoning/gemini.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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"117f11b315bc40e28e47c7ee12c2e714f244cf244e3b0477c3c20e2488e182d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(event, \u0022session_id\u0022) and workflow_run_response.session_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/workflow/step.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d12d70d6cac75dcfe6b29733f7d8d5d29afe9ccb956190007022cd39ffc40c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(event, \u0022step_index\u0022) and step_index is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/workflow/step.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"82814fd0ac16b987d652f6cf2ebdcb03fa9d2ae5e3bfd9fdbf60593475c27d89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(event, \u0022workflow_id\u0022) and event.workflow_id is not None and event.workflow_id != workflow_run_response.workflow_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/workflow/step.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"addbec2b078ff2c6b1fc1a1255d725c1146e4bd801abfd93a71682a953021f09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(filt, \u0022key\u0022) and hasattr(filt, \u0022value\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/_default_tools.py, libs/agno/agno/knowledge/knowledge.py, libs/agno/agno/team/_default_tools.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":"libs/agno/agno/agent/_default_tools.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"714f2e25b9f613e7dc5c712bf035e7f89558a085b786b64f5d500060508b0101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(member_agent, \u0022add_history_to_context\u0022) and member_agent.add_history_to_context\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/team/_default_tools.py, libs/agno/agno/team/_task_tools.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"affeff9197d65511a60124d0bc5648e1fc6c00875ab56e0db4de1f98e89c81a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(message, \u0022from_history\u0022) and message.from_history and skip_history_messages\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.py, libs/agno/agno/session/workflow.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f51a85a92b0fd38ada1cfad47b54e4ae609290606d357d1ee9a4b1d87368f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(msg, \u0022provider_data\u0022) and msg.provider_data\u0060 appears character-identically in 4 files \u2014 cookbook/90_models/anthropic/skills/agent_with_documents.py, cookbook/90_models/anthropic/skills/agent_with_excel.py, cookbook/90_models/anthropic/skills/agent_with_powerpoint.py, cookbook/90_models/anthropic/skills/multi_skill_agent.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":"cookbook/90_models/anthropic/skills/agent_with_documents.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1099b0d3785adb616c61ef0f34d4bd797a0609f7bd273e5e15c154f6b6bf3d0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(msg, \u0022redacted_reasoning_content\u0022) and msg.redacted_reasoning_content is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/reasoning/anthropic.py, libs/agno/agno/reasoning/vertexai.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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"209861f4bc8ae57250b50940a7f2526e5b61d6c6f36af46c2d8136662165ff02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(reasoning_model, \u0022thinking\u0022) and reasoning_model.thinking is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/reasoning/anthropic.py, libs/agno/agno/reasoning/vertexai.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":"libs/agno/agno/reasoning/anthropic.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"974efe40d25f2d38b776d03ba29b9c7ba2c01ac5d317c240a120ff5d3e49ec7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(request.state, \u0022dependencies\u0022) and request.state.dependencies is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"056caf8f47bbc81644a400fff560b9f7c130416c75db0cbc9767c5843f0d39ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(request.state, \u0022metadata\u0022) and request.state.metadata is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedcd4791b2a64826d57c13f2fe2ff81b8a447767d5f23b59393e72263383b6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(request.state, \u0022session_id\u0022) and request.state.session_id is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5506e6b17e00b2a2f04535c701c2e11c85c7b1287aa602e3dabd8227c0267d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(request.state, \u0022session_state\u0022) and request.state.session_state is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abaaa457c678244e3cbe4f34774f4a8c870c5fbf039b2da94c5f04ab64fc993"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(request.state, \u0022user_id\u0022) and request.state.user_id is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bd0bb212fe3316213244a0230129151b348156be1c01941eadde36b08ea37c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(resp, \u0022reasoning_content\u0022) and resp.reasoning_content is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/utils/print_response/agent.py, libs/agno/agno/utils/print_response/team.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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea5b8a15de74149d61d42f65021320e7828843b50bebfc8993a1d25b9e49d7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(resp, \u0022reasoning_steps\u0022) and resp.reasoning_steps is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/utils/print_response/agent.py, libs/agno/agno/utils/print_response/team.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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6c2961a5f605466c326a7ef231e96ba6030fc7867302a7a264af949ea6ca2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(response, \u0022data\u0022) and response.data\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/models/nebius.py, libs/agno/agno/tools/openai.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":"libs/agno/agno/tools/models/nebius.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2683eaf134c4bd073890835ab56cc8dead88ae1d51597b8ad5bebc74b8011c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(response, \u0022error\u0022) and response.error\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/openai/chat.py, libs/agno/agno/models/perplexity/perplexity.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":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41d343cd338d7f7ba1c186f0411c9de9ef79217ddf43d6957d287e71601c748"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(response, \u0022reasoning_content\u0022) and response.reasoning_content\u0060 appears character-identically in 2 files \u2014 cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py, cookbook/10_reasoning/tools/capture_reasoning_content_reasoning_tools.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":"cookbook/10_reasoning/tools/capture_reasoning_content_knowledge_tools.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78f79a738a2e87f2841ebebbf1189e17f2d398e495d487bd79e7c49b3b1c23d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(response_message, \u0022reasoning_content\u0022) and response_message.reasoning_content is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/litellm/chat.py, libs/agno/agno/models/openai/chat.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":"libs/agno/agno/models/litellm/chat.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea375958420548ea4fd91b7f522fa7046bf82897274a54088b94921cb1cf1cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(result, \u0022content\u0022) and result.content\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/oxylabs.py, libs/agno/agno/tools/valyu.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":"libs/agno/agno/tools/oxylabs.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e01d6a2c0603a1a9422a86ee0910a98f27528cfd390ab354add39a3180e4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(run, \u0022status\u0022) and run.status not in skip_statuses\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.py, libs/agno/agno/session/workflow.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ee096e544f57dd76298c12c48a01a53acf64d763b4e68e1a316762c5c59798"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(run, \u0022team_id\u0022) and run.team_id == team_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d917534fbd225b954427eb344787ecc0f8885f32ffb2f23963da1638ae9d0f92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(run_response, \u0022reasoning_content\u0022) and run_response.reasoning_content\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1b3957cae966a0d63d86cfd4c5e5a52c7e8c80c8e556d85956882f63579037"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(self, \u0022content\u0022) and self.content and isinstance(self.content, BaseModel)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/run/base.py, libs/agno/agno/run/workflow.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":"libs/agno/agno/run/base.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8003c1bce3d90480adb67ec45c6bfd6702fbea9cb87ea6cd1952071cf924504"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(self, \u0022metrics\u0022) and self.metrics is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/run/base.py, libs/agno/agno/run/workflow.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":"libs/agno/agno/run/base.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfa96ee99f5fab557ca22c0ed17f006dba8758e096c92f94857c79514b00e48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003E 0 and messages[i - 1].role == \u0022assistant\u0022 and not messages[i - 1].tool_calls\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d038b0d6a08171fad897561fd376c3c6ee2cb8872f6772bf06df42d34bc3123"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060image.content is not None and isinstance(image.content, bytes)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/ollama/chat.py, libs/agno/agno/utils/gemini.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":"libs/agno/agno/models/ollama/chat.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de2500c10a14e71be81ed19bbb5ebe5ff2387d55038421bdc0240002e1a8d59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060image_url.startswith(\u0022data:image\u0022) or image_url.startswith((\u0022http://\u0022, \u0022https://\u0022))\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/utils/models/openai_responses.py, libs/agno/agno/utils/openai.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":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e16995be1f8e03785c03456e2686fd1ef848cf27f3485c4b85039762a5fd6ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060images is not None or audio is not None or videos is not None or files is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_messages.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6cbe4bba98651b286e7dcb4fe154295e7434b0ef8bdbc772e9756a2f710d69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060img in getattr(chunk, \u0022images\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/state.py, libs/agno/agno/os/interfaces/telegram/state.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":"libs/agno/agno/os/interfaces/slack/state.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca574d1f2e4c4c218cf138776073a3db7b7e844d7fa55fbca9b267ac486e1476"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060include_runs and runs_table is not None and sessions_raw\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed435dac0fc1e90510dea3c683e089aeaa9703374fbc752c62e924e340cf988a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(agent, BaseExternalAgent) and agent.sandbox is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/schema.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7e14a9260e1cf47e676e7984d71565e5c1e2f8f82ad38a87c0f2bf00a55a16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(block, dict) and block.get(\u0022type\u0022) == \u0022text\u0022 and block.get(\u0022text\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/antigravity/agent.py, libs/agno/agno/tools/antigravity.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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93bedc1789deb4d0a4ee7b2dc587a660ed89ce07cc0d38b494f3e545aa4673"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(cfg, dict) and \u0022foreign_key\u0022 in cfg\u0060 appears character-identically in 7 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cb7ddd8f8c30505874a8d388610872588086a9f97864f2110a15487c2262b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(cls, type) and issubclass(cls, AuthMiddleware)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/app.py, libs/agno/agno/os/auth.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":"libs/agno/agno/os/app.py"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d992a234da0651f75ea4e1179e5f0ef37da2292049bb2587f1e52e1e139584c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(component, BaseExternalAgent) and component.sandbox is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/sandbox.py, libs/agno/agno/os/routers/registry/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":"libs/agno/agno/company/sandbox.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3451a23bdd96c7f3e68be4c69a3baf5c9651371c17dd4d714a45b2ee573e91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(data, list) and len(data) \u003E 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/file/generation.py, libs/agno/agno/tools/visualization.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":"libs/agno/agno/tools/file/generation.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3d59adf3390d685b22c45602d964d7906e0e099db84b8cbcce19fe25cf823"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(event, RunContentEvent) and event.content is not None\u0060 appears character-identically in 2 files \u2014 cookbook/05_agent_os/03_python_client/02_run_and_stream.py, cookbook/05_agent_os/20_remote/01_remote_agent.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":"cookbook/05_agent_os/03_python_client/02_run_and_stream.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"df31c5f3d8602196da616e21df7dfe0381929e834ec16425161ef2cc60e9384d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(final_status, str) and not isinstance(final_status, RunStatus)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/os/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4673}}}],"partialFingerprints":{"codehealthFindingId/v1":"46017155fefeeb7d3c1c39fc2cb0719feb1266fcc78c8b29d03d572714a0c99e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(func, Function) and func.entrypoint is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ac085aed3a641e4ddac1e76c95d1a7df6d1c52820b21395de117f73a3d20f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(item, dict) and item.get(\u0022content\u0022)\u0060 appears character-identically in 18 files \u2014 cookbook/07_knowledge/04_advanced/07_per_user_isolation/cassandra_db.py, cookbook/07_knowledge/04_advanced/07_per_user_isolation/chroma_db.py, cookbook/07_knowledge/04_advanced/07_per_user_isolation/clickhouse_db.py, cookbook/07_knowledge/04_advanced/07_per_user_isolation/couchbase_db.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":"cookbook/07_knowledge/04_advanced/07_per_user_isolation/cassandra_db.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35849ab046140a2b6234717a059095ed0559a902f7f81f9c47d7e203af76080"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(learning_name, str) and learning_name\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"e273c21f0ba7c047b2c249d5e63e90681186f170c5a9eb204c4bb3be514cdbc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(mem, dict) and mem.get(\u0022id\u0022) == memory_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/learn/schemas.py, libs/agno/agno/learn/stores/user_memory.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":"libs/agno/agno/learn/schemas.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"346c4ed1087af0de30a49299c6b95aabf06b6058f5acb7a5ed48d399ed07a081"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(message, dict) and message.get(\u0022role\u0022) == \u0022tool\u0022 and message.get(\u0022tool_call_id\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/dynamo/utils.py, libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/valkey/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6a8f77ad7e9df18385a1da31a158c15379afb309cd4339ffeadcc321cc12cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(message.content, str) and message.content.strip() == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/session/summary.py, libs/agno/agno/team/_managers.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":"libs/agno/agno/session/summary.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d5e4bdad8847b4d86180e7d8f833fc45acf5a0cf403794a5dbd06657214bcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(mode, str) and mode.lower() != \u0022wal\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b766763c001c6a2d4b8576cde4054e898fec4926a1e42dc7488e6ea8ff192d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(output_schema, type) and issubclass(output_schema, BaseModel)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/team/_messages.py, libs/agno/agno/utils/prompts.py, libs/agno/agno/utils/tokens.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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac87410bc5f9e9e3dc1d6c5a1c1a314dfada0ea95daffa9384a4b015e6d2a63"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(r, dict) and r.get(\u0022run_id\u0022) in run_ids\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"016c4a2e9523cbb58e9892be560f5854748100c30acc82ce4084e9e24e2db072"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(r, dict) and r.get(\u0022run_id\u0022) in wanted\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/singlestore/singlestore.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd30b3cee1cda4afc6c947e85392b25f3a3568f3e833e524438bc6c7edd41a16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(response_format, dict) and response_format.get(\u0022type\u0022) == \u0022json_schema\u0022 and isinstance(response_format.get(\u0022json_schema\u0022), dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/cerebras/cerebras.py, libs/agno/agno/models/openai/responses.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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f765beb1867a03429a699f68607e603a3a3e26e1cecadc0a8561ae498aaf029e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(response_format, type) and issubclass(response_format, BaseModel)\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/models/anthropic/claude.py, libs/agno/agno/models/azure/ai_foundry.py, libs/agno/agno/models/google/gemini_interactions.py, libs/agno/agno/models/mistral/mistral.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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2670088a18fe5079e0a45838df4702348e992ae814c687d913250b0f77d05ad6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(run.content, FinalInteger) and run.content.value == expected\u0060 appears character-identically in 16 files \u2014 cookbook/environments/_06_learning_zone/basic.py, cookbook/environments/_06_learning_zone/saturated_tasks.py, cookbook/environments/_06_learning_zone/select_middle_band.py, cookbook/environments/_07_difficulty_calibration/ambiguity_ladder.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":"cookbook/environments/_06_learning_zone/basic.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df58dfee57c541c3098aeba7288eff8fcf3bf03b3e739a78bf9501958aee16b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(tool.name, str) and tool.name\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_storage.py, libs/agno/agno/team/_tools.py, libs/agno/agno/tools/studio.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d878779fd4ca52d755ae61b3286b44f84227912a423989a12682cf03c9420d95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(tool_call, dict) and tool_call.get(\u0022tool_call_id\u0022) not in copied_tool_call_ids\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/dynamo/utils.py, libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/valkey/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d104c6fe723e67e25144278f1fb8697d18bafe7699c11e1e39f522249786176d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(user_id, str) and user_id.startswith(SERVICE_ACCOUNT_PRINCIPAL_PREFIX)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/auth.py, libs/agno/agno/os/middleware/user_scope.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":"libs/agno/agno/os/auth.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f550f6c039011de0df1b3950b1576901e48dcf29ced020c04bb9fa21bda12c96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, (int, float)) and not isinstance(value, bool)\u0060 appears character-identically in 4 files \u2014 cookbook/data_labeling/_25_tool_call_trajectories/basic.py, libs/agno/agno/db/utils.py, libs/agno/agno/knowledge/reranker/recency.py, libs/agno/agno/tools/finance/providers/yfinance.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":"cookbook/data_labeling/_25_tool_call_trajectories/basic.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"604c81ed51339a0703aa9f940192180decc3324d4fb817ef896488527e6b3119"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, float) and value is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/postgres.py, libs/agno/agno/tools/redshift.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":"libs/agno/agno/tools/postgres.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d805a20ea6ff5a1b0e562958d8a88cd27bb44b5d2a035a7694b69d288e1d2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, type) and issubclass(value, BaseModel)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/_storage.py, libs/agno/agno/client/os.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":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8234dd6205cd94cd1119fc70ef4b5da2fcaadc023622af6bd17cfaa7c0c5af85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(w, WorkflowFactory) and w.id == workflow_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/workflows/router.py, libs/agno/agno/os/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d58fd6ab136321a54f18cb786d90f7a353dd850f2342e635c056986488c6d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022id\u0022) == id and self._knowledge_item_is_visible(item, user_id)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"70212bab24df680a57a7d8edc8e67affa608ee1180f7df635a4ae8fd21323545"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job is None or job.get(\u0022job_type\u0022, \u0022run\u0022) != \u0022run\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/job_queue.py, libs/agno/agno/os/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":2834}}}],"partialFingerprints":{"codehealthFindingId/v1":"502df84273b37569b29416391ecae4453cabc492b7b066d86afcff6fd7261e53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job is None or job[\u0022status\u0022] != \u0022queued\u0022 or not is_serialized(job)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6747}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd5f1cb2bd1573868775fb5ad5e76a2cdd8e5edcd039ed4a7ba5649662b12b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == \u0022items\u0022 and isinstance(value, dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/function.py, libs/agno/agno/utils/models/claude.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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f8624045f9df68bf0f5c5872a22467a517792cf75ee8fb83fa1268dfd7d681"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == \u0022properties\u0022 and isinstance(value, dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/function.py, libs/agno/agno/utils/models/claude.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":"libs/agno/agno/tools/function.py"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f21706675bcdf3dc37cf2dd5fa0aba195e7d2afbd9bf20f7bcda67d8a2123a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key in defaults and value == defaults[key]\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/agents/schema.py, libs/agno/agno/os/routers/teams/schema.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":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8d2647aa1a6a67af2888fcf97ca4d44dc90e160f10b7d53ab37bdec1abce87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key not in record or record[key] != value\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/valkey/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/utils.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"353e069c230a9e0987614c6c84fba81e4262d1a24e45c10dfe152898059343a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060knowledge_row.user_id is not None and existing_item.get(\u0022user_id\u0022) != knowledge_row.user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68ab0cadef31f73df4865c130e36872da7418cc4463fba36ab14fb819fcaa5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060knowledge_row.user_id is not None and knowledge_row.id\u0060 appears character-identically in 12 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/mysql/async_mysql.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":3470}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fff70a18948ac8b51106ae53d5d6c76864b94674a10f2c82db2124e7224201"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060last is None or len(last.messages) \u003C 2 * len(TURNS)\u0060 appears character-identically in 3 files \u2014 cookbook/performance/comparison/durable_conversation_comparison.py, cookbook/performance/comparison/long_conversation_comparison.py, cookbook/performance/comparison/multi_turn_comparison.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":"cookbook/performance/comparison/durable_conversation_comparison.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4f64dfae5250d7613760a68f99084297b4e4868e6c961f4bff4b922c18f911"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latest.eval_data and \u0022results\u0022 in latest.eval_data\u0060 appears character-identically in 2 files \u2014 cookbook/09_evals/agent_as_judge/agent_as_judge_post_hook.py, cookbook/09_evals/agent_as_judge/agent_as_judge_team_post_hook.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":"cookbook/09_evals/agent_as_judge/agent_as_judge_post_hook.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f20aa22790991482ed9fc7ff8af08574be7d0753b7a5f39609b9cdf52c1526"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latest_updated_at is None or updated_at \u003E latest_updated_at\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"02734ae29da6bc0b84d169786a31346f186cfa01f313f90aafdf41635d9f3a1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060latest_updated_at is not None and latest_updated_at \u003E= current_time\u0060 appears character-identically in 9 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6148ab701ed122a2980e25ba96f17cb36c72c029445b1d3be448d01880a01312"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060learning_task is not None and not learning_task.done()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30bf559a3bef6cd4c034e8ac1e5115baf775a8196abaf6e4208f5918a7b4a61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(args) == 1 and callable(args[0]) and not kwargs\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/hooks/decorator.py, libs/agno/agno/tools/decorator.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":"libs/agno/agno/hooks/decorator.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a50ea8dd0c2d26fbceee8e13593f36ac9602520c0357295e21bffb61ad7573"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(content_chunks) \u003E= 20 and run_id and not cancelled\u0060 appears character-identically in 2 files \u2014 cookbook/02_agents/14_advanced/agent_run_cancel_persistence.py, cookbook/03_teams/14_run_control/cancel_run_persistence.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":"cookbook/02_agents/14_advanced/agent_run_cancel_persistence.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"95762e7a00f175cefa9b232a4257710b88bc93b81ebdbffd5ee5f69b0b31e0f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(messages_from_history) \u003E 0 and messages_from_history[0].role == \u0022tool\u0022\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.py, libs/agno/agno/session/workflow.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de66cb7b1517a84e187cde0cbbd5cca266813f6c46073d717a1ef7d15089f2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(parts) \u003E= 2 and parts[0] in (\u0022agents\u0022, \u0022teams\u0022, \u0022workflows\u0022) and parts[1] in RESERVED_MEMBER_IDS\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/run_permissions.py, libs/agno/agno/tools/scheduler.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":"libs/agno/agno/os/routers/run_permissions.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"990ea6ba22f177c41a5b9967eb9ee2a271deee6b943fe12652b63e77d094e3bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(reasoning_steps) \u003E 0 and show_reasoning\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/utils/print_response/agent.py, libs/agno/agno/utils/print_response/team.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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd841aced47a2a293d247dac4ed5784514db3105f957154e210e3ce3af631eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(subnet_ids) == 0 and self.vpc_stack is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py, libs/agno_infra/agno/aws/resource/rds/db_subnet_group.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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b057e7f4c60bf491e79cb7e62867c1bb34071a4233ef8ece313f0b0479af7f44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060light_copy.content and isinstance(light_copy.content, BaseModel)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/run/agent.py, libs/agno/agno/run/team.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":"libs/agno/agno/run/agent.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb25fb39d12fada3a774d91a72bdc641d585fa4ec43807aacce28f7dbe83caa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060link.get(\u0022link_kind\u0022) == link_kind and link.get(\u0022child_component_id\u0022) == child_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/studio_runner.py, libs/agno/agno/workflow/step.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":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafb55ab9cf66349194c632f84eb8182f65bb86f7831bc7448cfe020827229ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060links is not None and links_table is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6909}}}],"partialFingerprints":{"codehealthFindingId/v1":"299bb4d220928ffbb3b9a0fb13205c4e57dec2036eb4fa41ab4d34a48c360408"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.metrics is not None and hasattr(m.metrics, \u0022timer\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0756969b46151fee2ce45873aae7ebce1a69dd261b21ad27d7bed332ec899e1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060machine.get(\u0022agno_version\u0022) or \u0022unknown\u0022\u0060 appears character-identically in 2 files \u2014 cookbook/performance/_bench.py, cookbook/performance/report.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":"cookbook/performance/_bench.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"520f999b6e2f06857d0c067db2ebd1bd8a7dd5f6afb396196c5c1f137b1bec9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060master_user_password is None and self.aws_secret is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbf58339431e436b27f92cd6677b39e3e963e5f773e831b6b62d0771cb3ac27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060master_user_password is None and self.secrets_file is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b1b3c17420529ea7c419df59db5b42ac2b691d47e812541d937cb1e988a395"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060master_username is None and self.aws_secret is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"694c61cc461b0c10c9f7daf484625eb4c625d41767df9253fd34290254e19ef4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060master_username is None and self.secrets_file is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6d821583128dcb0400ea6ec40efad6cc05716edaafeec08b31c3cf2458278"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060math.isnan(number) or math.isinf(number)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/api/settings.py, libs/agno/agno/tools/finance/providers/yfinance.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":"libs/agno/agno/api/settings.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ff458ac400eb18bd43df4c2c6ef15e9a38a260e41f99ad7758ae55a53dec5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060max_file_bytes is not None and chunk_bytes \u003E max_file_bytes\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/fs/db.py, libs/agno/agno/fs/local.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":"libs/agno/agno/fs/db.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef05a05ced8f3c7e96033a7945c7cf57cca244b5b23b00d6d0591adeed0d1b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mcp_config is None or mcp_config.tool_run_endpoint\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/mcp.py, libs/agno/agno/os/router.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":"libs/agno/agno/os/mcp.py"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6fb12029727d5049d67cf1d40e2ba99e0b0ae360251f3343b272046ba7f3c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member in getattr(response, \u0022member_responses\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/eval/suite.py, libs/agno/agno/scorer/tools.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":"libs/agno/agno/eval/suite.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8b44c889edc9653e250ff6868ae773079a99fbb924f5bd4ef2b812bac6bba2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member.get(\u0022agent_id\u0022) or member.get(\u0022team_id\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/evidence.py, libs/agno/agno/tools/studio.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":"libs/agno/agno/company/evidence.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f244fb6f54e986338f01f52104a627b02a2cf165e3759f84d6dd0e08b989eb8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member_response in getattr(run_response, \u0022member_responses\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/team/_run.py, libs/agno/agno/utils/media_offload.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":"libs/agno/agno/team/_run.py"},"region":{"startLine":5170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c005df31a0ede74978f7bba317d746b7f377c7c6b730f2a12f59bf2ffb57480"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memory_manager_id and not is_auto_generated_memory_manager_id(memory_manager_id)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb1be5100d55abe14871540598fedad6411b2bd7248315ae8bbefa1a279372"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060memory_task is not None and not memory_task.done()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bebe41a2c25d5d2d9bdd9e1e2ff0f4b65e973a63c7363ebd6403d10c54d36e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.audio is not None and len(message.audio) \u003E 0\u0060 appears character-identically in 12 files \u2014 libs/agno/agno/models/deepseek/deepseek.py, libs/agno/agno/models/groq/groq.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/ibm/watsonx.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":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efea26f913869fa88bac3c85391b1b89837abd91d5a56cb95c1e0fdfd887a02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.files is not None and len(message.files) \u003E 0\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/models/groq/groq.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/ibm/watsonx.py, libs/agno/agno/models/ollama/chat.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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64a4be61fbd8d8089903a3b711329892fd78e2333c59b5fb5188388d45280b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.images is not None and len(message.images) \u003E 0\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/models/deepseek/deepseek.py, libs/agno/agno/models/groq/groq.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/openai/chat.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":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"279fb5bb2243055594cafc2f2e6c7ec9e8983a6b90142ec166dc04659ac05b8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.role == \u0022assistant\u0022 and message.tool_calls\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/agents/claude/agent.py, libs/agno/agno/team/_session.py, libs/agno/agno/utils/agent.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8964004ccdd6be7889658efae5b61c0e57fcca161746b7aef7127000385cc1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.role == \u0022tool\u0022 and message.tool_call_id\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/models/cerebras/cerebras.py, libs/agno/agno/models/cerebras/cerebras_openai.py, libs/agno/agno/models/google/gemini_interactions.py, libs/agno/agno/team/_session.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":"libs/agno/agno/models/cerebras/cerebras.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08f3838389cda3362194ffcbdb4ca1f0b1232bcac1ec9943da8a188b4a57b85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.tool_calls is not None and len(message.tool_calls) \u003E 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/openai/responses.py, libs/agno/agno/utils/models/llama.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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2477492903361825b9f40687623e8dd7624cac777b10787a9a25fefac36f470"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.videos is not None and len(message.videos) \u003E 0\u0060 appears character-identically in 12 files \u2014 libs/agno/agno/models/deepseek/deepseek.py, libs/agno/agno/models/groq/groq.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/ibm/watsonx.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":"libs/agno/agno/models/deepseek/deepseek.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6be356195b44aadf21d29086aa3fb2bb83512772c58aa71bbdf8bf85d40bd72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metrics_record_key(record_id)[1] == \u0022monthly\u0022 and metrics_record_key(record_id)[0] \u003C current_month\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d69a76b7c7f42c53241d350eaef174b152e235f72d2c14b967297f499030d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metrics_record_key(record_id)[1] == \u0022monthly\u0022 and metrics_record_key(record_id)[0] in full_months\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c420643e85e945e70b06e1b9c3eeba02260c99a1cb01dbe48ecf35036e559714"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_id is not None and run.get(\u0022model_id\u0022) != model_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8ff8daea3cfcb5cca36aa4a15c112bdd71d935ee0f90aae25051d361704df8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_id is not None and run_data.get(\u0022model_id\u0022) != model_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ff1377361ddfd8dc8f41c6b58e1397c54d58e581d5c3e23b100f759623abc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.role == \u0022assistant\u0022 and msg.tool_calls\u0060 appears character-identically in 3 files \u2014 cookbook/02_agents/03_context_management/filter_tool_calls_from_history.py, libs/agno/agno/agents/base.py, libs/agno/agno/utils/message.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":"cookbook/02_agents/03_context_management/filter_tool_calls_from_history.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f3a164204db32ce9686515dc5daf569742fa0a4d666d68f700b3e9502e405a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mw in getattr(app, \u0022user_middleware\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/app.py, libs/agno/agno/os/auth.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":"libs/agno/agno/os/app.py"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed2fcde88240ff551cba77a79384de23316933f5b471eb8446c2e664fc43866"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060next_action and next_action.lower() != \u0022continue\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a128ed93f5c5196b696fb396a96e7d5b80a04e8c0945790f1176db7e2e5bae8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not allowed and method == \u0022GET\u0022 and not resource_id and resource_type and required_family == resource_type\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/middleware/jwt.py, libs/agno/agno/os/scopes.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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3bad7d6c3b57b664dcd598f177dcf5b9565b834b26bffa8ae4fe95f408f72a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not await self._metrics_calculated(await self._get_table(table_type=\u0022metrics_refreshes\u0022)) and await self._has_deprecated_metrics()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c64d71476c21b4ed819b4e75519693872d601dca28f3dd9b0792f731b07d32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not callable(aretrieve_fn) and not callable(retrieve_fn)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_default_tools.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb5027aac85849b85ff698887de57e42837ec285a0b1b6f95f2406f42b1df71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not force and index_state is not None and index_state[\u0022schema_version\u0022] == schema_version\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"598468205dc79e57644d324a670e82596f17c1b75f0aa967ea533e45db29d69a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not fork and run_response.status == RunStatus.completed\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3478}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcd160cf8e022a7a5345e90dbcc2ea2a53ddc24a0e6f0d9d026246779ab309b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(filter_dict, dict) or \u0022op\u0022 not in filter_dict\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/clickhouse/utils.py, libs/agno/agno/db/filter_converter.py, libs/agno/agno/db/valkey/utils.py, libs/agno/agno/filters.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":"libs/agno/agno/db/clickhouse/utils.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe627e62045dd5a2b34f50897e91e69fb9118b13a1ae8f5a2fcf3170bf83ff7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(reason, str) or not reason.strip()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/schemas/projects.py, libs/agno/agno/db/schemas/tasks.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":"libs/agno/agno/db/schemas/projects.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e3439dd4149c232df7ab66e2acfd39fa43af8a5cff4d0d7321758cc25c500e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(sandbox_id, str) or not sandbox_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/_storage.py, libs/agno/agno/registry/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":"libs/agno/agno/agents/_storage.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"01119a7bc8fbf7a59c3048bc7612c7a418e377210acdedf6cff09aa8e2c6a3ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(servers, dict) or server_name not in servers\u0060 appears character-identically in 3 files \u2014 libs/agnoctl/agnoctl/clients/base.py, libs/agnoctl/agnoctl/clients/claude_desktop.py, libs/agnoctl/agnoctl/clients/codex.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":"libs/agnoctl/agnoctl/clients/base.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7e905b1fd6a6017ea10a8ed2311dd144de3c5d66f1cbe84199c219dced7b07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(url, str) or not matches(url)\u0060 appears character-identically in 2 files \u2014 libs/agnoctl/agnoctl/clients/base.py, libs/agnoctl/agnoctl/clients/codex.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":"libs/agnoctl/agnoctl/clients/base.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"61579944c027083513c5939d3d3879f5641aa1ae738a6fc57f90149ec2b08559"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not json_mode and stdin_is_interactive()\u0060 appears character-identically in 2 files \u2014 libs/agnoctl/agnoctl/commands/connect.py, libs/agnoctl/agnoctl/commands/disconnect.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":"libs/agnoctl/agnoctl/commands/connect.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0946117f7f0a4e2941f5904481bd322da594a54d6821185ce61e2b7d15fc53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not metrics_calculation_enabled() or not self._metrics_calculated( self._get_collection(table_type=\u0022metrics_refreshes\u0022) )\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9086d0ee31146b1699c7074a8bb6f460d0205a914b2a4b848ccfe3f557aa44f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not metrics_calculation_enabled() or not self._metrics_calculated( self._get_table(table_type=\u0022metrics_refreshes\u0022) )\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/singlestore/singlestore.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3205}}}],"partialFingerprints":{"codehealthFindingId/v1":"163b6b3e57a5c7590a27165343a468f37ab4bdd8919d9abbc6982e19a4762877"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not metrics_calculation_enabled() or not self._metrics_calculated()\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edad68064bed9826fbbd38b46f8c7670a4a2e774e7b47b85c9a26b284cdec6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not output_path.exists() and not sidecar_path.exists()\u0060 appears character-identically in 2 files \u2014 cookbook/environments/_10_export_sft/empty_zone_guard.py, cookbook/environments/_11_export_provenance/inspect_sidecar.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":"cookbook/environments/_10_export_sft/empty_zone_guard.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9064b17026800fbb748d7b59e00b586110a41fd904fe07f8212ad9f772fe26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not owner.strip() or owner == INTERNAL_SCHEDULER_USER_ID\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/middleware/jwt.py, libs/agno/agno/os/middleware/user_scope.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":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c5ee309d77fd531a3a2c4de42cd8a66eede3ea55c320bccc853c8901863c4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not page or not isinstance(total, int) or scanned \u003E= total\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/agent.py, libs/agno/agno/team/team.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b4ce2eec8164125f753c9038917f6aa7d89267a43302eba203fcea868c563e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not refresh_rows or refresh_rows[0][\u0022locked_by\u0022] != worker_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0913540af53a4e70bea03e8ea8312910f3182705c161478988956d79f36feef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not relevant_docs or len(relevant_docs) == 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_default_tools.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c28b7d118722d60addf79cfcac49a32ac0f9aec6a8031df7c5508b2525d1518"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not response or \u0022results\u0022 not in response\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/knowledge/reader/tavily_reader.py, libs/agno/agno/tools/tavily.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":"libs/agno/agno/knowledge/reader/tavily_reader.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5694c1e54d2dec905e4fa54680b485ea4392a0e2cf57e317a31027dea2d605ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not run_ids or sessions_table is None or \u0022runs\u0022 not in sessions_table.c\u0060 appears character-identically in 7 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"596a48401550c1ae0fb806f9064ee035e1c4d4bb71ecb5b333ffd02acd75e9f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not run_response or not run_response.messages\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.py, libs/agno/agno/session/workflow.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"00303e1d47b7d03a012ac14024803f463fa07c22225f603a80919c8a8e8737f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self._metrics_calculated(self._get_table(table_type=\u0022metrics_refreshes\u0022)) and self._has_deprecated_metrics()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":4040}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec122518394cfa4328adde4d496247ac11ee36eba8bbde97b7d5a6cffd7f006"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not signature_header or not signature_header.startswith(\u0022sha256=\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/github/security.py, libs/agno/agno/os/interfaces/whatsapp/security.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":"libs/agno/agno/os/interfaces/github/security.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c037052f23f6e00cb8e2469ee2a28691cbbf23a74fc0941b65991d6acaa258b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not team.send_media_to_model and hasattr(member_agent, \u0022send_media_to_model\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/team/_default_tools.py, libs/agno/agno/team/_task_tools.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"01268257c8e6189cbc2a1eebf231b3943105714b118fc510304badbec5803b11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not user_id or not self._should_expose_tools\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/learn/stores/user_memory.py, libs/agno/agno/learn/stores/user_profile.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":"libs/agno/agno/learn/stores/user_memory.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d3e6cddf69a181145d418ab56aaaf46ed39f5125d097527e9a0538149d9857"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060num_calls and len(tool_calls) \u003E= num_calls\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"26166e4d1c2a970d2905b019b68fc4a78e1f22bc8da3bf9d87772566f1f030bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060out is None or len(out[\u0022messages\u0022]) \u003C 2 * len(TURNS)\u0060 appears character-identically in 3 files \u2014 cookbook/performance/comparison/durable_conversation_comparison.py, cookbook/performance/comparison/long_conversation_comparison.py, cookbook/performance/comparison/multi_turn_comparison.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":"cookbook/performance/comparison/durable_conversation_comparison.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7652fd704322779a56e18bc780c873bd3c29289181f1071fd234a37eab105e67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060output.content and len(output.content) \u003E 200\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/03_loop_execution/loop_basic.py, cookbook/04_workflows/06_advanced_concepts/early_stopping/early_stop_loop.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":"cookbook/04_workflows/03_loop_execution/loop_basic.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e448cab58e69bbeb1bd43805c8fee56c2669e01835008183480e9a3048c6ea4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent_span_id and s.get(\u0022parent_span_id\u0022) != parent_span_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee9ba22e0caa700c30384d56e3c2329efdbfd2619ddfe6367bf256b2f9aae2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent_span_id and span.get(\u0022parent_span_id\u0022) != parent_span_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3790}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09a3a46ab9831b70f43181b9b4b183500ab9560f66f213582cce11d9dc83304"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent_user_id is not None and components_table is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7637}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2f16c63ee9621a3ee339a23e23373f2edf0d4e6b86e02bd188993f02995b72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path in (\u0022/\u0022, \u0022/health\u0022) and method in (\u0022GET\u0022, \u0022HEAD\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/public/_middleware.py, libs/agno/agno/os/public/_policy.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":"libs/agno/agno/os/public/_middleware.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a1738909b07a650d683c9bb108c0d52b3e9a6c3e7bcba5832ae217d79f843"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paused_response and paused_response.is_paused\u0060 appears character-identically in 6 files \u2014 cookbook/04_workflows/08_human_in_the_loop/executor_hitl/02_agent_confirmation_stream.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/04_agent_confirmation_in_condition_step.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/05_agent_confirmation_in_loop_step.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/06_agent_confirmation_in_steps_container.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":"cookbook/04_workflows/08_human_in_the_loop/executor_hitl/02_agent_confirmation_stream.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc4e0065f7785a4deb5e3b2628f0e3e1916070f3e053a82d11f617232966993"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefix is not None and not object_summary.key.startswith(prefix)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/cloud/aws/s3/bucket.py, libs/agno_infra/agno/aws/resource/s3/bucket.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":"libs/agno/agno/cloud/aws/s3/bucket.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbdab7804d129b415d13b77569ac0c911fb748f14749f281bf5620ecae11342"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060product_id is not None and fields.get(\u0022project_id\u0022) is not None\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":8257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c94888d42f1c8c74d9e2674592716a98b3009b2853832759e1cb55c031dedf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prompt_details.get(\u0022cached_tokens\u0022, 0) or 0\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/models/azure/ai_foundry.py, libs/agno/agno/models/litellm/chat.py, libs/agno/agno/models/mistral/mistral.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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2beb6f96d681a144b8f0c2eb929b89774b535500765f55fe2b196208e40991"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060published_config is None and version is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6992}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a064d45f24e9f215d03ec6f2c4889830fbc0d13ded98a8fdf1bc52658f5922"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060published_only and version is None and label is None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/agent/agent.py, libs/agno/agno/agents/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6eba2b1742eea77970b2ab2b7ee343c82f9ba2a475802d4e21ccd0a047954f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r in getattr(session, \u0022runs\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18311e4d0640ec6d9589596f026b82fb03b789586210742b78992af60855f16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.group is None and self.name is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resources.py, libs/agno_infra/agno/docker/resources.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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97404d8cf9d015e37548f2e3161253581b0a34f75412181e750e447df46e2de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.requires_output_review and r.confirmed is None and not r.requires_executor_input\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a546161896513a07ab0d4dda7ab5b2fc033fb1ba93dc80c7c95449087853ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060read_scope not in self.scopes and write_scope not in self.scopes\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/google/calendar.py, libs/agno/agno/tools/google/gmail.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":"libs/agno/agno/tools/google/calendar.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75ff9d952d9a7fe05b67f108d40f658b032ce6a797a5c6e647d1e5bebe55cf6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rebuild_from is not None and data_date \u003E= rebuild_from\u0060 appears character-identically in 15 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36a030bc1e3bed9161fd0ef40bd6be052cec9e7a1b95fe45a510deaaf37e5cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rebuild_from is not None and day \u003E= rebuild_from\u0060 appears character-identically in 16 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f31db98dd77699dcf7c1b15c85a6c2e074f690257473ff9187fdd98b9cc18c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record is not None and record.summary and record.first_kept_message_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/compaction/_view.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f243b9cceb77ca1f59b32191af9b252d4393f819dd701b87aa779d9029a35a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060refresh_row is not None and refresh_row[\u0022finished_at\u0022] is not None\u0060 appears character-identically in 16 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e0a4d2aace02aef69caa8d859e710ac8b5aa556ef9eccd477b9861a01f5bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060regenerate and original_run_id_for_lineage\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca0e11d596998908a211965c6c5ec7c154d1787672b3a7198d30a642a3e63fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060release_schedule and schedule_id is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/routines.py, libs/agno/agno/scheduler/executor.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c1add250d7d3aab99bba1b9d4f78a7018a1dffccd7afc8fc1761f26f10da28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remote_content.file_path or remote_content.folder_path or \u0022\u0022\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/knowledge.py, libs/agno/agno/knowledge/loaders/github.py, libs/agno/agno/knowledge/loaders/sharepoint.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":"libs/agno/agno/knowledge/knowledge.py"},"region":{"startLine":4155}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f17ea34cb76ccd8229965b8966b2bc45ed5f10e3fcbd7ca1d4d025fcbce3a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060replace_original is not False and run_response.forked_from_run_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c79ee791b2b2fb6ec09fe12dae69e1e94f90d4730b2a2d38eeb2f89b1b3197"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060replace_original is not None and not regenerate\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48023c0bcc789d880cbf3f03d64e17ceb25aaddbb0c34778873b0ed0439a5ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req in run_output.step_requirements or []\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/09_executor_continued_event.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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"90da4670c7425cfe8b2b6c266de208b8c318c7cebf656fa4f6a325fd682ab44e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.requires_confirmation and not req.requires_executor_input\u0060 appears character-identically in 4 files \u2014 cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/03_condition_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/06_loop_confirmation_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/07_router_confirmation_and_tool_confirmation.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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f51cfea99a8704673d241753c1c123c29f53be2b0ceef8623b175a17277907"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.requires_user_input and not req.requires_executor_input\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.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":"cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/02_step_user_input_and_tool_confirmation.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"408fa51a8582c77150538123514053e160f2db6366efcfce24ec64a8bfb5d420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.tool_execution and req.tool_execution.tool_call_id in valid_tool_call_ids\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceb8512e21b285cf23921d54d83f5d1fc27aff030d1cb5ef736f8a3d1d1fb7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060require_no_dependents and result.rowcount \u003E 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6094}}}],"partialFingerprints":{"codehealthFindingId/v1":"0249869559f831d7cf1cf059a907f6f87b704ff30860d1feb7e34f3cbfc40d82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource_list is not None and isinstance(resource_list, list)\u0060 appears character-identically in 7 files \u2014 libs/agno_infra/agno/aws/resource/ec2/security_group.py, libs/agno_infra/agno/aws/resource/ecs/cluster.py, libs/agno_infra/agno/aws/resource/ecs/service.py, libs/agno_infra/agno/aws/resource/elasticache/cluster.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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82c57aabeed5052c64e41df7bdb4f896af21e1cf49a1a2bbb9deb4ebcb8e8c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resources_list is not None and isinstance(resources_list, list)\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f4eb674048f6f87ad75bda5d22e752dc47199ab72b45e45538eae72a5e838a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.images and response.images[0].content\u0060 appears character-identically in 2 files \u2014 cookbook/90_models/openai/responses/image_generation_agent.py, cookbook/91_tools/nano_banana_tools.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":"cookbook/90_models/openai/responses/image_generation_agent.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1402bf03f60e116b351ae5cff742c34455985a4392fccdab9181a518e4007e99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.is_paused and response.step_requirements\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/executor_hitl/01_agent_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/03_team_in_step.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":"cookbook/04_workflows/08_human_in_the_loop/executor_hitl/01_agent_confirmation.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0fd3d92d792d57ab8b4b9b3560db17a9f7bf500521c39fc8cbb5c37e3d8408"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response_delta.choices and len(response_delta.choices) \u003E 0\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/models/azure/ai_foundry.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/openai/chat.py, libs/agno/agno/models/openrouter/openrouter.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":"libs/agno/agno/models/azure/ai_foundry.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cff6947ace7038273d21c1fceaffc4130dd2dd1892245e70dfebb87f185d7fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response_format is not None and isinstance(response_format, type) and issubclass(response_format, BaseModel)\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/models/anthropic/claude.py, libs/agno/agno/models/google/gemini.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/ibm/watsonx.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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0d77702249bebb8b6afb4bee272932114759e8f4cdcd7bf87b5b19eea16ed1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response_message.tool_calls is not None and len(response_message.tool_calls) \u003E 0\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/models/groq/groq.py, libs/agno/agno/models/huggingface/huggingface.py, libs/agno/agno/models/meta/llama.py, libs/agno/agno/models/openai/chat.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":"libs/agno/agno/models/groq/groq.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dc9f415b3e82eec0f3ef2f5c3e04f46b08835662aae73890e0e26796291f7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response_usage.get(\u0022completion_tokens\u0022) or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/ibm/watsonx.py, libs/agno/agno/models/litellm/chat.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":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f32dce610fc3355ff278fa3c0e2ed8eead1cd84e019594f3c392f39839b27a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response_usage.get(\u0022prompt_tokens\u0022) or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/ibm/watsonx.py, libs/agno/agno/models/litellm/chat.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":"libs/agno/agno/models/ibm/watsonx.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ce429d55560f0dde21923849664667099972555ae7c1aaceec3e56a3db74ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result and result.status in (RunStatus.completed, RunStatus.error)\u0060 appears character-identically in 3 files \u2014 cookbook/02_agents/14_advanced/background_execution_metrics.py, cookbook/02_agents/14_advanced/background_execution_structured.py, cookbook/03_teams/14_run_control/background_execution_metrics.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":"cookbook/02_agents/14_advanced/background_execution_metrics.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c29ce7269790ca485cd3489300b0e2d42c6436bc3bb0ce40a7529a85fcd43e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result is None or len(history) \u003C 2 * len(TURNS)\u0060 appears character-identically in 2 files \u2014 cookbook/performance/comparison/long_conversation_comparison.py, cookbook/performance/comparison/multi_turn_comparison.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":"cookbook/performance/comparison/long_conversation_comparison.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"162c9f7f27a6d7545a8ca5ed694e58c63b911799e576c8cf952f6f89dbde292e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result is None or result.status != RunStatus.completed\u0060 appears character-identically in 2 files \u2014 cookbook/02_agents/14_advanced/background_execution_metrics.py, cookbook/03_teams/14_run_control/background_execution_metrics.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":"cookbook/02_agents/14_advanced/background_execution_metrics.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e25c7ea5b35f7e11da8c965078f01e8d9c2edf6e51c646108470638c97340e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result is not None and result.avg_score \u003E= 8\u0060 appears character-identically in 6 files \u2014 cookbook/09_evals/accuracy/accuracy_9_11_bigger_or_9_99.py, cookbook/09_evals/accuracy/accuracy_basic.py, cookbook/09_evals/accuracy/accuracy_team.py, cookbook/09_evals/accuracy/accuracy_with_tools.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":"cookbook/09_evals/accuracy/accuracy_9_11_bigger_or_9_99.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fcd6ea54dba277c8f3f8d7522a5d5a3511174401e070aaa9a8f538b397887e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result is not None and result.status == RunStatus.cancelled\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/background_cancel.py, cookbook/frameworks/codex/background_cancel.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":"cookbook/frameworks/claude-agent-sdk/background_cancel.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3758b2b6722fb13b8fa1f5b56a4ddfeaed685fccc74c5b66935895cd5dd5f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.metrics and result.metrics.details\u0060 appears character-identically in 2 files \u2014 cookbook/02_agents/14_advanced/background_execution_metrics.py, cookbook/03_teams/14_run_control/background_execution_metrics.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":"cookbook/02_agents/14_advanced/background_execution_metrics.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c02b9e550cc59842e5224f5483bbdc3ff6b89de8a6beb3f37719c701ce5d7a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.modified_count \u003E 0 or result.matched_count \u003E 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800ea6d5dcca87c639bf940c95926169b5db46ff3fdfcf86f488856a42ddb50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.rowcount == 0 and expected_current_version is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6052}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ebb7192f46b3bddb4d3253653ec7153aee67950300383821d7850fc8e8334b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.rowcount \u003E 0 and schedules_table is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6110}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e42c3f13c95618715b6090d6fe41ba5ada82943faffed2987b8c15fc0cd8d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role_store is not None and getattr(role_store, \u0022roles_decide\u0022, False)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/middleware/jwt.py, libs/agno/agno/os/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f05eebbd091e6606c3dfc266cc60a94d8f96963c78b5a05f91b892c0d8a0a66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row is None or row[0] is None or not run_matches(dict(row[0]), row[1], expected)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"711ac2c9adbdfa9b8d158dd233ad53b3c9f8ace2890f70bc35c46c2cbdbcedc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row._mapping[\u0022session_id\u0022] in reopen_session_ids and (row._mapping[\u0022session_id\u0022], owner_key(row._mapping[\u0022user_id\u0022]))\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"2459746ae9ddd33aea9eb898eeaf69eab557cf41fee5053d6aedf9e2a17714c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.current_version is not None and links_table is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6194}}}],"partialFingerprints":{"codehealthFindingId/v1":"47677596910eabd29d739b5aad332d902bda88b63cdce34e4ed396a1ef362786"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row[\u0022aggregation_period\u0022] == \u0022monthly\u0022 and row[\u0022user_id\u0022] == \u0022\u0022 and row[\u0022completed\u0022] and row[\u0022date\u0022] in full_months\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba7d59ccd58db33317d33370e134e469ab56a685e02c0de0fbe5e7e1207370"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row[\u0022user_id\u0022] == \u0022\u0022 and starting_date \u003C= row[\u0022date\u0022] \u003C= ending_date\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"17294b56c749879afa686e6048d04d4c39bcc55a940c858d802d86d3dda729e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row_id is None or row_id in seen_component_ids\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/agent.py, libs/agno/agno/team/team.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca96bd1ae1fa8802ccd800b90b7319fd56495fe1e2049ff55706fb9958279a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rows_changed and month_start not in month_starts\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99a53ff44ac3eac753f53a91271c4f86cea7360cc1eb38293813c500362e802"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rows_changed and read_version is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"55786cbdec36961f6739eed7b85bb7969452558cae9a86c0647e864712b429d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run in getattr(session, \u0022runs\u0022, None) or []\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agents/base.py, libs/agno/agno/os/routers/media/media.py, libs/agno/agno/utils/media_offload.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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a2384de90905066917ab191171efff8e0d4f53bef130d79bc661f358df795c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run is not None and run.compaction is not None\u0060 appears character-identically in 4 files \u2014 cookbook/02_agents/03_context_management/compaction/compaction_anthropic.py, cookbook/02_agents/03_context_management/compaction/compaction_anthropic_thinking.py, cookbook/02_agents/03_context_management/compaction/compaction_tail_budget.py, cookbook/02_agents/03_context_management/compaction/compaction_with_tools.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":"cookbook/02_agents/03_context_management/compaction/compaction_anthropic.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d94dbced6e04eb14b7b00721698caa011422f640dfeae4fce9c4496df0b19b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status == RunStatus.completed and outage[\u0022attempts\u0022] == 2\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/claude_retries.py, cookbook/frameworks/codex/codex_retries.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":"cookbook/frameworks/claude-agent-sdk/claude_retries.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"183e03141e4dc94d2cb37cca59d1c00aef599e6e4e8dafb9d7200480a2e89a82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status == RunStatus.completed and run.metrics is not None\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/metrics.py, cookbook/frameworks/codex/codex_metrics.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":"cookbook/frameworks/claude-agent-sdk/metrics.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"123584f6d01e2825d1252cffd4b35e36c00b4d6ef0f27015a4fa778b9c97d0b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status == RunStatus.error and outage[\u0022attempts\u0022] == 1\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/claude_retries.py, cookbook/frameworks/codex/codex_retries.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":"cookbook/frameworks/claude-agent-sdk/claude_retries.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7c6de0269d864a004c1520f623b9f96c7620b003d9ecb9749d488289a1fcc0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status == RunStatus.error and outage[\u0022attempts\u0022] == 3\u0060 appears character-identically in 2 files \u2014 cookbook/frameworks/claude-agent-sdk/claude_retries.py, cookbook/frameworks/codex/codex_retries.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":"cookbook/frameworks/claude-agent-sdk/claude_retries.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f53a788c11242acd128050e38bbd51db0362dbcfb1c2aa4b4e93a8b3561617"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run.status == RunStatus.running and run.tools\u0060 appears character-identically in 2 files \u2014 cookbook/02_agents/18_checkpointing/01_crash_recovery.py, cookbook/03_teams/23_checkpointing/01_crash_recovery.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":"cookbook/02_agents/18_checkpointing/01_crash_recovery.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b202023dc5b900d7adb04566bb222529d79410fadf2f232c83996ca52377b628"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run[\u0022status\u0022] != \u0022COMPLETED\u0022 or \u0022acme\u0022 not in run[\u0022content\u0022].lower()\u0060 appears character-identically in 2 files \u2014 cookbook/05_agent_os/21_factories/05_team_factory.py, cookbook/05_agent_os/21_factories/06_workflow_factory.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":"cookbook/05_agent_os/21_factories/05_team_factory.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ad5456233cf543499c3d516decf57898116b4e5de13a43bd6f47e438cfa18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_context is None and session_state is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/workflow/parallel.py, libs/agno/agno/workflow/step.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":"libs/agno/agno/workflow/parallel.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d610b33d4619132d72b364e441b5f2147cdd61e90ad4818b1bb0393fc6e146f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_context is not None and run_context.session_state is not None\u0060 appears character-identically in 6 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.py, libs/agno/agno/workflow/condition.py, libs/agno/agno/workflow/parallel.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5992}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd839f851c1cf5cf9690a13e09a0b728295530e1295efef99eba15b3f93099eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_context or RunContext( run_id=run_id, session_id=session_id, user_id=user_id, session_state=session_state, dependencies=opts.dependencie\u2026\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c555631b7eb5eba8ecc90918eb4b046ef9d63f9863a2bfef46694a228422de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_data.get(\u0022forked_from_message_index\u0022) or 0\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/dynamo/utils.py, libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/utils.py, libs/agno/agno/db/valkey/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"476fbf243c04a2d98ac409dac486ea2b844e7ca3a2fc83480f36e89a59e3cfa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_id and trace.get(\u0022run_id\u0022) != run_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3549}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e80f620f2a888da14ffef1f0e53e462317476380b46c4b724f3930f90c7930"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_id is None and \u0027\u0022run_id\u0022\u0027 in sse_chunk\u0060 appears character-identically in 2 files \u2014 cookbook/02_agents/14_advanced/background_streaming_resume.py, cookbook/02_agents/14_advanced/redis_event_stream_resume.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":"cookbook/02_agents/14_advanced/background_streaming_resume.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a10607f8fd09f82fadc41d63c92034e5a87216ec3f30bae52a1229352685dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_id is None and hasattr(event, \u0022run_id\u0022) and event.run_id\u0060 appears character-identically in 3 files \u2014 cookbook/02_agents/14_advanced/agent_run_cancel_persistence.py, cookbook/03_teams/14_run_control/cancel_run_persistence.py, cookbook/03_teams/14_run_control/team_cancel_while_member_runs.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":"cookbook/02_agents/14_advanced/agent_run_cancel_persistence.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bf708180e6cd85f7fdc65e555a2dc321e1577e3cc5b1a98fd1a35d5a7b5141"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_metrics is not None and response.metrics is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/eval/accuracy.py, libs/agno/agno/eval/agent_as_judge.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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6668f4aa9b24f95de7d1dafaa9709464cd7926509069b19d341aeb2d4a76bd3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response and isinstance(run_response, RunOutput) and run_response.images\u0060 appears character-identically in 5 files \u2014 cookbook/90_models/google/gemini/image_editing.py, cookbook/90_models/google/gemini/image_generation.py, cookbook/90_models/openai/chat/generate_images.py, cookbook/90_models/openrouter/chat/image_generation.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":"cookbook/90_models/google/gemini/image_editing.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9fcaafe4716ec070e7d2ec9bd9114b4a734e9e3eb919a4794aeb3ce5c3c2d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response.forked_from_message_index is not None and run_response.forked_from_message_index \u003E message_index\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"417150477bb058e1a22b5edd0157470278a27435e2483399a3a5cddd5f90f96b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response.input is not None and run_response.input.input_content != input\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/utils/print_response/agent.py, libs/agno/agno/utils/print_response/team.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":"libs/agno/agno/utils/print_response/agent.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61498b82ace88c1d8696cde8fd0dc4df97f080c18577decab324b497ade8c88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response.messages is None and run_messages is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5954}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13c2b2699e71edf9cf4d2eb0d55b0d0b341b7a183d16c01a5527d1784ebc833"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response.messages is None or message_index \u003C 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"08310e7059adae60e0625da57ad521c20b6ca8a89e15eccc9e99dc2b258eaa06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response.run_id and is_worker_managed(run_response.run_id)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acd0e4b3ce4324cd17ceabee7da3684dfa504762f1ca76d5ed5afda29a554fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_response.status is not None and run_response.run_id is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":6173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7294f5002ad6c92d78f09dc83f8596d868a3108feded9f3354a8df06764dfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_row is not None and getattr(run_row, \u0022status\u0022, None) == RunStatus.paused\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77797f7b3d96a67327c8f21841caaede587059956a40d154d67db6a8c8f7aa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runs_collection is not None and runs_limit is not None and not legacy_runs\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"532393f5363e19726d2db06b5c2b94346ab31eec50353ab44b5a8b44441f7bff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runs_collection is not None and sessions_raw\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f7c828704f0180678c7d1aab3149a529f1062ed72d5793e49751202d0ff31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060runs_table is not None and runs_limit is not None and not legacy_runs\u0060 appears character-identically in 7 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"6503c79fbddb090caf6798214ec5c5f72f06840bc7af6a6a98a26ea83bf28529"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.get(\u0022agent_id\u0022) == component_id or s.get(\u0022team_id\u0022) == component_id or s.get(\u0022workflow_id\u0022) == component_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bc787f23a7b6782cbd541cecee41902252dbf2f5173a4b0d2f6c95daea83ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sandbox_table or default_sandbox_table_name(self.session_table_name)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c5493198caaa1aaf92553fffdedaff3e33d396b8fd52c14c811a38ee9664f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060save_downloads or (output_directory is not None)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/slack.py, libs/agno/agno/tools/telegram.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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1461ba6562d963f9043ae3d2c34befa7bfe94f61a7a807cf2a74c5bbdc146"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sched.locked_at is not None and \u0022locked_at\u0022 in parameters\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/routines.py, libs/agno/agno/scheduler/executor.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb07c84022b10b37e57453cd38b4181af7760ea48c709470e43c0af122873c71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sched.locked_by is not None and \u0022worker_id\u0022 in parameters\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/company/routines.py, libs/agno/agno/scheduler/executor.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":"libs/agno/agno/company/routines.py"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f90b94b9845d8bb679b16ff6de0117f463141989b5b9162356675d8d4a30c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scoped_user_id is not None and owner != scoped_user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/a2a/task_store.py, libs/agno/agno/os/routers/components/components.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":"libs/agno/agno/os/interfaces/a2a/task_store.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f56596f5b92a8aed975cc033d98038eb94bb698ebd9c9290756fb98632d98a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scoped_user_id or getattr(request.state, \u0022user_id\u0022, None)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/components/components.py, libs/agno/agno/os/routers/filesystem/router.py, libs/agno/agno/os/routers/schedules/router.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":"libs/agno/agno/os/routers/components/components.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cef34367365309755036c0f332006d71828e8ec3f418db5ed387de81a29e45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._learning is None and not self._learning_init_attempted and self.learning is not None and self.learning is not False\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/agent.py, libs/agno/agno/team/team.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0686ae3c9c41a8cd03e8c4bd6082e22df08268b90e74e817543d54deabc8b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._result_store is None and self.offload_tool_results\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/agent.py, libs/agno/agno/team/team.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45a232fd32d21c571d416220151320b0ebc2d7bafff511d3e1732a0f6f9bfc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.agent is None and self.team is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/eval/accuracy.py, libs/agno/agno/eval/suite.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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca66a93408f90ebc86f79c4d426d73b8f97bdddd33bf29aa5809af5d330ea9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.agent is not None and self.team is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/eval/accuracy.py, libs/agno/agno/eval/suite.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":"libs/agno/agno/eval/accuracy.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1135575a9c93d7f23d365fc45e3d3301fd9ddae8a6476c5d73effaf98ff656"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.agent or self.team or self.workflow\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/interfaces/slack/slack.py, libs/agno/agno/os/interfaces/telegram/telegram.py, libs/agno/agno/os/interfaces/whatsapp/whatsapp.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":"libs/agno/agno/os/interfaces/slack/slack.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"436c44afdfcafcd7f0b6876e08783b92e51bb7f5e5b3c6da3bfff0d72552054f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.api_key or getenv(\u0022GOOGLE_API_KEY\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/embedder/google.py, libs/agno/agno/models/google/gemini.py, libs/agno/agno/models/google/gemini_interactions.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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72c3aa9723b4e79ae64417da01a662fca490ff16d31e21a8ad72f724ea4dbd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.api_key or self.azure_ad_token or self.azure_ad_token_provider\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/azure/openai_chat.py, libs/agno/agno/models/azure/openai_responses.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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"945c6632413cb8c400b9de79a62ccf0d35c35f5ca1f599917203de750e5cf574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.append_trailing_user_message and formatted_messages and formatted_messages[-1][\u0022role\u0022] == \u0022assistant\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/aws/bedrock.py, libs/agno/agno/models/litellm/chat.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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97bf3fb5e93128d76153367d4ee744c8566f802f5f9393d0ca63098b6e83f78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.async_client and not self.async_client.is_closed()\u0060 appears character-identically in 9 files \u2014 libs/agno/agno/models/anthropic/claude.py, libs/agno/agno/models/azure/claude.py, libs/agno/agno/models/azure/openai_chat.py, libs/agno/agno/models/cerebras/cerebras.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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"829f991a7c4ff396be28b1cf9698c4184f52a5f615fd7557e90ec2471350907a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.async_client is not None and not self.async_client.is_closed()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/azure/openai_responses.py, libs/agno/agno/models/openai/chat.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":"libs/agno/agno/models/azure/openai_responses.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"31748cc4047777cb1c5de4ccf6848158386eb1e8cc22afca696069a60f15bfe6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.aws_access_key_id and self.aws_secret_access_key\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/embedder/aws_bedrock.py, libs/agno/agno/knowledge/remote_content/s3.py, libs/agno/agno/models/aws/bedrock.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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1798e91803251e5cd664afc43abb0ab5dc8d1d88f60ef5d221290e7757a846"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.aws_access_key_id or getenv(\u0022AWS_ACCESS_KEY_ID\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/embedder/aws_bedrock.py, libs/agno/agno/knowledge/reranker/aws_bedrock.py, libs/agno/agno/models/aws/bedrock.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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d691c831d7a1767897bbdeee34cba380d31181f6aa9442c29a50b9d5118d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.aws_region or self.session.region_name\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/aws/bedrock.py, libs/agno/agno/models/aws/claude.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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2212822664480f3e0efe0142294f6b5eae90e7b108b0866600f6dcaa3edeedec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.aws_secret_access_key or getenv(\u0022AWS_SECRET_ACCESS_KEY\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/embedder/aws_bedrock.py, libs/agno/agno/knowledge/reranker/aws_bedrock.py, libs/agno/agno/models/aws/bedrock.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":"libs/agno/agno/knowledge/embedder/aws_bedrock.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba30549acf64ecf1ee3b6efcb6db734ca73f75256da2649e6dc9751435972809"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.aws_session_token or getenv(\u0022AWS_SESSION_TOKEN\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/aws/bedrock.py, libs/agno/agno/models/aws/claude.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":"libs/agno/agno/models/aws/bedrock.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72df08de6c5ff8954a0e681799b886a3085aa557c3160f500cd2a5ea5726262"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.azure_endpoint or getenv(\u0022AZURE_OPENAI_ENDPOINT\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/azure/openai_chat.py, libs/agno/agno/models/azure/openai_responses.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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad1d48d020505a1ed4e543024f9669abd53ae106702109fc22de1ebb669ff51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.client and not self.client.is_closed()\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/models/anthropic/claude.py, libs/agno/agno/models/azure/claude.py, libs/agno/agno/models/cerebras/cerebras.py, libs/agno/agno/models/groq/groq.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":"libs/agno/agno/models/anthropic/claude.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a20f9d3e0645d461887797a4eb7d3d2cc6d6dbbc30f682568e7797fdfe11fa5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.client is not None and not self.client.is_closed()\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/models/azure/openai_chat.py, libs/agno/agno/models/azure/openai_responses.py, libs/agno/agno/models/openai/chat.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":"libs/agno/agno/models/azure/openai_chat.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef77ba549b2f4670b2ac28838767befcb0d7d513dcdd014d37b923335ba0162d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.config.mode == LearningMode.AGENTIC or self.config.enable_agent_tools\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/learn/stores/decision_log.py, libs/agno/agno/learn/stores/user_memory.py, libs/agno/agno/learn/stores/user_profile.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":"libs/agno/agno/learn/stores/decision_log.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e62056d9c7b7eeac120c58042fd7d659920768c6c5a43bad4173f022bee0cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.content and isinstance(self.content, BaseModel)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/run/agent.py, libs/agno/agno/run/team.py, libs/agno/agno/run/workflow.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":"libs/agno/agno/run/agent.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a282f7751ee6d5954b25595895afdc11f1db9315169f6c8748b91193ecaa60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.db is not None and isinstance(self.db, BaseDb)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/base.py, libs/agno/agno/os/app.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":"libs/agno/agno/agents/base.py"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c0a83f0937aa74f996a39aa5a8015cae062be77e62556e7415d9427a74fabd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.debug_mode or getenv(\u0022AGNO_DEBUG\u0022, \u0022false\u0022).lower() == \u0022true\u0022\u0060 appears character-identically in 9 files \u2014 libs/agno/agno/learn/machine.py, libs/agno/agno/learn/stores/decision_log.py, libs/agno/agno/learn/stores/entity_memory.py, libs/agno/agno/learn/stores/learned_knowledge.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":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf66aa281f6897140d96ac0861135f56f2889ffce564bca74cfb47d0588b50a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.description or f\u0022Created for {self.name}\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py, libs/agno_infra/agno/aws/resource/rds/db_subnet_group.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":"libs/agno_infra/agno/aws/resource/elasticache/subnet_group.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3243ad8833fe6006a59f64c41baf2d7550fd5e1d9a46c54d91605c272e52f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.embedder.enable_batch and hasattr(self.embedder, \u0022async_get_embeddings_batch_and_usage\u0022)\u0060 appears character-identically in 14 files \u2014 libs/agno/agno/vectordb/cassandra/cassandra.py, libs/agno/agno/vectordb/chroma/chromadb.py, libs/agno/agno/vectordb/clickhouse/clickhousedb.py, libs/agno/agno/vectordb/couchbase/couchbase.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":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b9ef0be85362127cfb63feff6c73213f3f4537d7cdeb3b748fb2b8e2f393bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.env_vars is not None and isinstance(self.env_vars, dict)\u0060 appears character-identically in 3 files \u2014 libs/agno_infra/agno/aws/app/base.py, libs/agno_infra/agno/docker/app/base.py, libs/agno_infra/agno/docker/app/postgres/postgres.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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7455502a934f395308f1e618a841e17b90b2ae741c9892673fc61d07449fd252"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.get_latest_schema_version(self.session_table_name) or \u00222.0.0\u0022\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea1d43bb339260b81dc2377f98dc42d6c1151aab236033a604f5ed41185125a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.http_client and isinstance(self.http_client, httpx.AsyncClient)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/models/openai/responses.py, libs/agno/agno/models/xai/responses.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":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0dd0275566d9d95472ac0259533d184ca6466996b0c2c371307c940aa38298"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.infra_settings is not None and not self.infra_settings.continue_on_create_failure\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resources.py, libs/agno_infra/agno/docker/resources.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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1707f49ab0342594bf4651f208847f76b959a890fd9e20a2b5540ca2c9576f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.infra_settings is not None and not self.infra_settings.continue_on_delete_failure\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resources.py, libs/agno_infra/agno/docker/resources.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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9294be9fa2ff222c9099db528fd1b25e0a29bbf3ae70e6160a8477c98811b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.infra_settings is not None and not self.infra_settings.continue_on_patch_failure\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resources.py, libs/agno_infra/agno/docker/resources.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":"libs/agno_infra/agno/aws/resources.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09a729c463824302d8beafdfcb2d6713d35418390dc705337433e816b3c5bbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.infra_settings is not None and self.infra_settings.aws_profile is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/base.py, libs/agno_infra/agno/aws/resources.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":"libs/agno_infra/agno/aws/resource/base.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"931c88b6efcadccf9226a58f32ec364c181dce7a2e1b2509693dddae78554e87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.infra_settings is not None and self.infra_settings.aws_region is not None\u0060 appears character-identically in 3 files \u2014 libs/agno_infra/agno/aws/app/base.py, libs/agno_infra/agno/aws/resource/base.py, libs/agno_infra/agno/aws/resources.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":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c62dbd37671b38117bf9b23b5dc8aabc9c472df2d1a90b5e8692cffc01123af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.location or getenv(\u0022GOOGLE_CLOUD_LOCATION\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/embedder/google.py, libs/agno/agno/models/google/gemini.py, libs/agno/agno/tools/models/gemini.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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4fe93cbec2d53f3de35007bfa171f663d876f51ff0e622d2a9b7e70d647352"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.project_id or getenv(\u0022GOOGLE_CLOUD_PROJECT\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/knowledge/embedder/google.py, libs/agno/agno/models/google/gemini.py, libs/agno/agno/tools/models/gemini.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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3492c15758a5eb9e8d1484eb06b24bf5242fd007d23c161981abc5cb086a17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.reasoning is None and self.reasoning_effort is None and self.reasoning_summary is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/models/openrouter/responses.py, libs/agno/agno/models/ramp/router.py, libs/agno/agno/models/xai/responses.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":"libs/agno/agno/models/openrouter/responses.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a416f50fb5c8ad1fb5cf818120f83c233815a984cecdecfd33784d407a1a6911"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.save_downloads and self.output_directory\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/slack.py, libs/agno/agno/tools/telegram.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":"libs/agno/agno/tools/slack.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48d3f766030ff8cb64bf67415f83cf7d783ca1a7d4a1dc88dd5cb0f8a12b22b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.use_cache and self.active_resource is not None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/cloud/aws/base.py, libs/agno_infra/agno/aws/resource/base.py, libs/agno_infra/agno/docker/resource/base.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":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41f1cd5691f82eaafde40aeaf8386cfbdb879ee2c003cbeb8e0ed3b99cbff2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.use_cache and self.is_active(client)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/cloud/aws/base.py, libs/agno_infra/agno/aws/resource/base.py, libs/agno_infra/agno/docker/resource/base.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":"libs/agno/agno/cloud/aws/base.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"58850de5bf682a11438da7970ffcb876ad18ea05c466bb057c51a79aca4f837f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.use_cache and self.is_active(docker_client=docker_client)\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/docker/resource/container.py, libs/agno_infra/agno/docker/resource/image.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":"libs/agno_infra/agno/docker/resource/container.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f044676f4c3e8e99430cffeae6debab2b0e96d91f5600de371d91083b9ce42f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.vertexai or getenv(\u0022GOOGLE_GENAI_USE_VERTEXAI\u0022, \u0022false\u0022).lower() == \u0022true\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/knowledge/embedder/google.py, libs/agno/agno/models/google/gemini.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":"libs/agno/agno/knowledge/embedder/google.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2afcc22ca444c980e9d04404cf4851f9d7b682ab26768f173cd3ad2ddfd2d96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060service_account_path or getenv(\u0022GOOGLE_SERVICE_ACCOUNT_FILE\u0022)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/context/calendar/provider.py, libs/agno/agno/context/gdrive/provider.py, libs/agno/agno/context/gmail/provider.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":"libs/agno/agno/context/calendar/provider.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d430cb97fa6b3b54f7118450e01b12928a6b2045f213025919dac9d1fed3a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sess.execute(select(func.count()).select_from(stmt.subquery())).scalar() or 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":10430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2f75ecc977ae8ed335f04929f1d445722d256f5fd5b875b06a16664ed9e0ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session is None or not isinstance(session, AgentSession)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/agents/base.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"118a7e0300eb77c5ee78865d69ba15306fcf63838b8acf64841503a7943422d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session is None or session.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b942a006e7c518f9ba269aa1691d5fafec84c9e5123c242c825426374184fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session is not None and session.session_data\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/claude/agent.py, libs/agno/agno/agents/codex/agent.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":"libs/agno/agno/agents/claude/agent.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"770b21a9263490d38fffcbfb85af11459e87efcee7489b3e981f97efac219916"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.session_data is not None and \u0022session_state\u0022 in session.session_data\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":4087}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f22f0751dddcd94b59f9d80f9fdb9bda3f6174487596c1118a2fb520ba3d570"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.session_data is not None and \u0022session_state\u0022 not in session.session_data\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/utils/agent.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/utils/agent.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ccbd071d71d5576f074a44a3a0ac33fef5bf8c9531cad2ee0ea01b1db57f88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.session_data is not None and isinstance(session.session_data.get(\u0022session_state\u0022), dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_session.py, libs/agno/agno/team/_session.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":"libs/agno/agno/agent/_session.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e38cfa3c6d8f27c7bb25e41c74090e81437908d92a5bab8379f996867b1840"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_data.get(\u0022agent_id\u0022) != component_id and session_data.get(\u0022team_id\u0022) != component_id and session_data.get(\u0022workflow_id\u0022) != componen\u2026\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce651e9cd510d7d33d3bd694da8f7bad043b097ebf6f4a5d470a52c541a686cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_dict.get(\u0022created_at\u0022) or int(time.time())\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/sqlite/async_sqlite.py, libs/agno/agno/db/sqlite/sqlite.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f72c0259afb62694bf14838549d7e9ef568e2393356c7bade6db7d4e4cb932"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_domain[\u0022db_id\u0022] != DB_ID or memory_domain[\u0022db_id\u0022] != DB_ID\u0060 appears character-identically in 2 files \u2014 cookbook/05_agent_os/08_os_config/config_basics.py, cookbook/05_agent_os/08_os_config/yaml_config.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":"cookbook/05_agent_os/08_os_config/config_basics.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6347053dec7e0ac6effebd69e1cd42177fe26091b6135213ca5bbd5072c74f18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_id and session_id != request.state.session_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73939b8995e3ae2a5075b4d99c19b01e856a9956588a3f2db821cfd211293a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_id and t.get(\u0022session_id\u0022) != session_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e87942cf4e7c1cfa70f47fe81a5b797dd9c1aeabce4b9eafead5d6178f30a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_id and trace.get(\u0022session_id\u0022) != session_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a09970d212c296668f394a004c736962008a3c6abb1861c33f96db3b4458224"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_type == SessionType.AGENT and session_data.get(\u0022agent_id\u0022) != component_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"41217feec024387883e891a2a2fd6f1343c902ec4818e3267abfe870d84c051b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_type == SessionType.TEAM and session_data.get(\u0022team_id\u0022) != component_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b27eae009c22dc0badad9586bff1451af4279e201124cbf34ba973df0b8ff8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_type == SessionType.WORKFLOW and session_data.get(\u0022workflow_id\u0022) != component_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6296e34af8d826a8869ae2887a66d96a0b01d6b427a234fdc4f4a5eef0a406e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_type is None or session_type == SessionType.AGENT\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc520164eaf17c745ce15c73bfb491793ca26b3db18019799b575d51ddea3d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session_type is not None and session.get(\u0022session_type\u0022) != session_type.value\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55921e5bb2c7df5ed8ad5f4f809bc08ff1d1e1f18ac5fdaa49f0bc1ad98251e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060should_run_hook_in_background(hook) and background_tasks is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_hooks.py, libs/agno/agno/team/_hooks.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":"libs/agno/agno/agent/_hooks.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35048111957dbfba2e1e23313ff58270e408ed1610f03cad50adfa057d542ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060should_stop is not None and should_stop()\u0060 appears character-identically in 19 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"383a057edb8dc015dbc868ab18021d165917e33d654a65eb3a34f680c22122d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060singlestore_db_url and singlestore_config\u0060 appears character-identically in 2 files \u2014 libs/agno/migrations/v1_to_v2/migrate_vectordbs_to_v2.py, libs/agno/migrations/v2_to_v3/migrate_sql_vectordbs.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":"libs/agno/migrations/v1_to_v2/migrate_vectordbs_to_v2.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f427a51c560fb0a3a555d350dc9a54ca87d91f035c3ba5af3838e4ac7b722f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skip_roles and message.role in skip_roles\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.py, libs/agno/agno/session/workflow.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"07354969d6d3b9ec88c49a7edfabed1655f79e8db94e24082064c756a348c0a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sort_by == \u0022updated_at\u0022 and hasattr(table.c, \u0022created_at\u0022)\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/mysql/utils.py, libs/agno/agno/db/postgres/utils.py, libs/agno/agno/db/singlestore/utils.py, libs/agno/agno/db/sqlite/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"744509ee36eff0830d44b8534c8254bddb81ea38b2a8d90b7da03904f065186b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source_toolkit is not None and emits_toolkit_instructions( source_toolkit, tool_index )\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca1cca71c6b5b82f7dfd02d58294194927137f586cad18a9326adde2ed5e7c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stage == \u0022published\u0022 and links and links_table is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6454}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1bd2d7aad44e2dc358c89409c356b1099cee952b88653406830549632d84eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stage_now is None or stage_now == DELETED_CONFIG_STAGE\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7223}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c46b54b47b5287fad94421f08944024e3f704a437ad48ee9f1645eaabad942"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start_time and created_at \u003C start_time.isoformat()\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2673}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce84fd7bd1dcb727906da748ac8814f5c81c921465a52bd9ad4ada63dbdef8f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starting_date and metric_date \u003C starting_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b00ea58da7050e3b47f12264f26c63155d16cbadb81e1d4e103e4939ee8bf5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starting_date is None or day \u003E= starting_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fb04f640469602ff905b6a3d1f1f603182c0c4be7be79b7b0b3f66640f8e05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starting_date is None or metrics_record_key(record_id)[0] \u003E= starting_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2553}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0779e6a6601ba8a00b8d132d0a6c3abd6eeb50c0f7d1808f8e42f7399e3c90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starting_date is None or row[\u0022date\u0022] \u003E= starting_date\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc881b8f824f0bc2af98355925c58e51eef241716a06fb76d1fb101fcfd5670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starting_date is not None and metric_date \u003C starting_date\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"601bbcacc3a9459dee414b9a4c3f57395259b5199ea07916a34cdb0b39192922"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060starting_date is not None or ending_date is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":2684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2084edc99158e9ac2a6cd5bb8d0310788009a9690ec32599381d8cda00c9e0cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.entity_type == \u0022workflow\u0022 and ev in _SUPPRESSED_IN_WORKFLOW\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/events.py, libs/agno/agno/os/interfaces/telegram/events.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":"libs/agno/agno/os/interfaces/slack/events.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"813515c05d0d48f9597f634eee5db0e862a3c1edccb574cb7bbc1eeaf2c1ba69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status and run_dict.get(\u0022status\u0022) != status\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"531fcdd723fbc01f52487dcaee14fcbb2038ebca1ed8db66a02b08b8735a53f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status and trace.get(\u0022status\u0022) != status\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e3a983076b91a7dc39bd4654f52a5b0257d788e72cd274a84ac4df3dbe10f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status is None or status in _TERMINAL_STATUSES\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/event_streams/in_memory.py, libs/agno/agno/os/event_streams/redis.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":"libs/agno/agno/os/event_streams/in_memory.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc99220a98b65820d44663b0e84292a72c4308bfabba249866e0cbc1a7fa052"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step in response_json.get(\u0022steps\u0022, []) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agents/antigravity/agent.py, libs/agno/agno/tools/antigravity.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":"libs/agno/agno/agents/antigravity/agent.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94dc6783905db8c873415894478aa2bd229b8937f5c443fb0285d818587e35a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_index is None or isinstance(step_index, int)\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/workflow/condition.py, libs/agno/agno/workflow/loop.py, libs/agno/agno/workflow/parallel.py, libs/agno/agno/workflow/steps.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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a489217bcff856f2236e748ada6a6b57a31c1cc6f2a7f01d88ac841d9d41e2a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.input or step_input.previous_step_content or \u0022\u0022\u0060 appears character-identically in 5 files \u2014 cookbook/04_workflows/02_conditional_execution/condition_with_list.py, cookbook/04_workflows/02_conditional_execution/condition_with_parallel.py, cookbook/04_workflows/04_parallel_execution/parallel_with_condition.py, cookbook/93_components/workflows/save_conditional_steps.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":"cookbook/04_workflows/02_conditional_execution/condition_with_list.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc957b44a127178d441278ee6467ec2b975a0055c8661da04d3b0d166b8b07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022No analysis\u0022\u0060 appears character-identically in 7 files \u2014 cookbook/04_workflows/08_human_in_the_loop/condition/01_condition_user_decision.py, cookbook/04_workflows/08_human_in_the_loop/decision_tree/01_decision_tree.py, cookbook/04_workflows/08_human_in_the_loop/decision_tree/02_multi_component_decision_tree.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/04_agent_confirmation_in_condition_step.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":"cookbook/04_workflows/08_human_in_the_loop/condition/01_condition_user_decision.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570edcd8aec0ccd057c98f05817efe4ec40bd9e9e0b7727ea0d2dfc7344812d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022No content generated\u0022\u0060 appears character-identically in 3 files \u2014 cookbook/04_workflows/08_human_in_the_loop/user_input/02_step_user_input.py, cookbook/04_workflows/08_human_in_the_loop/user_input/03_step_user_input_streaming.py, cookbook/93_components/workflows/save_hitl_user_input_steps.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":"cookbook/04_workflows/08_human_in_the_loop/user_input/02_step_user_input.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"932d3277c060860672c996015f4a0ad05fc74fcabc8298637bddfaf6a0529652"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022No data\u0022\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/error/01_error_retry_skip.py, cookbook/04_workflows/08_human_in_the_loop/error/02_error_retry_skip_streaming.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":"cookbook/04_workflows/08_human_in_the_loop/error/01_error_retry_skip.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"df75b2440695073fe342932c40ec534a10d55954c5cf727d579bbbb239f60593"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022No iterations\u0022\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/loop/01_loop_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/loop/02_loop_confirmation_streaming.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":"cookbook/04_workflows/08_human_in_the_loop/loop/01_loop_confirmation.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e611a9dc8e9826b75b26cb75aab34618aa65800072929ead68af3a2cfa33a3bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022No processing performed\u0022\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/router/02_router_multi_selection.py, cookbook/04_workflows/08_human_in_the_loop/router/03_router_nested_choices.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":"cookbook/04_workflows/08_human_in_the_loop/router/02_router_multi_selection.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6516bdc186ea9308a08865686b93ed9e0b748f2d86023b743f4c530ac7df7c67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022no data\u0022\u0060 appears character-identically in 2 files \u2014 cookbook/04_workflows/08_human_in_the_loop/condition/02_condition_on_error.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/05_output_review_and_tool_confirmation.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":"cookbook/04_workflows/08_human_in_the_loop/condition/02_condition_on_error.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5287583b8d702563886ed1c225eb8692cbed3d74ddbfe19ee8bae9e77e3a98f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022no previous content\u0022\u0060 appears character-identically in 4 files \u2014 cookbook/04_workflows/08_human_in_the_loop/executor_hitl/01_agent_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/02_agent_confirmation_stream.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/03_team_in_step.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/08_agent_user_input_step.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":"cookbook/04_workflows/08_human_in_the_loop/executor_hitl/01_agent_confirmation.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"145082d87ce719ca23152bf606bcd2c144950250165f35204a6a5cc6ae3f65c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or \u0022nothing\u0022\u0060 appears character-identically in 3 files \u2014 cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.py, cookbook/04_workflows/08_human_in_the_loop/dual_level_hitl/01_step_confirmation_and_tool_confirmation.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/09_executor_continued_event.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":"cookbook/04_workflows/08_human_in_the_loop/confirmation/04_step_continued_event.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ef267db1fc1c732b7ca60a54998c18401167298b4c1399694b336f1352fd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_input.previous_step_content or step_input.input or \u0022\u0022\u0060 appears character-identically in 3 files \u2014 cookbook/04_workflows/05_conditional_branching/router_basic.py, cookbook/04_workflows/05_conditional_branching/router_with_loop.py, cookbook/04_workflows/06_advanced_concepts/session_state/state_in_router.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":"cookbook/04_workflows/05_conditional_branching/router_basic.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b64ee26ba27d58a10954ebfbdb8ebe93248e40cf9c3f01cde5ff0fae5ff9a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_outputs_for_step and getattr(step_outputs_for_step[-1], \u0022is_paused\u0022, False)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/workflow/condition.py, libs/agno/agno/workflow/router.py, libs/agno/agno/workflow/steps.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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8d2d15dbb538a60e66b948701886f7e14d48cf1597ef60107c291cbc3e58d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_req in paused_response.step_requirements or []\u0060 appears character-identically in 6 files \u2014 cookbook/04_workflows/08_human_in_the_loop/executor_hitl/02_agent_confirmation_stream.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/04_agent_confirmation_in_condition_step.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/05_agent_confirmation_in_loop_step.py, cookbook/04_workflows/08_human_in_the_loop/executor_hitl/06_agent_confirmation_in_steps_container.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":"cookbook/04_workflows/08_human_in_the_loop/executor_hitl/02_agent_confirmation_stream.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"206a57cc0347c22c9f6cfa5e15519ff5918fc2965a88d1b2f01adc6210abcec0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stored is not None and stored.get(\u0022user_id\u0022) != knowledge_row.user_id\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/db/mongo/async_mongo.py, libs/agno/agno/db/mongo/mongo.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/surrealdb/surrealdb.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":"libs/agno/agno/db/mongo/async_mongo.py"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcb6f2deac60dbede35f4413099d80e0888aa56863815b540e7754e206590a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stored is not None and stored[0] != knowledge_row.user_id\u0060 appears character-identically in 7 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3696}}}],"partialFingerprints":{"codehealthFindingId/v1":"797e7dab1d059c47cce8db6637e2afd618e6b8eb3343347cc812197b991d7cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stored_status in (\u0022completed\u0022, \u0022cancelled\u0022) and incoming_status and incoming_status != stored_status\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":6109}}}],"partialFingerprints":{"codehealthFindingId/v1":"999c33b837f2eb1f5d5ffebfa55e7eedf3bb25c697adb915acc910913e6a9a23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060str(error) or f\u0022Run {run_response.run_id} was cancelled\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_run.py, libs/agno/agno/team/_run.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":"libs/agno/agno/agent/_run.py"},"region":{"startLine":5932}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ddb167db8453a5a50db5386a96f8c0c0afbb30664bdeaa796488aef6614559"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stream_events and event.reasoning_content\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7ec5c0b3d992c9df089692358c1ad5cc35eabe7e72fa0cf14abce8aac44cd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stream_events and reasoning_state[\u0022reasoning_started\u0022]\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2c75b7715ba113fb451e4e74c3fe01a1c22563c38fa8ad10e185effdf4727"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stream_events or team.stream_member_events\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/team/_default_tools.py, libs/agno/agno/team/_run.py, libs/agno/agno/team/_task_tools.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a2f8227a05e0da9f98f8b976d5dc61c308e3d1b333765e416c6a64a9f83d0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strict and registry and knowledge_name and registry.knowledge_name_is_ambiguous(knowledge_name)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_storage.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/agent/_storage.py"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"232e0611e927e036aa18810946f2a6ac670dbcd1244558ca8dc541cc49713702"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060summary is not None and isinstance(summary, dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/session/agent.py, libs/agno/agno/session/team.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":"libs/agno/agno/session/agent.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a661f67dcb4d78fa3b39a84a9d43b044fafc6c017dc975077c32dee490bd3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t in getattr(run_response, \u0022tools\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/run/approval.py, libs/agno/agno/team/_run.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":"libs/agno/agno/run/approval.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e26da40315fbad62f666e728494053518fc82bc5f41136b0b493d54040b94a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table is None or aggregate_metrics_table is None or refreshes_table is None or sessions_table is None\u0060 appears character-identically in 7 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"347474c23afe190dd53d09a03be0f92eb8513ed856029f181cece729bf7699a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table is None or not await self._metrics_calculated( await self._get_table(table_type=\u0022metrics_refreshes\u0022) )\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/sqlite/async_sqlite.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":3542}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dfc9d101baafee743ae2304beeb4a1d86fe1f2f51a18af73bdf25900d3e9e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table is None or not self._metrics_calculated(self._get_table(table_type=\u0022metrics_refreshes\u0022))\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/singlestore/singlestore.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"aece5b837721da0a748c73ad1b5c246327f51c7977b9be19458fac6ba8294327"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table_column == \u0022metadata\u0022 and isinstance(value, dict)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3990}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffbf34e7a17129b5ea73526875d47bf5853dacaf352b346bedaf7f0048b37a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table_column in string_fields and isinstance(value, str)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/postgres/async_postgres.py"},"region":{"startLine":3987}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9d3c8bdc395b4a39fd3e9f92ac0205cca0a1bfcad44d2aff1ced974a734e89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table_name != self.versions_table_name and table_created\u0060 appears character-identically in 7 files \u2014 libs/agno/agno/db/mysql/async_mysql.py, libs/agno/agno/db/mysql/mysql.py, libs/agno/agno/db/postgres/async_postgres.py, libs/agno/agno/db/postgres/postgres.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":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2406b1a497fbde5581e5ec49546682fdfa81cafb4cf52724d94ff86d6b785eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060table_type == \u0022sessions\u0022 and isinstance(record.get(\u0022runs\u0022), list) and record[\u0022runs\u0022]\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"def78665e0df1530f4573b177f2eed8e5b6c2d171f67ba2e9e7f9b64ac46481f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task_result.pass_rate is not None and 0 \u003C task_result.pass_rate \u003C 1\u0060 appears character-identically in 3 files \u2014 cookbook/environments/_04_judge_scorer/numeric_rubric.py, cookbook/environments/_06_learning_zone/select_middle_band.py, cookbook/environments/_27_verified_dataset/curate_learning_zone.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":"cookbook/environments/_04_judge_scorer/numeric_rubric.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0254bb3630f57879b3c87289c84289b465a701c75901a9eb034802aecbb25f40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team.add_team_history_to_members and session\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/team/_default_tools.py, libs/agno/agno/team/_task_tools.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"8353e8462f6de57f3d35273432d9ce076301913acbb590007d65a856a8895492"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team.db is not None and team.parent_team_id is None and team.workflow_id is None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/team/_session.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/team/_session.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1054e8da9b4bd470490456448932c60c832ee3e108a0370124dfcccfcd4c70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team.members and isinstance(team.members, list)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/utils.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e162c63bdf7c06941c910664638beb142b65ef2a7afe97b6e0270033beaed83a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team.tools and isinstance(team.tools, list)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/utils.py, libs/agno/agno/team/_init.py, libs/agno/agno/team/_storage.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":"libs/agno/agno/os/utils.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eee113b3d81640826d780d8b6b371a07cc169a75a16d745f928835c79528da2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team.tools is not None and isinstance(team.tools, list)\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/team/_cli.py, libs/agno/agno/team/_init.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/team/_cli.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cadf7189b709cfc4b634682a98a4548a45345888c569fb57d099bf339507561"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team_history_str or team_member_interactions_str\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/team/_default_tools.py, libs/agno/agno/team/_task_tools.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":"libs/agno/agno/team/_default_tools.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a717cc2240da59df7d46f4af109b164f6a2b1ecc8d174584be7fb3b86164cf9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team_id and trace.get(\u0022team_id\u0022) != team_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3557}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61545f8407475ca7889cbfe61e0d6240fb592cd7c23152a632bf158a7225925"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team_id is not None and memory_data.get(\u0022team_id\u0022) != team_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7b1b8f3a8789eafcc4a491ba96ef7e396a90c40edb112ba5761e4ff5b8bc85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team_id is not None and run.get(\u0022team_id\u0022) != team_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f901df307c7ca5ae3d19276c5fd8d6dbaf064a24f9e15031bad20e316423f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060team_id is not None and run_data.get(\u0022team_id\u0022) != team_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"83370724d20302eabe968f3a640b9bbf2522b5ab8eb18fc70116a7049dc6b7e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ticket_status_to_api(existing[\u0022status\u0022]) or existing[\u0022status\u0022].upper()\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/os/routers/agents/router.py, libs/agno/agno/os/routers/teams/router.py, libs/agno/agno/os/routers/workflows/router.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":"libs/agno/agno/os/routers/agents/router.py"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a4db8507f0e5f94f441d77ab8d36f99df4714fd67bdea4a74c2f65ab50bc1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool.add_instructions and tool.instructions is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"882bf71ca30ee9268ef30bf8d79c33ad9467ea5eb780c90faacb8c23fa4f5c45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool.tool_call_id and tool.tool_call_id in existing_by_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"443af6a6e12ff4887be884f727c2bca6e8adb13f81a1b4aa36667bb63bf1e0b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_call in run_data.get(\u0022tools\u0022) or []\u0060 appears character-identically in 4 files \u2014 libs/agno/agno/db/dynamo/utils.py, libs/agno/agno/db/redis/utils.py, libs/agno/agno/db/utils.py, libs/agno/agno/db/valkey/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a717202a57d26b5d118a53ee7048242d007cab02e7b4e1ea068a05299f87bb8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_call_id in copied_tool_call_ids or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/mysql/utils.py, libs/agno/agno/db/sqlite/utils.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/utils.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"26368592e3ff8f22e411d100e5323643026fca6d730f450fc9bb7a5cd028bde8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_exec and getattr(tool_exec, \u0022approval_type\u0022, None) == \u0022required\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/builders.py, libs/agno/agno/os/interfaces/slack/interactions.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":"libs/agno/agno/os/interfaces/slack/builders.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"831f9d97e49620a1435458fb2b02680492dad93848523f8769fa553586757d8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_name.lower() == \u0022analyze\u0022 and \u0022title\u0022 in tool_args\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a439884c22b0c51a767a65ddd9a5e985ec35c68da71285bbad7b5482356d000"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_name.lower() == \u0022think\u0022 and \u0022thought\u0022 in tool_args\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b904bb9d2e2b479351d3d0fde4ce44b8b10b589108ce8d7e063115a153b7ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_name.lower() == \u0022think\u0022 and \u0022title\u0022 in tool_args and \u0022thought\u0022 in tool_args\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_response.py, libs/agno/agno/team/_response.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":"libs/agno/agno/agent/_response.py"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6612cbbe889cb8635ba84805d2bc372565e288795fc2667e87bdb565befd8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolkit.add_instructions and toolkit.instructions is not None\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_tools.py, libs/agno/agno/team/_tools.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":"libs/agno/agno/agent/_tools.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"524356cbbafdbb36150d27c686a4589715acc3d1af8c71cac0d82791390cb158"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trace_end and trace_end \u003E end_time.isoformat()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3569}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf22edd525f37c9452b70b90c6b8fe3b99e95dddec505fae113a75846adbf671"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trace_id and s.get(\u0022trace_id\u0022) != trace_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b394b2cea971875a979afd31ecad17523db17b4223de801ea9d23a853a127d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trace_id and span.get(\u0022trace_id\u0022) != trace_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96f787459b6e3a84181bdfd0053c3b3e3416cc9e7258b1ffc4fc21bda74b567"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trace_id and t.get(\u0022trace_id\u0022) == trace_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"df53fd23c8b6c69db741b87af4defb8eaf51c955942b3c793c15ed50d9a4fa2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trace_start and trace_start \u003C start_time.isoformat()\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3565}}}],"partialFingerprints":{"codehealthFindingId/v1":"414a200384f9ed354198281926975c74f30593123550a2e9afde175150398330"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060txt_file and txt_file.state and txt_file.state.name == \u0022PROCESSING\u0022\u0060 appears character-identically in 2 files \u2014 cookbook/90_models/google/gemini/file_upload_with_cache.py, cookbook/gemini_3/16_prompt_caching.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":"cookbook/90_models/google/gemini/file_upload_with_cache.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ff04b43bb579d87c178c552cdac6b2a87dc787703217c4a57ec8c25a2cf05e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(max_output_bytes) is not int or not MAX_JSON_BYTES \u003C= max_output_bytes \u003C= MAX_SEARCH_JSON_BYTES\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/knowledge/page/_coordinator.py, libs/agno/agno/knowledge/page/tools.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":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5893129d1c34a51f2250125e58f04ca5720c80d26a3f6ce1d34904d69cded1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id and trace.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3553}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc96c5177d6fd8e1bcd9f729cafce8167d7ad1ea772a39bbb86ff0d0f6e4cf3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is None or item.get(\u0022user_id\u0022) == user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0469131f7c14dc405bf35c97f3d6a97ecfbafc76ef20e551d9832909a008d6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is None or run.get(\u0022user_id\u0022) == user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43df32ad7cb9f5d7c0321921b99283523d0f0da1597132a885a9704673edd18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is None or s.get(\u0022user_id\u0022) == user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"3010bcf0a06ac7b37f3a14e32a0f42ddc0afa1d0bd510a6c6044a1561ecb0819"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and cached.user_id != user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/agent.py, libs/agno/agno/team/team.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f53291bb97722c012c1a98b6ca7d3918e2f93d4cd6d23072af9226242ee747"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and component.user_id != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6740}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0f746eac3a66b04b6d0e7f5bf7f2da4607ef33ba42bbd2ab4ce88aa3553c6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and component_row.user_id != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":7388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38985608fc7ea11cb973aeed3367dd7a2b3ba50d12c53bc5f187ba7c3c66865"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and db.get_component(component_id=id, user_id=user_id) is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/agent.py, libs/agno/agno/team/team.py, libs/agno/agno/workflow/workflow.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":"libs/agno/agno/agent/agent.py"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f609043b06b844869ab7e5c8b22a7984b322a7e884b4a4d75d3f1b97dc21aa6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and eval_run_data.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b0e78d83ca58389b7d3099fcc166cae12509341bf496ca7ec4b7f563ba6246"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and eval_run_raw.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/firestore/firestore.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/firestore/firestore.py"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac6071c08b583094f3c66514b8be3ef0fa1b0b26f7b5e0ca70d083bd2c32d02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and memory.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b56a40c8d7966f2f178ef1029233076c2f878f330d03e321965d5a1098402e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and memory_data.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2d43b9784dc53bc55fc395227fdc196b91582c24239fa301040f5bc9df5388"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and memory_raw.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc6b992b24db21df80259df1964fed161a25008eaef8d102cf76c956afd334"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and memory_user_id != user_id\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e724e7a2a75041f6daf1b846cc7acc399be5f21cb2707e0e2912f0ea1cf15e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and metric.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae4fbeb62aebf6ee17764b3fc5fe1468c9f50b8edce3126d405ff55dff59244"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and row.user_id != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/postgres/postgres.py, libs/agno/agno/db/sqlite/sqlite.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":"libs/agno/agno/db/postgres/postgres.py"},"region":{"startLine":6001}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e54a4a06fe71ca453f979d193fc8f40e415d14f35ba6603dd3faf051a8983a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and run.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a25661f51f97977864df31e5db06bafa9c0883486fa81064c8462125b7b1b73"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and run_context.user_id is None\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/agent/_run_options.py, libs/agno/agno/team/_run.py, libs/agno/agno/team/_run_options.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":"libs/agno/agno/agent/_run_options.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddfec4f6b2ec19c24b77c12a5a489bac6fbfaea42603b43d20ff15652c2c6c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and run_data.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce438e19a50c38f47090023cd03d489f6efdb935f445335a6018425ee4cfa2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and session.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/db/dynamo/dynamo.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.py, libs/agno/agno/db/redis/redis.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":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"607ba8d170d76fce4572cebedd2b14b547fdcbbb9c987b834db436fa4038522f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and session_data.get(\u0022user_id\u0022) != user_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1776d4a0118c8cc4efcae83ea6c0ca19431f44e2915ae083f9369f4fb935f99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_id is not None and user_id.strip() == \u0022\u0022\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/vectordb/elasticsearch/elasticsearch.py, libs/agno/agno/vectordb/opensearch/opensearch.py, libs/agno/agno/vectordb/weaviate/weaviate.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":"libs/agno/agno/vectordb/elasticsearch/elasticsearch.py"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e606b8f41f6124eaeed69aef11f465c8a081f28a596cce18e63b3295dad5c8a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_memories and len(user_memories) \u003E 0\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/agent/_messages.py, libs/agno/agno/team/_messages.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":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3532ae496c182d48c41836a2fcf014b8099745273d4ca44b8d05a4de51aa43b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_token or getenv(\u0022SLACK_USER_TOKEN\u0022)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/context/slack/provider.py, libs/agno/agno/tools/slack.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":"libs/agno/agno/context/slack/provider.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced7f2f7bafa8df2b4264b90899f9c9384e96f89256a5f8bbf819752f6016447"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is None and sort_by == \u0022updated_at\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/utils.py, libs/agno/agno/job_queue/store.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":"libs/agno/agno/db/utils.py"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"8488a6cfbb485a4162c5eee44b7b63ae8b06238c3c50ecd83a9d53dfb9032edf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is None or isinstance(value, bool)\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/tools/finance/providers/financial_datasets.py, libs/agno/agno/tools/finance/providers/yfinance.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":"libs/agno/agno/tools/finance/providers/financial_datasets.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d86d275dbf67635a9e00a52e0342c754e74679779c491d39aab9fd3d342afbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vid in getattr(chunk, \u0022videos\u0022, None) or []\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/interfaces/slack/state.py, libs/agno/agno/os/interfaces/telegram/state.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":"libs/agno/agno/os/interfaces/slack/state.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb1ca062eb723b32395eaa8084d50280aa29032968cc6d48d0491b2990a38c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vpc_id is None and self.subnets is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/ec2/security_group.py, libs/agno_infra/agno/aws/resource/elb/target_group.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":"libs/agno_infra/agno/aws/resource/ec2/security_group.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea2ec65b229558dee4034e6da1fd4e4b6229be2c574b4aff94b693116c571a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vpc_security_group_ids is None and self.vpc_stack is not None\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b392e372053523a4ceb91b49776a729d881f7bc6902eba4e0da2660f021e515"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vpc_security_group_ids is not None and vpc_security_group_ids != existing_vpc_security_group_ids\u0060 appears character-identically in 2 files \u2014 libs/agno_infra/agno/aws/resource/rds/db_cluster.py, libs/agno_infra/agno/aws/resource/rds/db_instance.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":"libs/agno_infra/agno/aws/resource/rds/db_cluster.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd36f9b70b5a496503efe344f8cfce248f286954ef5b8be7f9fe390edb963f12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060worker_id or f\u0022worker-{uuid4().hex[:8]}\u0022\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/os/job_queue.py, libs/agno/agno/scheduler/poller.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":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f7fd3ab15d3aa65ef4e43274d338abe59a3370f560ed6b67896a89b96114be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflow_id and t.get(\u0022workflow_id\u0022) != workflow_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f40c4201401d596d68bdfd2656ce32f5f3bbe7d49467d923c4c57104d9e79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflow_id and trace.get(\u0022workflow_id\u0022) != workflow_id\u0060 appears character-identically in 2 files \u2014 libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":3559}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed0b597aad5ecc12c9e20f4978a5f98caa812f88694fa9a581c4f7af7646add"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflow_id is not None and run.get(\u0022workflow_id\u0022) != workflow_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/redis/redis.py, libs/agno/agno/db/valkey/valkey.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":"libs/agno/agno/db/in_memory/in_memory_db.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9492e0f1c0fe36601f292ff3253b6f7af6b7e6a92d1ded7547f4693e952edcf9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflow_id is not None and run_data.get(\u0022workflow_id\u0022) != workflow_id\u0060 appears character-identically in 3 files \u2014 libs/agno/agno/db/gcs_json/gcs_json_db.py, libs/agno/agno/db/in_memory/in_memory_db.py, libs/agno/agno/db/json/json_db.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":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa47df48b6dbd6fc4055140a53ccb50fc5e66c4e083e72315b4d3246635747bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflow_run_response and workflow_run_response.run_id\u0060 appears character-identically in 5 files \u2014 libs/agno/agno/workflow/condition.py, libs/agno/agno/workflow/loop.py, libs/agno/agno/workflow/parallel.py, libs/agno/agno/workflow/router.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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3f31f53b884b3993dd84e8eab907d0134a3c510e60cdfd229467fc1b142144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workflow_run_response.workflow_name or \u0022\u0022\u0060 appears character-identically in 8 files \u2014 libs/agno/agno/workflow/condition.py, libs/agno/agno/workflow/loop.py, libs/agno/agno/workflow/parallel.py, libs/agno/agno/workflow/router.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":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea102ad5a6e23c9a61fde3f04f4fc83e01817c4611f03af843faeb8c888715"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060from_dict\u0060 is public and takes \u0060data: Dict[str, Any]\u0060 from its caller, and it calls itself at line 648 (\u0060self.from_dict\u0060) with a piece of \u0060data\u0060 \u2014 and nowhere in \u0060from_dict\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060from_dict\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/types.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cd82f2c146acaef1899cbf0de931a153d76bdd90056a71036952bf07734f02"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060scrub_workflow_media\u0060 is public and takes \u0060run_response: Any\u0060 from its caller, and it calls itself at line 567 (\u0060scrub_workflow_media\u0060) with a piece of \u0060run_response\u0060 \u2014 and nowhere in \u0060scrub_workflow_media\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060scrub_workflow_media\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/agent.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae47d4d3851de550b5045480be787721e16dca406b0b56b3c265bfc85e448b30"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060restore_integers\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 51 (\u0060restore_integers\u0060) with a piece of \u0060value\u0060 (and at line 53) \u2014 and nowhere in \u0060restore_integers\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060restore_integers\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/common.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d8e0b644ed670269eddacb22a24279812a5f07e78081650ce0d5a31f58da0b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060check_type_compatibility\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 88 (\u0060check_type_compatibility\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060check_type_compatibility\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060check_type_compatibility\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/common.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"413e91d79a45a824597d3c2c47c0d1852628360a84fb0d7515d17720956918b8"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060workflow_copy_divergence\u0060 is public, takes a document from its caller (line 53) and hands it to \u0060_without_keys\u0060, which calls itself at line 47 (\u0060_without_keys\u0060) with a piece of \u0060value\u0060 (and at line 49) \u2014 and nowhere in \u0060_without_keys\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_without_keys\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/copies.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6917238cec58579bb802efbeb4fcb02218cc7b3a0f1cf8abd37fef1951b45bca"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060has_additional_properties\u0060 is public and takes \u0060schema: Any\u0060 from its caller, and it calls itself at line 117 (\u0060has_additional_properties\u0060) with a piece of \u0060schema\u0060 (and at line 122) \u2014 and nowhere in \u0060has_additional_properties\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060has_additional_properties\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a585348e0c796feb0b66e6a1deb5970f4fbce98095c85dcf4dbaedd07a92203"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060has_self_reference\u0060 is public and takes \u0060schema: Dict\u0060 from its caller, and it calls itself at line 138 (\u0060has_self_reference\u0060) with a piece of \u0060schema\u0060 (and at line 143, line 150) \u2014 and nowhere in \u0060has_self_reference\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060has_self_reference\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e494da1d83c65b3fd2b33232d02f509826ed01a5c240e9f7298f777d5914d6e3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060convert_schema\u0060 is public and takes \u0060schema_dict: Dict[str, Any]\u0060 from its caller, and it calls itself at line 265 (\u0060convert_schema\u0060) with a piece of \u0060schema_dict\u0060 (and at line 294, line 369, line 409) \u2014 and nowhere in \u0060convert_schema\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060convert_schema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/gemini.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f629b06144fdfe288618777c230ca97968473c6d8950a0e9f90a728f6d261"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060inline_pydantic_schema\u0060 is public, takes a document from its caller (line 46) and hands it to \u0060process_schema\u0060, which calls itself at line 63 (\u0060process_schema\u0060) with a piece of \u0060s\u0060 (and at line 80, line 85, line 88, line 92) \u2014 and nowhere in \u0060process_schema\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060process_schema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/json_schema.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6819b87321b2d5bcf8eeeb4d1106fc1519b131a1fa3d0dc4a61c588d0c1dbbe9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060get_json_schema_for_arg\u0060 is public and takes \u0060type_hint: Any\u0060 from its caller, and it calls itself at line 111 (\u0060get_json_schema_for_arg\u0060) with a piece of \u0060type_hint\u0060 (and at line 130, line 134, line 135, line 141, line 164) \u2014 and nowhere in \u0060get_json_schema_for_arg\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060get_json_schema_for_arg\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/json_schema.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09ff8582bd12465d590763b3707cfaf1536ee6df7fd16caf2cf4f5bd5267f73"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collect_opted_out_media_ids\u0060 is public and takes \u0060run_response: Any\u0060 from its caller, and it calls itself at line 92 (\u0060collect_opted_out_media_ids\u0060) with a piece of \u0060run_response\u0060 \u2014 and nowhere in \u0060collect_opted_out_media_ids\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060collect_opted_out_media_ids\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"08616c102a616131db8899f0eaf32baa7c888195722d08a828ec6924d3118686"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060offload_workflow_media\u0060 is public and takes \u0060run_response: Any\u0060 from its caller, and it calls itself at line 654 (\u0060offload_workflow_media\u0060) with a piece of \u0060run_response\u0060 \u2014 and nowhere in \u0060offload_workflow_media\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060offload_workflow_media\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fd5aa5a8a5dcc27e39a6a12c38350cd0a30fd90b7e503335152114e947e8bf"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060aoffload_workflow_media\u0060 is public and takes \u0060run_response: Any\u0060 from its caller, and it calls itself at line 691 (\u0060aoffload_workflow_media\u0060) with a piece of \u0060run_response\u0060 \u2014 and nowhere in \u0060aoffload_workflow_media\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060aoffload_workflow_media\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09e319d6639bc2db412bb0673998b85e9b4d2a5778bf5ed86a6ee40758e4f52"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060iter_run_media\u0060 is public and takes \u0060run: Any\u0060 from its caller, and it calls itself at line 775 (\u0060iter_run_media\u0060) with a piece of \u0060run\u0060 (and at line 782, line 785) \u2014 and nowhere in \u0060iter_run_media\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060iter_run_media\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/media_offload.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"7532cb9be9092b13ff10c4f24d16b84c1dfb460b3882be4579910edd2ea18228"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060merge_dictionaries\u0060 is public and takes \u0060a: Dict[str, Any]\u0060 from its caller, and it calls itself at line 18 (\u0060merge_dictionaries\u0060) with a piece of \u0060a\u0060 \u2014 and nowhere in \u0060merge_dictionaries\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060merge_dictionaries\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/merge_dict.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aea5cec973ec94bc1cbeaf1cae749167dc9730bd0ef2db91533be12aa1d7eb"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060sanitize_response_schema\u0060 is public and takes \u0060schema: dict\u0060 from its caller, and it calls itself at line 143 (\u0060sanitize_response_schema\u0060) with a piece of \u0060schema\u0060 (and at line 147) \u2014 and nowhere in \u0060sanitize_response_schema\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060sanitize_response_schema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/models/openai_responses.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"67812196538bcef9bec9e8d412ffc548d3815e497f7459f7367b7c1b37b10863"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060from_dict\u0060 is public and takes \u0060data: Dict[str, Any]\u0060 from its caller, and it calls itself at line 1002 (\u0060self.from_dict\u0060) with a piece of \u0060data\u0060 \u2014 and nowhere in \u0060from_dict\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060from_dict\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/team.py"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"311f3df29693fe1427dba274a379973427f9b31e5a8b11f880cb68a14be37ffa"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collect_mcp_tools_from_workflow_step\u0060 is public and takes \u0060step: Any\u0060 from its caller, and it calls itself at line 2638 (\u0060collect_mcp_tools_from_workflow_step\u0060) with a piece of \u0060step\u0060 \u2014 and nowhere in \u0060collect_mcp_tools_from_workflow_step\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060collect_mcp_tools_from_workflow_step\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"88962d968787d6757fa85e7790be16a91e8871ccf48b6cee9eb82775e4d1163e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collect_components_from_team\u0060 is public and takes \u0060team: Any\u0060 from its caller, and it calls itself at line 2758 (\u0060collect_components_from_team\u0060) with a piece of \u0060team\u0060 \u2014 and nowhere in \u0060collect_components_from_team\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060collect_components_from_team\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac5028092e72a74c3ec99edffd126778b8153d2d4e3e481d5866cbe06a3fbe7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060restore_authorization\u0060 is public and takes \u0060snapshot: Optional[Dict[str, Any]]\u0060 from its caller, and it calls itself at line 45 (\u0060restore_authorization\u0060) with a piece of \u0060snapshot\u0060 \u2014 and nowhere in \u0060restore_authorization\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060restore_authorization\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/run_context.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"01223e7c169a9eedff93b5cc460706861daefb7a1c314b1f046f7df54ece2854"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060content_values_text\u0060 is public, takes a document from its caller (line 115) and hands it to \u0060walk\u0060, which calls itself at line 128 (\u0060walk\u0060) with a piece of \u0060node\u0060 (and at line 131) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/utils.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"52628cb771ae9a6545155da5c408f859ada952f03e4328396096414652b112fe"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060session_filter_to_sqlalchemy\u0060 is public, takes a document from its caller (line 81) and hands it to \u0060_backslash_like_filter\u0060, which calls itself at line 114 (\u0060_backslash_like_filter\u0060) with a piece of \u0060expression\u0060 (and at line 117) \u2014 and nowhere in \u0060_backslash_like_filter\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_backslash_like_filter\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9061545e911643d8e70e45f51ef562514857daa76d3b52560980b46d9bdcfe"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060session_filter_to_mongo\u0060 is public and takes \u0060expression: Dict[str, Any]\u0060 from its caller, and it calls itself at line 133 (\u0060session_filter_to_mongo\u0060) with a piece of \u0060expression\u0060 (and at line 136) \u2014 and nowhere in \u0060session_filter_to_mongo\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060session_filter_to_mongo\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f798193173ce1ce1d1c33cbdc3727cb91932b965fb57deac94dc777747cd3a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060matches_session_filter\u0060 is public, takes a document from its caller (line 153) and hands it to \u0060_evaluate_session_filter\u0060, which calls itself at line 164 (\u0060_evaluate_session_filter\u0060) with a piece of \u0060expression\u0060 (and at line 169) \u2014 and nowhere in \u0060_evaluate_session_filter\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_evaluate_session_filter\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/session_filters.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"680c4959d9635aeae29c6318d8ae77693e55802f2e7d4d2a4f059c07b92ae2fb"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060convert_any_metrics_in_data\u0060 is public and takes \u0060data: Any\u0060 from its caller, and it calls itself at line 69 (\u0060convert_any_metrics_in_data\u0060) with a piece of \u0060data\u0060 (and at line 75) \u2014 and nowhere in \u0060convert_any_metrics_in_data\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060convert_any_metrics_in_data\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/v1_to_v2.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f92cec252729d84aeb698dd7e7d18585df00d4466e2846191f057a8f0dbde9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deserialize_from_dynamodb_item\u0060 is public and takes \u0060item: Dict[str, Any]\u0060 from its caller, and it calls itself at line 146 (\u0060deserialize_from_dynamodb_item\u0060) with a piece of \u0060item\u0060 \u2014 and nowhere in \u0060deserialize_from_dynamodb_item\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060deserialize_from_dynamodb_item\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/utils.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f50770ebd72ea118766fee11b9b419fe279c47b59ec330a62ddea71ee722a7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060get_system_message\u0060 is public, takes a document from its caller (line 964) and hands it to \u0060_learning_message_text\u0060, which calls itself at line 948 (\u0060_learning_message_text\u0060) with a piece of \u0060input\u0060 (and at line 950, line 958) \u2014 and nowhere in \u0060_learning_message_text\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_learning_message_text\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c9d377354e58dedf2b7b3a75c9eb2112c05d1152d282cea1679185489e7f8b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060find_approval_id\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 110 (\u0060find_approval_id\u0060) with a piece of \u0060value\u0060 (and at line 115) \u2014 and nowhere in \u0060find_approval_id\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060find_approval_id\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/05_human_in_the_loop/team_approval.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"16790716f06f86224ca5b4911d2821d276d7d2b184309217e8fe2cd6b6d588ce"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 153 is called with an argument built by \u0060\u0022\u2026\u0022.join(command)\u0060 (line 153), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/resource/image.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a898714911898d5111375ee0ebd9b887fdc014ac4456cf1507f305929dd8c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 279 is called with an argument built by \u0060container_context.model_dump_json(indent = 2)\u0060 (line 279), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/app/base.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f62494793f0083f632ef82dac571d095ade7ffd31d93c7208c54064da3b19a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 293 is called with an argument built by \u0060\u0022\u2026\u0022.join(container_cmd)\u0060 (line 293), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/docker/app/base.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93abaeb94caa9bb6a6da67f52ffc72d19098a34e2fbfc99244cac3666343506"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 527 is called with an argument built by \u0060\u0022\u2026\u0022.join(container_cmd)\u0060 (line 527), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d425ec4d3844547196a64cabf70dfe11fb33ab85ee655bd08b3e7b2d42053e4e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 633 is called with an argument built by \u0060container_context.model_dump_json(indent = 2)\u0060 (line 633), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/app/base.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc3fa16633b6c2f81396ca3534bb1d4df0b5e2fa8d6d6458b7a91356d307d7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/http.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"54843fad1d3e9e2c5ca76c804ee9a1f232ead7891f92e9f7b29abfa63835eae9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/http.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e402733de3559b6b446076b3c49494389fcb0bca8996b9fcb118d71a970e12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agnoctl/agnoctl/clients/__init__.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"70730011a8eba6e98f2c1b7c7839306c282987eadba7897824bec7f148fcd9b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno_infra/agno/aws/resource/cloudformation/stack.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ce1bf29fc27598d38f2f4b47a747c94654b6ee340d9b5703b4531daa36f36e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/migrations/v2_to_v3/migrate_sentinel_vectordbs.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76a6ba3c52eaa17d6a2b1b983315451e0698466fc9870f667e074383292b620"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/condition.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4434c45398cf8059fd2f42dae98611ad06a01cc5f08b1cd144ce0275999404"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/remote.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae2b0bebf1e6b7faf841e0380b664bb97fa805a8b90cffb00df0ab0addfc7b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/remote.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0d64c062bfa82bd274a9a45c68f66f69c4bf692cbd3943dbbf16904f3a6f25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/router.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f332639834367b83e39a511a69ae43ec142dff93b0e8a464c4380a61c9a3a547"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/router.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9992046b524595ec713d3e29473f1853425bbc433447c8608062c3c98219eb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/step.py"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff9bd898c3d21c18f5c8843de28b35ccff632a9f6ef7af4a204bfbc398f5467"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11766}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d0cbf2aede927770b2e3a1ff0d788391aa68d87e4e0f411eecf27a7bee67a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2373ddeab80cfa759d65a2789f165c5fdc6bee861ec97f3813881f5a460b4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/workflow/workflow.py"},"region":{"startLine":11936}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fdb1bb80e8b553a8dfbcb16db0c05154af4cfbf76adaa2ee1f5fa81dc7a629"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/redis/redisdb.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c227babc7229117067c80234377223171fcb49f0b0ed8e4153abbd029b291826"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2184513babd25ab09100cce86873a5db57b2f05e21ed4cc6401acca8ae2b04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/pineconedb/pineconedb.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f95dd0c6385eb57a3d2a1ce1550bfeaeae238ea302722d5de7b7099fce01aa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e279f1ec486399498ac5ac8fabe109bcf61ac209df05bfc3ee45c9d80959932a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"735d046200c8c0f17fcc656bb045eded30e0c8d5480068521331c185311d7d44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/couchbase/couchbase.py"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"0274feddbc372e41af481c1752d113863c96a8923adf1c9ca6222f55910bdfe7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/clickhouse/clickhousedb.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f2ea8e90be06663405178ee8ba40a551ea6819326927fe04a6ba796b65ddaf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b0fd6fb06cc8e67200cd7c15eac7312d57ea055d64cbb2b6d8df1d3305a1a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c887cdd8fdfbfc0bf414f6fc9ee2b0bf3358dfccaa2fac48b8aa2ab6f2dd5b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dfe7ae8a27d9dd1c34b8db9fffcee62148752d49491e37bc1a7e950359a406"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/chroma/chromadb.py"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"9958cb5cfa1d4552ac0ae09c7a1e0a3049b05aadd14ca397fbf408adbfded61f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e43b9d4907531d76c110dcf738dbbe33fac702c9471388883b65f2c66f3138"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/vectordb/cassandra/cassandra.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"35140f15f5e9d9fd013111975ac526ee4f1a15bd6f1149c92446396ad1883c0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/agent.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddef8bc78ad7a4644515b9c6477ce86da918830cba6ab5172151bb861db7a22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/json_schema.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ddfa88cb73dd53eb05bf549fc9cc7da0cb90cdc27872267845cd27bfdc73d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc207cc96bf67defdb6a75688cbb342d2967df1e194788ad66f008f4494ace4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f22711e9119e6c813bc8e86e4d383d309e1644dbe8b2ac3df7867280accf4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6355452d4695f24c5a0f2770176d039319dbacade8ffcf9fe45fc44d83c7ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0e48d541f90a991c37549b865510dfb76452d28669578b9fc22703e293cc78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"28993d8f3922cdbf09cb6e154286666d2c980234e014bcc91af16ab0ff80354f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/coding.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee780e67e977f99fea74b0e55e90e236b027905f78281312602b16232ff7d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f8a4d58692955720e090d089afff6b3135dfe3644bd26fee0a95a94a7f743"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc833c5bf910ce0b676eaa8808bf8cfcc124b34adc5949c3db8924a78d25f70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3674603e91b3fe4aa69f88f2c0be785282e438f8019624c140bf28ea00f8e22a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e751dd76c7776ad38e6a0b06f9b83efe5eaa2bc2662b5d9a8196b2b1b83f297"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"761a60a6fc64f6297c26fadf1b61f187c0c3e1429ab04524b3e34e9a5174891b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"63708ee2649b8d7ca1f5a1bdd77a3c5b4aca6955e6ab872a4fb3b0d1df4c7994"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5922d378681a5812f2bad01dbbd7706ba0faa9784c38703c90bccc2e1fa49b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8837d64c0881a18f6827417cd27e82116b670475aac827e4a6254145c01df1c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d18db51ad1b7368f4421cfaeb4c69059875d303d515e214687f32549532dab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/function.py"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eba90b3566b7969c6d5cc5067d39917d3580b4505032cac9b2c70c788246e6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/gitlab.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"58535ee4e03683bb32493ce257d8b67d7712757f3c1880f3f4bab5b53d00a886"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/mcp_toolbox.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"041627e0a69374b115c87b76ee9364a102d0d1fee30b1cce8a2ee21c4a591e5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/mem0.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"76697bc4a8b378d33de92195b82b14220fff5f60e6d349cff8a0b943ba1cf980"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/newspaper4k.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3fab352939d8a00e55e2affc397eef8bc6908d4dadc6d0ea7fdce50557cfed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/pandas.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0e16114763cb976373d1544bfc2326db1874da99277cafc7e4be3090f7d727"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f7d92f71deb434a2167b132e0f000379d3a9e40cf79685612743a1a83cbf6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/parallel.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aad8eb3b99285567d3fe7a26ad0f48eb01d10a03671b0b5199c51c431c1820"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a4a6618f80cc9dc04818d2cc17602af022605ea0997f1281bf434157ad791"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b6ebd6d703465b5db4f23c1a2102a75e51ce9d8c6b0d19ae215d17138d29f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b80a889db2f6cef0a6dc4c2878f9fa56ffc10cfb976f07ac00c484cb1fed7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio.py"},"region":{"startLine":4716}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a35100d201dcafb08839d4ae9140530fa116b48277ad5b1504869cd7fd3d0d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc734258282eede72d0f89882583ab67942d32ed9b7f4ef130b523ca47136a7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c980030d04ec95e7c5d218751cf0b2722f89b7f39dfa5a00446b5ffb12432d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7a7b33058492ca8fe04506d8e13dc9e4899d3644a4c623748b79c94a2fe6ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/studio_runner.py"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2df4a32faef59e2ff2a3d6d78afca43bf4b0d94d7c03439ff3144108ec9cc9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/workspace.py"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ab6205cc0c76d20b478b4dc7f1695bf88a98b21ff8fbbcdd09a01b0526c67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/youtube.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e340367b19cd5faf86dfddc3536fa7d4639969bf89b9158835c77862de2380f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/youtube.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1159e4ee7c7dcfd699c1a04a25b971234508bbba45f17c0a774a4432af79eeb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/youtube.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"599fd0353d59c4d70e5e5084273e70d19d4e292c33cc7df40799613a2a6045d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbccfb4773e8ae254e2438c1047928f58631c6f2b7785cdd06554168e5fe4712"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bc7f1fcf1c264d8e713b289f07ce05268bec92e4a2e4d16aa3bc23ae56b12b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/mcp/mcp.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0ad7e03d17d43af866b7b4ed73c0f8226a98a596172e71ce577c20ace1f1e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/base.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"26104bf5e3f47e55ae751e375222e5c2ec9818ae5252f3aadac15ccf4ca491a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8d2368bdeda785a9a85b56f415a52ab7ac41d7da2de339d1c226591270beec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f325bb38ffb1b7dbd2cf68dce7f55c1c8c3a93d4e021bd3c86a4756b78e2a49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/finance/providers/yfinance.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc4d6281636090f5d9ebd0d747220dbb6cdfec864cacf74e75d982414a3a98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/finance/providers/yfinance.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c3b07100885d92ea91dc223b4a487751c8f4b17cde3f002b96c3942fa58bfe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/file/file.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2188b5d88a283fc4f31c4b46f053362e6841e8094253f1163222dbb787692210"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/code_mode.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"adef72aaf91e2550087b0f83b8e2e8303a635fe9cf5f4a6d0ea6b77772395d94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/code_mode.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ac402c30aa8f9ca24b3861036bb5161ad5da00392434f1a2b0edca2ead2e37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/code_mode.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b02cad061ea7d950f04b07cd89edbe9630747fde8a3431fa487784d5dc9f837"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f40af4b9f4ac0f066f2ed3c66139ffe6d4ba3ee8345c287cc08d216891ea397"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d60441ead43755d4c40cfa650d1f3f583783fc2e7e6e5f02b626da22ac5b51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6c3146a4da27b08fbfea55f414f5471b99bfa8c28e5e9652ed057f6612256c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a384a90ac1651db4e3b8f45fa39a54dbaa1113bdc78d3ba5e7fd395efb0bdc54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/tools/code/kernel.py"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd11016129accb1a809ecdd5886ba8e2260b0ff8f283f9b92d25ce0821ee0620"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb570a04b34204906bb37d878c1558c2002e399c57f880e22421393a49f7dbda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf9fddbe906e69ff024d2314de0aac2e3ef4e6581aaa4b554a089c63f95790"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaae238d521db2a77febe08ed14d200d5ecc4f8794d3fe2355c6092d0491341"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/_run.py"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"0739db9a4fe1d3e41f8e6e9cbe7445e194f768af3f1740d9cbc7383109c92b5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/remote.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7241ada0989010d98bd35edc4e42c410b2a487475ac209b48f6de01220a861"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/team/remote.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0438af7684919a225f023507bc2d941d3890082740dba99ca60e0072157f0082"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/scheduler/executor.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"beadfbee8cfb7fb1d11697fc79fcd0c9ec3280858d8007654c74ec3579d9afa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (NotImplementedError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/approval.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc741cbf88c0d10cadf651cbe0a752a402a2af5776ae40d570f981c7f59fcab8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (NotImplementedError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/approval.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"85677922c109c66cbf37f3467f8d2a4c61a6339f48858b16cbd0ef5644d4c1eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (NotImplementedError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/approval.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"882feb67b0b62ca2f217455001be356c7e0a205327dd836c5c85e54a4b418fb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (NotImplementedError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/run/approval.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cd5abcd82c2acc6ae8f22da0f0a47d221a9827ff912516993471da901b670f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/remote/base.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8b24d90e01ac06be291c19acfcceb3fb4e05f7fedc2590adba2adee8cb89e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/remote/base.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd702e77f5174e2ac80865c7b7fc099daa61e5c39d590da2dd90dd4f6ad70990"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/auth.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1655825617f6848b51d05a6768a110948160c9b61b3a2f1ba71378196c98d4a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/auth.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c9e67956a8db4207c982599ccb010aecf3cf3b7484fbce94fd5288d023b962"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/auth.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a635c194f4b4a3ff097af7c9df96d2fb7e54572cf39bfeef65a646d12d3d37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/auth.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"38924b0526fc6cd88d1d8b0b748a668ae013adaa695e9de18cf503ecd4bde8b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0372189a6975503907b2f92f86d12eacba8e3faebf853be8e7511f1982c0297d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/job_queue.py"},"region":{"startLine":3488}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ddb2a9fa3f8b04d1f36333f0a3cec547f97df0da51eb90f897a8ac3c54cb70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/managers.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8124bf623c9038b6fa9e17b746ebb4d2c4d30b2a1bfe3019d98fed2d6a01c14b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/managers.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c13e63bc07c2723d243de171b7cda4592daab9a3e2b16e9de46532d25d576cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca55c6cc2485f13effac6dcfc87ac3d72753dd55abdf02808b1da722747a668"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa3ed1ecbf725c1d55ae9dbd38bde754d0678f2e63032e9f7223eb60f336fe0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp.py"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f690f51561214523b449336f4ec7e05fb1f973d520650a6055597fe905c69b84"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp_auth.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e6362c9f66e00eaf84e86badeddb3b82bab501ad72c889ac3cfd6373574975"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp_auth_builtin.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c3834aa9ba7713912a9329f6153b9fdec2f9c58441f3fcb28ed2877e7fca5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp_auth_builtin.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c1adf35cff4ff47a3b6949774b9ea717f37d60226f147b7d64c66d3030112"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/mcp_auth_builtin.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0db75812cca3dcb53538e8bfa59150ff705da91c60aa9461e8da8b9253c76c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/schema.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2438ace010a2e2777e0fc34546ae2018e5efa1e2f34117875efe5e6f4e146a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be22d5b0cfcad6c22a1073b8beb52baaae9050f526b51080112fad183c947ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"681d7a63bcf48c6fc26a6a619d38fbe60ccf5aac46bd43a43e872d3b9b80f05b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/utils.py"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94c305e0572367c5063b2af3efbba5049edaed1d81a3285d0684c317c120341"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca7c66093a3e4c682e99183b17c4e2dd2acfdb33983c9e6669af781736ae788"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/router.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c61271db8373fd35df52034a0373dec93b2709b6ac4b77093f7a2cb8f86494"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/schema.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe072a4d559a84f50772db2f5d541d2b65a85c597bb0a424090c62366eb9d9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/workflows/schema.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd851e49d9c6314bf43f8e815a48d01fbae959f3648cc655d8a298244b167b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/schema.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8ff970d26168b4df85de0cf3bb4a3cddfce0ab513aa4ab3622852c0ad5176"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/teams/schema.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97a9d5eaa9debd50e9f5d477852d4d96ac222056c2cd5a45301cd5cb9cd5253"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/registry/registry.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4344a6e91dab10ac47e14fe8f55d24facc34df53509628cd6e82e64e18c375ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8770c8aee45d2c0338d3fc29b60c701931dacc1ab22b21ec7495c02ca401c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/knowledge/knowledge.py"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"856900009d880fe454eca3c64285588fa612785125ae80f9d4b4a90cd3cd7a88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/company/tasks.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"27db07d38d445c343dedec20ff7f7d17e10a8828695d39ed95146613598ab378"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e3203caf6b631e7d1bbf96d958ce1a3b9bb870707c8255f13c69656256ae36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/agents/schema.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4817c6a099d22fcfab459ef7f84bdd974f1efe42628cd24b6088dcaff50c7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acc035888d52c151d28a8807363450a6a4c0d640a0e3b2b055997dcc6b6ce0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"43056e2c1b2ee34f05a7c875f8421fede25d9560d02d374e0503e1f74c96e67d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5efe9bae5a75c38aa4a87d1639273cc536ca5f675de40bfd6b285045a7b012"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/middleware/jwt.py"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be7ec19c5e747ac29883f5c3fd5632f564252397e6a7fce419fe81d3c53ff39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/events.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa0ff3ce61a3391551c9435694679229e3ddd7c2af5d30be44628ab6ea412f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/state.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08ce0afc7accbd822a61d0990c6046f2415d1faa18486f8cd6cc1f04b681b6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/state.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c83c27cbc196f3ef20912e51040ad98f4c6e1ec04257b250b775db36c765f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/telegram/state.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc414746ad3e4bdc77d134c5874c61ddeb99dcb228df7e8c5999ea7b2343a65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eb242b4246af2036f77c6fa1319ce0b02cb68348eacd0608ac3ed03b9043a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/executor.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1aa6c725d2d8ddcea5924ee08adce4f24b0cf3aa1cfd2e38ab6b705887c975"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/helpers.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bd78ee55822664dde8367ad7c0081127fbbd4c94edaa71ee91087535078d42"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/helpers.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78a5e4c3601dc6ce86e0a684164b858173a77628a242e8f862a9d0152a269dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/helpers.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13702585583e09a4f53c910dd452e59826abbc25058c0d22cc78879a92c986e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/slack/router.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99395194f131824b396325c1fc16fc009a2e27561153713df3c3a4c995a720"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9de760ad7f058320523dd92aaac81573e49773f3407a3f445d86062730e0ee7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"506dc51a692fbe5867909a799efa5a3e9fc2827d8002635d3ff77fba8c31a18a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/agui/input.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4440e803f0d6144b39ce09160216b56ab5c95a134aa39ae7a02220aa8aff0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/a2a/auth.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b66686e8e499c2dc64758eff5116f46a4bcf3a7fe82728f7eb6189ccbadcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/interfaces/a2a/auth.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be2d9d0baa3a3a003577bdc65636dd23757393feade6545cb5c3ed9d9841c4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060aclose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/event_streams/redis.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45aa4b4a253af46519e67abbc9c42aa144bf4abb784f5c38c80a2ee4c5e4bd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/_db.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"755ea0f7b68a276397be5aa5df9c6033848dd6c1791fe7a109ee61e344c04bbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45dacc1cb35e503f8e4b91954e13f181d7b197768ff6f54a2513ff23691c37c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/_role_store.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fff8cf2fb33aaa02b500681560e69a27c9da37691505a9837aa9bbf3e045ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"baee4c37659efb80d3bf870fb356b420dd4b4aecb3564497f6596ac65a465608"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ba6b10844e83f106cfd91eeeb8ce515cb9b18ce28fa301cbe2e30539309189"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf1540f1c5d476a179a3e1e2ec2063b8a51ab6223ac40909dc1035bd82635aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/authz/native_engine.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e21220b5f8afd4f03854864ed8ee4b2a3990691ed68d3ab9d2081847dd8c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/offload/setup.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0f37f82f6283255fcc6e5db76c035fa2a9b0d5f9872f0f9abaf66877ed4e25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/offload/store.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7106166f27abd1adebc9795e8302ba3075edc46905cd3bc7db52ed3c92214d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/offload/store.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced92accd4261bd8bd114a883a0b9fe27acb57eed833afcb22bca60f9fdac540"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8ae4a7d9621f2d06919feb41ddcb3420a1c066f0c12f506bc4f41342c0c87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f3c895689c823aa6dccb06817ce4e486d7942617e333a527044cbaef04648f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/base.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13731773573879fbbebfc7932feb85fd839ed71944314e70c9ed2d4bbf86745"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"210cf1b1c07d05c1ab3cdbc1fbc63bf59b32aa7cf34fe33781577c3bed5d6100"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ad4fc891515b754e244d44c48c8d03273894a2abb346992ccfef17bdfaf168"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3a9a46b7e04858f7c9149b579dc0018806e2e4db071f3bdc114b899d73c70e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"83928ae16d03406aa43e7260ec6c5425a9d89f6032de912b497526144e3bb3c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"742bb09792ee017f0493a2dd742f7480f3654d7e8bf6ba3bf30c0cb1e7dcf38b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"5946e03f6ef26b56f8416b73e33e50837abe9690f47fe18d4f5f89803f17979c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa70abfd92fbf4caa7795b32498956916799b70e9b03a899215f2ff4242e28ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/chat.py"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e111782354cf9165e3e96205aa32f77627f3680b5fa7b9816618bd7172a26f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a4887bae18421bed42d91500e02497d35a09606dd4bbe53fd6da881b62b0d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31984ea18e9aa33dcf8f0f92a8467150a070e1b63d96fcb7bad6dc64518fac1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"edac83c97a5020575efc12063a79cb4ed48783186166a8471faaca383974c37a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b59d031dcf2351ee398c1b5c3f2f44a176cbb7766bb9108011268b7c0fcec9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"911ea244ff89ba3bbb0f98e9cd3f21f755fbb380f382164777940bc1df223e24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a49c9360d58669afef25bcfa2ffd0c9282324d3d3ba3d9cbd925040def8896"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2458b49faf049382cffb35c4c1467958f4236b4e1782f29a707e29e94f401cfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b5baac5e74e84c83e41eb14afb66a5f3cea490c3188fb7f57c1d3d97c37458"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/openai/responses.py"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"901037672a76f2f0cc003fc4031a7c6856799969848c36b09458f35244833a85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/models/moonshot/moonshot.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e346f1787eb8bd02b86420c432c9f0b58ac9b026431a2948947d7e2ada205"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/media.py"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb820f5a67bca37bb4403684662ba1c882292920f8b85faccd18e44daf3efcd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/storage/s3/async_s3.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce772e25b13236a1da343b2784dfa5ec8ebdb8cc57d98e2b9ae8b3a9aac2d18"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/storage/s3/s3.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19dd41ed57a4c5895d908fd4ffec02135bb7a14615390c5dd3611f7e8ee83d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/storage/local/local.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"054b72016ec5e3d22f0b6bf9549924e36f6e198b22ab595083de041bf7e421f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/media/storage/gcs/gcs.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9a2c5c28582b47e011b1d36ca81be68c1483d51b1fe153013355b690509ea5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe33c4d2a1622c1503ae9dfbeb66e9bf7e9554ae0bd0f16881e675887d70b34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"35886e237967d21bc9f3ae9560b50011bb75b2a9bcfb7230d0160708f1b81d26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/machine.py"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d608bfe93b3d69618d7492f22da49aa65f5c7686d0d2e53ebf97c7f2e834a28e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/utils.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d25dd31a2940e5d15874820e47437bfc597bc573a52f344ba9deb918cb0327"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/utils.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2311be89eab3bcdbc807e8f5e7d60af7761733d223f0fc4775d8fcac3ad61b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/learn/utils.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd4e8b08bacc7f0075758ee7ca75ec9b3accaa07612725accfb402ff437a703"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de8a345e3d87e9424d712ff908194197d4ca5f0e0484380b3656e970530562"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a58e09f952ee3b831ffb02259c40e15303563b90157a20bde82d99bd73e4ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/utils.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9935457f3b60322741ef61e3d2922ac2bdb3afb1a3a9406a0771e65440f1df43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/base.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7cd51136209330b5e71504d66f3ebd4152b61233cafccb970189f4085667c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/pdf_reader.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a22d973cffb6a75d47161ffee64cbb2f30536b2c0b7e79dd486aaab7c16f21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/reader_factory.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e00a6a00b3efd12cb891f3e3c4220e1dfd0bff0974a962859ada986e6f7413f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/sitemap_reader.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e72789872b69c8578d73dc0130d98876cbbb9d0474275d24948ff4376181b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/sitemap_reader.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2759ad56271cc7238e4408a0e78eea18d77d7cfbb4d1f80ef230f150eb0b4303"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/web_search_reader.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3417a03aa08799cf939176d536db3574cfd25936f4648f396e99e0485328000"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/reader/utils/spreadsheet.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5fc5a2177b8fe928ed37cfa72e1f3bff215a37cb69d1e99c1dcfa2797dfcbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/_coordinator.py"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f13ce9979fe8c2e67e2295858806aa668e17252add868561a80de727b2a5f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/_source.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"83413a27706acdfe2a717cb6b93511216386162cc5d4eda13dbecf98e9db00a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/knowledge/page/_source.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"853efb546595ced87aff3e85a5be7ca2a4a933f7872589e29e8c23d8aaef07dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/suite.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c5f39769720ab3fef2a7333ef9bd9f41c4d84d8b44df6c341d5de8b46ce6d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/suite.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4defab66d3f3ba3fd9dbeede42ec9f6030c8ec1b302fca614ff8ea80611b0909"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/eval/suite.py"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d14e97ed90de351477583feb92bcb356a85c7ef14812f12bbe5efa2ac9b171"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/environments/runner.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"53caf40be1b19d85aa937d62c01142f5503bc0e26bb5c4b8fcf53d362c6dbbe5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6958cf3ee603d05ad7df27e2bfd208a26809ce35a58a28c8aefdce7402610e66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed087b58756cc10372abdf49a18bc44bda0ae5d5d5190a75c3a7c8f22a95cac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431eca3b5a0d82074701bcddbf5d77923b64e3d08fe558da943c05f5c71c9b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/valkey/valkey.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf718760bf787430b27d77af9fcb42b7973f3897cdb6888223a7fe1dc579888b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc1a0bff3a5b222d3761c8b83f086f316a6064577f5344c0f9b308306fb475a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd85f38bcd9d4d6e7e562bb0d489845678e3d5e2ecde6f3469d48585608f0720"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83d478dbb58d73144403516bb310ecf91c19b47f6622d020e9b1cd8333f9908"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"0267bbff7577d4236675694ed56adf66402d4a68f6a89595b04e87963d3cf8a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71af3d4feea141797c49e0a9c7fcf7b249b0f1a5aebd2b32cbae8d71a444009"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"9830ccd3189474d04c1975e9318fa8390e65d277cc900dbe1cac1c17d8bf63ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52212a586fe383474d393a6d9b2165233e25a95803b244e1905fa628978d58c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/sqlite/async_sqlite.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d5c8ae8c94c5baa34b2a92f83372d32c7e5e2c6cdfdfbb331714276cc8afcb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6a3f114d7d515a314b9440bfca04414fa8cfa461b9b69da444a8092fa3cece"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ab46c8b8e72c0b075dba745c46df5a78b2b8cba0d9f005997d852d2489ca00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e09b388a7fd24ca042dd184e6f654b77149abe98d3d48475470ad4a53be5e12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec84be246fc7b2db87e2576bf3f297815d98b192d31f1658e8203abf9caf7077"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/redis/redis.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"622df2c37ca53fe7ad2854b74f110325ba3dda745d952675c2dfd70c7941b7a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/async_mysql.py"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd0337af4f874c49a0f4e953b920806de012b741e8b004b088bd5caf80eeb7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/mysql/mysql.py"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e09614a4074fbe79dc70ee8d4f65f9cffaeee76a45fd772c373130e542e945a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d6f34c62c78c4be070d629e64007d36a3a87e09e864476f6bbaa68102fdae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8dea7779c1129e2d09b1b956d49a20cb534fb226fdd54242157b0a0e240ca9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b692b081e8202fbb1ca726e3f63dfb654bbd961038374e2507ac3a2ea388a6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf88f897c557802572693d95ebded871309a8b59e1c7222b3c9178a3bb44904"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2152f115dd4084ef6c54882efcd2c4afa173b8760a91c39d5663cd85ae8395c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6cb960b429b0376867c69c470deef932d42d6fe085f9db91b76218c08fce6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/migrations/versions/v3_0_0.py"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a6135408c15d2b4ff75046637d0a4864110213672ac96308b6ed482944e583"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/json/json_db.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca3a24d7d6e18b0fc287ba7df1924476627b8089a54e2ae6bce30ed651ce611"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/gcs_json/gcs_json_db.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd2e0f6a7169ccfc41c6f59f81cc82dd6b82f849a7bcf2780e027e5b10a8ebe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f34ee0c1bfc72cbc65c94b7b05e997b56d08e0d4a329e0d416bde3b4747411"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/dynamo/dynamo.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d28409d86f3f9f69e73e064ada4d03b8962dad92c56323469b1bbc8d693f4c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/db/clickhouse/clickhouse.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6192c9ed2b53745ceed8d3fa3cd82c636abc1811c2705f7ce7bf3e1f77b7d4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/context/provider.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9ca76a01d4798d3f3d21c7235cf64a3c0d094308118c9110490e53782a7547"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/context/web/parallel_mcp.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8350071a7b5b9c548cc62e5935bcf10389254828ac7bfd78caa58c197a366d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/execution.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2507f424c3556031735846b9249a92f743283b1a621d33d21295b75aebba287"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/company/execution.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d675ed4a3ff179461db233a79d17f77025cb5e2ca4ef63560b9a680b846a76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/api/schemas/utils.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f6d14d3b6c12e2198f6cc8a254c2fc07f49b9068418427eaeb1b643a5973e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agents/_media.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"456a2a9ee5d3a762360428114889a722614a17a620518ab93534aee7f0b803c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_messages.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"45be44a4e80b6f4cfa6d7721b5648b23aa4a90d79e879e40d2bb6c6db61a0741"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_response.py"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e7e48206c8230adb923bbb5b1d01a9a76ba144e8f8cdba80eff89d387f4e12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"42db894d54bc5da954ed34f8a207e88c40331a286f8235de1d890e90bbf58ae4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/_run.py"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d641a4bceb31b6f5cc77fa3785f6c339ee317dc4aef9fc2434cb92f47add4d2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/remote.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed014c5b7951b5efa56ef22cabab5036c7b8bdece9ab01442367b15351c0e8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/agent/remote.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbace8bf88b6966262614612606558e38f20a2da6405cb869ea4f701cc4b641"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/performance/_bench.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef693a11fdb5592b473746c41002907980a6a81fe169e973469edea3b4fd426"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/performance/_bench.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f3d2ba87952ae677bf367e729b70306fac8bd56835d3bf555c49c9b66e84fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/performance/_bench.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5753458ac9f413cf69ce69bf9a68468855683d4a3a16aaebbd6a82cceac1910"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/gemini_3/16_prompt_caching.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa203c834c56b5df7cb6ef1a5376bc10026e225af4b733c39f6f37235c613bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/google/gemini/file_upload_with_cache.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bdd9cca35fe8ab1035fb5e74e74648a5f39604700fa22884e9a02f034b9124"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/07_security/workos_byot.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ffef810af65ed8f2dda4ec7391b9f33adf82d727edc8a1e6dc25e130ec1b2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/07_security/workos_byot.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e462d6dc438737ffd7069cc28e497ef8c2772f76dd653ea1f564324ca83b35e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/05_agent_os/07_security/workos_byot.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"694f6d3db39613404476d623870a59b98fb8bd376861445c00c2f865bb456620"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\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.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":"libs/agno/agno/utils/http.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aaf019c24e6c5b508744f510df2bf93bc6bd754eafe1e4bc73246fb04fcbac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 205 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"libs/agno/agno/utils/http.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5da3de906d215854816be17f37979fce01326f7bfa095608e60846305bcff7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 242 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/utils/http.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb2bb6e844c10c0a77420aae10a921c078e6463e198044305d640266b839ad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 248 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/utils/http.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a51b8183f694c7881e189bc62ffbaeccb60c59f0743754ee5393fe211e2e4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\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.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":"libs/agno/agno/tools/twilio.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"96595514eeaf694e477113971e425f1d7ef2ccc9870ca8f68cbe63f9bbfdd1a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\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.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":"libs/agno/agno/tools/twilio.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b276f40c64f03abb744acc06024229c2f90c81e7f94cd5fd8633e3364d18847"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/agno/agno/os/routers/session/session.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f641c0ff71765f93ec3ab88e0537a98e901695eef6d27f1dc52b9842fdeaf6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 571 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fe3d6f9e2480886e9f48e43ea585d4faad8033eb2c7116e790415f376160be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 935 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a258e04691ceb96ee8f40f2274866d9ae898428b07894e425476e8eb4b9b01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2010 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91d794b128e7bb9be5649ed29be2559778ee8d916d243525bd33f945284075d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2013 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d181f0a746619c9a4234a4d639595a7333476caa531a03f21dcd928c6e9f4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/os/routers/metrics/metrics.py"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bd4a66e0696513e9bfe68f188d8be83869931d7ab9fe4a41c6dc32596caf69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 781 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"libs/agno/agno/os/routers/memory/memory.py"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c01788a8a19882c02e6b5cdf6347b53cee09875fd8a532221ff2e09c92d11a"}},{"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":"cookbook/90_models/clients/http_client_caching.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067ca66e697def32cebeece22a6f5db18cb1caaf5ca4471d725531d099b4230"}},{"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":"cookbook/90_models/clients/http_client_caching.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4694da008a01167c37610c7a46263fb6437bf46396736c8cdb9da0a7e9341f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/clients/http_client_caching.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c36ab77620e0c23b56c8960d3fe05809e7f48420bd4a61397407fcf591deea7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 137 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookbook/90_models/clients/http_client_caching.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce94be8ae95d1901c7bd742606892b3cdd4619f686f5ea3d442c64c69090cc39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"cookbook/90_models/clients/http_client_caching.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fde783bc5791a2ab9f2c1fa6df71a31730fa956383e4faa7281f3aa85225b4"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~5.1 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 1 assertion(s) across the 198 source line(s) of the 4 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: cookbook/05_agent_os/16_agui/openui/frontend/src/main.tsx (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"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":"libs/agno/agno/compaction/_view.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c69494bb1c8649eb29377639afa521fd621fae3459e352e98a6317c50f6b46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060get_sdk_version\u0060 swallows every exception into \u0060return \u0027unknown\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":"libs/agno/agno/api/schemas/utils.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80f905249c9f55cbfb5ce08c4873dad3a850d0aa38689a920f8fe273194a6f2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_session_runs_data\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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97cf5e00a25814454e1b0f160e891e2de3e526a916d588d404418d325640a26"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_delete_session_runs\u0060 swallows every exception into \u0060return 0\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":"libs/agno/agno/db/surrealdb/surrealdb.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9892ce7689a107eb6159706326615bef2cba420d5c79030115c32098f9dbfbae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_input_kwarg\u0060 returns \u0060{}\u0060 when \u0060(TypeError, 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":"libs/agno/agno/team/_messages.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0bbcbe62cd1727c22639142a776e84a400948c666d2644db97ae31461d4317"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_decode_body_data\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":"libs/agno/agno/tools/google/gmail.py"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f4d6243b6d7f1a29bfaf60bf95ceb717e091a4091ca7f63f02f0a06f3fc11"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060get_run_response_kwarg\u0060 returns \u0060{}\u0060 when \u0060(TypeError, 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":"libs/agno/agno/utils/knowledge.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d313ae469f5f1202a972b77e510bafad6efa32859d0fbf8d77140c784e71b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060count_schema_tokens\u0060 swallows every exception into \u0060return 0\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":"libs/agno/agno/utils/tokens.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a70e1b87c3717871a1885197ef4c20a0bb0d6f72fa3546c1cafb45f551a05f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_state\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, FileNotFoundError)\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":"cookbook/02_agents/14_advanced/custom_cancellation_manager.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"da68ed9678b858110847d9086b580ef99a342f9340ea8aa3a7a62041bd6f5bce"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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"},{"id":"CWE-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":686,"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."]}]}